| Index: ui/base/ui_base_switches_util.cc
|
| diff --git a/ui/base/ui_base_switches_util.cc b/ui/base/ui_base_switches_util.cc
|
| index 3089607af86617537edc617cf670492488a10453..44d8288cf580e88b94d5128fb0485720c53ddc9f 100644
|
| --- a/ui/base/ui_base_switches_util.cc
|
| +++ b/ui/base/ui_base_switches_util.cc
|
| @@ -7,8 +7,20 @@
|
| #include "base/command_line.h"
|
| #include "ui/base/ui_base_switches.h"
|
|
|
| +namespace {
|
| +
|
| +bool g_text_input_focus_manager_enabled_for_testing = false;
|
| +
|
| +} // namespace
|
| +
|
| namespace switches {
|
|
|
| +bool IsTextInputFocusManagerEnabled() {
|
| + return g_text_input_focus_manager_enabled_for_testing
|
| + || CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableTextInputFocusManager);
|
| +}
|
| +
|
| bool IsTouchDragDropEnabled() {
|
| #if defined(OS_CHROMEOS)
|
| return !CommandLine::ForCurrentProcess()->HasSwitch(
|
|
|