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

Unified Diff: ash/system/ime_menu/ime_list_view.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/audio/volume_view.cc ('k') | ash/system/night_light/night_light_toggle_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/ime_menu/ime_list_view.cc
diff --git a/ash/system/ime_menu/ime_list_view.cc b/ash/system/ime_menu/ime_list_view.cc
index d93455aca0523004442c0005d2fef19e3f1a5e78..b6a32a8ddc1173033bde5ef4b2185148a015ab4c 100644
--- a/ash/system/ime_menu/ime_list_view.cc
+++ b/ash/system/ime_menu/ime_list_view.cc
@@ -124,8 +124,8 @@ class ImeListItemView : public ActionableView {
void GetAccessibleNodeData(ui::AXNodeData* node_data) override {
ActionableView::GetAccessibleNodeData(node_data);
node_data->role = ui::AX_ROLE_CHECK_BOX;
- const ui::AXCheckedState checked_state =
- selected_ ? ui::AX_CHECKED_STATE_TRUE : ui::AX_CHECKED_STATE_FALSE;
+ const ui::AXButtonState checked_state =
+ selected_ ? ui::AX_BUTTON_STATE_TRUE : ui::AX_BUTTON_STATE_FALSE;
node_data->AddIntAttribute(ui::AX_ATTR_CHECKED_STATE, checked_state);
}
« no previous file with comments | « ash/system/audio/volume_view.cc ('k') | ash/system/night_light/night_light_toggle_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698