| Index: ash/accelerators/accelerator_controller.cc
|
| diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
|
| index e7743ffba4540821e8864da1284e9caf2352287e..99b9d9272dda1cf8bad23f92eb38147811a4b0ea 100644
|
| --- a/ash/accelerators/accelerator_controller.cc
|
| +++ b/ash/accelerators/accelerator_controller.cc
|
| @@ -484,7 +484,7 @@ bool CanHandleToggleAppList(const ui::Accelerator& accelerator,
|
| // When spoken feedback is enabled, we should neither toggle the list nor
|
| // consume the key since Search+Shift is one of the shortcuts the a11y
|
| // feature uses. crbug.com/132296
|
| - if (WmShell::Get()->GetAccessibilityDelegate()->IsSpokenFeedbackEnabled())
|
| + if (WmShell::Get()->accessibility_delegate()->IsSpokenFeedbackEnabled())
|
| return false;
|
| }
|
| return true;
|
| @@ -666,7 +666,7 @@ void HandleToggleMirrorMode() {
|
| void HandleToggleSpokenFeedback() {
|
| base::RecordAction(UserMetricsAction("Accel_Toggle_Spoken_Feedback"));
|
|
|
| - WmShell::Get()->GetAccessibilityDelegate()->ToggleSpokenFeedback(
|
| + WmShell::Get()->accessibility_delegate()->ToggleSpokenFeedback(
|
| A11Y_NOTIFICATION_SHOW);
|
| }
|
|
|
| @@ -1407,7 +1407,7 @@ AcceleratorController::GetAcceleratorProcessingRestriction(int action) {
|
| }
|
| if (wm_shell->mru_window_tracker()->BuildMruWindowList().empty() &&
|
| actions_needing_window_.find(action) != actions_needing_window_.end()) {
|
| - wm_shell->GetAccessibilityDelegate()->TriggerAccessibilityAlert(
|
| + wm_shell->accessibility_delegate()->TriggerAccessibilityAlert(
|
| A11Y_ALERT_WINDOW_NEEDED);
|
| return RESTRICTION_PREVENT_PROCESSING_AND_PROPAGATION;
|
| }
|
|
|