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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // confirming the current composition is requested. |
77 IPC_MESSAGE_CONTROL3(BrowserPluginHostMsg_ImeConfirmComposition, | 77 IPC_MESSAGE_CONTROL4(BrowserPluginHostMsg_ImeConfirmComposition, |
78 int /* browser_plugin_instance_id */, | 78 int /* browser_plugin_instance_id */, |
79 std::string /* text */, | 79 std::string /* text */, |
80 bool /* keep selection */) | 80 bool /* keep selection */, |
| 81 int /* new_cursor_pos */) |
81 | 82 |
82 // Deletes the current selection plus the specified number of characters before | 83 // Deletes the current selection plus the specified number of characters before |
83 // and after the selection or caret. | 84 // and after the selection or caret. |
84 IPC_MESSAGE_CONTROL3(BrowserPluginHostMsg_ExtendSelectionAndDelete, | 85 IPC_MESSAGE_CONTROL3(BrowserPluginHostMsg_ExtendSelectionAndDelete, |
85 int /* browser_plugin_instance_id */, | 86 int /* browser_plugin_instance_id */, |
86 int /* before */, | 87 int /* before */, |
87 int /* after */) | 88 int /* after */) |
88 | 89 |
89 // This message is sent to the browser process to indicate that the | 90 // This message is sent to the browser process to indicate that the |
90 // BrowserPlugin identified by |browser_plugin_instance_id| is ready to serve | 91 // BrowserPlugin identified by |browser_plugin_instance_id| is ready to serve |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 | 184 |
184 // Forwards a PointerLock Unlock request to the BrowserPlugin. | 185 // Forwards a PointerLock Unlock request to the BrowserPlugin. |
185 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, | 186 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, |
186 int /* browser_plugin_instance_id */, | 187 int /* browser_plugin_instance_id */, |
187 bool /* enable */) | 188 bool /* enable */) |
188 | 189 |
189 // Sends text to be displayed in tooltip. | 190 // Sends text to be displayed in tooltip. |
190 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetTooltipText, | 191 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetTooltipText, |
191 int /* browser_plugin_instance_id */, | 192 int /* browser_plugin_instance_id */, |
192 base::string16 /* tooltip_text */) | 193 base::string16 /* tooltip_text */) |
OLD | NEW |