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

Unified Diff: ui/accessibility/ax_node_data.cc

Issue 2526073003: Re-add the line break attribute (Closed)
Patch Set: 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: ui/accessibility/ax_node_data.cc
diff --git a/ui/accessibility/ax_node_data.cc b/ui/accessibility/ax_node_data.cc
index 66deec361b660a098663da34a9a7490dbd7b4af4..316ac433c093b41c84635fbafa3ea05c89b3d650 100644
--- a/ui/accessibility/ax_node_data.cc
+++ b/ui/accessibility/ax_node_data.cc
@@ -727,6 +727,9 @@ std::string AXNodeData::ToString() const {
case AX_ATTR_LABELLEDBY_IDS:
result += " labelledby_ids=" + IntVectorToString(values);
break;
+ case AX_ATTR_LINE_BREAKS:
+ result += " line_breaks=" + IntVectorToString(values);
+ break;
case AX_ATTR_MARKER_TYPES: {
std::string types_str;
for (size_t i = 0; i < values.size(); ++i) {

Powered by Google App Engine
This is Rietveld 408576698