Commit adb6f937 authored by Darren Shen's avatar Darren Shen Committed by Commit Bot

[VK] Disable gesture editing feature in new UI.

Gesture editing is not supported in the new UI. So we should disable
the flag so that it doesn't appear in the keyboard settings page.

Bug: 890134
Change-Id: I7dc3c6d05bad6e19e8cbfe0a6f89de603f4ddce5
Reviewed-on: https://chromium-review.googlesource.com/1250683Reviewed-by: default avatarYuichiro Hanada <yhanada@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595384}
parent d87cc312
...@@ -222,8 +222,11 @@ bool IsGestureTypingEnabled() { ...@@ -222,8 +222,11 @@ bool IsGestureTypingEnabled() {
} }
bool IsGestureEditingEnabled() { bool IsGestureEditingEnabled() {
return !base::CommandLine::ForCurrentProcess()->HasSwitch( // TODO(https://crbug.com/890134): Gesture editing is not implemented in the
switches::kDisableGestureEditing); // new UI.
return !IsVirtualKeyboardMdUiEnabled() &&
!base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableGestureEditing);
} }
bool IsImeServiceEnabled() { bool IsImeServiceEnabled() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment