Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h

Issue 298303002: Add option to install an ephemeral app to ChromeOS shelf context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed tapted's review comments Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h
diff --git a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h
index 795cbcc8db7e3593e42b2aa556342e52ea192c06..3dd039f38af96adb9ee0bf59adc54131dbadcb72 100644
--- a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h
+++ b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h
@@ -77,6 +77,10 @@ class AppWindowLauncherItemController : public LauncherItemController,
// Activates the window at position |index|.
void ActivateIndexedApp(size_t index);
+ // Install the app. Only valid for ephemeral apps, which can be promoted to
+ // regular installed apps.
+ void InstallApp();
+
private:
typedef std::list<apps::AppWindow*> AppWindowList;

Powered by Google App Engine
This is Rietveld 408576698