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

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: 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 f27c16c9939e1ae1e39ad4b8cf2a478b6f0c84e3..7a09219201b3fd40683efac906facc3c604c385d 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -692,17 +692,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;
-}
oshima 2012/11/26 19:13:00 Given that this is used in two places, I prefer to
bartfab (slow) 2012/11/29 18:25:51 This is actually not used in production code at al
oshima 2012/11/29 18:43:35 This is used in launcher_context_menu.cc, and it's
bartfab (slow) 2012/11/29 19:01:10 As I mentioned above, yes, launcher_context_menu.c
-
-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