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

Unified Diff: ui/views/widget/desktop_aura/desktop_screen_x11.cc

Issue 11363124: Move DisplayManager and DisplayChangeObserverX11 from aura to ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix rebase Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ui.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_screen_x11.cc
diff --git a/ui/views/widget/desktop_aura/desktop_screen_x11.cc b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
index 9ce56a8c61878517317ab10a92428da78195b046..77dbaa497a79b926d93fd2fe4b896af09946cdde 100644
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.cc
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
@@ -47,6 +47,8 @@ class DesktopScreenX11 : public gfx::Screen {
virtual gfx::Display GetDisplayMatching(
const gfx::Rect& match_rect) const OVERRIDE;
virtual gfx::Display GetPrimaryDisplay() const OVERRIDE;
+ virtual void AddObserver(gfx::DisplayObserver* observer) OVERRIDE;
+ virtual void RemoveObserver(gfx::DisplayObserver* observer) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(DesktopScreenX11);
@@ -122,6 +124,15 @@ gfx::Display DesktopScreenX11::GetPrimaryDisplay() const {
return gfx::Display(0, gfx::Rect(GetPrimaryDisplaySize()));
}
+void DesktopScreenX11::AddObserver(gfx::DisplayObserver* observer) {
+ // TODO(erg|oshima): Do the right thing once we know what that is.
+ // crbug.com/122863
+}
+void DesktopScreenX11::RemoveObserver(gfx::DisplayObserver* observer) {
+ // TODO(erg|oshima): Do the right thing once we know what that is.
+ // crbug.com/122863
+}
+
} // namespace
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « ui/ui.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698