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

Unified Diff: chrome/browser/ui/app_list/search/extension_app_result.cc

Issue 2787693002: Remove more dead app list code. (Closed)
Patch Set: updated comment Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/app_list/search/extension_app_result.cc
diff --git a/chrome/browser/ui/app_list/search/extension_app_result.cc b/chrome/browser/ui/app_list/search/extension_app_result.cc
index 31b784f948e46f19ffc043c01c13e84e8346568f..fdbdd5dbf7ec98087e6bd41c825840a3672f4280 100644
--- a/chrome/browser/ui/app_list/search/extension_app_result.cc
+++ b/chrome/browser/ui/app_list/search/extension_app_result.cc
@@ -23,10 +23,7 @@
#include "ui/events/event_constants.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/image/image_skia_operations.h"
-
-#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/extensions/gfx_utils.h"
-#endif
namespace app_list {
@@ -140,9 +137,7 @@ bool ExtensionAppResult::RunExtensionEnableFlow() {
void ExtensionAppResult::UpdateIcon() {
gfx::ImageSkia icon = icon_->image_skia();
-#if defined(OS_CHROMEOS)
extensions::util::MaybeApplyChromeBadge(profile(), app_id(), &icon);
-#endif
if (!extensions::util::IsAppLaunchable(app_id(), profile())) {
const color_utils::HSL shift = {-1, 0, 0.6};

Powered by Google App Engine
This is Rietveld 408576698