Index: ash/launcher/launcher_delegate.h |
diff --git a/ash/launcher/launcher_delegate.h b/ash/launcher/launcher_delegate.h |
index 88c08f70ead03b6a63762735bb893d5d4c50eb11..4e6e89b01fe625d44f8c353a365a44cfacb37f35 100644 |
--- a/ash/launcher/launcher_delegate.h |
+++ b/ash/launcher/launcher_delegate.h |
@@ -96,6 +96,18 @@ class ASH_EXPORT LauncherDelegate { |
// Callback used to inform the delegate that a specific launcher no longer |
// exists. |
virtual void OnLauncherDestroyed(Launcher* launcher) = 0; |
+ |
+ // Get the launcher ID from an application ID. |
+ virtual LauncherID GetLauncherIDForAppID(const std::string& app_id) = 0; |
+ |
+ // Pins an app with |app_id| to launcher. If there is a running instance in |
James Cook
2013/04/29 22:08:29
nice comment
Mr4D (OOO till 08-26)
2013/04/30 16:59:01
Okay, changed comment.
|
+ // launcher, the running instance is pinned. If there is no running instance, |
+ // a new launcher item is created and pinned. |
+ virtual void PinAppWithID(const std::string& app_id) = 0; |
+ |
+ // Unpins any app items whose id is |app_id|. |
James Cook
2013/04/29 22:08:29
Consider explaining why there might be more than o
Mr4D (OOO till 08-26)
2013/04/30 16:59:01
Done.
|
+ virtual void UnpinAppsWithID(const std::string& app_id) = 0; |
+ |
}; |
} // namespace ash |