|
OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_PANELS_BOTTOM_BAR_H_ | |
6 #define CHROME_BROWSER_UI_PANELS_BOTTOM_BAR_H_ | |
7 #pragma once | |
8 | |
9 // The file contains the helper functions to deal with the top-most system/app | |
10 // bar located at the bottom of the screen, like Windows taskbar or MacOSX dock. | |
11 // This bottom bar might be set to auto-hide. | |
12 | |
13 // Returns true if the bottom bar is set to auto-hide. In this mode, the bottom | |
14 // bar will remain hidden most of the time and could be brought up when the user | |
15 // move the mouse to the bottom of the screen. | |
16 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.
| |
17 | |
18 // Returns the fixed height of the bottom bar. Note that the height remains | |
19 // unchanged no matter whether the bottom bar is brought up or down. | |
20 int GetBottomBarHeight(); | |
21 | |
22 // Returns true if the bottom bar is fully brought up from the hidden mode. | |
23 // Otherwise, false is returned when the bottom bar is partially up during | |
24 // animation or hidden. | |
25 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.
| |
26 | |
27 // Returns true if the bottom bar is completely hidden. | |
28 bool IsBottomBarHidden(); | |
29 | |
30 #endif // CHROME_BROWSER_UI_PANELS_BOTTOM_BAR_H_ | |
OLD | NEW |