| Index: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h
|
| diff --git a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h
|
| index 20165a45aabb58dedda9851063d48bfee37d1183..a71c1822e07006b61766213b65371f3648972380 100644
|
| --- a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h
|
| +++ b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h
|
| @@ -27,11 +27,12 @@ class ChromeLauncherController;
|
| // item with the appropriate LauncherItemController type).
|
| class AppShortcutLauncherItemController : public LauncherItemController {
|
| public:
|
| - AppShortcutLauncherItemController(const std::string& app_id,
|
| - ChromeLauncherController* controller);
|
| -
|
| ~AppShortcutLauncherItemController() override;
|
|
|
| + static AppShortcutLauncherItemController* Create(
|
| + const std::string& app_id,
|
| + ChromeLauncherController* controller);
|
| +
|
| std::vector<content::WebContents*> GetRunningApplications();
|
|
|
| // LauncherItemController overrides:
|
| @@ -56,6 +57,12 @@ class AppShortcutLauncherItemController : public LauncherItemController {
|
| // Set the refocus url pattern. Used by unit tests.
|
| void set_refocus_url(const GURL& refocus_url) { refocus_url_ = refocus_url; }
|
|
|
| + ChromeLauncherController* controller() { return chrome_launcher_controller_; }
|
| +
|
| + protected:
|
| + AppShortcutLauncherItemController(const std::string& app_id,
|
| + ChromeLauncherController* controller);
|
| +
|
| private:
|
| // Get the last running application.
|
| content::WebContents* GetLRUApplication();
|
|
|