Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: ui/ozone/common/native_display_delegate_ozone.cc

Issue 788423002: Add display task to trigger display configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@async-refactor3
Patch Set: Remove include in favour of forward declare Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/ozone/common/native_display_delegate_ozone.h" 5 #include "ui/ozone/common/native_display_delegate_ozone.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/ozone/common/display_snapshot_proxy.h" 8 #include "ui/ozone/common/display_snapshot_proxy.h"
9 #include "ui/ozone/common/display_util.h" 9 #include "ui/ozone/common/display_util.h"
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 50
51 void NativeDisplayDelegateOzone::ForceDPMSOn() { 51 void NativeDisplayDelegateOzone::ForceDPMSOn() {
52 NOTIMPLEMENTED(); 52 NOTIMPLEMENTED();
53 } 53 }
54 54
55 std::vector<ui::DisplaySnapshot*> NativeDisplayDelegateOzone::GetDisplays() { 55 std::vector<ui::DisplaySnapshot*> NativeDisplayDelegateOzone::GetDisplays() {
56 return displays_.get(); 56 return displays_.get();
57 } 57 }
58 58
59 void NativeDisplayDelegateOzone::GetDisplays(
60 const GetDisplaysCallback& callback) {
61 callback.Run(GetDisplays());
62 }
63
59 void NativeDisplayDelegateOzone::AddMode(const ui::DisplaySnapshot& output, 64 void NativeDisplayDelegateOzone::AddMode(const ui::DisplaySnapshot& output,
60 const ui::DisplayMode* mode) { 65 const ui::DisplayMode* mode) {
61 NOTIMPLEMENTED(); 66 NOTIMPLEMENTED();
62 } 67 }
63 68
64 bool NativeDisplayDelegateOzone::Configure(const ui::DisplaySnapshot& output, 69 bool NativeDisplayDelegateOzone::Configure(const ui::DisplaySnapshot& output,
65 const ui::DisplayMode* mode, 70 const ui::DisplayMode* mode,
66 const gfx::Point& origin) { 71 const gfx::Point& origin) {
67 NOTIMPLEMENTED(); 72 NOTIMPLEMENTED();
68 return true; 73 return true;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void NativeDisplayDelegateOzone::AddObserver(NativeDisplayObserver* observer) { 114 void NativeDisplayDelegateOzone::AddObserver(NativeDisplayObserver* observer) {
110 NOTIMPLEMENTED(); 115 NOTIMPLEMENTED();
111 } 116 }
112 117
113 void NativeDisplayDelegateOzone::RemoveObserver( 118 void NativeDisplayDelegateOzone::RemoveObserver(
114 NativeDisplayObserver* observer) { 119 NativeDisplayObserver* observer) {
115 NOTIMPLEMENTED(); 120 NOTIMPLEMENTED();
116 } 121 }
117 122
118 } // namespace ui 123 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/common/native_display_delegate_ozone.h ('k') | ui/ozone/platform/dri/native_display_delegate_dri.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698