| 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 #include "chrome/browser/ui/app_list/search/app_result.h" | 5 #include "chrome/browser/ui/app_list/search/app_result.h" |
| 6 | 6 |
| 7 #include "chrome/browser/extensions/extension_service.h" | 7 #include "chrome/browser/extensions/extension_service.h" |
| 8 #include "chrome/browser/extensions/extension_system_factory.h" | |
| 9 #include "chrome/browser/extensions/extension_util.h" | 8 #include "chrome/browser/extensions/extension_util.h" |
| 10 #include "chrome/browser/extensions/install_tracker.h" | 9 #include "chrome/browser/extensions/install_tracker.h" |
| 11 #include "chrome/browser/extensions/install_tracker_factory.h" | 10 #include "chrome/browser/extensions/install_tracker_factory.h" |
| 12 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
| 13 #include "chrome/browser/ui/app_list/app_context_menu.h" | 12 #include "chrome/browser/ui/app_list/app_context_menu.h" |
| 14 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" | 13 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" |
| 15 #include "chrome/browser/ui/app_list/search/tokenized_string.h" | 14 #include "chrome/browser/ui/app_list/search/tokenized_string.h" |
| 16 #include "chrome/browser/ui/app_list/search/tokenized_string_match.h" | 15 #include "chrome/browser/ui/app_list/search/tokenized_string_match.h" |
| 17 #include "chrome/browser/ui/extensions/extension_enable_flow.h" | 16 #include "chrome/browser/ui/extensions/extension_enable_flow.h" |
| 18 #include "chrome/browser/ui/webui/ntp/core_app_launcher_handler.h" | 17 #include "chrome/browser/ui/webui/ntp/core_app_launcher_handler.h" |
| 19 #include "chrome/common/extensions/extension_icon_set.h" | 18 #include "chrome/common/extensions/extension_icon_set.h" |
| 20 #include "chrome/common/extensions/manifest_handlers/icons_handler.h" | 19 #include "chrome/common/extensions/manifest_handlers/icons_handler.h" |
| 21 #include "content/public/browser/user_metrics.h" | 20 #include "content/public/browser/user_metrics.h" |
| 21 #include "extensions/browser/extension_system.h" |
| 22 #include "extensions/browser/extension_system_provider.h" |
| 23 #include "extensions/browser/extensions_browser_client.h" |
| 22 #include "extensions/common/extension.h" | 24 #include "extensions/common/extension.h" |
| 23 #include "ui/gfx/color_utils.h" | 25 #include "ui/gfx/color_utils.h" |
| 24 #include "ui/gfx/image/image_skia_operations.h" | 26 #include "ui/gfx/image/image_skia_operations.h" |
| 25 | 27 |
| 26 namespace app_list { | 28 namespace app_list { |
| 27 | 29 |
| 28 AppResult::AppResult(Profile* profile, | 30 AppResult::AppResult(Profile* profile, |
| 29 const std::string& app_id, | 31 const std::string& app_id, |
| 30 AppListControllerDelegate* controller) | 32 AppListControllerDelegate* controller) |
| 31 : profile_(profile), | 33 : profile_(profile), |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 NotifyItemUninstalled(); | 205 NotifyItemUninstalled(); |
| 204 } | 206 } |
| 205 | 207 |
| 206 void AppResult::OnAppsReordered() {} | 208 void AppResult::OnAppsReordered() {} |
| 207 | 209 |
| 208 void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {} | 210 void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {} |
| 209 | 211 |
| 210 void AppResult::OnShutdown() { StopObservingInstall(); } | 212 void AppResult::OnShutdown() { StopObservingInstall(); } |
| 211 | 213 |
| 212 } // namespace app_list | 214 } // namespace app_list |
| OLD | NEW |