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

Unified Diff: chromeos/ime/input_method_manager.cc

Issue 676593004: Adds experimental flag --enable-experimental-ime-features. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: chromeos/ime/input_method_manager.cc
diff --git a/chromeos/ime/input_method_manager.cc b/chromeos/ime/input_method_manager.cc
index c620a9242b9153a2ccdcbb34bea44f8ebb06d0da..0488fe514b8d83f2257e2a02d786ad61b88ee69b 100644
--- a/chromeos/ime/input_method_manager.cc
+++ b/chromeos/ime/input_method_manager.cc
@@ -4,7 +4,9 @@
#include "chromeos/ime/input_method_manager.h"
+#include "base/command_line.h"
#include "base/logging.h"
+#include "chromeos/chromeos_switches.h"
namespace chromeos {
namespace input_method {
@@ -35,5 +37,11 @@ void InputMethodManager::Shutdown() {
g_input_method_manager = NULL;
}
+// static
+bool InputMethodManager::IsExperimentalImeFeaturesEnabled() {
+ return CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableExperimentalImeFeatures);
+}
+
} // namespace input_method
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698