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

Unified Diff: ui/accessibility/ax_node_data.cc

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
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_node_data.cc
diff --git a/ui/accessibility/ax_node_data.cc b/ui/accessibility/ax_node_data.cc
index 66deec361b660a098663da34a9a7490dbd7b4af4..ceb8bea59191bb9ee6350c32b2e6ccc4e6482c43 100644
--- a/ui/accessibility/ax_node_data.cc
+++ b/ui/accessibility/ax_node_data.cc
@@ -616,6 +616,10 @@ std::string AXNodeData::ToString() const {
case AX_ATTR_HTML_TAG:
result += " html_tag=" + value;
break;
+ case AX_ATTR_IMAGE_DATA_URL:
+ result += " image_data_url=(" +
+ IntToString(static_cast<int>(value.size())) + " bytes)";
+ break;
case AX_ATTR_LANGUAGE:
result += " language=" + value;
break;
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698