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

Unified Diff: ash/common/shelf/shelf_delegate.h

Issue 2341643002: Enhance chrome.app.window API for shelf integration with pinning support (cont.) (Closed)
Patch Set: Include AppLauncherId wrapper Created 4 years, 2 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: ash/common/shelf/shelf_delegate.h
diff --git a/ash/common/shelf/shelf_delegate.h b/ash/common/shelf/shelf_delegate.h
index dbfe62741567c6e6cda1e6ba5021ac62c53a2ea5..363535578d825e9e4fa0ef28952498337d848830 100644
--- a/ash/common/shelf/shelf_delegate.h
+++ b/ash/common/shelf/shelf_delegate.h
@@ -40,6 +40,9 @@ class ASH_EXPORT ShelfDelegate {
// ShelfID can be successfully mapped to an app id.
virtual const std::string& GetAppIDForShelfID(ShelfID id) = 0;
+ // Get the launch ID for a given shelf ID.
+ virtual const std::string& GetLaunchIDForShelfID(ShelfID id) = 0;
James Cook 2016/10/21 15:11:03 I don't see any calls to this inside //ash. If it
Andra Paraschiv 2016/10/24 08:26:16 Thank you, James, for the explanation, I moved thi
+
// Pins an app with |app_id| to shelf. A running instance will get pinned.
// In case there is no running instance a new shelf item is created and
// pinned.
« no previous file with comments | « no previous file | ash/mus/shelf_delegate_mus.h » ('j') | chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698