| 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> |
| 11 | 11 |
| 12 #include "ash/display/window_tree_host_manager.h" | 12 #include "ash/display/window_tree_host_manager.h" |
| 13 #include "ash/public/cpp/shelf_item_delegate.h" | 13 #include "ash/public/cpp/shelf_item_delegate.h" |
| 14 #include "ash/public/cpp/shelf_model_observer.h" |
| 14 #include "ash/public/cpp/shelf_types.h" | 15 #include "ash/public/cpp/shelf_types.h" |
| 15 #include "ash/public/interfaces/shelf.mojom.h" | 16 #include "ash/public/interfaces/shelf.mojom.h" |
| 16 #include "ash/shelf/shelf_model_observer.h" | |
| 17 #include "base/auto_reset.h" | 17 #include "base/auto_reset.h" |
| 18 #include "base/macros.h" | 18 #include "base/macros.h" |
| 19 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
| 20 #include "chrome/browser/ui/app_icon_loader_delegate.h" | 20 #include "chrome/browser/ui/app_icon_loader_delegate.h" |
| 21 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" | 21 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" |
| 22 #include "chrome/browser/ui/ash/app_sync_ui_state_observer.h" | 22 #include "chrome/browser/ui/ash/app_sync_ui_state_observer.h" |
| 23 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" | 23 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" |
| 24 #include "chrome/browser/ui/ash/launcher/launcher_app_updater.h" | 24 #include "chrome/browser/ui/ash/launcher/launcher_app_updater.h" |
| 25 #include "chrome/browser/ui/ash/launcher/settings_window_observer.h" | 25 #include "chrome/browser/ui/ash/launcher/settings_window_observer.h" |
| 26 #include "components/prefs/pref_change_registrar.h" | 26 #include "components/prefs/pref_change_registrar.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 37 class BrowserShortcutLauncherItemController; | 37 class BrowserShortcutLauncherItemController; |
| 38 class BrowserStatusMonitor; | 38 class BrowserStatusMonitor; |
| 39 class ChromeLauncherControllerUserSwitchObserver; | 39 class ChromeLauncherControllerUserSwitchObserver; |
| 40 class ChromeLauncherPrefsObserver; | 40 class ChromeLauncherPrefsObserver; |
| 41 class GURL; | 41 class GURL; |
| 42 class Profile; | 42 class Profile; |
| 43 class LauncherControllerHelper; | 43 class LauncherControllerHelper; |
| 44 | 44 |
| 45 namespace ash { | 45 namespace ash { |
| 46 class Shelf; | 46 class Shelf; |
| 47 struct ShelfItem; | |
| 48 class ShelfModel; | 47 class ShelfModel; |
| 49 } // namespace ash | 48 } // namespace ash |
| 50 | 49 |
| 51 namespace content { | 50 namespace content { |
| 52 class WebContents; | 51 class WebContents; |
| 53 } | 52 } |
| 54 | 53 |
| 55 namespace gfx { | 54 namespace gfx { |
| 56 class Image; | 55 class Image; |
| 57 } | 56 } |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 using RunningAppListIds = std::vector<std::string>; | 455 using RunningAppListIds = std::vector<std::string>; |
| 457 using RunningAppListIdMap = std::map<std::string, RunningAppListIds>; | 456 using RunningAppListIdMap = std::map<std::string, RunningAppListIds>; |
| 458 RunningAppListIdMap last_used_running_application_order_; | 457 RunningAppListIdMap last_used_running_application_order_; |
| 459 | 458 |
| 460 base::WeakPtrFactory<ChromeLauncherController> weak_ptr_factory_; | 459 base::WeakPtrFactory<ChromeLauncherController> weak_ptr_factory_; |
| 461 | 460 |
| 462 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); | 461 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); |
| 463 }; | 462 }; |
| 464 | 463 |
| 465 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ | 464 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
| OLD | NEW |