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

Unified Diff: third_party/WebKit/Source/web/WebAXObject.cpp

Issue 2522543004: Add support for retrieving image thumbnails as part of the accessibility tree. (Closed)
Patch Set: Clarified maxSize Created 4 years, 1 month 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/Source/web/WebAXObject.cpp
diff --git a/third_party/WebKit/Source/web/WebAXObject.cpp b/third_party/WebKit/Source/web/WebAXObject.cpp
index c0e2205b9ce8bbdf3a20df8119cd9d89aff7919b..9b5e11b57558aa3a1556f7f0f60c15fcaccf21a8 100644
--- a/third_party/WebKit/Source/web/WebAXObject.cpp
+++ b/third_party/WebKit/Source/web/WebAXObject.cpp
@@ -608,6 +608,13 @@ bool WebAXObject::canvasHasFallbackContent() const {
return m_private->canvasHasFallbackContent();
}
+WebString WebAXObject::imageDataUrl(const WebSize& maxSize) const {
+ if (isDetached())
+ return WebString();
+
+ return m_private->imageDataUrl(maxSize);
+}
+
WebAXInvalidState WebAXObject::invalidState() const {
if (isDetached())
return WebAXInvalidStateUndefined;
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObject.h ('k') | third_party/WebKit/public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698