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/basictypes.h" | 23 #include "base/basictypes.h" |
24 #include "base/compiler_specific.h" | 24 #include "base/compiler_specific.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" | 27 #include "base/prefs/pref_change_registrar.h" |
28 #include "chrome/browser/extensions/app_icon_loader.h" | 28 #include "chrome/browser/extensions/app_icon_loader.h" |
29 #include "chrome/browser/prefs/pref_service_syncable_observer.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/syncable_prefs/pref_service_syncable_observer.h" |
34 #include "extensions/browser/extension_registry_observer.h" | 34 #include "extensions/browser/extension_registry_observer.h" |
35 #include "extensions/common/constants.h" | 35 #include "extensions/common/constants.h" |
36 #include "ui/aura/window_observer.h" | 36 #include "ui/aura/window_observer.h" |
37 | 37 |
38 class AppSyncUIState; | 38 class AppSyncUIState; |
39 class Browser; | 39 class Browser; |
40 class BrowserShortcutLauncherItemController; | 40 class BrowserShortcutLauncherItemController; |
41 class BrowserStatusMonitor; | 41 class BrowserStatusMonitor; |
42 class ExtensionEnableFlow; | 42 class ExtensionEnableFlow; |
43 class GURL; | 43 class GURL; |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 // The list of running & un-pinned applications for different users on hidden | 600 // The list of running & un-pinned applications for different users on hidden |
601 // desktops. | 601 // desktops. |
602 typedef std::vector<std::string> RunningAppListIds; | 602 typedef std::vector<std::string> RunningAppListIds; |
603 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; | 603 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; |
604 RunningAppListIdMap last_used_running_application_order_; | 604 RunningAppListIdMap last_used_running_application_order_; |
605 | 605 |
606 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); | 606 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); |
607 }; | 607 }; |
608 | 608 |
609 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ | 609 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
OLD | NEW |