diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 21:08:02 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 21:08:02 +0000 |
commit | d055d8e56a5704b9e3104f5aa527d103815a093a (patch) | |
tree | 0afc7c91a4b487de77cc5536bc70678a1f141ad8 /webkit/port/platform/chromium | |
parent | 01f73451f5c113ea960e2cbd7ae574943e4cff9b (diff) | |
download | chromium_src-d055d8e56a5704b9e3104f5aa527d103815a093a.zip chromium_src-d055d8e56a5704b9e3104f5aa527d103815a093a.tar.gz chromium_src-d055d8e56a5704b9e3104f5aa527d103815a093a.tar.bz2 |
Remove most base dependencies from ImageSkia. Poke through the resource getting to the ChromiumBridge.
Review URL: http://codereview.chromium.org/11450
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5635 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/platform/chromium')
-rw-r--r-- | webkit/port/platform/chromium/ChromiumBridge.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/webkit/port/platform/chromium/ChromiumBridge.h b/webkit/port/platform/chromium/ChromiumBridge.h index 9f19d8b..3599bb7 100644 --- a/webkit/port/platform/chromium/ChromiumBridge.h +++ b/webkit/port/platform/chromium/ChromiumBridge.h @@ -33,6 +33,7 @@ #include "config.h" #include "PasteboardPrivate.h" +#include "PassRefPtr.h" #include "PlatformString.h" class NativeImageSkia; @@ -45,6 +46,7 @@ namespace WebCore { class Cursor; class Document; class Frame; + class Image; class IntRect; class KURL; class String; @@ -104,6 +106,9 @@ namespace WebCore { // Protocol ----------------------------------------------------------- static String uiResourceProtocol(); + // Resources ---------------------------------------------------------- + static PassRefPtr<Image> loadPlatformImageResource(const char* name); + // Screen ------------------------------------------------------------- static int screenDepth(Widget*); static int screenDepthPerComponent(Widget*); @@ -127,7 +132,6 @@ namespace WebCore { // Widget ------------------------------------------------------------- static void widgetSetCursor(Widget*, const Cursor&); static void widgetSetFocus(Widget*); - }; } |