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 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/display_finder.h"
#include <limits>
#include "base/check.h"
#include "base/ranges/algorithm.h"
#include "ui/display/display.h"
#include "ui/gfx/geometry/... | Zhao-PengFei35/chromium_src_4 | ui/display/display_finder.cc | C++ | unknown | 1,989 |
// 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_DISPLAY_FINDER_H_
#define UI_DISPLAY_DISPLAY_FINDER_H_
#include <vector>
#include "ui/display/display_export.h"
namespace gfx {
class Point;
class Rect;
}... | Zhao-PengFei35/chromium_src_4 | ui/display/display_finder.h | C++ | unknown | 1,281 |
// 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/display_layout.h"
#include <map>
#include <set>
#include <sstream>
#include <unordered_map>
#include "base/check.h"
#include "base/check_op.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/display/display_layout.cc | C++ | unknown | 29,521 |
// 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_DISPLAY_LAYOUT_H_
#define UI_DISPLAY_DISPLAY_LAYOUT_H_
#include <stdint.h>
#include <memory>
#include <string>
#include <vector>
#include "base/strings/st... | Zhao-PengFei35/chromium_src_4 | ui/display/display_layout.h | C++ | unknown | 5,135 |
// 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/display_layout_builder.h"
#include <algorithm>
#include "ui/display/display.h"
#include "ui/display/util/display_util.h"
namespace display {
DisplayLay... | Zhao-PengFei35/chromium_src_4 | ui/display/display_layout_builder.cc | C++ | unknown | 2,093 |
// 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_DISPLAY_LAYOUT_BUILDER_H_
#define UI_DISPLAY_DISPLAY_LAYOUT_BUILDER_H_
#include <memory>
#include "ui/display/display_export.h"
#include "ui/display/displa... | Zhao-PengFei35/chromium_src_4 | ui/display/display_layout_builder.h | C++ | unknown | 1,911 |
// 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/display_layout_builder.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace display {
TEST(DisplayLayoutBuilderTest, SecondaryPlacement) {
Disp... | Zhao-PengFei35/chromium_src_4 | ui/display/display_layout_builder_unittest.cc | C++ | unknown | 1,940 |
// 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/display.h"
#include <tuple>
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/display_layout.h"
#include "ui/display/... | Zhao-PengFei35/chromium_src_4 | ui/display/display_layout_unittest.cc | C++ | unknown | 30,504 |
// 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/display_list.h"
#include "base/memory/ptr_util.h"
#include "base/observer_list.h"
#include "ui/display/display_observer.h"
namespace display {
DisplayLi... | Zhao-PengFei35/chromium_src_4 | ui/display/display_list.cc | C++ | unknown | 6,316 |
// 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_DISPLAY_LIST_H_
#define UI_DISPLAY_DISPLAY_LIST_H_
#include <stdint.h>
#include <vector>
#include "base/observer_list.h"
#include "ui/display/display.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/display/display_list.h | C++ | unknown | 2,916 |
// 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/display_list.h"
#include <string>
#include <vector>
#include "base/strings/string_number_conversions.h"
#include "base/test/gtest_util.h"
#include "testi... | Zhao-PengFei35/chromium_src_4 | ui/display/display_list_unittest.cc | C++ | unknown | 5,320 |
// 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/display_observer.h"
#include "ui/display/screen.h"
#include "ui/display/tablet_state.h"
namespace display {
DisplayObserver::~DisplayObserver() {}
void... | Zhao-PengFei35/chromium_src_4 | ui/display/display_observer.cc | C++ | unknown | 1,508 |
// 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_DISPLAY_OBSERVER_H_
#define UI_DISPLAY_DISPLAY_OBSERVER_H_
#include <stdint.h>
#include "base/memory/raw_ptr_exclusion.h"
#include "base/observer_list_type... | Zhao-PengFei35/chromium_src_4 | ui/display/display_observer.h | C++ | unknown | 3,757 |
// 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/display_switches.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
namespace switches {
// TODO(rjkroege): Some of these have an ... | Zhao-PengFei35/chromium_src_4 | ui/display/display_switches.cc | C++ | unknown | 3,515 |
// 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_DISPLAY_SWITCHES_H_
#define UI_DISPLAY_DISPLAY_SWITCHES_H_
#include "base/feature_list.h"
#include "build/build_config.h"
#include "build/chromeos_buildflag... | Zhao-PengFei35/chromium_src_4 | ui/display/display_switches.h | C++ | unknown | 1,363 |
// 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/display/display_transform.h"
#include "base/notreached.h"
#include "ui/gfx/overlay_transform_utils.h"
namespace display {
gfx::Transform CreateRotationTransform... | Zhao-PengFei35/chromium_src_4 | ui/display/display_transform.cc | C++ | unknown | 1,742 |
// 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_DISPLAY_DISPLAY_TRANSFORM_H_
#define UI_DISPLAY_DISPLAY_TRANSFORM_H_
#include "ui/display/display.h"
#include "ui/display/display_export.h"
#include "ui/gfx/overlay... | Zhao-PengFei35/chromium_src_4 | ui/display/display_transform.h | C++ | unknown | 854 |
// 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/display.h"
#include "base/command_line.h"
#include "base/test/scoped_command_line.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/d... | Zhao-PengFei35/chromium_src_4 | ui/display/display_unittest.cc | C++ | unknown | 3,086 |
// 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/display_util.h"
#include "build/build_config.h"
#include "ui/display/display.h"
#include "ui/display/screen.h"
#include "ui/gfx/icc_profile.h"
namespace ... | Zhao-PengFei35/chromium_src_4 | ui/display/display_util.cc | C++ | unknown | 5,868 |
// 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_DISPLAY_UTIL_H_
#define UI_DISPLAY_DISPLAY_UTIL_H_
#include "ui/display/display.h"
#include "ui/display/display_export.h"
#include "ui/display/screen_info.h... | Zhao-PengFei35/chromium_src_4 | ui/display/display_util.h | C++ | unknown | 1,325 |
// 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/fake/fake_display_delegate.h"
#include <string>
#include <utility>
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/hash/h... | Zhao-PengFei35/chromium_src_4 | ui/display/fake/fake_display_delegate.cc | C++ | unknown | 8,482 |
// 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_FAKE_FAKE_DISPLAY_DELEGATE_H_
#define UI_DISPLAY_FAKE_FAKE_DISPLAY_DELEGATE_H_
#include <memory>
#include <string>
#include <vector>
#include "base/contain... | Zhao-PengFei35/chromium_src_4 | ui/display/fake/fake_display_delegate.h | C++ | unknown | 5,577 |
// 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_DISPLAY_FAKE_FAKE_DISPLAY_EXPORT_H_
#define UI_DISPLAY_FAKE_FAKE_DISPLAY_EXPORT_H_
// Defines FAKE_DISPLAY_EXPORT so that functionality implemented by
// the ui/dis... | Zhao-PengFei35/chromium_src_4 | ui/display/fake/fake_display_export.h | C | unknown | 882 |
// 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/fake/fake_display_snapshot.h"
#include <inttypes.h>
#include <stdint.h>
#include <utility>
#include <vector>
#include "base/logging.h"
#include "base/no... | Zhao-PengFei35/chromium_src_4 | ui/display/fake/fake_display_snapshot.cc | C++ | unknown | 13,331 |
// 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_FAKE_FAKE_DISPLAY_SNAPSHOT_H_
#define UI_DISPLAY_FAKE_FAKE_DISPLAY_SNAPSHOT_H_
#include <stdint.h>
#include <memory>
#include <string>
#include <vector>
#... | Zhao-PengFei35/chromium_src_4 | ui/display/fake/fake_display_snapshot.h | C++ | unknown | 7,552 |
// 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/fake/fake_display_snapshot.h"
#include <memory>
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "u... | Zhao-PengFei35/chromium_src_4 | ui/display/fake/fake_display_snapshot_unittest.cc | C++ | unknown | 4,976 |
// 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.
#import <UIKit/UIKit.h>
#include "base/check.h"
#include "base/mac/scoped_nsobject.h"
#include "base/notreached.h"
#include "base/task/single_thread_task_runner.h"
#include "u... | Zhao-PengFei35/chromium_src_4 | ui/display/ios/screen_ios.mm | Objective-C++ | unknown | 3,044 |
// 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/mac/display_link_mac.h"
#include <stdint.h>
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/no_dest... | Zhao-PengFei35/chromium_src_4 | ui/display/mac/display_link_mac.cc | C++ | unknown | 10,376 |
// 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_MAC_DISPLAY_LINK_MAC_H_
#define UI_DISPLAY_MAC_DISPLAY_LINK_MAC_H_
#include <QuartzCore/CVDisplayLink.h>
#include <memory>
#include <set>
#include <vector>... | Zhao-PengFei35/chromium_src_4 | ui/display/mac/display_link_mac.h | C++ | unknown | 3,847 |
// 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"
#import <AppKit/AppKit.h>
#import <ApplicationServices/ApplicationServices.h>
#import <Cocoa/Cocoa.h>
#include <IOKit/IOKitLib.h>
#include <IOKi... | Zhao-PengFei35/chromium_src_4 | ui/display/mac/screen_mac.mm | Objective-C++ | unknown | 21,680 |
// 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_MAC_TEST_TEST_SCREEN_MAC_H_
#define UI_DISPLAY_MAC_TEST_TEST_SCREEN_MAC_H_
#include "ui/display/test/test_screen.h"
namespace gfx {
class Size;
}
namespac... | Zhao-PengFei35/chromium_src_4 | ui/display/mac/test/test_screen_mac.h | C++ | unknown | 836 |
// 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/mac/test/test_screen_mac.h"
#import <AppKit/AppKit.h>
#import <Cocoa/Cocoa.h>
#include "ui/display/display.h"
#include "ui/display/test/test_screen.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/display/mac/test/test_screen_mac.mm | Objective-C++ | unknown | 968 |
// 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_MAC_TEST_VIRTUAL_DISPLAY_MAC_UTIL_H_
#define UI_DISPLAY_MAC_TEST_VIRTUAL_DISPLAY_MAC_UTIL_H_
#import <IOKit/pwr_mgt/IOPMLib.h>
#include <stdint.h>
#include... | Zhao-PengFei35/chromium_src_4 | ui/display/mac/test/virtual_display_mac_util.h | Objective-C | unknown | 4,151 |
// 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/mac/test/virtual_display_mac_util.h"
#include <CoreGraphics/CoreGraphics.h>
#import <Foundation/Foundation.h>
#include <map>
#include "base/check.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/display/mac/test/virtual_display_mac_util.mm | Objective-C++ | unknown | 24,062 |
// 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 "base/test/task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/mac/test/virtual_display_mac_util.h"
#include "ui/display/screen.h"
... | Zhao-PengFei35/chromium_src_4 | ui/display/mac/test/virtual_display_mac_util_interactive_uitest.mm | Objective-C++ | unknown | 3,425 |
include_rules = [
"+chromeos",
"+third_party/skia",
"+ui/base",
"+ui/events/devices",
"+ui/events/platform_event.h",
"+ui/ozone/public/ozone_switches.h",
"+ui/strings",
]
specific_include_rules = {
"display_change_observer_unittest.cc": [
"+cc/base/math_util.h",
]
}
| Zhao-PengFei35/chromium_src_4 | ui/display/manager/DEPS | Python | unknown | 290 |
// 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/manager/apply_content_protection_task.h"
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/ranges/algorithm.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/apply_content_protection_task.cc | C++ | unknown | 5,605 |
// 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_MANAGER_APPLY_CONTENT_PROTECTION_TASK_H_
#define UI_DISPLAY_MANAGER_APPLY_CONTENT_PROTECTION_TASK_H_
#include <cstddef>
#include <cstdint>
#include <vector>... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/apply_content_protection_task.h | C++ | unknown | 2,577 |
// 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/manager/apply_content_protection_task.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/apply_content_protection_task_unittest.cc | C++ | unknown | 10,838 |
// 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/configure_displays_task.h"
#include <cstddef>
#include <string>
#include "base/auto_reset.h"
#include "base/containers/flat_set.h"
#include "base... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/configure_displays_task.cc | C++ | unknown | 18,476 |
// 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_CONFIGURE_DISPLAYS_TASK_H_
#define UI_DISPLAY_MANAGER_CONFIGURE_DISPLAYS_TASK_H_
#include <stddef.h>
#include <queue>
#include <vector>
#include "... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/configure_displays_task.h | C++ | unknown | 7,222 |
// 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 <stddef.h>
#include <vector>
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "testing/gtest/include/gtes... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/configure_displays_task_unittest.cc | C++ | unknown | 120,643 |
// 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/manager/content_protection_key_manager.h"
#include "base/containers/contains.h"
#include "ui/display/display_features.h"
#include "ui/display/manager/disp... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/content_protection_key_manager.cc | C++ | unknown | 4,600 |
// 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_MANAGER_CONTENT_PROTECTION_KEY_MANAGER_H_
#define UI_DISPLAY_MANAGER_CONTENT_PROTECTION_KEY_MANAGER_H_
#include "base/containers/flat_map.h"
#include "base/... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/content_protection_key_manager.h | C++ | unknown | 3,360 |
// 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/display/manager/content_protection_key_manager.h"
#include <memory>
#include <vector>
#include "base/test/scoped_feature_list.h"
#include "testing/gmock/include/g... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/content_protection_key_manager_unittest.cc | C++ | unknown | 8,241 |
// 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/display/manager/content_protection_manager.h"
#include <utility>
#include "base/check.h"
#include "base/containers/cxx20_erase.h"
#include "base/observer_list.h"... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/content_protection_manager.cc | C++ | unknown | 9,995 |
// 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_DISPLAY_MANAGER_CONTENT_PROTECTION_MANAGER_H_
#define UI_DISPLAY_MANAGER_CONTENT_PROTECTION_MANAGER_H_
#include <cstdint>
#include <memory>
#include "base/containe... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/content_protection_manager.h | C++ | unknown | 8,176 |
// 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/display/manager/content_protection_manager.h"
#include "base/containers/flat_map.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/tes... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/content_protection_manager_unittest.cc | C++ | unknown | 27,937 |
// 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/manager/default_touch_transform_setter.h"
#include "ui/events/devices/device_data_manager.h"
#include "ui/events/devices/touch_device_transform.h"
namesp... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/default_touch_transform_setter.cc | C++ | unknown | 700 |
// 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_MANAGER_DEFAULT_TOUCH_TRANSFORM_SETTER_H_
#define UI_DISPLAY_MANAGER_DEFAULT_TOUCH_TRANSFORM_SETTER_H_
#include "ui/display/manager/touch_transform_setter.h... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/default_touch_transform_setter.h | C++ | unknown | 917 |
// 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/display/manager/display_change_observer.h"
#include <algorithm>
#include <map>
#include <set>
#include <string>
#include <tuple>
#include <utility>
#include <vect... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_change_observer.cc | C++ | unknown | 17,074 |
// 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_DISPLAY_MANAGER_DISPLAY_CHANGE_OBSERVER_H_
#define UI_DISPLAY_MANAGER_DISPLAY_CHANGE_OBSERVER_H_
#include <stdint.h>
#include "base/memory/raw_ptr.h"
#include "thi... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_change_observer.h | C++ | unknown | 3,608 |
// 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/display/manager/display_change_observer.h"
#include <cmath>
#include <memory>
#include <set>
#include <string>
#include <tuple>
#include "base/command_line.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_change_observer_unittest.cc | C++ | unknown | 30,368 |
// 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/display_configurator.h"
#include <cstddef>
#include <utility>
#include "base/command_line.h"
#include "base/containers/contains.h"
#include "base... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_configurator.cc | C++ | unknown | 44,302 |
// 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_DISPLAY_CONFIGURATOR_H_
#define UI_DISPLAY_MANAGER_DISPLAY_CONFIGURATOR_H_
#include <cstdint>
#include <memory>
#include <vector>
#include "base/me... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_configurator.h | C++ | unknown | 19,231 |
// 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/display_configurator.h"
#include <stddef.h>
#include <stdint.h>
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/m... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_configurator_unittest.cc | C++ | unknown | 113,804 |
// 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_MANAGER_DISPLAY_LAYOUT_MANAGER_H_
#define UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_MANAGER_H_
#include <vector>
#include "third_party/cros_system_api/dbus/service... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_layout_manager.h | C++ | unknown | 1,744 |
// 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 <stdio.h>
#include <string>
#include <utility>
#include "base/check_op.h"
#include "base/command_line.h"
#include "base/notreached.h"
#include "ui/display/display.h"... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_layout_store.cc | C++ | unknown | 5,343 |
// 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_DISPLAY_MANAGER_DISPLAY_LAYOUT_STORE_H_
#define UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_STORE_H_
#include <stdint.h>
#include <memory>
#include "base/containers/flat_ma... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_layout_store.h | C++ | unknown | 2,954 |
// 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/manager/display_manager.h"
#include <cmath>
#include <limits>
#include <map>
#include <set>
#include <string>
#include <utility>
#include <vector>
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_manager.cc | C++ | unknown | 86,052 |
// 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_MANAGER_DISPLAY_MANAGER_H_
#define UI_DISPLAY_MANAGER_DISPLAY_MANAGER_H_
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <map>
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_manager.h | C++ | unknown | 29,722 |
// 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_MANAGER_DISPLAY_MANAGER_EXPORT_H_
#define UI_DISPLAY_MANAGER_DISPLAY_MANAGER_EXPORT_H_
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#if defined(DISPLAY_... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_manager_export.h | C | unknown | 787 |
// 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/display_manager_util.h"
#include <stddef.h>
#include <algorithm>
#include <array>
#include <cmath>
#include "base/check_op.h"
#include "base/notr... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_manager_util.cc | C++ | unknown | 7,185 |
// 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_DISPLAY_MANAGER_UTIL_H_
#define UI_DISPLAY_MANAGER_DISPLAY_MANAGER_UTIL_H_
#include <string>
#include <vector>
#include "build/chromeos_buildflags.... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_manager_util.h | C++ | unknown | 2,826 |
// 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/manager/display_manager_util.h"
#include <array>
#include <vector>
#include "base/strings/stringprintf.h"
#include "testing/gtest/include/gtest/gtest.h"
... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_manager_util_unittest.cc | C++ | unknown | 3,104 |
// 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/manager/display_manager_utilities.h"
#include <algorithm>
#include <set>
#include <sstream>
#include <vector>
#include "base/command_line.h"
#include "ba... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_manager_utilities.cc | C++ | unknown | 8,322 |
// 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_MANAGER_DISPLAY_MANAGER_UTILITIES_H_
#define UI_DISPLAY_MANAGER_DISPLAY_MANAGER_UTILITIES_H_
#include <vector>
#include "base/functional/identity.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_manager_utilities.h | C++ | unknown | 5,108 |
// 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/display_manager_utilities.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/display.h"
#include "ui/display/test/display_test... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_manager_utilities_unittest.cc | C++ | unknown | 4,323 |
// 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/display/manager/display_properties_parser.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "base/values.h"
#include "third_party/absei... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_properties_parser.cc | C++ | unknown | 2,708 |
// 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_DISPLAY_MANAGER_DISPLAY_PROPERTIES_PARSER_H_
#define UI_DISPLAY_MANAGER_DISPLAY_PROPERTIES_PARSER_H_
#include "base/values.h"
#include "ui/display/manager/display_m... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_properties_parser.h | C++ | unknown | 659 |
// 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/display/manager/display_properties_parser.h"
#include "base/json/json_reader.h"
#include "base/test/gtest_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/display_properties_parser_unittest.cc | C++ | unknown | 2,494 |
// 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/manager/json_converter.h"
#include <memory>
#include <string>
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "bas... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/json_converter.cc | C++ | unknown | 6,568 |
// 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_MANAGER_JSON_CONVERTER_H_
#define UI_DISPLAY_MANAGER_JSON_CONVERTER_H_
#include "base/values.h"
#include "ui/display/manager/display_manager_export.h"
name... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/json_converter.h | C++ | unknown | 1,020 |
// 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/manager/json_converter.h"
#include <memory>
#include "base/json/json_reader.h"
#include "base/values.h"
#include "testing/gtest/include/gtest/gtest.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/json_converter_unittest.cc | C++ | unknown | 2,895 |
// 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/display/manager/managed_display_info.h"
#include <stdio.h>
#include <limits>
#include <string>
#include <vector>
#include "base/command_line.h"
#include "base/l... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/managed_display_info.cc | C++ | unknown | 23,660 |
// 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_DISPLAY_MANAGER_MANAGED_DISPLAY_INFO_H_
#define UI_DISPLAY_MANAGER_MANAGED_DISPLAY_INFO_H_
#include <stdint.h>
#include <algorithm>
#include <map>
#include <string>... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/managed_display_info.h | C++ | unknown | 18,519 |
// 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/display/manager/managed_display_info.h"
#include "base/test/gtest_util.h"
#include "build/chromeos_buildflags.h"
#include "testing/gtest/include/gtest/gtest.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/managed_display_info_unittest.cc | C++ | unknown | 8,039 |
// 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/manager/query_content_protection_task.h"
#include <utility>
#include "base/functional/bind.h"
#include "ui/display/manager/display_layout_manager.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/query_content_protection_task.cc | C++ | unknown | 4,086 |
// 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_MANAGER_QUERY_CONTENT_PROTECTION_TASK_H_
#define UI_DISPLAY_MANAGER_QUERY_CONTENT_PROTECTION_TASK_H_
#include <cstddef>
#include <cstdint>
#include "base/f... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/query_content_protection_task.h | C++ | unknown | 2,355 |
// 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/manager/query_content_protection_task.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/query_content_protection_task_unittest.cc | C++ | unknown | 11,099 |
// 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/test/action_logger.h"
namespace display::test {
ActionLogger::ActionLogger() {}
ActionLogger::~ActionLogger() {}
void ActionLogger::AppendActio... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/test/action_logger.cc | C++ | unknown | 576 |
// 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_TEST_ACTION_LOGGER_H_
#define UI_DISPLAY_MANAGER_TEST_ACTION_LOGGER_H_
#include <string>
namespace display::test {
class ActionLogger {
public:
... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/test/action_logger.h | C++ | unknown | 843 |
// 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/test/action_logger_util.h"
#include <stddef.h>
#include "base/format_macros.h"
#include "base/strings/stringprintf.h"
#include "ui/display/types/... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/test/action_logger_util.cc | C++ | unknown | 3,448 |
// 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_TEST_ACTION_LOGGER_UTIL_H_
#define UI_DISPLAY_MANAGER_TEST_ACTION_LOGGER_UTIL_H_
#include <stdint.h>
#include <string>
#include <vector>
#include ... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/test/action_logger_util.h | C++ | unknown | 2,548 |
// 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/manager/test/test_display_layout_manager.h"
#include <utility>
#include "base/ranges/algorithm.h"
#include "ui/display/types/display_snapshot.h"
namespa... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/test/test_display_layout_manager.cc | C++ | unknown | 1,918 |
// 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_MANAGER_TEST_TEST_DISPLAY_LAYOUT_MANAGER_H_
#define UI_DISPLAY_MANAGER_TEST_TEST_DISPLAY_LAYOUT_MANAGER_H_
#include <memory>
#include <vector>
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/test/test_display_layout_manager.h | C++ | unknown | 2,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/test/test_native_display_delegate.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/strings/strcat.h"
#include "base/... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/test/test_native_display_delegate.cc | C++ | unknown | 8,536 |
// 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_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_
#define UI_DISPLAY_MANAGER_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_
#include <stdint.h>
#include <vector>
#includ... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/test/test_native_display_delegate.h | C++ | unknown | 5,603 |
// 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/manager/test/touch_device_manager_test_api.h"
#include "ui/display/manager/managed_display_info.h"
#include "ui/events/devices/touchscreen_device.h"
name... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/test/touch_device_manager_test_api.cc | C++ | unknown | 1,830 |
// 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_MANAGER_TEST_TOUCH_DEVICE_MANAGER_TEST_API_H_
#define UI_DISPLAY_MANAGER_TEST_TOUCH_DEVICE_MANAGER_TEST_API_H_
#include "base/memory/raw_ptr.h"
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/test/touch_device_manager_test_api.h | C++ | unknown | 1,996 |
// 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/manager/test/touch_transform_controller_test_api.h"
namespace display::test {
TouchTransformControllerTestApi::TouchTransformControllerTestApi(
Touch... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/test/touch_transform_controller_test_api.cc | C++ | unknown | 497 |
// 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_MANAGER_TEST_TOUCH_TRANSFORM_CONTROLLER_TEST_API_H_
#define UI_DISPLAY_MANAGER_TEST_TOUCH_TRANSFORM_CONTROLLER_TEST_API_H_
#include "base/memory/raw_ptr.h"
... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/test/touch_transform_controller_test_api.h | C++ | unknown | 1,084 |
// 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/manager/touch_device_manager.h"
#include <set>
#include <string>
#include <tuple>
#include "base/containers/contains.h"
#include "base/files/file_util.h"... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/touch_device_manager.cc | C++ | unknown | 28,170 |
// 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_MANAGER_TOUCH_DEVICE_MANAGER_H_
#define UI_DISPLAY_MANAGER_TOUCH_DEVICE_MANAGER_H_
#include <array>
#include <map>
#include <ostream>
#include <vector>
#in... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/touch_device_manager.h | C++ | unknown | 11,295 |
// 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/manager/touch_device_manager.h"
#include <memory>
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "base/strings/string_numb... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/touch_device_manager_unittest.cc | C++ | unknown | 34,335 |
// 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/touch_transform_controller.h"
#include <utility>
#include <vector>
#include "base/logging.h"
#include "base/ranges/algorithm.h"
#include "ui/disp... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/touch_transform_controller.cc | C++ | unknown | 15,932 |
// 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_TOUCH_TRANSFORM_CONTROLLER_H_
#define UI_DISPLAY_MANAGER_TOUCH_TRANSFORM_CONTROLLER_H_
#include <map>
#include <memory>
#include <vector>
#include ... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/touch_transform_controller.h | C++ | unknown | 4,253 |
// 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/touch_transform_controller.h"
#include <memory>
#include <string>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/strings/stri... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/touch_transform_controller_unittest.cc | C++ | unknown | 35,496 |
// 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_MANAGER_TOUCH_TRANSFORM_SETTER_H_
#define UI_DISPLAY_MANAGER_TOUCH_TRANSFORM_SETTER_H_
#include <vector>
#include "ui/display/manager/display_manager_expor... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/touch_transform_setter.h | C++ | unknown | 869 |
// 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 <memory>
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/metrics/histogr... | Zhao-PengFei35/chromium_src_4 | ui/display/manager/update_display_configuration_task.cc | C++ | unknown | 10,061 |