From 246879a95bc7273e14b080e0b51dde935c432548 Mon Sep 17 00:00:00 2001 From: "nona@chromium.org" Date: Mon, 4 Feb 2013 08:13:01 +0000 Subject: 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 --- ui/base/ime/input_method_factory.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/base/ime/input_method_factory.h') 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_ -- cgit v1.1