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

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

Issue 2484413002: Enhance chrome.app.window API with title property
Patch Set: Rebase 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..17db98e3f6c288da632097aceae1f436a2db4cfd 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
@@ -254,6 +254,9 @@ class ChromeLauncherController : public ash::mojom::ShelfObserver,
// Get the launch ID for a given shelf ID.
virtual const std::string& GetLaunchIDForShelfID(ash::ShelfID id) = 0;
+ // Get the title for a given shelf ID.
+ virtual const std::string& GetTitleForShelfID(ash::ShelfID id) = 0;
+
AppIconLoader* GetAppIconLoaderForApp(const std::string& app_id);
// Sets the shelf auto-hide and/or alignment behavior from prefs.

Powered by Google App Engine
This is Rietveld 408576698