Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(775)

Unified Diff: ui/base/ime/input_method_observer.h

Issue 13932030: Delayed loading of the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix failing test Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/ime/input_method_base.cc ('k') | ui/base/ime/mock_input_method.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_observer.h
diff --git a/ui/base/ime/input_method_observer.h b/ui/base/ime/input_method_observer.h
index 84de8af5493da75d1c2dd4810b5d40144f6e7284..195da9c48934fea7f857c39fafcab2ece9de5f35 100644
--- a/ui/base/ime/input_method_observer.h
+++ b/ui/base/ime/input_method_observer.h
@@ -9,6 +9,7 @@
namespace ui {
+class InputMethod;
class TextInputClient;
class UI_EXPORT InputMethodObserver {
@@ -19,6 +20,9 @@ class UI_EXPORT InputMethodObserver {
// - the TextInputClient is changed (e.g. by a change of focus)
// - the TextInputType of the TextInputClient changes
virtual void OnTextInputStateChanged(const TextInputClient* client) = 0;
+
+ // Called when the observed InputMethod is being destroyed.
+ virtual void OnInputMethodDestroyed(const InputMethod* input_method) = 0;
};
} // namespace ui
« no previous file with comments | « ui/base/ime/input_method_base.cc ('k') | ui/base/ime/mock_input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698