code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_HIT_TEST_X11_H_ #define UI_OZONE_PLATFORM_X11_HIT_TEST_X11_H_ namespace ui { // Converts a HitTestCompat into an X11 direction recognisable by /...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/hit_test_x11.h
C++
unknown
508
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/linux_ui_delegate_x11.h" #include "ui/gfx/x/xproto.h" #include "ui/ozone/platform/x11/x11_window.h" #include "ui/ozone/platform/x11/x11_window_...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/linux_ui_delegate_x11.cc
C++
unknown
1,168
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_LINUX_UI_DELEGATE_X11_H_ #define UI_OZONE_PLATFORM_X11_LINUX_UI_DELEGATE_X11_H_ #include "ui/gfx/native_widget_types.h" #include "ui/linux/linux_...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/linux_ui_delegate_x11.h
C++
unknown
898
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/native_pixmap_egl_x11_binding.h" #include <GL/gl.h> #include <unistd.h> #include "base/logging.h" #include "base/memory/scoped_refptr.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/native_pixmap_egl_x11_binding.cc
C++
unknown
7,589
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_NATIVE_PIXMAP_EGL_X11_BINDING_H_ #define UI_OZONE_PLATFORM_X11_NATIVE_PIXMAP_EGL_X11_BINDING_H_ #include <memory> #include "ui/gfx/native_pixmap...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/native_pixmap_egl_x11_binding.h
C++
unknown
1,555
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/os_exchange_data_provider_x11.h" #include <utility> #include "base/check.h" #include "ui/base/clipboard/clipboard_constants.h" #include "ui/ba...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/os_exchange_data_provider_x11.cc
C++
unknown
1,707
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_OS_EXCHANGE_DATA_PROVIDER_X11_H_ #define UI_OZONE_PLATFORM_X11_OS_EXCHANGE_DATA_PROVIDER_X11_H_ #include "ui/base/x/x11_os_exchange_data_provider...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/os_exchange_data_provider_x11.h
C++
unknown
1,726
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/ozone_platform_x11.h" #include <memory> #include <string> #include <utility> #include "base/command_line.h" #include "base/message_loop/messag...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/ozone_platform_x11.cc
C++
unknown
12,720
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_OZONE_PLATFORM_X11_H_ #define UI_OZONE_PLATFORM_X11_OZONE_PLATFORM_X11_H_ namespace ui { class OzonePlatform; // Constructor hook for use in oz...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/ozone_platform_x11.h
C++
unknown
458
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/devices/x11/device_data_manager_x11.h" #include <vector> #include "base/memory/raw_ptr.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/even...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/test/device_data_manager_x11_unittest.cc
C++
unknown
6,891
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include <stdint.h> #include <cstring> #include <memory> #include <set> #include <utility> #include "base/test/metrics/histogram_tester.h" #include "base/...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/test/events_x_unittest.cc
C++
unknown
32,493
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/os_exchange_data_provider_x11.h" #include <string> #include "base/strings/utf_string_conversions.h" #include "base/test/task_environment.h" #i...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/test/os_exchange_data_provider_x11_unittest.cc
C++
unknown
4,238
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/base/x/x11_drag_drop_client.h" #include <map> #include <memory> #include <utility> #include <vector> #include "base/functional/bind.h" #include "base/location.h"...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/test/x11_drag_drop_client_unittest.cc
C++
unknown
29,114
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/x/x11_event_translation.h" #include <xcb/xcb.h> #include "base/time/time.h" #include "build/chromeos_buildflags.h" #include "testing/gtest/include/gtest/g...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/test/x11_event_translation_unittest.cc
C++
unknown
11,423
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_window.h" #include "base/memory/raw_ptr.h" #include "base/command_line.h" #include "base/containers/contains.h" #include "base/ranges/algor...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/test/x11_window_unittest.cc
C++
unknown
18,794
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/vulkan_implementation_x11.h" #include "base/base_paths.h" #include "base/files/file_path.h" #include "base/functional/callback_helpers.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/vulkan_implementation_x11.cc
C++
unknown
6,491
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_VULKAN_IMPLEMENTATION_X11_H_ #define UI_OZONE_PLATFORM_X11_VULKAN_IMPLEMENTATION_X11_H_ #include <memory> #include "gpu/vulkan/vulkan_implementa...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/vulkan_implementation_x11.h
C++
unknown
2,452
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/vulkan_surface_x11.h" #include "base/logging.h" #include "gpu/vulkan/vulkan_function_pointers.h" #include "ui/base/x/x11_util.h" #include "ui/b...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/vulkan_surface_x11.cc
C++
unknown
4,670
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_VULKAN_SURFACE_X11_H_ #define UI_OZONE_PLATFORM_X11_VULKAN_SURFACE_X11_H_ #include <vulkan/vulkan.h> #include "gpu/vulkan/vulkan_surface.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/vulkan_surface_x11.h
C++
unknown
1,449
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_canvas_surface.h" #include "base/functional/bind.h" #include "third_party/skia/include/core/SkCanvas.h" #include "third_party/skia/include/...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_canvas_surface.cc
C++
unknown
1,685
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_X11_CANVAS_SURFACE_H_ #define UI_OZONE_PLATFORM_X11_X11_CANVAS_SURFACE_H_ #include <memory> #include "base/memory/scoped_refptr.h" #include "bas...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_canvas_surface.h
C++
unknown
1,966
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_clipboard_ozone.h" #include <iterator> #include <memory> #include <set> #include <utility> #include "base/functional/bind.h" #include "ui/...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_clipboard_ozone.cc
C++
unknown
3,018
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_X11_CLIPBOARD_OZONE_H_ #define UI_OZONE_PLATFORM_X11_X11_CLIPBOARD_OZONE_H_ #include <memory> #include <string> #include "base/functional/callba...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_clipboard_ozone.h
C++
unknown
2,158
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_global_shortcut_listener_ozone.h" namespace ui { X11GlobalShortcutListenerOzone::X11GlobalShortcutListenerOzone( PlatformGlobalShortcu...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_global_shortcut_listener_ozone.cc
C++
unknown
1,885
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_X11_GLOBAL_SHORTCUT_LISTENER_OZONE_H_ #define UI_OZONE_PLATFORM_X11_X11_GLOBAL_SHORTCUT_LISTENER_OZONE_H_ #include "ui/base/x/x11_global_shortcut...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_global_shortcut_listener_ozone.h
C++
unknown
1,736
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_keyboard_hook.h" #include <memory> #include <utility> #include "base/check_op.h" #include "ui/events/event.h" #include "ui/events/keycodes...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_keyboard_hook.cc
C++
unknown
4,443
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_X11_KEYBOARD_HOOK_H_ #define UI_OZONE_PLATFORM_X11_X11_KEYBOARD_HOOK_H_ #include <vector> #include "base/containers/flat_set.h" #include "base/m...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_keyboard_hook.h
C++
unknown
1,643
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_menu_utils.h" #include "base/strings/utf_string_conversions.h" #include "ui/events/keycodes/keyboard_code_conversion_x.h" #include "ui/even...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_menu_utils.cc
C++
unknown
825
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_X11_MENU_UTILS_H_ #define UI_OZONE_PLATFORM_X11_X11_MENU_UTILS_H_ #include "ui/ozone/public/platform_menu_utils.h" namespace ui { class X11Menu...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_menu_utils.h
C++
unknown
699
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_ozone_ui_controls_test_helper.h" #include "ui/aura/window_tree_host.h" namespace ui { X11OzoneUIControlsTestHelper::X11OzoneUIControlsTes...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_ozone_ui_controls_test_helper.cc
C++
unknown
2,844
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_X11_OZONE_UI_CONTROLS_TEST_HELPER_H_ #define UI_OZONE_PLATFORM_X11_X11_OZONE_UI_CONTROLS_TEST_HELPER_H_ #include "ui/ozone/public/ozone_ui_contro...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_ozone_ui_controls_test_helper.h
C++
unknown
2,127
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_screen_ozone.h" #include <memory> #include "base/containers/flat_set.h" #include "ui/base/linux/linux_desktop.h" #include "ui/base/x/x11_i...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_screen_ozone.cc
C++
unknown
7,575
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_X11_SCREEN_OZONE_H_ #define UI_OZONE_PLATFORM_X11_X11_SCREEN_OZONE_H_ #include <memory> #include <utility> #include <vector> #include "base/memo...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_screen_ozone.h
C++
unknown
3,550
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_screen_ozone.h" #include <memory> #include "base/test/task_environment.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_screen_ozone_unittest.cc
C++
unknown
17,969
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_surface_factory.h" #include <memory> #include "gpu/vulkan/buildflags.h" #include "ui/events/platform/x11/x11_event_source.h" #include "ui/...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_surface_factory.cc
C++
unknown
9,039
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_X11_SURFACE_FACTORY_H_ #define UI_OZONE_PLATFORM_X11_X11_SURFACE_FACTORY_H_ #include <memory> #include <vector> #include "gpu/vulkan/buildflags....
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_surface_factory.h
C++
unknown
2,459
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_user_input_monitor.h" #include "base/task/single_thread_task_runner.h" #include "ui/base/x/x11_user_input_monitor.h" namespace ui { X11Us...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_user_input_monitor.cc
C++
unknown
1,191
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_X11_USER_INPUT_MONITOR_H_ #define UI_OZONE_PLATFORM_X11_X11_USER_INPUT_MONITOR_H_ #include <memory> #include "base/task/single_thread_task_runne...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_user_input_monitor.h
C++
unknown
1,279
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_utils.h" #include "base/strings/string_util.h" #include "ui/base/x/x11_util.h" namespace ui { X11Utils::X11Utils() = default; X11Utils::...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_utils.cc
C++
unknown
1,016
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_X11_UTILS_H_ #define UI_OZONE_PLATFORM_X11_X11_UTILS_H_ #include "ui/ozone/public/platform_utils.h" namespace ui { class X11Utils : public Plat...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_utils.h
C++
unknown
880
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_window.h" #include "base/memory/scoped_refptr.h" #include "base/no_destructor.h" #include "base/notreached.h" #include "base/ranges/algorit...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_window.cc
C++
unknown
94,567
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_X11_WINDOW_H_ #define UI_OZONE_PLATFORM_X11_X11_WINDOW_H_ #include <array> #include <memory> #include <string> #include <vector> #include "base/...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_window.h
C++
unknown
19,663
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_window_manager.h" #include "base/containers/contains.h" #include "ui/ozone/platform/x11/x11_window.h" namespace ui { namespace { X11Wind...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_window_manager.cc
C++
unknown
3,149
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_X11_X11_WINDOW_MANAGER_H_ #define UI_OZONE_PLATFORM_X11_X11_WINDOW_MANAGER_H_ #include "base/containers/flat_map.h" #include "base/memory/raw_ptr.h" ...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_window_manager.h
C++
unknown
1,786
// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/x11/x11_window.h" #include "ui/platform_window/extensions/x11_extension_delegate.h" #include <memory> #include <utility> #include "base/run_loop.h...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/x11/x11_window_ozone_unittest.cc
C++
unknown
11,037
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_CONSTRUCTOR_LIST_H_ #define UI_OZONE_PLATFORM_CONSTRUCTOR_LIST_H_ #include "ui/ozone/platform_list.h" namespace ui { template <class T> struct Pla...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform_constructor_list.h
C++
unknown
505
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_OBJECT_H_ #define UI_OZONE_PLATFORM_OBJECT_H_ #include <memory> namespace ui { // Create an instance of platform specific object. // // This calls ...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform_object.h
C++
unknown
966
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_OBJECT_INTERNAL_H_ #define UI_OZONE_PLATFORM_OBJECT_INTERNAL_H_ #include <memory> #include "base/component_export.h" #include "base/memory/ptr_util....
Zhao-PengFei35/chromium_src_4
ui/ozone/platform_object_internal.h
C++
unknown
999
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform_selection.h" #include "base/command_line.h" #include "base/logging.h" #include "ui/ozone/platform_list.h" #include "ui/ozone/public/ozone_switches....
Zhao-PengFei35/chromium_src_4
ui/ozone/platform_selection.cc
C++
unknown
1,416
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_SELECTION_H_ #define UI_OZONE_PLATFORM_SELECTION_H_ #include "base/component_export.h" #include "ui/ozone/platform_list.h" namespace ui { // Get ac...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform_selection.h
C++
unknown
576
include_rules = [ "+mojo/public", "+ui/base/test/ui_controls.h", ]
Zhao-PengFei35/chromium_src_4
ui/ozone/public/DEPS
Python
unknown
71
// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/client_native_pixmap_factory_ozone.h" #include <memory> #include "base/trace_event/trace_event.h" #include "ui/ozone/platform_object.h" #include "ui...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/client_native_pixmap_factory_ozone.cc
C++
unknown
660
// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_CLIENT_NATIVE_PIXMAP_FACTORY_OZONE_H_ #define UI_OZONE_PUBLIC_CLIENT_NATIVE_PIXMAP_FACTORY_OZONE_H_ #include <memory> #include "base/component_export....
Zhao-PengFei35/chromium_src_4
ui/ozone/public/client_native_pixmap_factory_ozone.h
C++
unknown
587
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_GL_OZONE_H_ #define UI_OZONE_PUBLIC_GL_OZONE_H_ #include <string> #include "base/component_export.h" #include "base/memory/scoped_refptr.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/gl_ozone.h
C++
unknown
4,563
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/gpu_platform_support_host.h" #include "base/trace_event/trace_event.h" namespace ui { namespace { // No-op implementations of GpuPlatformSupportHo...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/gpu_platform_support_host.cc
C++
unknown
888
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_GPU_PLATFORM_SUPPORT_HOST_H_ #define UI_OZONE_PUBLIC_GPU_PLATFORM_SUPPORT_HOST_H_ #include <string> #include "base/component_export.h" #include "base/...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/gpu_platform_support_host.h
C++
unknown
1,845
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_HARDWARE_CAPABILITIES_H_ #define UI_OZONE_PUBLIC_HARDWARE_CAPABILITIES_H_ #include "base/functional/callback.h" namespace ui { struct HardwareCapabil...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/hardware_capabilities.h
C++
unknown
1,190
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/input_controller.h" #include <memory> #include "base/functional/callback.h" #include "base/logging.h" #include "ui/events/devices/haptic_touchpad_ef...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/input_controller.cc
C++
unknown
5,754
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_INPUT_CONTROLLER_H_ #define UI_OZONE_PUBLIC_INPUT_CONTROLLER_H_ #include <memory> #include <set> #include <string> #include <vector> #include "base/co...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/input_controller.h
C++
unknown
8,341
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/native_pixmap_gl_binding.h" namespace ui { NativePixmapGLBinding::NativePixmapGLBinding() = default; NativePixmapGLBinding::~NativePixmapGLBinding()...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/native_pixmap_gl_binding.cc
C++
unknown
352
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_NATIVE_PIXMAP_GL_BINDING_H_ #define UI_OZONE_PUBLIC_NATIVE_PIXMAP_GL_BINDING_H_ #include "base/component_export.h" typedef unsigned int GLuint; typede...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/native_pixmap_gl_binding.h
C++
unknown
719
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/overlay_candidates_ozone.h" #include "base/notreached.h" namespace ui { void OverlayCandidatesOzone::CheckOverlaySupport( OverlaySurfaceCandida...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/overlay_candidates_ozone.cc
C++
unknown
557
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_OVERLAY_CANDIDATES_OZONE_H_ #define UI_OZONE_PUBLIC_OVERLAY_CANDIDATES_OZONE_H_ #include <vector> #include "base/component_export.h" #include "ui/ozon...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/overlay_candidates_ozone.h
C++
unknown
1,987
// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_OVERLAY_MANAGER_OZONE_H_ #define UI_OZONE_PUBLIC_OVERLAY_MANAGER_OZONE_H_ #include <memory> #include "ui/gfx/native_widget_types.h" namespace ui { c...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/overlay_manager_ozone.h
C++
unknown
1,462
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/overlay_plane.h" #include <memory> namespace ui { OverlayPlane::OverlayPlane() {} OverlayPlane::OverlayPlane(scoped_refptr<gfx::NativePixmap> pixm...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/overlay_plane.cc
C++
unknown
776
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_OVERLAY_PLANE_H_ #define UI_OZONE_PUBLIC_OVERLAY_PLANE_H_ #include <memory> #include "base/component_export.h" #include "base/memory/scoped_refptr.h" ...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/overlay_plane.h
C++
unknown
1,475
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/overlay_surface.h" namespace ui { OverlaySurface::OverlaySurface() {} OverlaySurface::~OverlaySurface() {} } // namespace ui
Zhao-PengFei35/chromium_src_4
ui/ozone/public/overlay_surface.cc
C++
unknown
300
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_OVERLAY_SURFACE_H_ #define UI_OZONE_PUBLIC_OVERLAY_SURFACE_H_ #include "base/component_export.h" #include "base/functional/callback.h" #include "ui/gfx...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/overlay_surface.h
C++
unknown
3,180
// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/overlay_surface_candidate.h" #include "ui/gfx/geometry/rect_conversions.h" namespace ui { OverlaySurfaceCandidate::OverlaySurfaceCandidate() = defa...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/overlay_surface_candidate.cc
C++
unknown
1,404
// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_OVERLAY_SURFACE_CANDIDATE_H_ #define UI_OZONE_PUBLIC_OVERLAY_SURFACE_CANDIDATE_H_ #include <vector> #include "base/component_export.h" #include "third...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/overlay_surface_candidate.h
C++
unknown
3,760
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/ozone_gpu_test_helper.h" #include "base/functional/bind.h" #include "base/functional/callback_helpers.h" #include "base/message_loop/message_pump_typ...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/ozone_gpu_test_helper.cc
C++
unknown
1,668
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_OZONE_GPU_TEST_HELPER_H_ #define UI_OZONE_PUBLIC_OZONE_GPU_TEST_HELPER_H_ #include <memory> #include "base/component_export.h" namespace ui { class ...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/ozone_gpu_test_helper.h
C++
unknown
990
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/ozone_platform.h" #include <memory> #include <utility> #include "base/check_op.h" #include "base/no_destructor.h" #include "base/task/single_thread_...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/ozone_platform.cc
C++
unknown
5,503
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_OZONE_PLATFORM_H_ #define UI_OZONE_PUBLIC_OZONE_PLATFORM_H_ #include <memory> #include <string> #include <vector> #include "base/component_export.h" #...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/ozone_platform.h
C++
unknown
17,225
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/ozone_switches.h" namespace switches { // Specify ozone platform implementation to use. const char kOzonePlatform[] = "ozone-platform"; // Suggests...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/ozone_switches.cc
C++
unknown
1,280
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_OZONE_SWITCHES_H_ #define UI_OZONE_PUBLIC_OZONE_SWITCHES_H_ #include "base/component_export.h" // TODO(rjkroege): Specify this at the time of ::Initia...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/ozone_switches.h
C++
unknown
1,193
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/ozone_ui_controls_test_helper.h" #include "ui/ozone/platform_object.h" #include "base/logging.h" namespace ui { std::unique_ptr<OzoneUIControlsTes...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/ozone_ui_controls_test_helper.cc
C++
unknown
449
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_OZONE_UI_CONTROLS_TEST_HELPER_H_ #define UI_OZONE_PUBLIC_OZONE_UI_CONTROLS_TEST_HELPER_H_ #include <memory> #include "base/component_export.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/ozone_ui_controls_test_helper.h
C++
unknown
2,983
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_PLATFORM_CLIPBOARD_H_ #define UI_OZONE_PUBLIC_PLATFORM_CLIPBOARD_H_ #include <string> #include <unordered_map> #include <vector> #include "base/compon...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_clipboard.h
C++
unknown
4,283
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/platform_gl_egl_utility.h" #include "base/logging.h" #include "base/notreached.h" namespace ui { PlatformGLEGLUtility::PlatformGLEGLUtility() = def...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_gl_egl_utility.cc
C++
unknown
616
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_PLATFORM_GL_EGL_UTILITY_H_ #define UI_OZONE_PUBLIC_PLATFORM_GL_EGL_UTILITY_H_ #include <vector> #include "base/component_export.h" #include "base/scop...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_gl_egl_utility.h
C++
unknown
2,062
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/platform_global_shortcut_listener.h" #include "base/check.h" namespace ui { PlatformGlobalShortcutListenerDelegate:: ~PlatformGlobalShortcutLis...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_global_shortcut_listener.cc
C++
unknown
615
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_PLATFORM_GLOBAL_SHORTCUT_LISTENER_H_ #define UI_OZONE_PUBLIC_PLATFORM_GLOBAL_SHORTCUT_LISTENER_H_ #include "base/component_export.h" #include "base/mem...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_global_shortcut_listener.h
C++
unknown
2,848
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/platform_keyboard_hook.h" #include <utility> #include "ui/events/keycodes/dom/dom_code.h" namespace ui { PlatformKeyboardHook::PlatformKeyboardHoo...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_keyboard_hook.cc
C++
unknown
413
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_PLATFORM_KEYBOARD_HOOK_H_ #define UI_OZONE_PUBLIC_PLATFORM_KEYBOARD_HOOK_H_ #include "base/component_export.h" #include "base/functional/callback.h" n...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_keyboard_hook.h
C++
unknown
1,005
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/platform_menu_utils.h" #include "base/notreached.h" namespace ui { PlatformMenuUtils::PlatformMenuUtils() = default; PlatformMenuUtils::~PlatformM...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_menu_utils.cc
C++
unknown
579
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_PLATFORM_MENU_UTILS_H_ #define UI_OZONE_PUBLIC_PLATFORM_MENU_UTILS_H_ #include <string> #include "base/component_export.h" #include "ui/events/keycode...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_menu_utils.h
C++
unknown
1,080
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/platform_screen.h" #include "base/notreached.h" #include "base/time/time.h" #include "ui/display/tablet_state.h" #include "ui/gfx/geometry/point.h" ...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_screen.cc
C++
unknown
2,033
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_PLATFORM_SCREEN_H_ #define UI_OZONE_PUBLIC_PLATFORM_SCREEN_H_ #include <set> #include <string> #include <vector> #include "base/component_export.h" #i...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_screen.h
C++
unknown
5,615
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/platform_user_input_monitor.h" namespace ui { PlatformUserInputMonitor::PlatformUserInputMonitor() = default; PlatformUserInputMonitor::~PlatformUs...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_user_input_monitor.cc
C++
unknown
368
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_PLATFORM_USER_INPUT_MONITOR_H_ #define UI_OZONE_PUBLIC_PLATFORM_USER_INPUT_MONITOR_H_ #include "base/component_export.h" #include "base/memory/shared_...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_user_input_monitor.h
C++
unknown
1,906
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_PLATFORM_UTILS_H_ #define UI_OZONE_PUBLIC_PLATFORM_UTILS_H_ #include <cstdint> #include <memory> #include <string> #include "base/component_export.h" ...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_utils.h
C++
unknown
1,891
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_PLATFORM_WINDOW_SURFACE_H_ #define UI_OZONE_PUBLIC_PLATFORM_WINDOW_SURFACE_H_ #include "base/component_export.h" #include "build/build_config.h" #if B...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/platform_window_surface.h
C++
unknown
2,480
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/surface_factory_ozone.h" #include <stdlib.h> #include <memory> #include "base/command_line.h" #include "gpu/vulkan/buildflags.h" #include "ui/gfx/na...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/surface_factory_ozone.cc
C++
unknown
3,928
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ #define UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ #include <stdint.h> #include <memory> #include <vector> #include "base/compo...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/surface_factory_ozone.h
C++
unknown
9,875
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/public/surface_ozone_canvas.h" #include "base/notreached.h" #include <ostream> namespace ui { SurfaceOzoneCanvas::~SurfaceOzoneCanvas() = default; bool ...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/surface_ozone_canvas.cc
C++
unknown
844
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_SURFACE_OZONE_CANVAS_H_ #define UI_OZONE_PUBLIC_SURFACE_OZONE_CANVAS_H_ #include <memory> #include "base/component_export.h" #include "base/functional...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/surface_ozone_canvas.h
C++
unknown
3,515
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_SWAP_COMPLETION_CALLBACK_H_ #define UI_OZONE_PUBLIC_SWAP_COMPLETION_CALLBACK_H_ #include "base/functional/callback.h" #include "ui/gfx/gpu_fence_handle...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/swap_completion_callback.h
C++
unknown
716
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_SYSTEM_INPUT_INJECTOR_H_ #define UI_OZONE_PUBLIC_SYSTEM_INPUT_INJECTOR_H_ #include "base/component_export.h" #include "ui/events/event.h" #include "ui/...
Zhao-PengFei35/chromium_src_4
ui/ozone/public/system_input_injector.h
C++
unknown
2,195
include_rules = [ "+ui/base/owned_window_anchor.h", "+ui/base/ui_base_types.h" ] specific_include_rules = { "ozone_integration_tests_main\.cc": [ "+mojo/core/embedder/embedder.h", "+mojo/core/embedder/configuration.h", ], }
Zhao-PengFei35/chromium_src_4
ui/ozone/test/DEPS
Python
unknown
240