summaryrefslogtreecommitdiffstats
path: root/chrome/common/win_util.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 18:38:31 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 18:38:31 +0000
commitdf9fd0d0bfef305243b90b193a6211ae64193fd5 (patch)
treee07b282802e4474502b35246439d8048eff4ba06 /chrome/common/win_util.h
parenta5f9bded7d8d8ff47ba62507c188106dba40229c (diff)
downloadchromium_src-df9fd0d0bfef305243b90b193a6211ae64193fd5.zip
chromium_src-df9fd0d0bfef305243b90b193a6211ae64193fd5.tar.gz
chromium_src-df9fd0d0bfef305243b90b193a6211ae64193fd5.tar.bz2
Don't reserve space for an auto-hide taskbar that's not always-on-top. Windows native behavior is to cover these.
BUG=9976 Review URL: http://codereview.chromium.org/66055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/win_util.h')
-rw-r--r--chrome/common/win_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/win_util.h b/chrome/common/win_util.h
index b30ef5c..1dbfe21 100644
--- a/chrome/common/win_util.h
+++ b/chrome/common/win_util.h
@@ -218,8 +218,8 @@ void CenterAndSizeWindow(HWND parent, HWND window, const SIZE& pref,
bool pref_is_client);
// Returns true if edge |edge| (one of ABE_LEFT, TOP, RIGHT, or BOTTOM) of
-// monitor |monitor| has an auto-hiding taskbar.
-bool EdgeHasAutoHideTaskbar(UINT edge, HMONITOR monitor);
+// monitor |monitor| has an auto-hiding taskbar that's always-on-top.
+bool EdgeHasTopmostAutoHideTaskbar(UINT edge, HMONITOR monitor);
// Duplicates a section handle from another process to the current process.
// Returns the new valid handle if the function succeed. NULL otherwise.