Index: chrome/browser/ui/ash/launcher/launcher_item_controller.h |
diff --git a/chrome/browser/ui/ash/launcher/launcher_item_controller.h b/chrome/browser/ui/ash/launcher/launcher_item_controller.h |
index bcbe71976bead0b0c159394f65996ebb8c47526a..eb75cdb7feda9a5d61ff634e18cdd9a22814a6c6 100644 |
--- a/chrome/browser/ui/ash/launcher/launcher_item_controller.h |
+++ b/chrome/browser/ui/ash/launcher/launcher_item_controller.h |
@@ -43,6 +43,7 @@ class LauncherItemController : public ash::ShelfItemDelegate { |
LauncherItemController(Type type, |
const std::string& app_id, |
const std::string& launch_id, |
+ const std::string& title, |
ChromeLauncherController* launcher_controller); |
~LauncherItemController() override; |
@@ -51,6 +52,7 @@ class LauncherItemController : public ash::ShelfItemDelegate { |
void set_shelf_id(ash::ShelfID id) { shelf_id_ = id; } |
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_; } |
ChromeLauncherController* launcher_controller() const { |
return launcher_controller_; |
} |
@@ -96,6 +98,9 @@ class LauncherItemController : public ash::ShelfItemDelegate { |
// 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_; |
+ |
// A unique id assigned by the shelf model for the shelf item. |
ash::ShelfID shelf_id_; |