diff options
author | komatsu@chromium.org <komatsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-08 00:22:06 +0000 |
---|---|---|
committer | komatsu@chromium.org <komatsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-08 00:22:06 +0000 |
commit | aacffcfa7d0e6a3fcc2c874439bf0eeec5a7ac07 (patch) | |
tree | be66f683c3c13c40fb55eba245029f418b4415fe /ui/base/ime/mock_input_method.cc | |
parent | 306f2be5b0692799b9870a2c92d00cef51e7b25d (diff) | |
download | chromium_src-aacffcfa7d0e6a3fcc2c874439bf0eeec5a7ac07.zip chromium_src-aacffcfa7d0e6a3fcc2c874439bf0eeec5a7ac07.tar.gz chromium_src-aacffcfa7d0e6a3fcc2c874439bf0eeec5a7ac07.tar.bz2 |
Change the argument of DispatchKeyEvent and make DispatchFabricatedKeyEvent private.
This is the first step to enable to propagate fabricated keyevents to IMEs. I will also change other functions' argument from base::NatveiEvent to ui::KeyEvent.
After that, I will modify InputMethodIBus::DispatchFabricatedKeyEvent to call IBusEngineHandlerInterface::ProcessKeyEvent.
BUG=312218
Review URL: https://codereview.chromium.org/48203002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233720 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/ime/mock_input_method.cc')
-rw-r--r-- | ui/base/ime/mock_input_method.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/base/ime/mock_input_method.cc b/ui/base/ime/mock_input_method.cc index 48b2ca0..f0a7a08 100644 --- a/ui/base/ime/mock_input_method.cc +++ b/ui/base/ime/mock_input_method.cc @@ -34,11 +34,7 @@ TextInputClient* MockInputMethod::GetTextInputClient() const { return text_input_client_; } -bool MockInputMethod::DispatchKeyEvent(const base::NativeEvent& native_event) { - return false; -} - -bool MockInputMethod::DispatchFabricatedKeyEvent(const ui::KeyEvent& event) { +bool MockInputMethod::DispatchKeyEvent(const ui::KeyEvent& event) { return false; } |