diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-09 17:26:19 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-09 17:26:19 +0000 |
commit | f1ddc1da13daa47d4513ead413cd167faadd4c71 (patch) | |
tree | 15b5e919b8b43a92f38adbf6ba2bdd296327a3ef /ui/gfx/screen_impl.h | |
parent | 7e2d6e1cdbc0f6c05c5db1262f9d2a8d2eec1edb (diff) | |
download | chromium_src-f1ddc1da13daa47d4513ead413cd167faadd4c71.zip chromium_src-f1ddc1da13daa47d4513ead413cd167faadd4c71.tar.gz chromium_src-f1ddc1da13daa47d4513ead413cd167faadd4c71.tar.bz2 |
Cleanup:
- added GetRootWindowForDisplay
- Hookup GetDisplayMatching to DisplayManager
- Fixed comments
- Moved the display code from Shell to MultiDisplayManager
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10697071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/screen_impl.h')
-rw-r--r-- | ui/gfx/screen_impl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/gfx/screen_impl.h b/ui/gfx/screen_impl.h index 39e8f25..d75dbc5 100644 --- a/ui/gfx/screen_impl.h +++ b/ui/gfx/screen_impl.h @@ -8,9 +8,11 @@ #include "ui/gfx/display.h" #include "ui/gfx/native_widget_types.h" -#include "ui/gfx/point.h" namespace gfx { +class Display; +class Point; +class Rect; // A class that provides |gfx::Screen|'s implementation on aura. class UI_EXPORT ScreenImpl { @@ -25,6 +27,8 @@ class UI_EXPORT ScreenImpl { gfx::NativeView window) const = 0; virtual gfx::Display GetDisplayNearestPoint( const gfx::Point& point) const = 0; + virtual gfx::Display GetDisplayMatching( + const gfx::Rect& match_rect) const = 0; virtual gfx::Display GetPrimaryDisplay() const = 0; }; |