OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ |
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 void ActivateShellApp(const std::string& app_id, int index) override; | 125 void ActivateShellApp(const std::string& app_id, int index) override; |
126 bool IsWebContentHandledByApplication(content::WebContents* web_contents, | 126 bool IsWebContentHandledByApplication(content::WebContents* web_contents, |
127 const std::string& app_id) override; | 127 const std::string& app_id) override; |
128 bool ContentCanBeHandledByGmailApp( | 128 bool ContentCanBeHandledByGmailApp( |
129 content::WebContents* web_contents) override; | 129 content::WebContents* web_contents) override; |
130 gfx::Image GetAppListIcon(content::WebContents* web_contents) const override; | 130 gfx::Image GetAppListIcon(content::WebContents* web_contents) const override; |
131 base::string16 GetAppListTitle( | 131 base::string16 GetAppListTitle( |
132 content::WebContents* web_contents) const override; | 132 content::WebContents* web_contents) const override; |
133 BrowserShortcutLauncherItemController* | 133 BrowserShortcutLauncherItemController* |
134 GetBrowserShortcutLauncherItemController() override; | 134 GetBrowserShortcutLauncherItemController() override; |
| 135 void MayUpdateBrowserShortcutItem() override; |
135 LauncherItemController* GetLauncherItemController( | 136 LauncherItemController* GetLauncherItemController( |
136 const ash::ShelfID id) override; | 137 const ash::ShelfID id) override; |
137 bool IsBrowserFromActiveUser(Browser* browser) override; | 138 bool IsBrowserFromActiveUser(Browser* browser) override; |
138 bool ShelfBoundsChangesProbablyWithUser( | 139 bool ShelfBoundsChangesProbablyWithUser( |
139 ash::Shelf* shelf, | 140 ash::Shelf* shelf, |
140 const std::string& user_id) const override; | 141 const std::string& user_id) const override; |
141 void OnUserProfileReadyToSwitch(Profile* profile) override; | 142 void OnUserProfileReadyToSwitch(Profile* profile) override; |
142 AppListControllerDelegate::Pinnable GetPinnable( | 143 AppListControllerDelegate::Pinnable GetPinnable( |
143 const std::string& app_id) override; | 144 const std::string& app_id) override; |
144 ArcAppDeferredLauncherController* GetArcDeferredLauncher() override; | 145 ArcAppDeferredLauncherController* GetArcDeferredLauncher() override; |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 // The list of running & un-pinned applications for different users on hidden | 378 // The list of running & un-pinned applications for different users on hidden |
378 // desktops. | 379 // desktops. |
379 typedef std::vector<std::string> RunningAppListIds; | 380 typedef std::vector<std::string> RunningAppListIds; |
380 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; | 381 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; |
381 RunningAppListIdMap last_used_running_application_order_; | 382 RunningAppListIdMap last_used_running_application_order_; |
382 | 383 |
383 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); | 384 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); |
384 }; | 385 }; |
385 | 386 |
386 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ | 387 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ |
OLD | NEW |