OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Multiply-included message header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "cc/surfaces/surface.h" | 10 #include "cc/surfaces/surface.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // composition state is updated. | 66 // composition state is updated. |
67 IPC_MESSAGE_CONTROL5( | 67 IPC_MESSAGE_CONTROL5( |
68 BrowserPluginHostMsg_ImeSetComposition, | 68 BrowserPluginHostMsg_ImeSetComposition, |
69 int /* browser_plugin_instance_id */, | 69 int /* browser_plugin_instance_id */, |
70 std::string /* text */, | 70 std::string /* text */, |
71 std::vector<blink::WebCompositionUnderline> /* underlines */, | 71 std::vector<blink::WebCompositionUnderline> /* underlines */, |
72 int /* selectiont_start */, | 72 int /* selectiont_start */, |
73 int /* selection_end */) | 73 int /* selection_end */) |
74 | 74 |
75 // This message is sent from BrowserPlugin to BrowserPluginGuest to notify that | 75 // This message is sent from BrowserPlugin to BrowserPluginGuest to notify that |
76 // confirming the current composition is requested. | 76 // deleting the current composition and inserting specified text is requested. |
77 IPC_MESSAGE_CONTROL3(BrowserPluginHostMsg_ImeConfirmComposition, | 77 IPC_MESSAGE_CONTROL3(BrowserPluginHostMsg_ImeCommitText, |
78 int /* browser_plugin_instance_id */, | 78 int /* browser_plugin_instance_id */, |
79 std::string /* text */, | 79 std::string /* text */, |
| 80 int /* relative_cursor_pos */) |
| 81 |
| 82 // This message is sent from BrowserPlugin to BrowserPluginGuest to notify that |
| 83 // inserting the current composition is requested. |
| 84 IPC_MESSAGE_CONTROL1(BrowserPluginHostMsg_ImeFinishComposingText, |
80 bool /* keep selection */) | 85 bool /* keep selection */) |
81 | 86 |
82 // Deletes the current selection plus the specified number of characters before | 87 // Deletes the current selection plus the specified number of characters before |
83 // and after the selection or caret. | 88 // and after the selection or caret. |
84 IPC_MESSAGE_CONTROL3(BrowserPluginHostMsg_ExtendSelectionAndDelete, | 89 IPC_MESSAGE_CONTROL3(BrowserPluginHostMsg_ExtendSelectionAndDelete, |
85 int /* browser_plugin_instance_id */, | 90 int /* browser_plugin_instance_id */, |
86 int /* before */, | 91 int /* before */, |
87 int /* after */) | 92 int /* after */) |
88 | 93 |
89 // This message is sent to the browser process to indicate that the | 94 // This message is sent to the browser process to indicate that the |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 | 188 |
184 // Forwards a PointerLock Unlock request to the BrowserPlugin. | 189 // Forwards a PointerLock Unlock request to the BrowserPlugin. |
185 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, | 190 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, |
186 int /* browser_plugin_instance_id */, | 191 int /* browser_plugin_instance_id */, |
187 bool /* enable */) | 192 bool /* enable */) |
188 | 193 |
189 // Sends text to be displayed in tooltip. | 194 // Sends text to be displayed in tooltip. |
190 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetTooltipText, | 195 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetTooltipText, |
191 int /* browser_plugin_instance_id */, | 196 int /* browser_plugin_instance_id */, |
192 base::string16 /* tooltip_text */) | 197 base::string16 /* tooltip_text */) |
OLD | NEW |