Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.h |
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.h |
index 4774f62a672c925e6ae54857121efcd85439d11b..c355c092f966e80477267fc36aac222addcaa695 100644 |
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.h |
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.h |
@@ -118,6 +118,15 @@ class ChromeLauncherControllerPerBrowser : public ash::LauncherModelObserver, |
// be pinned. |
virtual bool IsPinnable(ash::LauncherID id) const OVERRIDE; |
+ // If there is no launcher item in the launcher for application |app_id|, one |
+ // gets created. The (existing or created) launcher items get then locked |
+ // against a users un-pinning removal. |
+ virtual void LockV1AppWithID(const std::string& app_id) OVERRIDE; |
+ |
+ // A previously locked launcher item of type |app_id| gets unlocked. If the |
+ // lock count reaches 0 and the item is not pinned it will go away. |
+ virtual void UnlockV1AppWithID(const std::string& app_id) OVERRIDE; |
+ |
// Requests that the launcher item controller specified by |id| open a new |
// instance of the app. |event_flags| holds the flags of the event which |
// triggered this command. |