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

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: Review v4 Created 4 years 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 5315d36fb59ad61d2e9ef477f60fc131d336dbec..27a1cc0099d2282f943fceddd0366d38ab07bc4d 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
@@ -149,6 +149,13 @@ class ChromeLauncherController : public ash::mojom::ShelfObserver,
ash::LaunchSource source,
int event_flags);
+ // As above but includes |launch_id|, an id that can be passed to an app when
+ // launched in order to support multiple shelf items per app.
+ void LaunchAppWithLaunchId(const std::string& app_id,
+ const std::string& launch_id,
+ ash::LaunchSource source,
+ int event_flags);
+
// If |app_id| is running, reactivates the app's most recently active window,
// otherwise launches and activates the app.
// Used by the app-list, and by pinned-app shelf items.

Powered by Google App Engine
This is Rietveld 408576698