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

Unified Diff: ui/accessibility/ax_node_data.cc

Issue 1308153012: Uses isEditable and isRichlyEditable to determine which attributes to expose on Mac and how to repr… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 5 years, 3 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
Index: ui/accessibility/ax_node_data.cc
diff --git a/ui/accessibility/ax_node_data.cc b/ui/accessibility/ax_node_data.cc
index 7dd0dd782a975214ea87c26780fbda554b97f2f6..262e19253f376cc30f2350e1e0d727974901c69a 100644
--- a/ui/accessibility/ax_node_data.cc
+++ b/ui/accessibility/ax_node_data.cc
@@ -264,6 +264,8 @@ std::string AXNodeData::ToString() const {
result += " CHECKED";
if (state & (1 << AX_STATE_COLLAPSED))
result += " COLLAPSED";
+ if (state & (1 << AX_STATE_EDITABLE))
+ result += " EDITABLE";
if (state & (1 << AX_STATE_EXPANDED))
result += " EXPANDED";
if (state & (1 << AX_STATE_FOCUSABLE))
@@ -292,6 +294,8 @@ std::string AXNodeData::ToString() const {
result += " READONLY";
if (state & (1 << AX_STATE_REQUIRED))
result += " REQUIRED";
+ if (state & (1 << AX_STATE_RICHLY_EDITABLE))
+ result += " RICHLY_EDITABLE";
if (state & (1 << AX_STATE_SELECTABLE))
result += " SELECTABLE";
if (state & (1 << AX_STATE_SELECTED))
« content/browser/accessibility/browser_accessibility_win.cc ('K') | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698