diff options
author | jianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-30 23:59:12 +0000 |
---|---|---|
committer | jianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-30 23:59:12 +0000 |
commit | 714fe56f1a80a4844f3c1c9fa44c791179863e24 (patch) | |
tree | 67b28398d7210584d6def2f2858d3932d7750133 /views/widget/monitor_win.h | |
parent | d88bf0abc08d368fd615a645bd0125ee6ab4f7c2 (diff) | |
download | chromium_src-714fe56f1a80a4844f3c1c9fa44c791179863e24.zip chromium_src-714fe56f1a80a4844f3c1c9fa44c791179863e24.tar.gz chromium_src-714fe56f1a80a4844f3c1c9fa44c791179863e24.tar.bz2 |
Support auto-hide taskbar for panels on Windows.
BUG=none
TEST=browser test
Review URL: http://codereview.chromium.org/7646003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98898 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/monitor_win.h')
-rw-r--r-- | views/widget/monitor_win.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/views/widget/monitor_win.h b/views/widget/monitor_win.h index ac92f9b..7ceacfa 100644 --- a/views/widget/monitor_win.h +++ b/views/widget/monitor_win.h @@ -6,6 +6,7 @@ #define VIEWS_WIDGET_MONITOR_WIN_H_ #pragma once +#include <windows.h> #include "views/views_export.h" namespace gfx { @@ -18,6 +19,11 @@ namespace views { // intersection with the specified rectangle. VIEWS_EXPORT gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect); +// Returns the always-on-top auto-hiding taskbar for edge |edge| (one of +// ABE_LEFT, TOP, RIGHT, or BOTTOM) of monitor |monitor|. NULL is returned +// if nothing is found. +VIEWS_EXPORT HWND GetTopmostAutoHideTaskbarForEdge(UINT edge, HMONITOR monitor); + } // namespace views #endif // VIEWS_WIDGET_MONITOR_WIN_H_ |