Index: ash/launcher/launcher_delegate.h |
diff --git a/ash/launcher/launcher_delegate.h b/ash/launcher/launcher_delegate.h |
index 2afdeabf3ba7030140ae535d4076387c368b5a33..9f43a090d3701220aa1e5951f8ecbf1e00cdf487 100644 |
--- a/ash/launcher/launcher_delegate.h |
+++ b/ash/launcher/launcher_delegate.h |
@@ -101,6 +101,18 @@ class ASH_EXPORT LauncherDelegate { |
// True if the running launcher is the per application launcher. |
virtual bool IsPerAppLauncher() = 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. A running instance will get pinned. |
+ // In case 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 item(s) whose id is |app_id|. The new launcher will collect |
+ // all items under one item, the old launcher might have multiple items. |
+ virtual void UnpinAppsWithID(const std::string& app_id) = 0; |
}; |
} // namespace ash |