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 |