commit | c46731ec1909c5552027abb46633cdc917620e8c | [log] [tgz] |
---|---|---|
author | James Cook <[email protected]> | Wed Aug 16 23:39:22 2017 |
committer | Commit Bot <[email protected]> | Wed Aug 16 23:39:22 2017 |
tree | ef096afd222902eeeca706fe3f17834f8c99498f | |
parent | 213c70cd9c65ef63287417940b93c909e5fa79a9 [diff] [blame] |
cros: Rename NotifyAccessibilityModeChanged Follow up from https://chromium-review.googlesource.com/c/615680 There is no one "mode" for accessibility. Bug: none Test: ash_unittests, browser_tests Change-Id: I34348be335f405061d4ec7fa857a5e9d68cd9f17 Reviewed-on: https://chromium-review.googlesource.com/617472 Commit-Queue: James Cook <[email protected]> Reviewed-by: Dominic Mazzoni <[email protected]> Cr-Commit-Position: refs/heads/master@{#494999}
diff --git a/chrome/browser/chromeos/accessibility/accessibility_manager.cc b/chrome/browser/chromeos/accessibility/accessibility_manager.cc index e8994065..2acf669 100644 --- a/chrome/browser/chromeos/accessibility/accessibility_manager.cc +++ b/chrome/browser/chromeos/accessibility/accessibility_manager.cc
@@ -381,7 +381,7 @@ return; // Update system tray menu visibility. - ash::Shell::Get()->system_tray_notifier()->NotifyAccessibilityModeChanged( + ash::Shell::Get()->system_tray_notifier()->NotifyAccessibilityStatusChanged( ash::A11Y_NOTIFICATION_NONE); } @@ -734,7 +734,7 @@ return; } - ash::Shell::Get()->system_tray_notifier()->NotifyAccessibilityModeChanged( + ash::Shell::Get()->system_tray_notifier()->NotifyAccessibilityStatusChanged( ash::A11Y_NOTIFICATION_NONE); ash::Shell::Get()->autoclick_controller()->SetEnabled(enabled); } @@ -1340,8 +1340,7 @@ // Update system tray menu visibility. if (details.notification_type != ACCESSIBILITY_MANAGER_SHUTDOWN) { - // TODO(jamescook): Rename to NotifyAccessibilityPrefChanged() or similar. - ash::Shell::Get()->system_tray_notifier()->NotifyAccessibilityModeChanged( + ash::Shell::Get()->system_tray_notifier()->NotifyAccessibilityStatusChanged( details.notify); } }