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 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_NATIVE_THEME_NATIVE_THEME_OBSERVER_H_ #define UI_NATIVE_THEME_NATIVE_THEME_OBSERVER_H_ #include "ui/native_theme/native_theme_export.h" namespace ui { class Nativ...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_observer.h
C++
unknown
999
// 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/native_theme/native_theme.h" #include "base/test/metrics/histogram_tester.h" #include "testing/gtest/include/gtest/gtest.h" namespace ui { namespace { class Tes...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_unittest.cc
C++
unknown
2,358
// 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/native_theme/native_theme_utils.h" namespace ui { base::StringPiece NativeThemeColorSchemeName( NativeTheme::ColorScheme color_scheme) { switch (color_sche...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_utils.cc
C++
unknown
745
// 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_NATIVE_THEME_NATIVE_THEME_UTILS_H_ #define UI_NATIVE_THEME_NATIVE_THEME_UTILS_H_ #include "base/strings/string_piece.h" #include "ui/native_theme/native_theme.h" #i...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_utils.h
C++
unknown
776
// 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/native_theme/native_theme_win.h" #include <windows.h> #include <stddef.h> #include <uxtheme.h> #include <vsstyle.h> #include <vssym32.h> #include "base/check.h" ...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_win.cc
C++
unknown
57,645
// 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_NATIVE_THEME_NATIVE_THEME_WIN_H_ #define UI_NATIVE_THEME_NATIVE_THEME_WIN_H_ // A wrapper class for working with custom XP/Vista themes provided in // uxtheme.dll. ...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_win.h
C++
unknown
8,693
// 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/native_theme/native_theme_win.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/gfx/color_palette.h" namespace ui { using PrefScheme = NativeTheme:...
Zhao-PengFei35/chromium_src_4
ui/native_theme/native_theme_win_unittest.cc
C++
unknown
4,968
// 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_NATIVE_THEME_OVERLAY_SCROLLBAR_CONSTANTS_AURA_H_ #define UI_NATIVE_THEME_OVERLAY_SCROLLBAR_CONSTANTS_AURA_H_ #include "base/time/time.h" #include "ui/gfx/geometry/s...
Zhao-PengFei35/chromium_src_4
ui/native_theme/overlay_scrollbar_constants_aura.h
C++
unknown
1,234
// 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/native_theme/scrollbar_animator_mac.h" #include <algorithm> #include "base/task/single_thread_task_runner.h" namespace ui { ///////////////////////////////////...
Zhao-PengFei35/chromium_src_4
ui/native_theme/scrollbar_animator_mac.cc
C++
unknown
8,265
// 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_NATIVE_THEME_SCROLLBAR_ANIMATOR_MAC_H_ #define UI_NATIVE_THEME_SCROLLBAR_ANIMATOR_MAC_H_ #include "base/functional/callback.h" #include "base/memory/raw_ptr.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/native_theme/scrollbar_animator_mac.h
C++
unknown
4,300
// 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/native_theme/scrollbar_animator_mac.h" #include "base/logging.h" #include "base/test/task_environment.h" #include "base/time/time.h" #include "testing/gmock/inclu...
Zhao-PengFei35/chromium_src_4
ui/native_theme/scrollbar_animator_mac_unittest.cc
C++
unknown
11,431
// 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/native_theme/test_native_theme.h" namespace ui { TestNativeTheme::TestNativeTheme() : NativeTheme(false) {} TestNativeTheme::~TestNativeTheme() = default; gfx::...
Zhao-PengFei35/chromium_src_4
ui/native_theme/test_native_theme.cc
C++
unknown
2,031
// 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_NATIVE_THEME_TEST_NATIVE_THEME_H_ #define UI_NATIVE_THEME_TEST_NATIVE_THEME_H_ #include "ui/native_theme/native_theme.h" namespace ui { class TestNativeTheme : pu...
Zhao-PengFei35/chromium_src_4
ui/native_theme/test_native_theme.h
C++
unknown
2,066
include_rules = [ "+gpu/vulkan", "+services/service_manager/public/cpp", "+skia/ext", "+third_party/khronos", "+third_party/skia", "+ui/base/ime", "-ui/base/ime/init", "+ui/display", "+ui/events", "+ui/base/clipboard/clipboard_buffer.h", "+ui/base/dragdrop/os_exchange_data.h", "+ui/base/dragdrop...
Zhao-PengFei35/chromium_src_4
ui/ozone/DEPS
Python
unknown
533
// 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/common/base_keyboard_hook.h" #include <utility> #include "base/containers/contains.h" #include "ui/events/keycodes/dom/dom_code.h" namespace ui { BaseKey...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/base_keyboard_hook.cc
C++
unknown
1,031
// 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_COMMON_BASE_KEYBOARD_HOOK_H_ #define UI_OZONE_COMMON_BASE_KEYBOARD_HOOK_H_ #include "base/containers/flat_set.h" #include "base/functional/callback.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/base_keyboard_hook.h
C++
unknown
2,080
// 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/common/bitmap_cursor.h" #include "base/check.h" #include "base/check_op.h" #include "base/memory/scoped_refptr.h" #include "base/ranges/algorithm.h" namesp...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/bitmap_cursor.cc
C++
unknown
2,424
// 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_COMMON_BITMAP_CURSOR_H_ #define UI_OZONE_COMMON_BITMAP_CURSOR_H_ #include <vector> #include "base/memory/raw_ptr.h" #include "base/memory/scoped_refptr.h" #i...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/bitmap_cursor.h
C++
unknown
2,604
// 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/common/bitmap_cursor_factory.h" #include <algorithm> #include "base/check_op.h" #include "base/memory/scoped_refptr.h" #include "build/chromeos_buildflags....
Zhao-PengFei35/chromium_src_4
ui/ozone/common/bitmap_cursor_factory.cc
C++
unknown
4,409
// 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_COMMON_BITMAP_CURSOR_FACTORY_H_ #define UI_OZONE_COMMON_BITMAP_CURSOR_FACTORY_H_ #include <map> #include "base/memory/scoped_refptr.h" #include "ui/base/curs...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/bitmap_cursor_factory.h
C++
unknown
1,589
// 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/common/bitmap_cursor_factory.h" #include "build/chromeos_buildflags.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/base/cursor/mojom/cursor_...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/bitmap_cursor_factory_unittest.cc
C++
unknown
1,866
// 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/common/egl_util.h" #include "base/files/file_path.h" #include "base/path_service.h" #include "build/build_config.h" #include "ui/gl/buildflags.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/egl_util.cc
C++
unknown
5,602
// 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_COMMON_EGL_UTIL_H_ #define UI_OZONE_COMMON_EGL_UTIL_H_ #include <stdint.h> #include "ui/gl/gl_implementation.h" namespace ui { bool LoadDefaultEGLGLES2Bind...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/egl_util.h
C++
unknown
561
// 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/common/features.h" #include "build/chromeos_buildflags.h" namespace ui { // Overlay delegation is required for delegated compositing. BASE_FEATURE(kWaylan...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/features.cc
C++
unknown
2,050
// 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_COMMON_FEATURES_H_ #define UI_OZONE_COMMON_FEATURES_H_ #include "base/feature_list.h" namespace ui { BASE_DECLARE_FEATURE(kWaylandSurfaceSubmissionInPixelCo...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/features.h
C++
unknown
740
// 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/common/gl_ozone_egl.h" #include "ui/gl/gl_bindings.h" #include "ui/gl/gl_context.h" #include "ui/gl/gl_context_egl.h" #include "ui/gl/gl_display.h" #include...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/gl_ozone_egl.cc
C++
unknown
2,866
// 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_COMMON_GL_OZONE_EGL_H_ #define UI_OZONE_COMMON_GL_OZONE_EGL_H_ #include "base/functional/callback.h" #include "third_party/khronos/EGL/eglplatform.h" #include...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/gl_ozone_egl.h
C++
unknown
2,711
// 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/common/gl_surface_egl_readback.h" #include <utility> #include "base/functional/bind.h" #include "base/task/single_thread_task_runner.h" #include "ui/gl/gl_...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/gl_surface_egl_readback.cc
C++
unknown
3,519
// 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_COMMON_GL_SURFACE_EGL_READBACK_H_ #define UI_OZONE_COMMON_GL_SURFACE_EGL_READBACK_H_ #include <memory> #include "base/memory/scoped_refptr.h" #include "ui/gf...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/gl_surface_egl_readback.h
C++
unknown
1,934
// 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/common/native_pixmap_egl_binding.h" #include "base/logging.h" #include "base/memory/scoped_refptr.h" #include "base/notreached.h" #include "ui/gfx/buffer_fo...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/native_pixmap_egl_binding.cc
C++
unknown
11,071
// 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_COMMON_NATIVE_PIXMAP_EGL_BINDING_H_ #define UI_OZONE_COMMON_NATIVE_PIXMAP_EGL_BINDING_H_ #include <memory> #include "base/threading/thread_checker.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/native_pixmap_egl_binding.h
C++
unknown
2,285
// 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 <memory> #include "base/notreached.h" #include "ui/gfx/client_native_pixmap_factory.h" #include "ui/gfx/native_pixmap_handle.h" namespace ui { namespace { class St...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/stub_client_native_pixmap_factory.cc
C++
unknown
1,098
// 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_COMMON_STUB_CLIENT_NATIVE_PIXMAP_FACTORY_H_ #define UI_OZONE_COMMON_STUB_CLIENT_NATIVE_PIXMAP_FACTORY_H_ #include "ui/gfx/client_native_pixmap_factory.h" nam...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/stub_client_native_pixmap_factory.h
C++
unknown
599
// 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/common/stub_overlay_manager.h" #include <memory> #include "ui/ozone/public/overlay_candidates_ozone.h" namespace ui { StubOverlayManager::StubOverlayMana...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/stub_overlay_manager.cc
C++
unknown
530
// 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_COMMON_STUB_OVERLAY_MANAGER_H_ #define UI_OZONE_COMMON_STUB_OVERLAY_MANAGER_H_ #include <memory> #include "ui/ozone/public/overlay_manager_ozone.h" namespac...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/stub_overlay_manager.h
C++
unknown
791
// 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/common/test/stub_ozone_ui_controls_test_helper.h" #include "base/logging.h" #include "base/notreached.h" namespace ui { namespace { OzoneUIControlsTestHel...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/test/stub_ozone_ui_controls_test_helper.cc
C++
unknown
1,166
// 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_COMMON_TEST_STUB_OZONE_UI_CONTROLS_TEST_HELPER_H_ #define UI_OZONE_COMMON_TEST_STUB_OZONE_UI_CONTROLS_TEST_HELPER_H_ namespace ui { class OzoneUIControlsTest...
Zhao-PengFei35/chromium_src_4
ui/ozone/common/test/stub_ozone_ui_controls_test_helper.h
C++
unknown
828
include_rules = [ "+components/tracing", "+mojo/core/embedder", "+ui/gl", ]
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/DEPS
Python
unknown
82
// 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/demo/demo_window.h" #include <utility> #include "base/logging.h" #include "build/build_config.h" #include "ui/events/event.h" #include "ui/events/keycodes/...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/demo_window.cc
C++
unknown
2,852
// 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_DEMO_DEMO_WINDOW_H_ #define UI_OZONE_DEMO_DEMO_WINDOW_H_ #include <memory> #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "ui/gf...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/demo_window.h
C++
unknown
2,272
// 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/demo/gl_renderer.h" #include <memory> #include <utility> #include "base/functional/bind.h" #include "base/location.h" #include "base/task/single_thread_tas...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/gl_renderer.cc
C++
unknown
3,051
// 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_DEMO_GL_RENDERER_H_ #define UI_OZONE_DEMO_GL_RENDERER_H_ #include <memory> #include "base/memory/scoped_refptr.h" #include "base/memory/weak_ptr.h" #include ...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/gl_renderer.h
C++
unknown
1,431
// 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 <iostream> #include <memory> #include "base/at_exit.h" #include "base/command_line.h" #include "base/debug/stack_trace.h" #include "base/logging.h" #include "base/mes...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/ozone_demo.cc
C++
unknown
3,127
// 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_DEMO_RENDERER_H_ #define UI_OZONE_DEMO_RENDERER_H_ namespace ui { class Renderer { public: virtual ~Renderer() {} virtual bool Initialize() = 0; }; } ...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/renderer.h
C++
unknown
375
// 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/demo/renderer_base.h" #include "base/numerics/math_constants.h" namespace ui { namespace { const int kAnimationSteps = 240; } // namespace RendererBase:...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/renderer_base.cc
C++
unknown
788
// 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_DEMO_RENDERER_BASE_H_ #define UI_OZONE_DEMO_RENDERER_BASE_H_ #include "ui/gfx/geometry/size.h" #include "ui/gfx/native_widget_types.h" #include "ui/ozone/demo...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/renderer_base.h
C++
unknown
709
// 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/demo/renderer_factory.h" namespace ui { RendererFactory::~RendererFactory() {} } // namespace ui
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/renderer_factory.cc
C++
unknown
264
// 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_DEMO_RENDERER_FACTORY_H_ #define UI_OZONE_DEMO_RENDERER_FACTORY_H_ #include <memory> #include "ui/gfx/geometry/size.h" #include "ui/gfx/native_widget_types.h...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/renderer_factory.h
C++
unknown
646
// 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/demo/simple_renderer_factory.h" #include <memory> #include <utility> #include "base/command_line.h" #include "base/logging.h" #include "ui/gl/gl_display.h"...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/simple_renderer_factory.cc
C++
unknown
4,433
// 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_DEMO_SIMPLE_RENDERER_FACTORY_H_ #define UI_OZONE_DEMO_SIMPLE_RENDERER_FACTORY_H_ #include <memory> #include "base/memory/raw_ptr.h" #include "gpu/vulkan/buil...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/simple_renderer_factory.h
C++
unknown
1,328
// 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 <iostream> #include <memory> #include "base/at_exit.h" #include "base/command_line.h" #include "base/debug/stack_trace.h" #include "base/logging.h" #include "base/mes...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/skia/skia_demo.cc
C++
unknown
2,356
// 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/demo/skia/skia_gl_renderer.h" #include <memory> #include <utility> #include "base/command_line.h" #include "base/functional/bind.h" #include "base/location...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/skia/skia_gl_renderer.cc
C++
unknown
8,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_DEMO_SKIA_SKIA_GL_RENDERER_H_ #define UI_OZONE_DEMO_SKIA_SKIA_GL_RENDERER_H_ #include <memory> #include "base/containers/queue.h" #include "base/memory/scope...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/skia/skia_gl_renderer.h
C++
unknown
2,689
// 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/demo/skia/skia_renderer_factory.h" #include <memory> #include <utility> #include "base/command_line.h" #include "base/logging.h" #include "ui/gl/gl_display...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/skia/skia_renderer_factory.cc
C++
unknown
2,602
// 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_DEMO_SKIA_SKIA_RENDERER_FACTORY_H_ #define UI_OZONE_DEMO_SKIA_SKIA_RENDERER_FACTORY_H_ #include <memory> #include "base/memory/raw_ptr.h" #include "ui/gfx/ge...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/skia/skia_renderer_factory.h
C++
unknown
1,111
// 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/demo/skia/skia_surfaceless_gl_renderer.h" #include <stddef.h> #include <memory> #include <utility> #include "base/command_line.h" #include "base/functiona...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/skia/skia_surfaceless_gl_renderer.cc
C++
unknown
11,368
// 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_DEMO_SKIA_SKIA_SURFACELESS_GL_RENDERER_H_ #define UI_OZONE_DEMO_SKIA_SKIA_SURFACELESS_GL_RENDERER_H_ #include <memory> #include "ui/gfx/geometry/rect.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/skia/skia_surfaceless_gl_renderer.h
C++
unknown
1,680
// 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/demo/software_renderer.h" #include <memory> #include <utility> #include "base/functional/bind.h" #include "base/logging.h" #include "base/trace_event/trace...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/software_renderer.cc
C++
unknown
2,556
// 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_DEMO_SOFTWARE_RENDERER_H_ #define UI_OZONE_DEMO_SOFTWARE_RENDERER_H_ #include <memory> #include "base/memory/weak_ptr.h" #include "base/time/time.h" #include...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/software_renderer.h
C++
unknown
1,495
// 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/demo/surfaceless_gl_renderer.h" #include <stddef.h> #include <algorithm> #include <memory> #include <utility> #include "base/command_line.h" #include "bas...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/surfaceless_gl_renderer.cc
C++
unknown
12,449
// 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_DEMO_SURFACELESS_GL_RENDERER_H_ #define UI_OZONE_DEMO_SURFACELESS_GL_RENDERER_H_ #include <memory> #include "ui/gfx/geometry/rect_f.h" #include "ui/gfx/nativ...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/surfaceless_gl_renderer.h
C++
unknown
2,553
// 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/demo/vulkan_overlay_renderer.h" #include <vulkan/vulkan.h> #include <memory> #include <utility> #include "base/functional/bind.h" #include "base/location.h...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/vulkan_overlay_renderer.cc
C++
unknown
14,097
// 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_DEMO_VULKAN_OVERLAY_RENDERER_H_ #define UI_OZONE_DEMO_VULKAN_OVERLAY_RENDERER_H_ #include <vulkan/vulkan_core.h> #include <memory> #include "base/memory/raw_...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/vulkan_overlay_renderer.h
C++
unknown
4,360
// 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/demo/vulkan_renderer.h" #include <vulkan/vulkan.h> #include <memory> #include <utility> #include "base/functional/bind.h" #include "base/location.h" #inclu...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/vulkan_renderer.cc
C++
unknown
15,801
// 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_DEMO_VULKAN_RENDERER_H_ #define UI_OZONE_DEMO_VULKAN_RENDERER_H_ #include <vulkan/vulkan_core.h> #include <memory> #include <vector> #include "base/memory/r...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/vulkan_renderer.h
C++
unknown
2,838
// 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/demo/window_manager.h" #include <memory> #include <utility> #include "base/command_line.h" #include "base/functional/bind.h" #include "base/logging.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/window_manager.cc
C++
unknown
4,024
// 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_DEMO_WINDOW_MANAGER_H_ #define UI_OZONE_DEMO_WINDOW_MANAGER_H_ #include <memory> #include <vector> #include "base/functional/callback.h" #include "ui/display...
Zhao-PengFei35/chromium_src_4
ui/ozone/demo/window_manager.h
C++
unknown
2,125
#!/usr/bin/env python # 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. """Code generator for PlatformObject<> constructor list. This script takes as arguments a list of platform names as a text file and a list of types and gene...
Zhao-PengFei35/chromium_src_4
ui/ozone/generate_constructor_list.py
Python
unknown
5,554
#!/usr/bin/env python # 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. """Code generator for Ozone platform list. This script takes as arguments a list of platform names and generates a C++ source file containing a list of thos...
Zhao-PengFei35/chromium_src_4
ui/ozone/generate_ozone_platform_list.py
Python
unknown
4,855
specific_include_rules = { # NOTE: See comment in ./BUILD.gn with respect to this dependency. "gl_image_ozone_native_pixmap_unittest\.cc": [ "+gpu/command_buffer/service/shared_image/gl_image_native_pixmap.h", ], }
Zhao-PengFei35/chromium_src_4
ui/ozone/gl/DEPS
Python
unknown
225
// 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 <stdint.h> #include <memory> #include "gpu/command_buffer/service/shared_image/gl_image_native_pixmap.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/g...
Zhao-PengFei35/chromium_src_4
ui/ozone/gl/gl_image_ozone_native_pixmap_unittest.cc
C++
unknown
4,972
include_rules = [ "+chromecast/base/cast_features.h", "+chromecast/base/chromecast_switches.h", "+chromecast/chromecast_buildflags.h", "+chromecast/public" ]
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/DEPS
Python
unknown
166
// 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/platform/cast/client_native_pixmap_factory_cast.h" #include <memory> #include "base/check_op.h" #include "base/notreached.h" #include "base/numerics/safe_c...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/client_native_pixmap_factory_cast.cc
C++
unknown
2,112
// 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_PLATFORM_CAST_CLIENT_NATIVE_PIXMAP_FACTORY_CAST_H_ #define UI_OZONE_PLATFORM_CAST_CLIENT_NATIVE_PIXMAP_FACTORY_CAST_H_ namespace gfx { class ClientNativePixma...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/client_native_pixmap_factory_cast.h
C++
unknown
563
// 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/cast/gl_ozone_egl_cast.h" #include <EGL/egl.h> #include <dlfcn.h> #include <memory> #include <utility> #include "base/command_line.h" #include "ba...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/gl_ozone_egl_cast.cc
C++
unknown
4,935
// 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_PLATFORM_CAST_GL_OZONE_EGL_CAST_H_ #define UI_OZONE_PLATFORM_CAST_GL_OZONE_EGL_CAST_H_ #include <stdint.h> #include <memory> #include "ui/gfx/geometry/rect.h...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/gl_ozone_egl_cast.h
C++
unknown
1,759
// 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/cast/gl_surface_cast.h" #include <memory> #include <string> #include <utility> #include "base/command_line.h" #include "base/feature_list.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/gl_surface_cast.cc
C++
unknown
4,259
// 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_CAST_GL_SURFACE_CAST_H_ #define UI_OZONE_PLATFORM_CAST_GL_SURFACE_CAST_H_ #include <memory> #include <vector> #include "ui/gfx/geometry/size.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/gl_surface_cast.h
C++
unknown
1,583
// 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/platform/cast/overlay_manager_cast.h" #include <memory> #include "ui/ozone/public/overlay_candidates_ozone.h" namespace ui { namespace { class OverlayCan...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/overlay_manager_cast.cc
C++
unknown
783
// 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_PLATFORM_CAST_OVERLAY_MANAGER_CAST_H_ #define UI_OZONE_PLATFORM_CAST_OVERLAY_MANAGER_CAST_H_ #include <memory> #include "ui/ozone/public/overlay_manager_ozon...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/overlay_manager_cast.h
C++
unknown
812
// 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/platform/cast/ozone_platform_cast.h" #include <memory> #include <utility> #include "base/command_line.h" #include "base/lazy_instance.h" #include "base/log...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/ozone_platform_cast.cc
C++
unknown
7,516
// 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_PLATFORM_CAST_OZONE_PLATFORM_CAST_H_ #define UI_OZONE_PLATFORM_CAST_OZONE_PLATFORM_CAST_H_ namespace ui { class OzonePlatform; // Constructor hook for use i...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/ozone_platform_cast.h
C++
unknown
465
// 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/platform/cast/platform_window_cast.h" #include "base/functional/bind.h" #include "ui/events/event.h" #include "ui/events/ozone/events_ozone.h" #include "ui/...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/platform_window_cast.cc
C++
unknown
1,456
// 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_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_ #define UI_OZONE_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_ #include "ui/events/platform/platform_event_dispatcher.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/platform_window_cast.h
C++
unknown
1,021
// 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/platform/cast/surface_factory_cast.h" #include <memory> #include <utility> #include "base/memory/ptr_util.h" #include "chromecast/public/cast_egl_platform....
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/surface_factory_cast.cc
C++
unknown
4,249
// 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_PLATFORM_CAST_SURFACE_FACTORY_CAST_H_ #define UI_OZONE_PLATFORM_CAST_SURFACE_FACTORY_CAST_H_ #include <memory> #include <vector> #include "ui/gfx/geometry/si...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/cast/surface_factory_cast.h
C++
unknown
1,701
include_rules = [ "+mojo/public", "+services/service_manager", "+services/viz/public/mojom", "+ui/base/buildflags.h", # Doesn't bring in all of ui/base. "+ui/base/ui_base_features.h", "+ui/base/ui_base_switches.h", "+ui/display/util", ]
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/DEPS
Python
unknown
252
// 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/platform/drm/client_native_pixmap_factory_drm.h" #include <utility> #include "ui/gfx/linux/client_native_pixmap_factory_dmabuf.h" #include "ui/gfx/native_p...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/client_native_pixmap_factory_drm.cc
C++
unknown
501
// 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_PLATFORM_DRM_CLIENT_NATIVE_PIXMAP_FACTORY_DRM_H_ #define UI_OZONE_PLATFORM_DRM_CLIENT_NATIVE_PIXMAP_FACTORY_DRM_H_ namespace gfx { class ClientNativePixmapFac...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/client_native_pixmap_factory_drm.h
C++
unknown
556
include_rules = [ "-ui/ozone/platform/drm", "+ui/ozone/platform/drm/common", ]
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/common/DEPS
Python
unknown
83
// 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_PLATFORM_DRM_COMMON_DISPLAY_TYPES_H_ #define UI_OZONE_PLATFORM_DRM_COMMON_DISPLAY_TYPES_H_ #include <memory> #include <string> #include "base/containers/flat...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/common/display_types.h
C++
unknown
743
// 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/drm/common/drm_util.h" #include <drm_fourcc.h> #include <fcntl.h> #include <stdint.h> #include <stdlib.h> #include <sys/mman.h> #include <xf86drm.h...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/common/drm_util.cc
C++
unknown
30,291
// 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_DRM_COMMON_DRM_UTIL_H_ #define UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ #include <stddef.h> #include <stdint.h> #include <xf86drmMode.h> #include <m...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/common/drm_util.h
C++
unknown
10,646
// 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/drm/common/drm_util.h" #include <xf86drm.h> #include <xf86drmMode.h> #include <map> #include "testing/gtest/include/gtest/gtest.h" #include "thir...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/common/drm_util_unittest.cc
C++
unknown
8,020
// Copyright 2023 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/drm/common/drm_wrapper.h" #include <fcntl.h> #include <sys/mman.h> #include <unistd.h> #include <xf86drm.h> #include <xf86drmMode.h> #include <mem...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/common/drm_wrapper.cc
C++
unknown
17,986
// Copyright 2023 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_DRM_COMMON_DRM_WRAPPER_H_ #define UI_OZONE_PLATFORM_DRM_COMMON_DRM_WRAPPER_H_ #include <stddef.h> #include <stdint.h> #include <memory> #include <vec...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/common/drm_wrapper.h
C++
unknown
11,055
// 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/drm/common/scoped_drm_types.h" #include <stdint.h> // required by xf86drmMode.h #include <xf86drm.h> #include <xf86drmMode.h> namespace ui { voi...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/common/scoped_drm_types.cc
C++
unknown
1,624
// 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_DRM_COMMON_SCOPED_DRM_TYPES_H_ #define UI_OZONE_PLATFORM_DRM_COMMON_SCOPED_DRM_TYPES_H_ #include <memory> #include "base/memory/free_deleter.h" typ...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/common/scoped_drm_types.h
C++
unknown
3,438
include_rules = [ "+media/media_buildflags.h", "-ui/ozone/platform/drm", "+ui/ozone/platform/drm/common", "+ui/ozone/platform/drm/gpu", "+ui/ozone/platform/drm/mojom", # TODO remove this once AFBC works for modesetting buffers. "+third_party/libdrm/src/include/drm/drm_fourcc.h", ]
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/gpu/DEPS
Python
unknown
296
// 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/drm/gpu/crtc_commit_request.h" #include "third_party/perfetto/include/perfetto/tracing/traced_value.h" #include "ui/ozone/platform/drm/gpu/drm_gpu_u...
Zhao-PengFei35/chromium_src_4
ui/ozone/platform/drm/gpu/crtc_commit_request.cc
C++
unknown
3,162