summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/extensions/api/webstore_private/webstore_private_api.h1
-rw-r--r--chrome/browser/ui/app_list/extension_app_item.cc6
2 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_api.h b/chrome/browser/extensions/api/webstore_private/webstore_private_api.h
index 3fbedc9..0d3e047 100644
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.h
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.h
@@ -16,6 +16,7 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "google_apis/gaia/google_service_auth_error.h"
+#include "third_party/skia/include/core/SkBitmap.h"
class ProfileSyncService;
diff --git a/chrome/browser/ui/app_list/extension_app_item.cc b/chrome/browser/ui/app_list/extension_app_item.cc
index eff041c..a1f9516 100644
--- a/chrome/browser/ui/app_list/extension_app_item.cc
+++ b/chrome/browser/ui/app_list/extension_app_item.cc
@@ -176,6 +176,8 @@ bool MenuItemHasLauncherContext(const extensions::MenuItem* item) {
return item->contexts().Contains(extensions::MenuItem::LAUNCHER);
}
+const color_utils::HSL shift = {-1, 0, 0.6};
+
} // namespace
ExtensionAppItem::ExtensionAppItem(Profile* profile,
@@ -188,7 +190,9 @@ ExtensionAppItem::ExtensionAppItem(Profile* profile,
extension_id_(extension_id),
controller_(controller),
extension_name_(extension_name),
- installing_icon_(installing_icon) {
+ installing_icon_(
+ gfx::ImageSkiaOperations::CreateHSLShiftedImage(installing_icon,
+ shift)) {
Reload();
GetExtensionSorting(profile_)->EnsureValidOrdinals(extension_id_,
syncer::StringOrdinal());