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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h

Issue 107163005: [ash] Add TYPE_DIALOG and its item's LauncherContextMenu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« ash/shelf/shelf_item_context_menu.h ('K') | « ash/test/test_shelf_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
index 9d78b3777119dcd87d7ea3436bcebce591aa0f50..5bccdf269df75ba0d514966722a7286f4f2b3fc6 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
@@ -258,10 +258,6 @@ class ChromeLauncherController : public ash::ShelfDelegate,
ash::ShelfAutoHideBehavior GetShelfAutoHideBehavior(
aura::Window* root_window) const;
- // Returns |true| if the user is allowed to modify the shelf auto-hide
- // behavior on |root_window|.
- bool CanUserModifyShelfAutoHideBehavior(aura::Window* root_window) const;
-
// Toggles the shelf auto-hide behavior on |root_window|. Does nothing if the
// user is not allowed to modify the auto-hide behavior.
void ToggleShelfAutoHideBehavior(aura::Window* root_window);
@@ -300,6 +296,8 @@ class ChromeLauncherController : public ash::ShelfDelegate,
virtual bool IsAppPinned(const std::string& app_id) OVERRIDE;
virtual bool CanPin() const OVERRIDE;
virtual void UnpinAppWithID(const std::string& app_id) OVERRIDE;
+ virtual bool CanUserModifyShelfAutoHideBehavior(
+ aura::Window* root_window) const OVERRIDE;
// ash::ShelfModelObserver overrides:
virtual void ShelfItemAdded(int index) OVERRIDE;
« ash/shelf/shelf_item_context_menu.h ('K') | « ash/test/test_shelf_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698