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

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

Issue 2523053004: Enhance chrome.app.window API for shelf integration with restore support (Closed)
Patch Set: Created 4 years, 1 month 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/chrome_launcher_controller.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
index 64aefaa270f2e3ad726993387d60c725419e94c0..99c915193e5c43277b35448fcdda9cddc2a5ee45 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
@@ -139,8 +139,11 @@ class ChromeLauncherController : public ash::mojom::ShelfObserver,
virtual bool IsPlatformApp(ash::ShelfID id) = 0;
// Opens a new instance of the application identified by |app_id|.
- // Used by the app-list, and by pinned-app shelf items.
+ // Used by the app-list, and by pinned-app shelf items.|launch_id| is an id
+ // that can be passed to an app when launched in order to support multiple
+ // shelf items per app.
void LaunchApp(const std::string& app_id,
+ const std::string& launch_id,
ash::LaunchSource source,
int event_flags);
stevenjb 2016/12/05 16:47:31 Same here, we seem to have a lot of existing calls
Andra Paraschiv 2016/12/06 13:19:16 Done.

Powered by Google App Engine
This is Rietveld 408576698