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

Unified Diff: ash/system/audio/volume_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 | « no previous file | ash/system/ime_menu/ime_list_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/audio/volume_view.cc
diff --git a/ash/system/audio/volume_view.cc b/ash/system/audio/volume_view.cc
index e541e5ed573391342d5d59626b90c0f4870e2a8a..b1d6f3d81f99c459ffe2baee0b7c659c59637cb5 100644
--- a/ash/system/audio/volume_view.cc
+++ b/ash/system/audio/volume_view.cc
@@ -101,7 +101,8 @@ class VolumeButton : public ButtonListenerActionableView {
l10n_util::GetStringUTF16(IDS_ASH_STATUS_TRAY_VOLUME_MUTE));
node_data->role = ui::AX_ROLE_TOGGLE_BUTTON;
if (CrasAudioHandler::Get()->IsOutputMuted())
- node_data->AddState(ui::AX_STATE_PRESSED);
+ node_data->AddIntAttribute(ui::AX_ATTR_PRESSED_STATE,
+ ui::AX_BUTTON_STATE_TRUE);
}
views::ImageView* image_;
« no previous file with comments | « no previous file | ash/system/ime_menu/ime_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698