Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / ozone / common / native_display_delegate_ozone.cc
blobd85b641a6b92f8670afc94ec7d0e2fc294ccd9c2
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/ozone/common/native_display_delegate_ozone.h"
7 #include "base/logging.h"
8 #include "ui/ozone/common/display_snapshot_proxy.h"
9 #include "ui/ozone/common/display_util.h"
11 namespace ui {
13 NativeDisplayDelegateOzone::NativeDisplayDelegateOzone() {
16 NativeDisplayDelegateOzone::~NativeDisplayDelegateOzone() {
19 void NativeDisplayDelegateOzone::Initialize() {
20 DisplaySnapshot_Params params;
21 if (CreateSnapshotFromCommandLine(&params)) {
22 DCHECK_NE(DISPLAY_CONNECTION_TYPE_NONE, params.type);
23 displays_.push_back(new DisplaySnapshotProxy(params));
27 void NativeDisplayDelegateOzone::GrabServer() {
28 NOTIMPLEMENTED();
31 void NativeDisplayDelegateOzone::UngrabServer() {
32 NOTIMPLEMENTED();
35 bool NativeDisplayDelegateOzone::TakeDisplayControl() {
36 NOTIMPLEMENTED();
37 return false;
40 bool NativeDisplayDelegateOzone::RelinquishDisplayControl() {
41 NOTIMPLEMENTED();
42 return false;
45 void NativeDisplayDelegateOzone::SyncWithServer() {
46 NOTIMPLEMENTED();
49 void NativeDisplayDelegateOzone::SetBackgroundColor(uint32_t color_argb) {
50 NOTIMPLEMENTED();
53 void NativeDisplayDelegateOzone::ForceDPMSOn() {
54 NOTIMPLEMENTED();
57 void NativeDisplayDelegateOzone::GetDisplays(
58 const GetDisplaysCallback& callback) {
59 callback.Run(displays_.get());
62 void NativeDisplayDelegateOzone::AddMode(const ui::DisplaySnapshot& output,
63 const ui::DisplayMode* mode) {
64 NOTIMPLEMENTED();
67 void NativeDisplayDelegateOzone::Configure(const ui::DisplaySnapshot& output,
68 const ui::DisplayMode* mode,
69 const gfx::Point& origin,
70 const ConfigureCallback& callback) {
71 NOTIMPLEMENTED();
72 callback.Run(true);
75 void NativeDisplayDelegateOzone::CreateFrameBuffer(const gfx::Size& size) {
76 NOTIMPLEMENTED();
79 void NativeDisplayDelegateOzone::GetHDCPState(
80 const ui::DisplaySnapshot& output,
81 const GetHDCPStateCallback& callback) {
82 NOTIMPLEMENTED();
83 callback.Run(false, HDCP_STATE_UNDESIRED);
86 void NativeDisplayDelegateOzone::SetHDCPState(
87 const ui::DisplaySnapshot& output,
88 ui::HDCPState state,
89 const SetHDCPStateCallback& callback) {
90 NOTIMPLEMENTED();
91 callback.Run(false);
94 std::vector<ui::ColorCalibrationProfile>
95 NativeDisplayDelegateOzone::GetAvailableColorCalibrationProfiles(
96 const ui::DisplaySnapshot& output) {
97 NOTIMPLEMENTED();
98 return std::vector<ui::ColorCalibrationProfile>();
101 bool NativeDisplayDelegateOzone::SetColorCalibrationProfile(
102 const ui::DisplaySnapshot& output,
103 ui::ColorCalibrationProfile new_profile) {
104 NOTIMPLEMENTED();
105 return false;
108 void NativeDisplayDelegateOzone::AddObserver(NativeDisplayObserver* observer) {
109 NOTIMPLEMENTED();
112 void NativeDisplayDelegateOzone::RemoveObserver(
113 NativeDisplayObserver* observer) {
114 NOTIMPLEMENTED();
117 } // namespace ui