| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 // ash::ShelfDelegate: | 156 // ash::ShelfDelegate: |
| 157 void OnShelfCreated(ash::Shelf* shelf) override; | 157 void OnShelfCreated(ash::Shelf* shelf) override; |
| 158 void OnShelfDestroyed(ash::Shelf* shelf) override; | 158 void OnShelfDestroyed(ash::Shelf* shelf) override; |
| 159 void OnShelfAlignmentChanged(ash::Shelf* shelf) override; | 159 void OnShelfAlignmentChanged(ash::Shelf* shelf) override; |
| 160 void OnShelfAutoHideBehaviorChanged(ash::Shelf* shelf) override; | 160 void OnShelfAutoHideBehaviorChanged(ash::Shelf* shelf) override; |
| 161 void OnShelfAutoHideStateChanged(ash::Shelf* shelf) override; | 161 void OnShelfAutoHideStateChanged(ash::Shelf* shelf) override; |
| 162 void OnShelfVisibilityStateChanged(ash::Shelf* shelf) override; | 162 void OnShelfVisibilityStateChanged(ash::Shelf* shelf) override; |
| 163 ash::ShelfID GetShelfIDForAppID(const std::string& app_id) override; | 163 ash::ShelfID GetShelfIDForAppID(const std::string& app_id) override; |
| 164 bool HasShelfIDToAppIDMapping(ash::ShelfID id) const override; | 164 bool HasShelfIDToAppIDMapping(ash::ShelfID id) const override; |
| 165 const std::string& GetAppIDForShelfID(ash::ShelfID id) override; | 165 const std::string& GetAppIDForShelfID(ash::ShelfID id) override; |
| 166 bool GetAppIDForShelfIDConst(ash::ShelfID id, std::string* app_id) const; | |
| 167 void PinAppWithID(const std::string& app_id) override; | 166 void PinAppWithID(const std::string& app_id) override; |
| 168 bool IsAppPinned(const std::string& app_id) override; | 167 bool IsAppPinned(const std::string& app_id) override; |
| 169 void UnpinAppWithID(const std::string& app_id) override; | 168 void UnpinAppWithID(const std::string& app_id) override; |
| 170 | 169 |
| 171 // ash::ShelfItemDelegateManagerObserver: | 170 // ash::ShelfItemDelegateManagerObserver: |
| 172 void OnSetShelfItemDelegate(ash::ShelfID id, | 171 void OnSetShelfItemDelegate(ash::ShelfID id, |
| 173 ash::ShelfItemDelegate* item_delegate) override; | 172 ash::ShelfItemDelegate* item_delegate) override; |
| 174 | 173 |
| 175 // ash::ShelfModelObserver: | 174 // ash::ShelfModelObserver: |
| 176 void ShelfItemAdded(int index) override; | 175 void ShelfItemAdded(int index) override; |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 // 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 |
| 380 // desktops. | 379 // desktops. |
| 381 typedef std::vector<std::string> RunningAppListIds; | 380 typedef std::vector<std::string> RunningAppListIds; |
| 382 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; | 381 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; |
| 383 RunningAppListIdMap last_used_running_application_order_; | 382 RunningAppListIdMap last_used_running_application_order_; |
| 384 | 383 |
| 385 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); | 384 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); |
| 386 }; | 385 }; |
| 387 | 386 |
| 388 #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 |