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

Unified Diff: ash/common/keyboard/keyboard_ui.cc

Issue 2154523002: Move AccessibilityDelegate ownership to ash::WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@setmediadelegate
Patch Set: fix mash_unittests Created 4 years, 5 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/aura/wm_shell_aura.cc ('k') | ash/common/system/ime/tray_ime_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/keyboard/keyboard_ui.cc
diff --git a/ash/common/keyboard/keyboard_ui.cc b/ash/common/keyboard/keyboard_ui.cc
index 99067def6dbc0b11ac8223544befefe00940aea9..c9d2fe9c8c167b3a0ad9bdf11bec13bcedd0dc94 100644
--- a/ash/common/keyboard/keyboard_ui.cc
+++ b/ash/common/keyboard/keyboard_ui.cc
@@ -35,9 +35,7 @@ class KeyboardUIImpl : public KeyboardUI, public AccessibilityObserver {
// to the appropriate keyboard functions.
}
bool IsEnabled() override {
- return WmShell::Get()
- ->GetAccessibilityDelegate()
- ->IsVirtualKeyboardEnabled();
+ return WmShell::Get()->accessibility_delegate()->IsVirtualKeyboardEnabled();
}
// AccessibilityObserver:
« no previous file with comments | « ash/aura/wm_shell_aura.cc ('k') | ash/common/system/ime/tray_ime_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698