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_DISPLAY_MANAGER_UPDATE_DISPLAY_CONFIGURATION_TASK_H_
#define UI_DISPLAY_MANAGER_UPDATE_DISPLAY_CONFIGURATION_TASK_H_
#include <stdint.h>
#include <memory>
#include... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/update_display_configuration_task.h | C++ | unknown | 5,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.
#include "ui/display/manager/update_display_configuration_task.h"
#include <stddef.h>
#include <utility>
#include "base/functional/bind.h"
#include "base/run_loop.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/update_display_configuration_task_unittest.cc | C++ | unknown | 27,146 |
// 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/display/mojom/display_configuration_params_mojom_traits.h"
namespace mojo {
// static
bool StructTraits<display::mojom::DisplayConfigurationParamsDataView,
... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_configuration_params_mojom_traits.cc | C++ | unknown | 831 |
// 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_DISPLAY_MOJOM_DISPLAY_CONFIGURATION_PARAMS_MOJOM_TRAITS_H_
#define UI_DISPLAY_MOJOM_DISPLAY_CONFIGURATION_PARAMS_MOJOM_TRAITS_H_
#include "third_party/abseil-cpp/ab... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_configuration_params_mojom_traits.h | C++ | unknown | 1,653 |
// 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/display/mojom/display_constants_mojom_traits.h"
namespace mojo {
display::mojom::DisplayConnectionType EnumTraits<
display::mojom::DisplayConnectionType,
... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_constants_mojom_traits.cc | C++ | unknown | 11,169 |
// 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_DISPLAY_MOJOM_DISPLAY_CONSTANTS_MOJOM_TRAITS_H_
#define UI_DISPLAY_MOJOM_DISPLAY_CONSTANTS_MOJOM_TRAITS_H_
#include "ui/display/mojom/display_constants.mojom.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_constants_mojom_traits.h | C++ | unknown | 2,465 |
// 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/display/mojom/display_layout_mojom_traits.h"
namespace mojo {
display::mojom::Position
EnumTraits<display::mojom::Position, display::DisplayPlacement::Position>:... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_layout_mojom_traits.cc | C++ | unknown | 3,576 |
// 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_DISPLAY_MOJOM_DISPLAY_LAYOUT_MOJOM_TRAITS_H_
#define UI_DISPLAY_MOJOM_DISPLAY_LAYOUT_MOJOM_TRAITS_H_
#include <memory>
#include <vector>
#include "ui/display/displ... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_layout_mojom_traits.h | C++ | unknown | 2,798 |
// 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/display/mojom/display_mode_mojom_traits.h"
#include "ui/gfx/geometry/mojom/geometry_mojom_traits.h"
namespace mojo {
// static
bool StructTraits<display::mojom:... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_mode_mojom_traits.cc | C++ | unknown | 757 |
// 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_DISPLAY_MOJOM_DISPLAY_MODE_MOJOM_TRAITS_H_
#define UI_DISPLAY_MOJOM_DISPLAY_MODE_MOJOM_TRAITS_H_
#include "ui/display/mojom/display_mode.mojom.h"
#include "ui/displ... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_mode_mojom_traits.h | C++ | unknown | 1,158 |
// 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/display/mojom/display_mojom_traits.h"
namespace mojo {
display::mojom::Rotation
EnumTraits<display::mojom::Rotation, display::Display::Rotation>::ToMojom(
di... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_mojom_traits.cc | C++ | unknown | 5,340 |
// 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_DISPLAY_MOJOM_DISPLAY_MOJOM_TRAITS_H_
#define UI_DISPLAY_MOJOM_DISPLAY_MOJOM_TRAITS_H_
#include "base/component_export.h"
#include "ui/display/display.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_mojom_traits.h | C++ | unknown | 3,803 |
// 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 <memory>
#include <string>
#include <utility>
#include <vector>
#include "mojo/public/cpp/base/file_path_mojom_traits.h"
#include "testing/gtest/include/gtest/gtest.h... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_mojom_traits_unittest.cc | C++ | unknown | 21,685 |
// 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/display/mojom/display_snapshot_mojom_traits.h"
#include <cstdint>
#include "mojo/public/cpp/base/file_path_mojom_traits.h"
#include "ui/display/types/display_con... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_snapshot_mojom_traits.cc | C++ | unknown | 6,100 |
// 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_DISPLAY_MOJOM_DISPLAY_SNAPSHOT_MOJOM_TRAITS_H_
#define UI_DISPLAY_MOJOM_DISPLAY_SNAPSHOT_MOJOM_TRAITS_H_
#include "ui/display/mojom/display_constants_mojom_traits.h... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/display_snapshot_mojom_traits.h | C++ | unknown | 6,059 |
// 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/display/mojom/gamma_ramp_rgb_entry_mojom_traits.h"
namespace mojo {
// static
bool StructTraits<display::mojom::GammaRampRGBEntryDataView,
disp... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/gamma_ramp_rgb_entry_mojom_traits.cc | C++ | unknown | 549 |
// 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_DISPLAY_MOJOM_GAMMA_RAMP_RGB_ENTRY_MOJOM_TRAITS_H_
#define UI_DISPLAY_MOJOM_GAMMA_RAMP_RGB_ENTRY_MOJOM_TRAITS_H_
#include "ui/display/mojom/gamma_ramp_rgb_entry.moj... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/gamma_ramp_rgb_entry_mojom_traits.h | C++ | unknown | 1,086 |
// 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/display/mojom/screen_info_mojom_traits.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
#include "ui/gfx/mojom/display_color_spaces.mojom.h"
namespace mojo {... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/screen_info_mojom_traits.cc | C++ | unknown | 1,292 |
// 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_DISPLAY_MOJOM_SCREEN_INFO_MOJOM_TRAITS_H_
#define UI_DISPLAY_MOJOM_SCREEN_INFO_MOJOM_TRAITS_H_
#include "base/component_export.h"
#include "ui/display/mojom/screen_... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/screen_info_mojom_traits.h | C++ | unknown | 2,393 |
// 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/display/mojom/screen_infos_mojom_traits.h"
#include "ui/display/mojom/screen_info_mojom_traits.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
namespace moj... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/screen_infos_mojom_traits.cc | C++ | unknown | 1,078 |
// 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_DISPLAY_MOJOM_SCREEN_INFOS_MOJOM_TRAITS_H_
#define UI_DISPLAY_MOJOM_SCREEN_INFOS_MOJOM_TRAITS_H_
#include "base/component_export.h"
#include "base/containers/flat_s... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/screen_infos_mojom_traits.h | C++ | unknown | 1,570 |
// 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/display/mojom/screen_infos_mojom_traits.h"
#include "mojo/public/cpp/test_support/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/displa... | Zhao-PengFei35/chromium_src_4 | ui/display/mojom/screen_infos_mojom_traits_unittest.cc | C++ | unknown | 2,609 |
// 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/display/scoped_display_for_new_windows.h"
#include "ui/display/screen.h"
namespace display {
ScopedDisplayForNewWindows::ScopedDisplayForNewWindows(int64_t new_... | Zhao-PengFei35/chromium_src_4 | ui/display/scoped_display_for_new_windows.cc | C++ | unknown | 757 |
// 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_DISPLAY_SCOPED_DISPLAY_FOR_NEW_WINDOWS_H_
#define UI_DISPLAY_SCOPED_DISPLAY_FOR_NEW_WINDOWS_H_
#include "ui/display/screen.h"
#include "ui/gfx/native_widget_types.h... | Zhao-PengFei35/chromium_src_4 | ui/display/scoped_display_for_new_windows.h | C++ | unknown | 944 |
// 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/display/screen.h"
#include <utility>
#include "base/check.h"
#include "base/containers/contains.h"
#include "base/memory/ptr_util.h"
#include "base/notreached.h"... | Zhao-PengFei35/chromium_src_4 | ui/display/screen.cc | C++ | unknown | 8,074 |
// 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_DISPLAY_SCREEN_H_
#define UI_DISPLAY_SCREEN_H_
#include <memory>
#include <set>
#include <vector>
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/display/screen.h | C++ | unknown | 11,007 |
// 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/display/screen.h"
#include "base/notreached.h"
namespace display {
// static
gfx::NativeWindow Screen::GetWindowForView(gfx::NativeView view) {
// Android can... | Zhao-PengFei35/chromium_src_4 | ui/display/screen_android.cc | C++ | unknown | 736 |
// 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/display/screen.h"
#include "base/notreached.h"
namespace display {
// static
gfx::NativeWindow Screen::GetWindowForView(gfx::NativeView view) {
return view;
}... | Zhao-PengFei35/chromium_src_4 | ui/display/screen_aura.cc | C++ | unknown | 468 |
// 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/display/screen_base.h"
#include "ui/display/display_finder.h"
namespace display {
ScreenBase::ScreenBase() {}
ScreenBase::~ScreenBase() {}
gfx::Point ScreenBa... | Zhao-PengFei35/chromium_src_4 | ui/display/screen_base.cc | C++ | unknown | 3,040 |
// 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_DISPLAY_SCREEN_BASE_H_
#define UI_DISPLAY_SCREEN_BASE_H_
#include <vector>
#include "ui/display/display.h"
#include "ui/display/display_export.h"
#include "ui/disp... | Zhao-PengFei35/chromium_src_4 | ui/display/screen_base.h | C++ | unknown | 2,109 |
// 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/display/screen_info.h"
namespace display {
ScreenInfo::ScreenInfo() = default;
ScreenInfo::ScreenInfo(const ScreenInfo& other) = default;
ScreenInfo::~ScreenInfo... | Zhao-PengFei35/chromium_src_4 | ui/display/screen_info.cc | C++ | unknown | 1,333 |
// 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_DISPLAY_SCREEN_INFO_H_
#define UI_DISPLAY_SCREEN_INFO_H_
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "ui/display/display_export.h"
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/display/screen_info.h | C++ | unknown | 4,196 |
// 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/display/screen_infos.h"
#include "base/ranges/algorithm.h"
namespace display {
ScreenInfos::ScreenInfos() = default;
ScreenInfos::ScreenInfos(const ScreenInfo& ... | Zhao-PengFei35/chromium_src_4 | ui/display/screen_infos.cc | C++ | unknown | 1,329 |
// 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_DISPLAY_SCREEN_INFOS_H_
#define UI_DISPLAY_SCREEN_INFOS_H_
#include "ui/display/display_export.h"
#include "ui/display/screen_info.h"
namespace display {
// Infor... | Zhao-PengFei35/chromium_src_4 | ui/display/screen_infos.h | C++ | unknown | 1,448 |
// 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/display/screen.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/display.h"
#include "ui/display/scoped_display_for_new_windows.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/display/screen_unittest.cc | C++ | unknown | 5,209 |
// 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_DISPLAY_TABLET_STATE_H_
#define UI_DISPLAY_TABLET_STATE_H_
namespace display {
// Tracks whether we are in the process of entering or exiting tablet mode.
enum cla... | Zhao-PengFei35/chromium_src_4 | ui/display/tablet_state.h | C++ | unknown | 486 |
// 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/display/test/display_manager_test_api.h"
#include <cstdarg>
#include <vector>
#include "base/logging.h"
#include "base/ranges/algorithm.h"
#include "base/strings... | Zhao-PengFei35/chromium_src_4 | ui/display/test/display_manager_test_api.cc | C++ | unknown | 8,255 |
// 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_DISPLAY_TEST_DISPLAY_MANAGER_TEST_API_H_
#define UI_DISPLAY_TEST_DISPLAY_MANAGER_TEST_API_H_
#include <stdint.h>
#include <memory>
#include <string>
#include <vect... | Zhao-PengFei35/chromium_src_4 | ui/display/test/display_manager_test_api.h | C++ | unknown | 4,160 |
// 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/display/test/display_matchers.h"
namespace display {
namespace {
const float kEpsilon = 0.0001f;
// Matcher to check DisplayMode size and refresh rate.
class D... | Zhao-PengFei35/chromium_src_4 | ui/display/test/display_matchers.cc | C++ | unknown | 1,433 |
// 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_DISPLAY_TEST_DISPLAY_MATCHERS_H_
#define UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_
#include "testing/gmock/include/gmock/gmock.h"
#include "ui/display/types/display_mode.... | Zhao-PengFei35/chromium_src_4 | ui/display/test/display_matchers.h | C++ | unknown | 673 |
// 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_DISPLAY_TEST_DISPLAY_TEST_UTIL_H_
#define UI_DISPLAY_TEST_DISPLAY_TEST_UTIL_H_
#include "ui/display/display.h"
#include "ui/display/util/display_util.h"
namespace ... | Zhao-PengFei35/chromium_src_4 | ui/display/test/display_test_util.h | C++ | unknown | 1,108 |
// 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/display/test/test_screen.h"
#include <vector>
#include "ui/display/display.h"
namespace display {
namespace test {
namespace {
TestScreen* test_screen = nullptr... | Zhao-PengFei35/chromium_src_4 | ui/display/test/test_screen.cc | C++ | unknown | 1,697 |
// 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_DISPLAY_TEST_TEST_SCREEN_H_
#define UI_DISPLAY_TEST_TEST_SCREEN_H_
#include "ui/display/display.h"
#include "ui/display/screen_base.h"
namespace display {
namespac... | Zhao-PengFei35/chromium_src_4 | ui/display/test/test_screen.h | C++ | unknown | 1,726 |
include_rules = [
"-ui",
"+ui/display/types",
"+ui/gfx/buffer_types.h",
"+ui/gfx/color_space.h",
"+ui/gfx/hdr_static_metadata.h",
"+ui/gfx/geometry",
]
| Zhao-PengFei35/chromium_src_4 | ui/display/types/DEPS | Python | unknown | 164 |
// 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/display/types/display_configuration_params.h"
namespace display {
DisplayConfigurationParams::DisplayConfigurationParams() = default;
DisplayConfigurationParams:... | Zhao-PengFei35/chromium_src_4 | ui/display/types/display_configuration_params.cc | C++ | unknown | 1,340 |
// 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_DISPLAY_TYPES_DISPLAY_CONFIGURATION_PARAMS_H_
#define UI_DISPLAY_TYPES_DISPLAY_CONFIGURATION_PARAMS_H_
#include <stdint.h>
#include "third_party/abseil-cpp/absl/ty... | Zhao-PengFei35/chromium_src_4 | ui/display/types/display_configuration_params.h | C++ | unknown | 1,363 |
// 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_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_
#define UI_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_
#include <stdint.h>
#include <array>
#include "base/containers/flat_map.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/display/types/display_constants.h | C++ | unknown | 13,241 |
// 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/display/types/display_mode.h"
#include "base/memory/ptr_util.h"
#include "base/strings/stringprintf.h"
namespace display {
DisplayMode::DisplayMode(const gfx::S... | Zhao-PengFei35/chromium_src_4 | ui/display/types/display_mode.cc | C++ | unknown | 1,440 |
// 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_DISPLAY_TYPES_DISPLAY_MODE_H_
#define UI_DISPLAY_TYPES_DISPLAY_MODE_H_
#include <memory>
#include <ostream>
#include <string>
#include "ui/display/types/display_ty... | Zhao-PengFei35/chromium_src_4 | ui/display/types/display_mode.h | C++ | unknown | 1,422 |
// 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/display/types/display_snapshot.h"
#include <inttypes.h>
#include <algorithm>
#include <sstream>
#include <utility>
#include "base/notreached.h"
#include "base/s... | Zhao-PengFei35/chromium_src_4 | ui/display/types/display_snapshot.cc | C++ | unknown | 7,207 |
// 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_DISPLAY_TYPES_DISPLAY_SNAPSHOT_H_
#define UI_DISPLAY_TYPES_DISPLAY_SNAPSHOT_H_
#include <stdint.h>
#include <memory>
#include <string>
#include <vector>
#include ... | Zhao-PengFei35/chromium_src_4 | ui/display/types/display_snapshot.h | C++ | unknown | 10,908 |
// 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_DISPLAY_TYPES_DISPLAY_TYPES_EXPORT_H_
#define UI_DISPLAY_TYPES_DISPLAY_TYPES_EXPORT_H_
// Defines DISPLAY_TYPES_EXPORT so that functionality implemented by the
// D... | Zhao-PengFei35/chromium_src_4 | ui/display/types/display_types_export.h | C | unknown | 894 |
// 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_DISPLAY_TYPES_FAKE_DISPLAY_CONTROLLER_H_
#define UI_DISPLAY_TYPES_FAKE_DISPLAY_CONTROLLER_H_
#include <stdint.h>
#include <memory>
#include "ui/display/types/disp... | Zhao-PengFei35/chromium_src_4 | ui/display/types/fake_display_controller.h | C++ | unknown | 1,332 |
// 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_DISPLAY_TYPES_GAMMA_RAMP_RGB_ENTRY_H_
#define UI_DISPLAY_TYPES_GAMMA_RAMP_RGB_ENTRY_H_
#include <stdint.h>
#include "ui/display/types/display_types_export.h"
name... | Zhao-PengFei35/chromium_src_4 | ui/display/types/gamma_ramp_rgb_entry.h | C++ | unknown | 757 |
// 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/display/types/native_display_delegate.h"
namespace display {
NativeDisplayDelegate::~NativeDisplayDelegate() {}
} // namespace display
| Zhao-PengFei35/chromium_src_4 | ui/display/types/native_display_delegate.cc | C++ | unknown | 296 |
// 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_DISPLAY_TYPES_NATIVE_DISPLAY_DELEGATE_H_
#define UI_DISPLAY_TYPES_NATIVE_DISPLAY_DELEGATE_H_
#include <stdint.h>
#include <vector>
#include "base/functional/callb... | Zhao-PengFei35/chromium_src_4 | ui/display/types/native_display_delegate.h | C++ | unknown | 4,688 |
// 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_DISPLAY_TYPES_NATIVE_DISPLAY_OBSERVER_H_
#define UI_DISPLAY_TYPES_NATIVE_DISPLAY_OBSERVER_H_
#include "ui/display/types/display_types_export.h"
namespace display {... | Zhao-PengFei35/chromium_src_4 | ui/display/types/native_display_observer.h | C++ | unknown | 843 |
// 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/display/unified_desktop_utils.h"
#include <map>
#include <set>
#include "base/containers/contains.h"
#include "base/containers/stack.h"
#include "base/logging.h"... | Zhao-PengFei35/chromium_src_4 | ui/display/unified_desktop_utils.cc | C++ | unknown | 10,343 |
// 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_DISPLAY_UNIFIED_DESKTOP_UTILS_H_
#define UI_DISPLAY_UNIFIED_DESKTOP_UTILS_H_
#include <vector>
#include "ui/display/display_export.h"
#include "ui/display/display_... | Zhao-PengFei35/chromium_src_4 | ui/display/unified_desktop_utils.h | C++ | unknown | 2,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/display/unified_desktop_utils.h"
#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/display_layout_builder.h"
#include "ui/dis... | Zhao-PengFei35/chromium_src_4 | ui/display/unified_desktop_utils_unittests.cc | C++ | unknown | 8,939 |
include_rules = [
"+third_party/skia/include/core/SkColorSpace.h",
]
| Zhao-PengFei35/chromium_src_4 | ui/display/util/DEPS | Python | unknown | 71 |
// 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/display/util/display_util.h"
#include <stddef.h>
#include "base/command_line.h"
#include "base/containers/contains.h"
#include "base/logging.h"
#include "base/me... | Zhao-PengFei35/chromium_src_4 | ui/display/util/display_util.cc | C++ | unknown | 15,038 |
// 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_DISPLAY_UTIL_DISPLAY_UTIL_H_
#define UI_DISPLAY_UTIL_DISPLAY_UTIL_H_
#include <stdint.h>
#include "base/containers/flat_set.h"
#include "ui/display/util/display_ut... | Zhao-PengFei35/chromium_src_4 | ui/display/util/display_util.h | C++ | unknown | 4,299 |
// 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_DISPLAY_UTIL_DISPLAY_UTIL_EXPORT_H_
#define UI_DISPLAY_UTIL_DISPLAY_UTIL_EXPORT_H_
// Defines DISPLAY_UTIL_EXPORT so that functionality implemented by the
// displa... | Zhao-PengFei35/chromium_src_4 | ui/display/util/display_util_export.h | C | unknown | 879 |
// 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/display/util/display_util.h"
#include "base/test/metrics/histogram_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/test/display_test... | Zhao-PengFei35/chromium_src_4 | ui/display/util/display_util_unittest.cc | C++ | unknown | 19,855 |
// 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/display/util/edid_parser.h"
#include <stddef.h>
#include <algorithm>
#include <bitset>
#include "base/check.h"
#include "base/hash/hash.h"
#include "base/hash/m... | Zhao-PengFei35/chromium_src_4 | ui/display/util/edid_parser.cc | C++ | unknown | 32,209 |
// 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_DISPLAY_UTIL_EDID_PARSER_H_
#define UI_DISPLAY_UTIL_EDID_PARSER_H_
#include <stdint.h>
#include <string>
#include <vector>
#include "base/containers/flat_set.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/display/util/edid_parser.h | C++ | unknown | 6,053 |
// 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 <stddef.h>
#include <stdint.h>
#include <vector>
#include "base/logging.h"
#include "ui/display/util/edid_parser.h"
#include "ui/gfx/geometry/size.h"
struct Environ... | Zhao-PengFei35/chromium_src_4 | ui/display/util/edid_parser_fuzzer.cc | C++ | unknown | 724 |
// 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/display/util/edid_parser.h"
#include <stdint.h>
#include <memory>
#include "base/containers/flat_set.h"
#include "base/hash/md5.h"
#include "base/numerics/range... | Zhao-PengFei35/chromium_src_4 | ui/display/util/edid_parser_unittest.cc | C++ | unknown | 30,647 |
// 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/display/util/gpu_info_util.h"
#include "base/strings/string_piece.h"
namespace display {
base::Value BuildGpuInfoEntry(base::StringPiece description,
... | Zhao-PengFei35/chromium_src_4 | ui/display/util/gpu_info_util.cc | C++ | unknown | 774 |
// 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_DISPLAY_UTIL_GPU_INFO_UTIL_H_
#define UI_DISPLAY_UTIL_GPU_INFO_UTIL_H_
#include "base/strings/string_piece_forward.h"
#include "base/values.h"
namespace display {
... | Zhao-PengFei35/chromium_src_4 | ui/display/util/gpu_info_util.h | C++ | unknown | 782 |
include_rules = [
"+ui/gfx/x",
]
| Zhao-PengFei35/chromium_src_4 | ui/display/util/x11/DEPS | Python | unknown | 35 |
// 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/display/win/audio_edid_scan.h"
#include <objbase.h>
#include <oleauto.h>
#include <string.h>
#include "base/logging.h"
#include "base/win/scoped_bstr.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/display/win/audio_edid_scan.cc | C++ | unknown | 5,243 |
// 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_DISPLAY_WIN_AUDIO_EDID_SCAN_H_
#define UI_DISPLAY_WIN_AUDIO_EDID_SCAN_H_
#include <stdint.h>
#include "ui/display/display_export.h"
namespace display {
namespace ... | Zhao-PengFei35/chromium_src_4 | ui/display/win/audio_edid_scan.h | C++ | unknown | 1,218 |
// 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/display/win/base_window_finder_win.h"
#include <objbase.h>
namespace display {
namespace win {
// Creates a BaseWindowFinderWin with the specified set of HWNDs ... | Zhao-PengFei35/chromium_src_4 | ui/display/win/base_window_finder_win.cc | C++ | unknown | 936 |
// 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_DISPLAY_WIN_BASE_WINDOW_FINDER_WIN_H_
#define UI_DISPLAY_WIN_BASE_WINDOW_FINDER_WIN_H_
#include <set>
#include "base/memory/raw_ref.h"
#include "base/win/windows_t... | Zhao-PengFei35/chromium_src_4 | ui/display/win/base_window_finder_win.h | C++ | unknown | 1,485 |
// 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/display/win/color_profile_reader.h"
#include <stddef.h>
#include <windows.h>
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/t... | Zhao-PengFei35/chromium_src_4 | ui/display/win/color_profile_reader.cc | C++ | unknown | 5,509 |
// 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_DISPLAY_WIN_COLOR_PROFILE_READER_H_
#define UI_DISPLAY_WIN_COLOR_PROFILE_READER_H_
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/display/win/color_profile_reader.h | C++ | unknown | 2,671 |
// 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/display/win/display_info.h"
#include "base/hash/hash.h"
#include "base/strings/utf_string_conversions.h"
namespace display::win::internal {
DisplayInfo::Display... | Zhao-PengFei35/chromium_src_4 | ui/display/win/display_info.cc | C++ | unknown | 2,273 |
// 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_DISPLAY_WIN_DISPLAY_INFO_H_
#define UI_DISPLAY_WIN_DISPLAY_INFO_H_
#include <windows.h>
#include <stdint.h>
#include "ui/display/display.h"
#include "ui/display/di... | Zhao-PengFei35/chromium_src_4 | ui/display/win/display_info.h | C++ | unknown | 2,712 |
// 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/display/win/dpi.h"
#include <windows.h>
#include "base/win/scoped_hdc.h"
#include "ui/display/display.h"
#include "ui/display/win/uwp_text_scale_factor.h"
names... | Zhao-PengFei35/chromium_src_4 | ui/display/win/dpi.cc | C++ | unknown | 1,865 |
// 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_DISPLAY_WIN_DPI_H_
#define UI_DISPLAY_WIN_DPI_H_
#include "ui/display/display_export.h"
namespace display {
namespace win {
// Deprecated. Use --force-device-scal... | Zhao-PengFei35/chromium_src_4 | ui/display/win/dpi.h | C++ | unknown | 2,102 |
// 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/display/win/local_process_window_finder_win.h"
#include "base/win/windows_version.h"
#include "ui/display/win/screen_win.h"
#include "ui/gfx/win/hwnd_util.h"
nam... | Zhao-PengFei35/chromium_src_4 | ui/display/win/local_process_window_finder_win.cc | C++ | unknown | 2,372 |
// 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_DISPLAY_WIN_LOCAL_PROCESS_WINDOW_FINDER_WIN_H_
#define UI_DISPLAY_WIN_LOCAL_PROCESS_WINDOW_FINDER_WIN_H_
#include <set>
#include "base/memory/raw_ptr.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/display/win/local_process_window_finder_win.h | C++ | unknown | 1,906 |
// 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/display/win/scaling_util.h"
#include <algorithm>
#include "base/check.h"
#include "base/notreached.h"
#include "base/numerics/safe_conversions.h"
#include "ui/gf... | Zhao-PengFei35/chromium_src_4 | ui/display/win/scaling_util.cc | C++ | unknown | 9,413 |
// 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_DISPLAY_WIN_SCALING_UTIL_H_
#define UI_DISPLAY_WIN_SCALING_UTIL_H_
#include <stdint.h>
#include "ui/display/display_export.h"
#include "ui/display/display_layout.h... | Zhao-PengFei35/chromium_src_4 | ui/display/win/scaling_util.h | C++ | unknown | 5,635 |
// 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/display/win/scaling_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/win/test/screen_util_win.h"
#include "ui/gfx/geometry/rect.h"
nam... | Zhao-PengFei35/chromium_src_4 | ui/display/win/scaling_util_unittest.cc | C++ | unknown | 21,953 |
// 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/display/win/screen_win.h"
#include <windows.h>
#include <shellscalingapi.h>
#include <algorithm>
#include "base/containers/contains.h"
#include "base/debug/alia... | Zhao-PengFei35/chromium_src_4 | ui/display/win/screen_win.cc | C++ | unknown | 42,090 |
// 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_DISPLAY_WIN_SCREEN_WIN_H_
#define UI_DISPLAY_WIN_SCREEN_WIN_H_
#include <windows.h>
#include <memory>
#include <vector>
#include "base/scoped_observation.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/display/win/screen_win.h | C++ | unknown | 12,936 |
// 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/display/win/screen_win_display.h"
#include "ui/display/win/display_info.h"
namespace display {
namespace win {
namespace {
Display CreateDisplayFromDisplayInfo(... | Zhao-PengFei35/chromium_src_4 | ui/display/win/screen_win_display.cc | C++ | unknown | 1,625 |
// 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_DISPLAY_WIN_SCREEN_WIN_DISPLAY_H_
#define UI_DISPLAY_WIN_SCREEN_WIN_DISPLAY_H_
#include <windows.h>
#include "ui/display/display.h"
#include "ui/gfx/geometry/rect.... | Zhao-PengFei35/chromium_src_4 | ui/display/win/screen_win_display.h | C++ | unknown | 1,756 |
// 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/display/win/screen_win.h"
#include <windows.h>
#include <inttypes.h>
#include <stddef.h>
#include <unordered_map>
#include <vector>
#include "base/command_line.... | Zhao-PengFei35/chromium_src_4 | ui/display/win/screen_win_unittest.cc | C++ | unknown | 149,424 |
// 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/display/win/test/scoped_screen_win.h"
#include "ui/display/win/display_info.h"
#include "ui/display/win/test/screen_util_win.h"
namespace display {
namespace win ... | Zhao-PengFei35/chromium_src_4 | ui/display/win/test/scoped_screen_win.cc | C++ | unknown | 878 |
// 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_DISPLAY_WIN_TEST_SCOPED_SCREEN_WIN_H_
#define UI_DISPLAY_WIN_TEST_SCOPED_SCREEN_WIN_H_
#include "base/memory/raw_ptr.h"
#include "ui/display/win/screen_win.h"
name... | Zhao-PengFei35/chromium_src_4 | ui/display/win/test/scoped_screen_win.h | C++ | unknown | 1,126 |
// 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/display/win/test/screen_util_win.h"
#include <cwchar>
#include "ui/gfx/geometry/rect.h"
namespace display {
namespace win {
namespace test {
MONITORINFOEX Crea... | Zhao-PengFei35/chromium_src_4 | ui/display/win/test/screen_util_win.cc | C++ | unknown | 977 |
// 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_DISPLAY_WIN_TEST_SCREEN_UTIL_WIN_H_
#define UI_DISPLAY_WIN_TEST_SCREEN_UTIL_WIN_H_
#include <windows.h>
#include <string>
namespace gfx {
class Rect;
} // namesp... | Zhao-PengFei35/chromium_src_4 | ui/display/win/test/screen_util_win.h | C++ | unknown | 749 |
// 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/display/win/uwp_text_scale_factor.h"
#include <windows.h>
#include <windows.ui.viewmanagement.h>
#include <wrl/client.h>
#include <wrl/event.h>
#include <memory... | Zhao-PengFei35/chromium_src_4 | ui/display/win/uwp_text_scale_factor.cc | C++ | unknown | 7,357 |
// 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_DISPLAY_WIN_UWP_TEXT_SCALE_FACTOR_H_
#define UI_DISPLAY_WIN_UWP_TEXT_SCALE_FACTOR_H_
#include "base/observer_list.h"
#include "ui/display/display_export.h"
namespa... | Zhao-PengFei35/chromium_src_4 | ui/display/win/uwp_text_scale_factor.h | C++ | unknown | 2,741 |
include_rules = [
"+ui/base/ui_base_features.h",
"+ui/base/x/x11_keyboard_hook.h",
"+ui/display",
"+ui/gfx",
"+ui/latency",
"+ui/ozone/public/platform_keyboard_hook.h",
]
| Zhao-PengFei35/chromium_src_4 | ui/events/DEPS | Python | unknown | 183 |
include_rules = [
"+ui/events/motionevent_jni_headers",
]
| Zhao-PengFei35/chromium_src_4 | ui/events/android/DEPS | Python | unknown | 60 |