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

Unified Diff: ash/shell.cc

Issue 11418114: Add policy for ash launcher auto-hide behavior (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed. Created 8 years, 1 month 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: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 2a8e8952aee949352932a1dcfec1ac3648afc161..8c4cf0e4f3ac0d5baf0a919697a0bf9f5da4f2ab 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -697,17 +697,6 @@ ShelfAutoHideBehavior Shell::GetShelfAutoHideBehavior(
return GetRootWindowController(root_window)->GetShelfAutoHideBehavior();
}
-bool Shell::IsShelfAutoHideMenuHideChecked(aura::RootWindow* root_window) {
- return GetRootWindowController(root_window)->GetShelfAutoHideBehavior() ==
- ash::SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS;
-}
-
-ShelfAutoHideBehavior Shell::GetToggledShelfAutoHideBehavior(
- aura::RootWindow* root_window) {
- return GetRootWindowController(root_window)->
- GetToggledShelfAutoHideBehavior();
-}
-
void Shell::SetShelfAlignment(ShelfAlignment alignment,
aura::RootWindow* root_window) {
if (GetRootWindowController(root_window)->SetShelfAlignment(alignment))

Powered by Google App Engine
This is Rietveld 408576698