summaryrefslogtreecommitdiffstats
path: root/ash/shell.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-26 23:26:56 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-26 23:26:56 +0000
commit09f3fc8feccea26a7544a73d7beb485a13949a13 (patch)
treebdfddf4e4389f78c398965f74a78504af5e39667 /ash/shell.h
parent3af863ac1a4a40cf7885858873cc549fac9e4f8a (diff)
downloadchromium_src-09f3fc8feccea26a7544a73d7beb485a13949a13.zip
chromium_src-09f3fc8feccea26a7544a73d7beb485a13949a13.tar.gz
chromium_src-09f3fc8feccea26a7544a73d7beb485a13949a13.tar.bz2
Adds option to always hide launcher.
BUG=119803 TEST=see bug R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9863007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129045 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.h')
-rw-r--r--ash/shell.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ash/shell.h b/ash/shell.h
index 5aac16a..10f972a 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -10,6 +10,7 @@
#include <vector>
#include "ash/ash_export.h"
+#include "ash/wm/shelf_auto_hide_behavior.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
@@ -209,9 +210,9 @@ class ASH_EXPORT Shell {
// Force the shelf to query for it's current visibility state.
void UpdateShelfVisibility();
- // Sets/gets whether the shelf always auto-hides.
- void SetShelfAlwaysAutoHide(bool value);
- bool GetShelfAlwaysAutoHide() const;
+ // Sets/gets the shelf auto-hide behavior.
+ void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior);
+ ShelfAutoHideBehavior GetShelfAutoHideBehavior() const;
// TODO(sky): don't expose this!
internal::ShelfLayoutManager* shelf() const { return shelf_; }