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

Unified Diff: ui/accessibility/ax_node_data.cc

Issue 1768753003: Implemented the reporting of text style and language information on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test expectations. Created 4 years, 9 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 | « ui/accessibility/ax_enums.idl ('k') | ui/accessibility/ax_tree_data.h » ('j') | 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 be59c7176106c8360380c557f5bcba00ee1862bf..6c2be7658a8d211ad808969c23d4f650896af116 100644
--- a/ui/accessibility/ax_node_data.cc
+++ b/ui/accessibility/ax_node_data.cc
@@ -513,6 +513,9 @@ std::string AXNodeData::ToString() const {
case AX_ATTR_ACTION:
result += " action=" + value;
break;
+ case AX_ATTR_ARIA_INVALID_VALUE:
+ result += " aria_invalid_value=" + value;
+ break;
case AX_ATTR_AUTO_COMPLETE:
result += " autocomplete=" + value;
break;
@@ -522,11 +525,14 @@ std::string AXNodeData::ToString() const {
case AX_ATTR_DISPLAY:
result += " display=" + value;
break;
+ case AX_ATTR_FONT_FAMILY:
+ result += " font-family=" + value;
+ break;
case AX_ATTR_HTML_TAG:
result += " html_tag=" + value;
break;
- case AX_ATTR_ARIA_INVALID_VALUE:
- result += " aria_invalid_value=" + value;
+ case AX_ATTR_LANGUAGE:
+ result += " language=" + value;
break;
case AX_ATTR_LIVE_RELEVANT:
result += " relevant=" + value;
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | ui/accessibility/ax_tree_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698