| Index: ui/keyboard/keyboard_util.cc
|
| diff --git a/ui/keyboard/keyboard_util.cc b/ui/keyboard/keyboard_util.cc
|
| index 00b9f9e99d779d17319039c4fea5c0f638da0fca..f78b729256151f3905f0b858960fa941280732e2 100644
|
| --- a/ui/keyboard/keyboard_util.cc
|
| +++ b/ui/keyboard/keyboard_util.cc
|
| @@ -177,6 +177,13 @@ bool IsGestureEditingEnabled() {
|
| return keyboard_switch == switches::kGestureEditingEnabled;
|
| }
|
|
|
| +bool IsSmartDeployEnabled() {
|
| + std::string keyboard_switch =
|
| + base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
|
| + switches::kSmartVirtualKeyboard);
|
| + return keyboard_switch != switches::kSmartVirtualKeyboardDisabled;
|
| +}
|
| +
|
| bool IsMaterialDesignEnabled() {
|
| return !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kDisableNewMDInputView);
|
|
|