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

Unified Diff: ui/keyboard/keyboard_util.cc

Issue 313983002: Add flag to enable experimental features for input view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Doc tweaks. Created 6 years, 6 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 9c89e6442b3a4ca5119511cfff249e1b63fdb3f1..ebc987ffa3aaf86038bb39206293f230f0d0a0a7 100644
--- a/ui/keyboard/keyboard_util.cc
+++ b/ui/keyboard/keyboard_util.cc
@@ -145,6 +145,14 @@ bool IsInputViewEnabled() {
return true;
}
+bool IsExperimentalInputViewEnabled() {
+ if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableExperimentalInputViewFeatures)) {
+ return true;
+ }
+ return false;
+}
+
bool InsertText(const base::string16& text, aura::Window* root_window) {
if (!root_window)
return false;
« 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