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

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- Rebased. 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 2cf7c5a5ecb403d6acc2bd1332bd5c50921bfbe3..f2e975a5b4d363d0a9b39f3f15f7db7314c8ff52 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -716,17 +716,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))
« no previous file with comments | « ash/shell.h ('k') | ash/shell/context_menu.cc » ('j') | chrome/app/policy/policy_templates.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698