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

Unified Diff: chrome/browser/ui/views/aura/app_list/extension_app_item.cc

Issue 9559005: aura: Implement app list M19 mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use a better way to get ceiling Created 8 years, 10 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/views/aura/app_list/extension_app_item.cc
diff --git a/chrome/browser/ui/views/aura/app_list/extension_app_item.cc b/chrome/browser/ui/views/aura/app_list/extension_app_item.cc
index 3abb60a0b6a569e6af003641b1407900f08f3c8f..1d70df8bb0aa304b45aec7f0d123d019009fa510 100644
--- a/chrome/browser/ui/views/aura/app_list/extension_app_item.cc
+++ b/chrome/browser/ui/views/aura/app_list/extension_app_item.cc
@@ -86,7 +86,8 @@ const Extension* ExtensionAppItem::GetExtension() const {
void ExtensionAppItem::LoadImage(const Extension* extension) {
ExtensionResource icon = extension->GetIconResource(
- ash::AppListItemView::kIconSize, ExtensionIconSet::MATCH_BIGGER);
+ ExtensionIconSet::EXTENSION_ICON_LARGE,
+ ExtensionIconSet::MATCH_BIGGER);
if (icon.relative_path().empty()) {
LoadDefaultImage();
return;
@@ -121,8 +122,8 @@ void ExtensionAppItem::LoadImage(const Extension* extension) {
tracker_.reset(new ImageLoadingTracker(this));
tracker_->LoadImage(extension,
icon,
- gfx::Size(ash::AppListItemView::kIconSize,
- ash::AppListItemView::kIconSize),
+ gfx::Size(ExtensionIconSet::EXTENSION_ICON_LARGE,
+ ExtensionIconSet::EXTENSION_ICON_LARGE),
ImageLoadingTracker::DONT_CACHE);
}
« no previous file with comments | « chrome/browser/ui/views/aura/app_list/app_list_view_delegate.cc ('k') | chrome/browser/ui/views/aura/chrome_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698