| 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" | 8 #include "chrome/browser/extensions/extension_system_factory.h" |
| 9 #include "chrome/browser/extensions/install_tracker.h" | 9 #include "chrome/browser/extensions/install_tracker.h" |
| 10 #include "chrome/browser/extensions/install_tracker_factory.h" | 10 #include "chrome/browser/extensions/install_tracker_factory.h" |
| 11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
| 12 #include "chrome/browser/ui/app_list/app_context_menu.h" | 12 #include "chrome/browser/ui/app_list/app_context_menu.h" |
| 13 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" | 13 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" |
| 14 #include "chrome/browser/ui/app_list/search/tokenized_string.h" | 14 #include "chrome/browser/ui/app_list/search/tokenized_string.h" |
| 15 #include "chrome/browser/ui/app_list/search/tokenized_string_match.h" | 15 #include "chrome/browser/ui/app_list/search/tokenized_string_match.h" |
| 16 #include "chrome/browser/ui/extensions/extension_enable_flow.h" | 16 #include "chrome/browser/ui/extensions/extension_enable_flow.h" |
| 17 #include "chrome/browser/ui/webui/ntp/core_app_launcher_handler.h" | 17 #include "chrome/browser/ui/webui/ntp/core_app_launcher_handler.h" |
| 18 #include "chrome/common/extensions/extension.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/common/extension.h" |
| 22 #include "ui/gfx/color_utils.h" | 22 #include "ui/gfx/color_utils.h" |
| 23 #include "ui/gfx/image/image_skia_operations.h" | 23 #include "ui/gfx/image/image_skia_operations.h" |
| 24 | 24 |
| 25 namespace app_list { | 25 namespace app_list { |
| 26 | 26 |
| 27 AppResult::AppResult(Profile* profile, | 27 AppResult::AppResult(Profile* profile, |
| 28 const std::string& app_id, | 28 const std::string& app_id, |
| 29 AppListControllerDelegate* controller) | 29 AppListControllerDelegate* controller) |
| 30 : profile_(profile), | 30 : profile_(profile), |
| 31 app_id_(app_id), | 31 app_id_(app_id), |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 NotifyItemUninstalled(); | 208 NotifyItemUninstalled(); |
| 209 } | 209 } |
| 210 | 210 |
| 211 void AppResult::OnAppsReordered() {} | 211 void AppResult::OnAppsReordered() {} |
| 212 | 212 |
| 213 void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {} | 213 void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {} |
| 214 | 214 |
| 215 void AppResult::OnShutdown() { StopObservingInstall(); } | 215 void AppResult::OnShutdown() { StopObservingInstall(); } |
| 216 | 216 |
| 217 } // namespace app_list | 217 } // namespace app_list |
| OLD | NEW |