diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-26 15:35:13 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-26 15:35:13 +0000 |
commit | e959f0b97dba7228c76b7722cf4227fdf6416524 (patch) | |
tree | 7af84f30c8a3560c19e17f7cb1dc220e1e4fa0be /views/screen.h | |
parent | bf6a46bed6770a7041c222e4505135bd30701576 (diff) | |
download | chromium_src-e959f0b97dba7228c76b7722cf4227fdf6416524.zip chromium_src-e959f0b97dba7228c76b7722cf4227fdf6416524.tar.gz chromium_src-e959f0b97dba7228c76b7722cf4227fdf6416524.tar.bz2 |
Makes it so that when a folder is open on the bookmark bar and the
mouse moves over another folder, the menu for that folder is shown.
BUG=355
TEST=thorougly test all possible permutations of bookmark menus you
can think of, including drag and drop to the menus.
Review URL: http://codereview.chromium.org/328012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30049 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 f7c023c..f95b368 100644 --- a/views/screen.h +++ b/views/screen.h @@ -27,6 +27,9 @@ class Screen { // 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); + + // Returns the window under the cursor. + static gfx::NativeWindow GetWindowAtCursorScreenPoint(); }; } // namespace views |