| Index: content/common/browser_plugin/browser_plugin_messages.h
|
| diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h
|
| index 4d2c47740bf977b608cad096380d636ac8c03103..c85b2299c95386149b4befde7b523b1c67743b5d 100644
|
| --- a/content/common/browser_plugin/browser_plugin_messages.h
|
| +++ b/content/common/browser_plugin/browser_plugin_messages.h
|
| @@ -22,6 +22,7 @@
|
| #include "ipc/ipc_message_macros.h"
|
| #include "ipc/ipc_message_utils.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| +#include "third_party/WebKit/public/web/WebCompositionUnderline.h"
|
| #include "third_party/WebKit/public/web/WebDragOperation.h"
|
| #include "third_party/WebKit/public/web/WebDragStatus.h"
|
| #include "ui/gfx/point.h"
|
| @@ -155,6 +156,30 @@ IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetEditCommandsForNextKeyEvent,
|
| int /* instance_id */,
|
| std::vector<content::EditCommand> /* edit_commands */)
|
|
|
| +// This message is sent from BrowserPlugin to BrowserPluginGuest whenever IME
|
| +// composition state is updated.
|
| +IPC_MESSAGE_ROUTED5(
|
| + BrowserPluginHostMsg_ImeSetComposition,
|
| + int /* instance_id */,
|
| + std::string /* text */,
|
| + std::vector<blink::WebCompositionUnderline> /* underlines */,
|
| + int /* selectiont_start */,
|
| + int /* selection_end */)
|
| +
|
| +// This message is sent from BrowserPlugin to BrowserPluginGuest to notify that
|
| +// confirming the current composition is requested.
|
| +IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_ImeConfirmComposition,
|
| + int /* instance_id */,
|
| + std::string /* text */,
|
| + bool /* keep selection */)
|
| +
|
| +// Deletes the current selection plus the specified number of characters before
|
| +// and after the selection or caret.
|
| +IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_ExtendSelectionAndDelete,
|
| + int /* instance_id */,
|
| + int /* before */,
|
| + int /* after */)
|
| +
|
| // This message is sent to the browser process to enable or disable autosize
|
| // mode.
|
| IPC_MESSAGE_ROUTED3(
|
| @@ -382,4 +407,3 @@ IPC_MESSAGE_CONTROL5(BrowserPluginMsg_CompositorFrameSwapped,
|
| IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock,
|
| int /* instance_id */,
|
| bool /* enable */)
|
| -
|
|
|