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

Unified Diff: public/web/WebElement.h

Issue 19856004: Adds WebElement::imageContents() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix webkit_test_support in static build, it needs to depend on skia so the SkBitma.h include works Created 7 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 | « Source/web/tests/WebFrameTest.cpp ('k') | public/web/WebNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebElement.h
diff --git a/public/web/WebElement.h b/public/web/WebElement.h
index ae1a9c21938942cbc68d8a5a1276353c5f3efd59..dbb65744a741613247f72196d7a5bee3e5d55426 100644
--- a/public/web/WebElement.h
+++ b/public/web/WebElement.h
@@ -84,6 +84,10 @@ struct WebRect;
// This function will update the layout if required.
WEBKIT_EXPORT WebRect boundsInViewportSpace();
+ // Returns the image contents of this element or a null WebImage
+ // if there isn't any.
+ WEBKIT_EXPORT WebImage imageContents();
+
#if WEBKIT_IMPLEMENTATION
WebElement(const WTF::PassRefPtr<WebCore::Element>&);
WebElement& operator=(const WTF::PassRefPtr<WebCore::Element>&);
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | public/web/WebNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698