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

Unified Diff: ui/app_list/app_list_item_view.h

Issue 10868003: chromeos: Fix pixelated icons in app list and launcher (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win compile Created 8 years, 3 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
« no previous file with comments | « ui/app_list/app_list_item_model.cc ('k') | ui/app_list/app_list_item_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_item_view.h
diff --git a/ui/app_list/app_list_item_view.h b/ui/app_list/app_list_item_view.h
index de13264320704fe7c9b4c28ac2ff0c8704d44140..cd9a77a909985e41302febdc82141e3400f32b7f 100644
--- a/ui/app_list/app_list_item_view.h
+++ b/ui/app_list/app_list_item_view.h
@@ -9,7 +9,6 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "base/memory/weak_ptr.h"
#include "ui/app_list/app_list_export.h"
#include "ui/app_list/app_list_item_model_observer.h"
#include "ui/gfx/shadow_value.h"
@@ -46,18 +45,9 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
AppListItemModel* model() const { return model_; }
private:
- class IconOperation;
-
// Get icon from model and schedule background processing.
void UpdateIcon();
- // Cancel pending icon operation and reply callback.
- void CancelPendingIconOperation();
-
- // Reply callback from background shadow generation. |op| is the finished
- // operation and holds the result image.
- void ApplyShadow(scoped_refptr<IconOperation> op);
-
// AppListItemModelObserver overrides:
virtual void ItemIconChanged() OVERRIDE;
virtual void ItemTitleChanged() OVERRIDE;
@@ -86,9 +76,6 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
scoped_ptr<views::MenuRunner> context_menu_runner_;
gfx::Size icon_size_;
-
- scoped_refptr<IconOperation> icon_op_;
- base::WeakPtrFactory<AppListItemView> apply_shadow_factory_;
gfx::ShadowValues icon_shadows_;
DISALLOW_COPY_AND_ASSIGN(AppListItemView);
« no previous file with comments | « ui/app_list/app_list_item_model.cc ('k') | ui/app_list/app_list_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698