OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 // IPC messages for input events and other messages that require processing in | 5 // IPC messages for input events and other messages that require processing in |
6 // order relative to input events. | 6 // order relative to input events. |
7 // Multiply-included message file, hence no include guard. | 7 // Multiply-included message file, hence no include guard. |
8 | 8 |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 IPC_MESSAGE_ROUTED0(InputMsg_SelectAll) | 195 IPC_MESSAGE_ROUTED0(InputMsg_SelectAll) |
196 | 196 |
197 IPC_MESSAGE_ROUTED0(InputMsg_Unselect) | 197 IPC_MESSAGE_ROUTED0(InputMsg_Unselect) |
198 | 198 |
199 // Requests the renderer to select the region between two points. | 199 // Requests the renderer to select the region between two points. |
200 // Expects a SelectRange_ACK message when finished. | 200 // Expects a SelectRange_ACK message when finished. |
201 IPC_MESSAGE_ROUTED2(InputMsg_SelectRange, | 201 IPC_MESSAGE_ROUTED2(InputMsg_SelectRange, |
202 gfx::Point /* start */, | 202 gfx::Point /* start */, |
203 gfx::Point /* end */) | 203 gfx::Point /* end */) |
204 | 204 |
| 205 // Requests the renderer to move the selection extent point to a new position. |
| 206 IPC_MESSAGE_ROUTED1(InputMsg_MoveSelectionExtent, |
| 207 gfx::Point /* point */) |
| 208 |
205 // Requests the renderer to move the caret selection toward the point. | 209 // Requests the renderer to move the caret selection toward the point. |
206 // Expects a MoveCaret_ACK message when finished. | 210 // Expects a MoveCaret_ACK message when finished. |
207 IPC_MESSAGE_ROUTED1(InputMsg_MoveCaret, | 211 IPC_MESSAGE_ROUTED1(InputMsg_MoveCaret, |
208 gfx::Point /* location */) | 212 gfx::Point /* location */) |
209 | 213 |
210 #if defined(OS_ANDROID) | 214 #if defined(OS_ANDROID) |
211 // Sent when the user clicks on the find result bar to activate a find result. | 215 // Sent when the user clicks on the find result bar to activate a find result. |
212 // The point (x,y) is in fractions of the content document's width and height. | 216 // The point (x,y) is in fractions of the content document's width and height. |
213 IPC_MESSAGE_ROUTED3(InputMsg_ActivateNearestFindResult, | 217 IPC_MESSAGE_ROUTED3(InputMsg_ActivateNearestFindResult, |
214 int /* request_id */, | 218 int /* request_id */, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 // bounds after every composition change to always have correct bound info. | 250 // bounds after every composition change to always have correct bound info. |
247 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 251 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
248 gfx::Range /* composition range */, | 252 gfx::Range /* composition range */, |
249 std::vector<gfx::Rect> /* character bounds */) | 253 std::vector<gfx::Rect> /* character bounds */) |
250 #endif | 254 #endif |
251 | 255 |
252 // Adding a new message? Stick to the sort order above: first platform | 256 // Adding a new message? Stick to the sort order above: first platform |
253 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 257 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
254 // platform independent InputHostMsg, then ifdefs for platform specific | 258 // platform independent InputHostMsg, then ifdefs for platform specific |
255 // InputHostMsg. | 259 // InputHostMsg. |
OLD | NEW |