Add ICU message format support
[chromium-blink-merge.git] / ui / ozone / common / native_display_delegate_ozone.cc
bloba7f7d1f900fb0bb1d519ff740f71863e23d67b2a
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 void NativeDisplayDelegateOzone::TakeDisplayControl(
36 const DisplayControlCallback& callback) {
37 NOTIMPLEMENTED();
38 callback.Run(false);
41 void NativeDisplayDelegateOzone::RelinquishDisplayControl(
42 const DisplayControlCallback& callback) {
43 NOTIMPLEMENTED();
44 callback.Run(false);
47 void NativeDisplayDelegateOzone::SyncWithServer() {
48 NOTIMPLEMENTED();
51 void NativeDisplayDelegateOzone::SetBackgroundColor(uint32_t color_argb) {
52 NOTIMPLEMENTED();
55 void NativeDisplayDelegateOzone::ForceDPMSOn() {
56 NOTIMPLEMENTED();
59 void NativeDisplayDelegateOzone::GetDisplays(
60 const GetDisplaysCallback& callback) {
61 callback.Run(displays_.get());
64 void NativeDisplayDelegateOzone::AddMode(const ui::DisplaySnapshot& output,
65 const ui::DisplayMode* mode) {
66 NOTIMPLEMENTED();
69 void NativeDisplayDelegateOzone::Configure(const ui::DisplaySnapshot& output,
70 const ui::DisplayMode* mode,
71 const gfx::Point& origin,
72 const ConfigureCallback& callback) {
73 NOTIMPLEMENTED();
74 callback.Run(true);
77 void NativeDisplayDelegateOzone::CreateFrameBuffer(const gfx::Size& size) {
78 NOTIMPLEMENTED();
81 void NativeDisplayDelegateOzone::GetHDCPState(
82 const ui::DisplaySnapshot& output,
83 const GetHDCPStateCallback& callback) {
84 NOTIMPLEMENTED();
85 callback.Run(false, HDCP_STATE_UNDESIRED);
88 void NativeDisplayDelegateOzone::SetHDCPState(
89 const ui::DisplaySnapshot& output,
90 ui::HDCPState state,
91 const SetHDCPStateCallback& callback) {
92 NOTIMPLEMENTED();
93 callback.Run(false);
96 std::vector<ui::ColorCalibrationProfile>
97 NativeDisplayDelegateOzone::GetAvailableColorCalibrationProfiles(
98 const ui::DisplaySnapshot& output) {
99 NOTIMPLEMENTED();
100 return std::vector<ui::ColorCalibrationProfile>();
103 bool NativeDisplayDelegateOzone::SetColorCalibrationProfile(
104 const ui::DisplaySnapshot& output,
105 ui::ColorCalibrationProfile new_profile) {
106 NOTIMPLEMENTED();
107 return false;
110 bool NativeDisplayDelegateOzone::SetGammaRamp(
111 const ui::DisplaySnapshot& output,
112 const std::vector<GammaRampRGBEntry>& lut) {
113 NOTIMPLEMENTED();
114 return false;
117 void NativeDisplayDelegateOzone::AddObserver(NativeDisplayObserver* observer) {
118 NOTIMPLEMENTED();
121 void NativeDisplayDelegateOzone::RemoveObserver(
122 NativeDisplayObserver* observer) {
123 NOTIMPLEMENTED();
126 } // namespace ui