Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7212)

Unified Diff: chrome/browser/ui/panels/bottom_bar.h

Issue 7646003: Support auto-hide taskbar for panels on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/panels/bottom_bar.h
===================================================================
--- chrome/browser/ui/panels/bottom_bar.h (revision 0)
+++ chrome/browser/ui/panels/bottom_bar.h (revision 0)
@@ -0,0 +1,30 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_PANELS_BOTTOM_BAR_H_
+#define CHROME_BROWSER_UI_PANELS_BOTTOM_BAR_H_
+#pragma once
+
+// The file contains the helper functions to deal with the top-most system/app
+// bar located at the bottom of the screen, like Windows taskbar or MacOSX dock.
+// This bottom bar might be set to auto-hide.
+
+// Returns true if the bottom bar is set to auto-hide. In this mode, the bottom
+// bar will remain hidden most of the time and could be brought up when the user
+// move the mouse to the bottom of the screen.
+bool IsBottomBarInAutoHideMode();
Dmitry Titov 2011/08/17 22:56:38 We should have a class here, with static members.
jianli 2011/08/22 20:44:42 Done.
+
+// Returns the fixed height of the bottom bar. Note that the height remains
+// unchanged no matter whether the bottom bar is brought up or down.
+int GetBottomBarHeight();
+
+// Returns true if the bottom bar is fully brought up from the hidden mode.
+// Otherwise, false is returned when the bottom bar is partially up during
+// animation or hidden.
+bool IsBottomBarFullyVisible();
Dmitry Titov 2011/08/17 22:56:38 It seems there can be a single method returning en
jianli 2011/08/22 20:44:42 Done.
+
+// Returns true if the bottom bar is completely hidden.
+bool IsBottomBarHidden();
+
+#endif // CHROME_BROWSER_UI_PANELS_BOTTOM_BAR_H_
Property changes on: chrome\browser\ui\panels\bottom_bar.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | chrome/browser/ui/panels/bottom_bar_cocoa.mm » ('j') | chrome/browser/ui/panels/bottom_bar_cocoa.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698