Index: ui/keyboard/keyboard_util.cc |
diff --git a/ui/keyboard/keyboard_util.cc b/ui/keyboard/keyboard_util.cc |
index 8a67e54260814d88f1b051577a67d8ac66b74f6f..3c126c3e638b4dab3e18ba83fcff3e5c262a6aae 100644 |
--- a/ui/keyboard/keyboard_util.cc |
+++ b/ui/keyboard/keyboard_util.cc |
@@ -154,11 +154,13 @@ bool IsInputViewEnabled() { |
} |
bool IsExperimentalInputViewEnabled() { |
- if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableExperimentalInputViewFeatures)) { |
- return true; |
- } |
- return false; |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableExperimentalInputViewFeatures); |
+} |
+ |
+bool IsGestureTypingEnabled() { |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableGestureTyping); |
} |
bool InsertText(const base::string16& text) { |