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

Unified Diff: ash/launcher/launcher_context_menu.h

Issue 10273012: ash: Fix shelf auto hide behavior not persisted regression. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 months 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
« no previous file with comments | « no previous file | ash/launcher/launcher_context_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_context_menu.h
diff --git a/ash/launcher/launcher_context_menu.h b/ash/launcher/launcher_context_menu.h
index a7f638f9f45913e54073ecc8db63abed89304d0d..0bf706d733f4a798cdb4c182f583767282274a29 100644
--- a/ash/launcher/launcher_context_menu.h
+++ b/ash/launcher/launcher_context_menu.h
@@ -7,6 +7,7 @@
#pragma once
#include "ash/ash_export.h"
+#include "ash/wm/shelf_auto_hide_behavior.h"
#include "base/basictypes.h"
#include "ui/base/models/simple_menu_model.h"
@@ -22,8 +23,8 @@ class ASH_EXPORT LauncherContextMenu : public ui::SimpleMenuModel,
// Returns true if the auto-hide menu item is checked.
static bool IsAutoHideMenuHideChecked();
- // Toggles the state of the auto-hide menu item.
- static void ToggleAutoHideMenu();
+ // Returns the toggled state of the auto-hide behavior.
+ static ShelfAutoHideBehavior GetToggledAutoHideBehavior();
// Returns the resource id for the auto-hide menu.
static int GetAutoHideResourceStringId();
« no previous file with comments | « no previous file | ash/launcher/launcher_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698