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 <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "ash/display/window_tree_host_manager.h" | 14 #include "ash/display/window_tree_host_manager.h" |
15 #include "ash/shelf/shelf_delegate.h" | 15 #include "ash/shelf/shelf_delegate.h" |
16 #include "ash/shelf/shelf_item_delegate.h" | 16 #include "ash/shelf/shelf_item_delegate.h" |
17 #include "ash/shelf/shelf_item_delegate_manager.h" | 17 #include "ash/shelf/shelf_item_delegate_manager.h" |
18 #include "ash/shelf/shelf_item_types.h" | 18 #include "ash/shelf/shelf_item_types.h" |
19 #include "ash/shelf/shelf_layout_manager_observer.h" | 19 #include "ash/shelf/shelf_layout_manager_observer.h" |
20 #include "ash/shelf/shelf_model_observer.h" | 20 #include "ash/shelf/shelf_model_observer.h" |
21 #include "ash/shelf/shelf_types.h" | 21 #include "ash/shelf/shelf_types.h" |
22 #include "ash/shell_observer.h" | 22 #include "ash/shell_observer.h" |
23 #include "base/compiler_specific.h" | 23 #include "base/compiler_specific.h" |
24 #include "base/macros.h" | 24 #include "base/macros.h" |
25 #include "base/memory/scoped_ptr.h" | 25 #include "base/memory/scoped_ptr.h" |
26 #include "base/memory/scoped_vector.h" | 26 #include "base/memory/scoped_vector.h" |
27 #include "base/prefs/pref_change_registrar.h" | |
28 #include "build/build_config.h" | 27 #include "build/build_config.h" |
29 #include "chrome/browser/extensions/app_icon_loader.h" | 28 #include "chrome/browser/extensions/app_icon_loader.h" |
30 #include "chrome/browser/ui/ash/app_sync_ui_state_observer.h" | 29 #include "chrome/browser/ui/ash/app_sync_ui_state_observer.h" |
31 #include "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h" | 30 #include "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h" |
32 #include "chrome/browser/ui/ash/launcher/chrome_launcher_types.h" | 31 #include "chrome/browser/ui/ash/launcher/chrome_launcher_types.h" |
33 #include "chrome/browser/ui/extensions/extension_enable_flow_delegate.h" | 32 #include "chrome/browser/ui/extensions/extension_enable_flow_delegate.h" |
| 33 #include "components/prefs/pref_change_registrar.h" |
34 #include "components/syncable_prefs/pref_service_syncable_observer.h" | 34 #include "components/syncable_prefs/pref_service_syncable_observer.h" |
35 #include "extensions/browser/extension_registry_observer.h" | 35 #include "extensions/browser/extension_registry_observer.h" |
36 #include "extensions/common/constants.h" | 36 #include "extensions/common/constants.h" |
37 #include "ui/aura/window_observer.h" | 37 #include "ui/aura/window_observer.h" |
38 | 38 |
39 class AppSyncUIState; | 39 class AppSyncUIState; |
40 class Browser; | 40 class Browser; |
41 class BrowserShortcutLauncherItemController; | 41 class BrowserShortcutLauncherItemController; |
42 class BrowserStatusMonitor; | 42 class BrowserStatusMonitor; |
43 class ExtensionEnableFlow; | 43 class ExtensionEnableFlow; |
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 // The list of running & un-pinned applications for different users on hidden | 599 // The list of running & un-pinned applications for different users on hidden |
600 // desktops. | 600 // desktops. |
601 typedef std::vector<std::string> RunningAppListIds; | 601 typedef std::vector<std::string> RunningAppListIds; |
602 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; | 602 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; |
603 RunningAppListIdMap last_used_running_application_order_; | 603 RunningAppListIdMap last_used_running_application_order_; |
604 | 604 |
605 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); | 605 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); |
606 }; | 606 }; |
607 | 607 |
608 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ | 608 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
OLD | NEW |