summaryrefslogtreecommitdiffstats
path: root/chromium/ui/base/ui_base_switches_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/base/ui_base_switches_util.cc')
-rw-r--r--chromium/ui/base/ui_base_switches_util.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/chromium/ui/base/ui_base_switches_util.cc b/chromium/ui/base/ui_base_switches_util.cc
index 3089607af86..ba20e53f7fa 100644
--- a/chromium/ui/base/ui_base_switches_util.cc
+++ b/chromium/ui/base/ui_base_switches_util.cc
@@ -9,6 +9,11 @@
namespace switches {
+bool IsTextInputFocusManagerEnabled() {
+ return CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableTextInputFocusManager);
+}
+
bool IsTouchDragDropEnabled() {
#if defined(OS_CHROMEOS)
return !CommandLine::ForCurrentProcess()->HasSwitch(
@@ -20,7 +25,7 @@ bool IsTouchDragDropEnabled() {
}
bool IsTouchEditingEnabled() {
-#if defined(OS_CHROMEOS)
+#if defined(USE_AURA)
return !CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableTouchEditing);
#else