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

Unified Diff: ash/system/tray/hover_highlight_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
Index: ash/system/tray/hover_highlight_view.cc
diff --git a/ash/system/tray/hover_highlight_view.cc b/ash/system/tray/hover_highlight_view.cc
index 4a28ebde54633957b66ba0aee963acfadbe4fc87..c939c0c87e5b8ddfb8d2837d0b7c77314a1ddaab 100644
--- a/ash/system/tray/hover_highlight_view.cc
+++ b/ash/system/tray/hover_highlight_view.cc
@@ -196,12 +196,12 @@ bool HoverHighlightView::PerformAction(const ui::Event& event) {
void HoverHighlightView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
ActionableView::GetAccessibleNodeData(node_data);
- ui::AXCheckedState checked_state;
+ ui::AXButtonState checked_state;
if (accessibility_state_ == AccessibilityState::CHECKED_CHECKBOX)
- checked_state = ui::AX_CHECKED_STATE_TRUE;
+ checked_state = ui::AX_BUTTON_STATE_TRUE;
else if (accessibility_state_ == AccessibilityState::UNCHECKED_CHECKBOX)
- checked_state = ui::AX_CHECKED_STATE_FALSE;
+ checked_state = ui::AX_BUTTON_STATE_FALSE;
else
return; // Not a checkbox
« no previous file with comments | « ash/system/night_light/night_light_toggle_button.cc ('k') | chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698