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

Unified Diff: ui/accessibility/ax_node_data.cc

Issue 1488893002: Stops using SYSTEM_STATE_INDETERMINATE as it makes radio buttons appear to have a mixed state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a few test expectations. Created 5 years 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 c7a50051a002255e6808f238418383218a57d18d..26a5bcc2747138423a42f14875b81a649da2b0cd 100644
--- a/ui/accessibility/ax_node_data.cc
+++ b/ui/accessibility/ax_node_data.cc
@@ -277,8 +277,6 @@ std::string AXNodeData::ToString() const {
result += " HASPOPUP";
if (state & (1 << AX_STATE_HOVERED))
result += " HOVERED";
- if (state & (1 << AX_STATE_INDETERMINATE))
- result += " INDETERMINATE";
if (state & (1 << AX_STATE_INVISIBLE))
result += " INVISIBLE";
if (state & (1 << AX_STATE_LINKED))
@@ -558,7 +556,7 @@ std::string AXNodeData::ToString() const {
for (size_t i = 0; i < bool_attributes.size(); ++i) {
std::string value = bool_attributes[i].second ? "true" : "false";
switch (bool_attributes[i].first) {
- case AX_ATTR_BUTTON_MIXED:
+ case AX_ATTR_STATE_MIXED:
result += " mixed=" + value;
break;
case AX_ATTR_LIVE_ATOMIC:
« 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