summaryrefslogtreecommitdiffstats
path: root/ui/gfx/screen_win.cc
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-14 10:10:58 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-14 10:10:58 +0000
commit6bdf795e8f7dcfe80dd33b06bab229fd8a4d49f9 (patch)
tree842af6ec5fd894feb6b1d6cad3c38c4682966c57 /ui/gfx/screen_win.cc
parent647aeccd73b8598e1373987d34e7f16a6d5b39b7 (diff)
downloadchromium_src-6bdf795e8f7dcfe80dd33b06bab229fd8a4d49f9.zip
chromium_src-6bdf795e8f7dcfe80dd33b06bab229fd8a4d49f9.tar.gz
chromium_src-6bdf795e8f7dcfe80dd33b06bab229fd8a4d49f9.tar.bz2
- Move DisplayManager and DisplayChangeObserverX11 from aura
to ash.DisplayManager/DisplayChangeObserverX11 are in aura for historical reason, but they no longer have to be in aura. * Remove SingleDisplayManager as it's no longer necessary. * Rename MultipleDisplayManager and consolidate into DisplayManager. * Remove DisplayManager from desktop environment. Screen information is managed by platform in desktop environment, and should be provided via gfx::Screen implementation. - Move DisplayObserver to ui/gfx. This should be consolicated with other similar features such as WorkAreaWatcherObserver/ DisplaySettingsProvider. It's tracked in crbug.com/122863. - Misc cleanups * Test should use test_support_ash instead of including individual files. * Use TestScreen where appropriate. BUG=159710, 122863 TEST=none Review URL: https://chromiumcodereview.appspot.com/11363124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/screen_win.cc')
-rw-r--r--ui/gfx/screen_win.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/gfx/screen_win.cc b/ui/gfx/screen_win.cc
index 072f47a..9b33c6b 100644
--- a/ui/gfx/screen_win.cc
+++ b/ui/gfx/screen_win.cc
@@ -90,6 +90,14 @@ gfx::Display ScreenWin::GetPrimaryDisplay() const {
return display;
}
+void ScreenWin::AddObserver(DisplayObserver* observer) {
+ // TODO(oshima): crbug.com/122863.
+}
+
+void ScreenWin::RemoveObserver(DisplayObserver* observer) {
+ // TODO(oshima): crbug.com/122863.
+}
+
HWND ScreenWin::GetHWNDFromNativeView(NativeView window) const {
#if defined(USE_AURA)
NOTREACHED();