Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1188)

Side by Side Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h

Issue 2917013002: mash: Move ShelfModel* to ash/public/cpp. (Closed)
Patch Set: Comment on AppList item init. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698