Index: ui/keyboard/keyboard_util.cc |
diff --git a/ui/keyboard/keyboard_util.cc b/ui/keyboard/keyboard_util.cc |
index d197d73d7a86d1ffc977cbdcef8f4a1d5e8d80c9..a98fe022669a115f1b96bf38daf71070c72b7eb8 100644 |
--- a/ui/keyboard/keyboard_util.cc |
+++ b/ui/keyboard/keyboard_util.cc |
@@ -47,6 +47,11 @@ bool IsKeyboardEnabled() { |
} |
+bool IsKeyboardUsabilityTestEnabled() { |
+ return CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kKeyboardUsabilityTest); |
+} |
+ |
bool InsertText(const base::string16& text, aura::Window* root_window) { |
if (!root_window) |
return false; |