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

Unified Diff: public/web/WebElement.h

Issue 19856004: Adds WebElement::imageContents() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: move imageContents() call down to WebElement 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
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>&);

Powered by Google App Engine
This is Rietveld 408576698