| 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 b024dd806ac326b16279afbcce1f876a0c67371f..f651d5d34148833bdecac99bd5662645a0cfed11 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
|
| @@ -44,6 +44,7 @@ class AppWindowLauncherItemController : public LauncherItemController,
|
|
|
| const std::string& app_id() const { return app_id_; }
|
| const std::string& launch_id() const { return launch_id_; }
|
| + const std::string& title() const { return title_; }
|
|
|
| // LauncherItemController overrides:
|
| bool IsOpen() const override;
|
| @@ -77,6 +78,7 @@ class AppWindowLauncherItemController : public LauncherItemController,
|
| AppWindowLauncherItemController(Type type,
|
| const std::string& app_id,
|
| const std::string& launch_id,
|
| + const std::string& title,
|
| ChromeLauncherController* controller);
|
|
|
| // Called when app window is removed from controller.
|
| @@ -111,6 +113,9 @@ class AppWindowLauncherItemController : public LauncherItemController,
|
| // uniquely identify each shelf item that has the same app_id.
|
| const std::string launch_id_;
|
|
|
| + // Title of the window that has its own icon in the shelf.
|
| + const std::string title_;
|
| +
|
| // Scoped list of observed windows (for removal on destruction)
|
| ScopedObserver<aura::Window, aura::WindowObserver> observed_windows_;
|
|
|
|
|