| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/prefs/pref_change_registrar.h" | 12 #include "base/prefs/pref_change_registrar.h" |
| 13 #include "chrome/browser/extensions/install_observer.h" | 13 #include "chrome/browser/extensions/install_observer.h" |
| 14 #include "ui/app_list/app_list_model.h" | 14 #include "ui/app_list/app_list_model.h" |
| 15 #include "ui/base/models/list_model_observer.h" | 15 #include "ui/base/models/list_model_observer.h" |
| 16 | 16 |
| 17 class AppListControllerDelegate; | 17 class AppListControllerDelegate; |
| 18 class DriveAppProvider; |
| 18 class ExtensionAppItem; | 19 class ExtensionAppItem; |
| 19 class Profile; | 20 class Profile; |
| 20 | 21 |
| 21 namespace app_list { | 22 namespace app_list { |
| 22 class AppListSyncableService; | 23 class AppListSyncableService; |
| 23 } | 24 } |
| 24 | 25 |
| 25 namespace extensions { | 26 namespace extensions { |
| 26 class Extension; | 27 class Extension; |
| 27 class ExtensionSet; | 28 class ExtensionSet; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 128 |
| 128 std::string highlight_app_id_; | 129 std::string highlight_app_id_; |
| 129 | 130 |
| 130 // True if we haven't set |highlight_app_id_| to be highlighted. This happens | 131 // True if we haven't set |highlight_app_id_| to be highlighted. This happens |
| 131 // if we try to highlight an app that doesn't exist in the list yet. | 132 // if we try to highlight an app that doesn't exist in the list yet. |
| 132 bool highlighted_app_pending_; | 133 bool highlighted_app_pending_; |
| 133 | 134 |
| 134 // We listen to this to show app installing progress. | 135 // We listen to this to show app installing progress. |
| 135 extensions::InstallTracker* tracker_; | 136 extensions::InstallTracker* tracker_; |
| 136 | 137 |
| 138 // Provides integration with Drive apps. |
| 139 scoped_ptr<DriveAppProvider> drive_app_provider_; |
| 140 |
| 137 DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder); | 141 DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder); |
| 138 }; | 142 }; |
| 139 | 143 |
| 140 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ | 144 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ |
| OLD | NEW |