diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-13 22:38:19 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-13 22:38:19 +0000 |
commit | 9a295b8b77f4ad665fa5a3ec9201d44850b38a88 (patch) | |
tree | 97cb83425070c5bcaba6d3b5c837a6f5cfac6fad /views/screen.h | |
parent | dae1b35cd836002ee6be56ad6436fc2d763f0bcb (diff) | |
download | chromium_src-9a295b8b77f4ad665fa5a3ec9201d44850b38a88.zip chromium_src-9a295b8b77f4ad665fa5a3ec9201d44850b38a88.tar.gz chromium_src-9a295b8b77f4ad665fa5a3ec9201d44850b38a88.tar.bz2 |
Couple of views/gtk tweaks:
. Adds accelerator to list of files compiled on views/gtk.
. Adds function to Screen to get monitor bounds from a window.
. Adds BrowserFrameGtk::GetAccelerator to match windows.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/275005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/screen.h')
-rw-r--r-- | views/screen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/screen.h b/views/screen.h index fd37424..0c0d940 100644 --- a/views/screen.h +++ b/views/screen.h @@ -21,6 +21,9 @@ class Screen { // Returns the work area of the monitor nearest the specified window. static gfx::Rect GetMonitorWorkAreaNearestWindow(gfx::NativeWindow window); + // Returns the bounds of the monitor nearest the specified window. + static gfx::Rect GetMonitorAreaNearestWindow(gfx::NativeWindow window); + // Returns the monitor area (not the work area, but the complete bounds) of // the monitor nearest the specified point. static gfx::Rect GetMonitorAreaNearestPoint(const gfx::Point& point); |