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

Unified Diff: third_party/WebKit/WebCore/platform/graphics/Icon.h

Issue 174318: Introduce new async IPC message to get file icons (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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: third_party/WebKit/WebCore/platform/graphics/Icon.h
===================================================================
--- third_party/WebKit/WebCore/platform/graphics/Icon.h (revision 58975)
+++ third_party/WebKit/WebCore/platform/graphics/Icon.h (working copy)
@@ -42,6 +42,7 @@
#elif PLATFORM(EFL)
#include <Evas.h>
#elif PLATFORM(CHROMIUM)
+#include "Image.h"
#include "PlatformIcon.h"
#endif
@@ -61,6 +62,8 @@
#if PLATFORM(WIN)
static PassRefPtr<Icon> create(HICON hIcon) { return adoptRef(new Icon(hIcon)); }
+#elif PLATFORM(CHROMIUM)
+ static PassRefPtr<Icon> create(PassRefPtr<PlatformIcon> icon) { return adoptRef(new Icon(icon)); }
#endif
private:
@@ -80,8 +83,8 @@
Icon();
Evas_Object* m_icon;
#elif PLATFORM(CHROMIUM)
- Icon(const PlatformIcon&);
- PlatformIcon m_icon;
+ Icon(PassRefPtr<PlatformIcon>);
+ RefPtr<PlatformIcon> m_icon;
#endif
};
« no previous file with comments | « third_party/WebKit/WebCore/WebCore.gypi ('k') | third_party/WebKit/WebCore/platform/graphics/chromium/IconChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698