Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Unified Diff: ui/keyboard/keyboard_util.cc

Issue 1339763004: Add chrome.virtualKeyboardPrivate.setHotrodKeyboard api (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2490
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/keyboard/keyboard_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « ui/keyboard/keyboard_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698