| 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_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 void CloseWindowedAppsFromRemovedExtension(const std::string& app_id, | 347 void CloseWindowedAppsFromRemovedExtension(const std::string& app_id, |
| 348 const Profile* profile); | 348 const Profile* profile); |
| 349 | 349 |
| 350 // Attach to a specific profile. | 350 // Attach to a specific profile. |
| 351 void AttachProfile(Profile* profile_to_attach); | 351 void AttachProfile(Profile* profile_to_attach); |
| 352 | 352 |
| 353 // Forget the current profile to allow attaching to a new one. | 353 // Forget the current profile to allow attaching to a new one. |
| 354 void ReleaseProfile(); | 354 void ReleaseProfile(); |
| 355 | 355 |
| 356 // ash::mojom::ShelfObserver: | 356 // ash::mojom::ShelfObserver: |
| 357 void OnShelfCreated(int64_t display_id) override; | 357 void OnShelfInitialized(int64_t display_id) override; |
| 358 void OnAlignmentChanged(ash::ShelfAlignment alignment, | 358 void OnAlignmentChanged(ash::ShelfAlignment alignment, |
| 359 int64_t display_id) override; | 359 int64_t display_id) override; |
| 360 void OnAutoHideBehaviorChanged(ash::ShelfAutoHideBehavior auto_hide, | 360 void OnAutoHideBehaviorChanged(ash::ShelfAutoHideBehavior auto_hide, |
| 361 int64_t display_id) override; | 361 int64_t display_id) override; |
| 362 | 362 |
| 363 // ash::ShelfModelObserver: | 363 // ash::ShelfModelObserver: |
| 364 void ShelfItemAdded(int index) override; | 364 void ShelfItemAdded(int index) override; |
| 365 void ShelfItemRemoved(int index, const ash::ShelfItem& old_item) override; | 365 void ShelfItemRemoved(int index, const ash::ShelfItem& old_item) override; |
| 366 void ShelfItemMoved(int start_index, int target_index) override; | 366 void ShelfItemMoved(int start_index, int target_index) override; |
| 367 void ShelfItemChanged(int index, const ash::ShelfItem& old_item) override; | 367 void ShelfItemChanged(int index, const ash::ShelfItem& old_item) override; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 using RunningAppListIds = std::vector<std::string>; | 441 using RunningAppListIds = std::vector<std::string>; |
| 442 using RunningAppListIdMap = std::map<std::string, RunningAppListIds>; | 442 using RunningAppListIdMap = std::map<std::string, RunningAppListIds>; |
| 443 RunningAppListIdMap last_used_running_application_order_; | 443 RunningAppListIdMap last_used_running_application_order_; |
| 444 | 444 |
| 445 base::WeakPtrFactory<ChromeLauncherController> weak_ptr_factory_; | 445 base::WeakPtrFactory<ChromeLauncherController> weak_ptr_factory_; |
| 446 | 446 |
| 447 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); | 447 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); |
| 448 }; | 448 }; |
| 449 | 449 |
| 450 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ | 450 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
| OLD | NEW |