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

Unified Diff: ash/aura/wm_shell_aura.cc

Issue 2086503003: mash: Migrate tray IME view to wm common types, move to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@movea11y
Patch Set: review comments, fix linux/win Created 4 years, 6 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/aura/wm_shell_aura.cc
diff --git a/ash/aura/wm_shell_aura.cc b/ash/aura/wm_shell_aura.cc
index 2021b6f783696dd65dc890117d9a015d01443584..b888effd8915799baf53dc5e6c316249d0433268 100644
--- a/ash/aura/wm_shell_aura.cc
+++ b/ash/aura/wm_shell_aura.cc
@@ -22,6 +22,10 @@
#include "ui/aura/client/focus_client.h"
#include "ui/wm/public/activation_client.h"
+#if defined(OS_CHROMEOS)
+#include "ash/virtual_keyboard_controller.h"
+#endif
+
namespace ash {
WmShellAura::WmShellAura(WmShellCommon* wm_shell_common)
@@ -211,4 +215,12 @@ void WmShellAura::OnDisplayConfigurationChanged() {
OnDisplayConfigurationChanged());
}
+#if defined(OS_CHROMEOS)
+void WmShellAura::ToggleIgnoreExternalKeyboard() {
+ Shell::GetInstance()
+ ->virtual_keyboard_controller()
+ ->ToggleIgnoreExternalKeyboard();
+}
+#endif
+
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698