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

Side by Side Diff: chrome/browser/ui/app_list/extension_app_model_builder.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_
6 #define CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "chrome/browser/extensions/install_observer.h" 15 #include "chrome/browser/extensions/install_observer.h"
16 #include "chrome/browser/ui/app_list/app_list_model_builder.h" 16 #include "chrome/browser/ui/app_list/app_list_model_builder.h"
17 #include "chrome/browser/ui/ash/launcher/launcher_app_updater.h" 17 #include "chrome/browser/ui/ash/launcher/launcher_app_updater.h"
18 #include "components/prefs/pref_change_registrar.h" 18 #include "components/prefs/pref_change_registrar.h"
19 #include "ui/base/models/list_model_observer.h" 19 #include "ui/base/models/list_model_observer.h"
20 20
21 class AppListControllerDelegate; 21 class AppListControllerDelegate;
22 class LauncherExtensionAppUpdater; 22 class LauncherExtensionAppUpdater;
23 class ExtensionAppItem; 23 class ExtensionAppItem;
24 24
25 namespace extensions { 25 namespace extensions {
26 class Extension; 26 class Extension;
27 class ExtensionRegistry;
28 class ExtensionSet;
29 class InstallTracker; 27 class InstallTracker;
30 } 28 }
31 29
32 namespace gfx { 30 namespace gfx {
33 class ImageSkia; 31 class ImageSkia;
34 } 32 }
35 33
36 // This class populates and maintains the given |model| for extension items 34 // This class populates and maintains the given |model| for extension items
37 // with information from |profile|. 35 // with information from |profile|.
38 class ExtensionAppModelBuilder : public AppListModelBuilder, 36 class ExtensionAppModelBuilder : public AppListModelBuilder,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // We listen to this to show app installing progress. 96 // We listen to this to show app installing progress.
99 extensions::InstallTracker* tracker_ = nullptr; 97 extensions::InstallTracker* tracker_ = nullptr;
100 98
101 // Dispatches extension lifecycle events. 99 // Dispatches extension lifecycle events.
102 std::unique_ptr<LauncherExtensionAppUpdater> app_updater_; 100 std::unique_ptr<LauncherExtensionAppUpdater> app_updater_;
103 101
104 DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder); 102 DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder);
105 }; 103 };
106 104
107 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ 105 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/extension_app_item.h ('k') | chrome/browser/ui/app_list/launcher_page_event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698