Index: ash/launcher/launcher_delegate.h |
diff --git a/ash/launcher/launcher_delegate.h b/ash/launcher/launcher_delegate.h |
index 45109e86fd50492ab57d4d67788609831de842dc..0bd8ec66295539c8e0afe731dbc6d9f82bb6b209 100644 |
--- a/ash/launcher/launcher_delegate.h |
+++ b/ash/launcher/launcher_delegate.h |
@@ -106,6 +106,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 |