Index: public/web/WebNode.h |
diff --git a/public/web/WebNode.h b/public/web/WebNode.h |
index ccfed2565af4abc9cd0174be32c20b4dac8a6d8a..3f50665b977552ea2b3abe160e22ec7a57d09c4d 100644 |
--- a/public/web/WebNode.h |
+++ b/public/web/WebNode.h |
@@ -32,6 +32,7 @@ |
#define WebNode_h |
#include "../platform/WebCommon.h" |
+#include "../platform/WebImage.h" |
#include "../platform/WebPrivatePtr.h" |
#include "../platform/WebString.h" |
#include "WebExceptionCode.h" |
@@ -123,6 +124,10 @@ public: |
WEBKIT_EXPORT WebPluginContainer* pluginContainer() const; |
WEBKIT_EXPORT WebElement shadowHost() const; |
+ // Returns the image contents of this WebNode or a null WebImage |
+ // if there isn't any. |
+ WEBKIT_EXPORT WebImage imageContents(); |
+ |
template<typename T> T to() |
{ |
T res; |