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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.h

Issue 2522543004: Add support for retrieving image thumbnails as part of the accessibility tree. (Closed)
Patch Set: Fix test failure and add automation apitest 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/modules/accessibility/AXObject.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.h b/third_party/WebKit/Source/modules/accessibility/AXObject.h
index 69ebc35548aaca9bff168e5b0dc3ece4718ee0fc..4687c0579096a79a1f5ca8b4ad117161a4833fd8 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -765,6 +765,7 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
virtual int headingLevel() const { return 0; }
// Value should be 1-based. 0 means not supported.
virtual unsigned hierarchicalLevel() const { return 0; }
+ virtual String imageDataUrl(const IntSize& maxSize) const { return nullAtom; }
virtual AccessibilityOrientation orientation() const;
virtual String text() const { return String(); }
virtual AccessibilityTextDirection textDirection() const {

Powered by Google App Engine
This is Rietveld 408576698