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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 return app_window_controllers_[0].get(); | 148 return app_window_controllers_[0].get(); |
149 } | 149 } |
150 | 150 |
151 // ash::ShelfDelegate: | 151 // ash::ShelfDelegate: |
152 void OnShelfCreated(ash::Shelf* shelf) override; | 152 void OnShelfCreated(ash::Shelf* shelf) override; |
153 void OnShelfDestroyed(ash::Shelf* shelf) override; | 153 void OnShelfDestroyed(ash::Shelf* shelf) override; |
154 void OnShelfAlignmentChanged(ash::Shelf* shelf) override; | 154 void OnShelfAlignmentChanged(ash::Shelf* shelf) override; |
155 void OnShelfAutoHideBehaviorChanged(ash::Shelf* shelf) override; | 155 void OnShelfAutoHideBehaviorChanged(ash::Shelf* shelf) override; |
156 void OnShelfAutoHideStateChanged(ash::Shelf* shelf) override; | 156 void OnShelfAutoHideStateChanged(ash::Shelf* shelf) override; |
157 void OnShelfVisibilityStateChanged(ash::Shelf* shelf) override; | 157 void OnShelfVisibilityStateChanged(ash::Shelf* shelf) override; |
158 ash::ShelfID GetShelfIDForAppID(const std::string& app_id) override; | 158 ash::ShelfID GetShelfIDForAppID(const std::string& app_id, |
| 159 const std::string& app_shelf_id) override; |
159 bool HasShelfIDToAppIDMapping(ash::ShelfID id) const override; | 160 bool HasShelfIDToAppIDMapping(ash::ShelfID id) const override; |
160 const std::string& GetAppIDForShelfID(ash::ShelfID id) override; | 161 const std::string& GetAppIDForShelfID(ash::ShelfID id) override; |
161 void PinAppWithID(const std::string& app_id) override; | 162 void PinAppWithID(const std::string& app_id) override; |
162 bool IsAppPinned(const std::string& app_id) override; | 163 bool IsAppPinned(const std::string& app_id) override; |
163 void UnpinAppWithID(const std::string& app_id) override; | 164 void UnpinAppWithID(const std::string& app_id) override; |
164 | 165 |
165 // LauncherAppUpdater::Delegate: | 166 // LauncherAppUpdater::Delegate: |
166 void OnAppInstalled(content::BrowserContext* browser_context, | 167 void OnAppInstalled(content::BrowserContext* browser_context, |
167 const std::string& app_id) override; | 168 const std::string& app_id) override; |
168 void OnAppUpdated(content::BrowserContext* browser_context, | 169 void OnAppUpdated(content::BrowserContext* browser_context, |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 // The list of running & un-pinned applications for different users on hidden | 355 // The list of running & un-pinned applications for different users on hidden |
355 // desktops. | 356 // desktops. |
356 typedef std::vector<std::string> RunningAppListIds; | 357 typedef std::vector<std::string> RunningAppListIds; |
357 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; | 358 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; |
358 RunningAppListIdMap last_used_running_application_order_; | 359 RunningAppListIdMap last_used_running_application_order_; |
359 | 360 |
360 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); | 361 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); |
361 }; | 362 }; |
362 | 363 |
363 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ | 364 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ |
OLD | NEW |