Index: ui/keyboard/keyboard_util.cc |
diff --git a/ui/keyboard/keyboard_util.cc b/ui/keyboard/keyboard_util.cc |
index eba9a8f7378e4377a7a66c82475420099bbf761c..47f8417c9caa354fcc967dc9e6dc054d58b5ea85 100644 |
--- a/ui/keyboard/keyboard_util.cc |
+++ b/ui/keyboard/keyboard_util.cc |
@@ -48,6 +48,8 @@ base::LazyInstance<base::Time> g_keyboard_load_time_start = |
bool g_accessibility_keyboard_enabled = false; |
+bool g_hotrod_keyboard_enabled = false; |
+ |
base::LazyInstance<GURL> g_override_content_url = LAZY_INSTANCE_INITIALIZER; |
bool g_touch_keyboard_enabled = false; |
@@ -82,6 +84,14 @@ bool GetAccessibilityKeyboardEnabled() { |
return g_accessibility_keyboard_enabled; |
} |
+void SetHotrodKeyboardEnabled(bool enabled) { |
+ g_hotrod_keyboard_enabled = enabled; |
+} |
+ |
+bool GetHotrodKeyboardEnabled() { |
+ return g_hotrod_keyboard_enabled; |
+} |
+ |
void SetTouchKeyboardEnabled(bool enabled) { |
g_touch_keyboard_enabled = enabled; |
} |