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 10 matching lines...) Expand all Loading... |
21 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" | 21 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" |
22 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" | 22 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" |
23 #include "chrome/browser/ui/ash/launcher/launcher_app_updater.h" | 23 #include "chrome/browser/ui/ash/launcher/launcher_app_updater.h" |
24 #include "components/prefs/pref_change_registrar.h" | 24 #include "components/prefs/pref_change_registrar.h" |
25 #include "ui/aura/window_observer.h" | 25 #include "ui/aura/window_observer.h" |
26 | 26 |
27 class AppSyncUIState; | 27 class AppSyncUIState; |
28 class BrowserStatusMonitor; | 28 class BrowserStatusMonitor; |
29 class Profile; | 29 class Profile; |
30 class AppWindowLauncherController; | 30 class AppWindowLauncherController; |
31 class TabContents; | |
32 | 31 |
33 namespace ash { | 32 namespace ash { |
34 class ShelfModel; | 33 class ShelfModel; |
35 namespace launcher { | 34 namespace launcher { |
36 class ChromeLauncherPrefsObserver; | 35 class ChromeLauncherPrefsObserver; |
37 } | 36 } |
38 } | 37 } |
39 | 38 |
40 namespace aura { | |
41 class Window; | |
42 } | |
43 | |
44 namespace content { | 39 namespace content { |
45 class BrowserContext; | 40 class BrowserContext; |
46 } | 41 } |
47 | 42 |
48 namespace extensions { | |
49 class Extension; | |
50 } | |
51 | |
52 class ChromeLauncherControllerUserSwitchObserver; | 43 class ChromeLauncherControllerUserSwitchObserver; |
53 | 44 |
54 // Implementation of ChromeLauncherController, used for classic Ash. | 45 // Implementation of ChromeLauncherController, used for classic Ash. |
55 // In addition to implementing ChromeLauncherController, this class performs | 46 // In addition to implementing ChromeLauncherController, this class performs |
56 // a lot of other responsibilities, such as implementing ash::ShelfDelegate, | 47 // a lot of other responsibilities, such as implementing ash::ShelfDelegate, |
57 // updating the UI state and the shelf model when apps are uninstalled, etc. | 48 // updating the UI state and the shelf model when apps are uninstalled, etc. |
58 class ChromeLauncherControllerImpl | 49 class ChromeLauncherControllerImpl |
59 : public ChromeLauncherController, | 50 : public ChromeLauncherController, |
60 public ash::ShelfDelegate, | 51 public ash::ShelfDelegate, |
61 public LauncherAppUpdater::Delegate, | 52 public LauncherAppUpdater::Delegate, |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 typedef std::vector<std::string> RunningAppListIds; | 311 typedef std::vector<std::string> RunningAppListIds; |
321 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; | 312 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; |
322 RunningAppListIdMap last_used_running_application_order_; | 313 RunningAppListIdMap last_used_running_application_order_; |
323 | 314 |
324 base::WeakPtrFactory<ChromeLauncherControllerImpl> weak_ptr_factory_; | 315 base::WeakPtrFactory<ChromeLauncherControllerImpl> weak_ptr_factory_; |
325 | 316 |
326 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); | 317 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); |
327 }; | 318 }; |
328 | 319 |
329 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ | 320 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ |
OLD | NEW |