| 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 28d976ceddcf091e239beb4736390fc769596828..9112d852761035d1c0a6adbe67e52c278c0ee056 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
|
| @@ -42,7 +42,8 @@ class AppWindowLauncherItemController : public LauncherItemController,
|
| void SetActiveWindow(aura::Window* window);
|
| ui::BaseWindow* GetAppWindow(aura::Window* window);
|
|
|
| - const std::string& app_shelf_id() const { return app_shelf_id_; }
|
| + const std::string& app_id() const { return app_id_; }
|
| + const std::string& launch_id() const { return launch_id_; }
|
|
|
| // LauncherItemController overrides:
|
| bool IsOpen() const override;
|
| @@ -74,8 +75,8 @@ class AppWindowLauncherItemController : public LauncherItemController,
|
|
|
| protected:
|
| AppWindowLauncherItemController(Type type,
|
| - const std::string& app_shelf_id,
|
| const std::string& app_id,
|
| + const std::string& launch_id,
|
| ChromeLauncherController* controller);
|
|
|
| // Called when app window is removed from controller.
|
| @@ -102,9 +103,13 @@ class AppWindowLauncherItemController : public LauncherItemController,
|
| // Pointer to the most recently active app window
|
| ui::BaseWindow* last_active_window_ = nullptr;
|
|
|
| + // The application id associated with this set of windows.
|
| + const std::string app_id_;
|
| +
|
| // The launcher id associated with this set of windows. There is one
|
| - // AppLauncherItemController for each |app_shelf_id_|.
|
| - const std::string app_shelf_id_;
|
| + // AppLauncherItemController for each app_shelf_id whose value is
|
| + // |launch_id_| appended to |app_id_|.
|
| + const std::string launch_id_;
|
|
|
| // Scoped list of observed windows (for removal on destruction)
|
| ScopedObserver<aura::Window, aura::WindowObserver> observed_windows_;
|
|
|