OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_MUS_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_MUS_H_ |
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_MUS_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_MUS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 void ActivateShellApp(const std::string& app_id, int index) override; | 73 void ActivateShellApp(const std::string& app_id, int index) override; |
74 bool IsWebContentHandledByApplication(content::WebContents* web_contents, | 74 bool IsWebContentHandledByApplication(content::WebContents* web_contents, |
75 const std::string& app_id) override; | 75 const std::string& app_id) override; |
76 bool ContentCanBeHandledByGmailApp( | 76 bool ContentCanBeHandledByGmailApp( |
77 content::WebContents* web_contents) override; | 77 content::WebContents* web_contents) override; |
78 gfx::Image GetAppListIcon(content::WebContents* web_contents) const override; | 78 gfx::Image GetAppListIcon(content::WebContents* web_contents) const override; |
79 base::string16 GetAppListTitle( | 79 base::string16 GetAppListTitle( |
80 content::WebContents* web_contents) const override; | 80 content::WebContents* web_contents) const override; |
81 BrowserShortcutLauncherItemController* | 81 BrowserShortcutLauncherItemController* |
82 GetBrowserShortcutLauncherItemController() override; | 82 GetBrowserShortcutLauncherItemController() override; |
| 83 void MayUpdateBrowserShortcutItem() override; |
83 LauncherItemController* GetLauncherItemController( | 84 LauncherItemController* GetLauncherItemController( |
84 const ash::ShelfID id) override; | 85 const ash::ShelfID id) override; |
85 bool IsBrowserFromActiveUser(Browser* browser) override; | 86 bool IsBrowserFromActiveUser(Browser* browser) override; |
86 bool ShelfBoundsChangesProbablyWithUser( | 87 bool ShelfBoundsChangesProbablyWithUser( |
87 ash::Shelf* shelf, | 88 ash::Shelf* shelf, |
88 const std::string& user_id) const override; | 89 const std::string& user_id) const override; |
89 void OnUserProfileReadyToSwitch(Profile* profile) override; | 90 void OnUserProfileReadyToSwitch(Profile* profile) override; |
90 AppListControllerDelegate::Pinnable GetPinnable( | 91 AppListControllerDelegate::Pinnable GetPinnable( |
91 const std::string& app_id) override; | 92 const std::string& app_id) override; |
92 ArcAppDeferredLauncherController* GetArcDeferredLauncher() override; | 93 ArcAppDeferredLauncherController* GetArcDeferredLauncher() override; |
93 | 94 |
94 private: | 95 private: |
95 ChromeLauncherControllerMus(); | 96 ChromeLauncherControllerMus(); |
96 | 97 |
97 std::unique_ptr<ChromeMashShelfController> shelf_controller_; | 98 std::unique_ptr<ChromeMashShelfController> shelf_controller_; |
98 | 99 |
99 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerMus); | 100 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerMus); |
100 }; | 101 }; |
101 | 102 |
102 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_MUS_H_ | 103 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_MUS_H_ |
OLD | NEW |