| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index 395ff9e6508149e515668ea0a82ba6411e1209b0..cc954ebf197b43fd0d9f3e34baba3902487b509c 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -792,6 +792,27 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params)
|
| IPC_STRUCT_MEMBER(string16, frame_name)
|
| IPC_STRUCT_END()
|
|
|
| +IPC_STRUCT_BEGIN(ViewHostMsg_ImeUpdateTextInputState_Params)
|
| + // text input type.
|
| + IPC_STRUCT_MEMBER(ui::TextInputType, text_input_type)
|
| +
|
| + // can compose inline.
|
| + IPC_STRUCT_MEMBER(bool, can_compose_inline)
|
| +
|
| + // caret rectangle.
|
| + IPC_STRUCT_MEMBER(gfx::Rect, caret_bounds)
|
| +
|
| + // surrounding text.
|
| + IPC_STRUCT_MEMBER(string16, surrounding)
|
| +
|
| + // curosr.
|
| + IPC_STRUCT_MEMBER(size_t, cursor)
|
| +
|
| + // anchor.
|
| + IPC_STRUCT_MEMBER(size_t, anchor)
|
| +IPC_STRUCT_END()
|
| +
|
| +
|
| // Messages sent from the browser to the renderer.
|
|
|
| // Used typically when recovering from a crash. The new rendering process
|
| @@ -1837,11 +1858,8 @@ IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowRect,
|
| gfx::Rect /* Out: Window location */)
|
|
|
| // Required for updating text input state.
|
| -IPC_MESSAGE_ROUTED3(ViewHostMsg_ImeUpdateTextInputState,
|
| - ui::TextInputType, /* text_input_type */
|
| - bool, /* can_compose_inline */
|
| - gfx::Rect /* caret_rect */)
|
| -
|
| +IPC_MESSAGE_ROUTED1(ViewHostMsg_ImeUpdateTextInputState,
|
| + ViewHostMsg_ImeUpdateTextInputState_Params)
|
|
|
| // Message sent when the IME text composition range changes.
|
| IPC_MESSAGE_ROUTED1(ViewHostMsg_ImeCompositionRangeChanged,
|
|
|