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

Unified Diff: chrome/browser/task_manager/task_manager.h

Issue 10453101: Convert most of the rest of chrome to ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/task_manager/task_manager.h
diff --git a/chrome/browser/task_manager/task_manager.h b/chrome/browser/task_manager/task_manager.h
index d118ba88990c07bb00f37f16c34e524bcdc32cb1..b7cd68a01af6527921902746088077ba72c18621 100644
--- a/chrome/browser/task_manager/task_manager.h
+++ b/chrome/browser/task_manager/task_manager.h
@@ -21,7 +21,6 @@
#include "chrome/browser/renderer_host/web_cache_manager.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h"
-class SkBitmap;
class TabContents;
typedef TabContents TabContentsWrapper;
class TaskManagerModel;
@@ -34,6 +33,10 @@ namespace extensions {
class Extension;
}
+namespace gfx {
+class ImageSkia;
+}
+
namespace net {
class URLRequest;
}
@@ -71,7 +74,7 @@ class TaskManager {
virtual string16 GetTitle() const = 0;
virtual string16 GetProfileName() const = 0;
- virtual SkBitmap GetIcon() const = 0;
+ virtual gfx::ImageSkia GetIcon() const = 0;
virtual base::ProcessHandle GetProcess() const = 0;
virtual int GetUniqueChildProcessId() const = 0;
virtual Type GetType() const = 0;
@@ -372,7 +375,7 @@ class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> {
bool IsBackgroundResource(int index) const;
// Returns icon to be used for resource (for example a favicon).
- SkBitmap GetResourceIcon(int index) const;
+ gfx::ImageSkia GetResourceIcon(int index) const;
// Returns the group range of resource.
GroupRange GetGroupRangeForResource(int index) const;
« no previous file with comments | « chrome/browser/status_icons/desktop_notification_balloon.cc ('k') | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698