Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / app_list / app_list_controller_delegate.h
index 7ea9da9..deff18d 100644 (file)
@@ -81,6 +81,14 @@ class AppListControllerDelegate {
   virtual void DoCreateShortcutsFlow(Profile* profile,
                                      const std::string& extension_id) = 0;
 
+  // Whether the controller supports a Show App Info flow.
+  virtual bool CanDoShowAppInfoFlow();
+
+  // Show the dialog with the application's information. Call only if
+  // CanDoShowAppInfoFlow() returns true.
+  virtual void DoShowAppInfoFlow(Profile* profile,
+                                 const std::string& extension_id);
+
   // Handle the "create window" context menu items of Chrome App.
   // |incognito| is true to create an incognito window.
   virtual void CreateNewWindow(Profile* profile, bool incognito) = 0;
@@ -112,6 +120,9 @@ class AppListControllerDelegate {
   // Uninstall the app identified by |app_id| from |profile|.
   void UninstallApp(Profile* profile, const std::string& app_id);
 
+  // Remove the app identified by |app_id| in |profile| from its folder.
+  void RemoveAppFromFolder(Profile* profile, const std::string& app_id);
+
   // True if the app was installed from the web store.
   bool IsAppFromWebStore(Profile* profile,
                          const std::string& app_id);