summaryrefslogtreecommitdiffstats
path: root/ui/base/ime/input_method_factory.h
diff options
context:
space:
mode:
authornona@chromium.org <nona@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-04 08:13:01 +0000
committernona@chromium.org <nona@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-04 08:13:01 +0000
commit246879a95bc7273e14b080e0b51dde935c432548 (patch)
tree3a02f2622037a2fd529d06af2ba33cf0413f802e /ui/base/ime/input_method_factory.h
parent81e361f411a6e7e434ab2f35515087744b912340 (diff)
downloadchromium_src-246879a95bc7273e14b080e0b51dde935c432548.zip
chromium_src-246879a95bc7273e14b080e0b51dde935c432548.tar.gz
chromium_src-246879a95bc7273e14b080e0b51dde935c432548.tar.bz2
Introduce TextInputBrowsertest.
This test verifies that the TextInputType should change expected value when the focused node is changed by JavaScript. This CL is a pilot change to check interactive_ui_tests can perform text input related testing. We can't use browser_tests because text input related tests require unique focus and UI interaction. If this patch works fine, I will introduce more tests to increase test coverage. BUG=173951 TEST=try bots Review URL: https://chromiumcodereview.appspot.com/12093105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/ime/input_method_factory.h')
-rw-r--r--ui/base/ime/input_method_factory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/base/ime/input_method_factory.h b/ui/base/ime/input_method_factory.h
index db56bf74..0543edc 100644
--- a/ui/base/ime/input_method_factory.h
+++ b/ui/base/ime/input_method_factory.h
@@ -22,6 +22,9 @@ UI_EXPORT InputMethod* CreateInputMethod(
internal::InputMethodDelegate* delegate,
gfx::AcceleratedWidget widget);
+// With calling this function, CreateInputMethod will return MockInputMethod.
+UI_EXPORT void SetUpInputMethodFacotryForTesting();
+
} // namespace ui;
#endif // UI_BASE_IME_INPUT_METHOD_FACTORY_H_