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 |