Index: chrome/common/win_util.h |
=================================================================== |
--- chrome/common/win_util.h (revision 11284) |
+++ chrome/common/win_util.h (working copy) |
@@ -211,6 +211,10 @@ |
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); |
+ |
// Duplicates a section handle from another process to the current process. |
// Returns the new valid handle if the function succeed. NULL otherwise. |
HANDLE GetSectionFromProcess(HANDLE section, HANDLE process, bool read_only); |
@@ -274,6 +278,9 @@ |
// Returns the system set window title font. |
ChromeFont GetWindowTitleFont(); |
+// The thickness of an auto-hide taskbar in pixels. |
+extern const int kAutoHideTaskbarThicknessPx; |
+ |
} // namespace win_util |
#endif // CHROME_COMMON_WIN_UTIL_H_ |