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

Unified Diff: ui/aura/desktop/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: ios fix 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
Index: ui/aura/desktop/desktop_screen_x11.cc
diff --git a/ui/aura/desktop/desktop_screen_x11.cc b/ui/aura/desktop/desktop_screen_x11.cc
index e37dd38cb585212bbe2cb68d0705dcb0a1513fac..4d828efc7b686ea732e6b3f3d801ec7a7872da64 100644
--- a/ui/aura/desktop/desktop_screen_x11.cc
+++ b/ui/aura/desktop/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
////////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698