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

Unified Diff: ui/app_list/icon_cache.h

Issue 10699065: chromeos: Fix pixelated icons in app list and launcher (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 5 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_view.cc ('k') | ui/app_list/icon_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/icon_cache.h
diff --git a/ui/app_list/icon_cache.h b/ui/app_list/icon_cache.h
index 06a07ca6cf88294356ef08553c44c45d172a4ea1..28ac8c00eccd12a91834bd079f92463861912f49 100644
--- a/ui/app_list/icon_cache.h
+++ b/ui/app_list/icon_cache.h
@@ -9,8 +9,8 @@
#include <string>
#include "base/basictypes.h"
-#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/app_list/app_list_export.h"
+#include "ui/gfx/image/image_skia.h"
namespace gfx {
class Size;
@@ -29,16 +29,16 @@ class APP_LIST_EXPORT IconCache {
void MarkAllEntryUnused();
void PurgeAllUnused();
- bool Get(const SkBitmap& src,
+ bool Get(const gfx::ImageSkia& src,
const gfx::Size& size,
- SkBitmap* processed);
- void Put(const SkBitmap& src,
+ gfx::ImageSkia* processed);
+ void Put(const gfx::ImageSkia& src,
const gfx::Size& size,
- const SkBitmap& processed);
+ const gfx::ImageSkia& processed);
private:
struct Item {
- SkBitmap image;
+ gfx::ImageSkia image;
bool used;
};
typedef std::map<std::string, Item> Cache;
« no previous file with comments | « ui/app_list/app_list_item_view.cc ('k') | ui/app_list/icon_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698