Index: ui/keyboard/keyboard_util.cc |
diff --git a/ui/keyboard/keyboard_util.cc b/ui/keyboard/keyboard_util.cc |
index 35d9f196347bd043570465839a7e35c691543ae1..86f16dad9ccc22a916a736077a02ed0cf3a9f560 100644 |
--- a/ui/keyboard/keyboard_util.cc |
+++ b/ui/keyboard/keyboard_util.cc |
@@ -50,6 +50,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; |
@@ -84,6 +86,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; |
} |