diff options
author | bryeung@chromium.org <bryeung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-17 12:32:51 +0000 |
---|---|---|
committer | bryeung@chromium.org <bryeung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-17 12:32:51 +0000 |
commit | e0f71136250261a6bb464dd56edbe549dbd9fa5a (patch) | |
tree | e67ed33152ac2df76e7a6711393afd03f9f1d508 /ui/base/ime/mock_input_method.h | |
parent | a8126e8c6c7b5e8fbed2c7c161a567dc81a93a92 (diff) | |
download | chromium_src-e0f71136250261a6bb464dd56edbe549dbd9fa5a.zip chromium_src-e0f71136250261a6bb464dd56edbe549dbd9fa5a.tar.gz chromium_src-e0f71136250261a6bb464dd56edbe549dbd9fa5a.tar.bz2 |
Delayed loading of the virtual keyboard.
Don't create the virtual keyboard until it is first shown. This helps
prevent some start-up races.
Also clean-up some of the object ownership between KeyboardController
and KeyboardLayoutManager. Each pointer exists in only one or the
other object now.
BUG=none
Review URL: https://codereview.chromium.org/13932030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194580 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/ime/mock_input_method.h')
-rw-r--r-- | ui/base/ime/mock_input_method.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/base/ime/mock_input_method.h b/ui/base/ime/mock_input_method.h index 5c67027..aaaab11 100644 --- a/ui/base/ime/mock_input_method.h +++ b/ui/base/ime/mock_input_method.h @@ -34,6 +34,7 @@ class UI_EXPORT MockInputMethod : NON_EXPORTED_BASE(public InputMethod) { // InputMethodObserver overrides virtual void OnTextInputStateChanged(const TextInputClient* client) = 0; + virtual void OnInputMethodDestroyed(const InputMethod* input_method) = 0; }; explicit MockInputMethod(internal::InputMethodDelegate* delegate); virtual ~MockInputMethod(); |