| Index: content/browser/renderer_host/text_input_manager.h
|
| diff --git a/content/browser/renderer_host/text_input_manager.h b/content/browser/renderer_host/text_input_manager.h
|
| index 39309a58342d79e126b7b0ad9d279d5f2ec8cbad..b5fde7f6dc39b13ad404320995bc8d8376e57d88 100644
|
| --- a/content/browser/renderer_host/text_input_manager.h
|
| +++ b/content/browser/renderer_host/text_input_manager.h
|
| @@ -36,6 +36,11 @@ class CONTENT_EXPORT TextInputManager {
|
| TextInputManager* text_input_manager,
|
| RenderWidgetHostViewBase* updated_view,
|
| bool did_update_state) {}
|
| + // Called when |updated_view| has called ImeCancelComposition on
|
| + // TextInputManager.
|
| + virtual void OnImeCancelComposition(
|
| + TextInputManager* text_input_manager,
|
| + RenderWidgetHostViewBase* updated_view) {}
|
| };
|
|
|
| TextInputManager();
|
| @@ -62,6 +67,10 @@ class CONTENT_EXPORT TextInputManager {
|
| void UpdateTextInputState(RenderWidgetHostViewBase* view,
|
| const TextInputState& state);
|
|
|
| + // The current IME composition has been cancelled on the renderer side for
|
| + // the widget corresponding to |view|.
|
| + void ImeCancelComposition(RenderWidgetHostViewBase* view);
|
| +
|
| // Registers the given |view| for tracking its TextInputState. This is called
|
| // by any view which has updates in its TextInputState (whether tab's RWHV or
|
| // that of a child frame). The |view| must unregister itself before being
|
|
|