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

Unified Diff: chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc

Issue 2707263011: Test aria-pressed=mixed on windows (Closed)
Patch Set: git cl try Created 3 years, 7 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 | « ash/system/tray/hover_highlight_view.cc ('k') | chrome/common/extensions/api/automation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc
diff --git a/chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc b/chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc
index bd69baf4d4a8853c389ae6e41e323d1c4a4ee855..a01595cad188a7f9e311f7405a5421ff03f0d8b6 100644
--- a/chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc
+++ b/chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc
@@ -192,8 +192,8 @@ void PopulateAXState(arc::mojom::AccessibilityNodeInfoData* node,
if (GetBooleanProperty(node, AXBooleanProperty::CHECKABLE)) {
const bool is_checked =
GetBooleanProperty(node, AXBooleanProperty::CHECKED);
- const ui::AXCheckedState checked_state =
- is_checked ? ui::AX_CHECKED_STATE_TRUE : ui::AX_CHECKED_STATE_FALSE;
+ const ui::AXButtonState checked_state =
+ is_checked ? ui::AX_BUTTON_STATE_TRUE : ui::AX_BUTTON_STATE_FALSE;
out_data->AddIntAttribute(ui::AX_ATTR_CHECKED_STATE, checked_state);
}
« no previous file with comments | « ash/system/tray/hover_highlight_view.cc ('k') | chrome/common/extensions/api/automation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698