Chromium Code Reviews| Index: content/common/view_messages.h |
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
| index 0698af620236186c4e783c0761321913a1a99440..ffdb112a3b3bdc1fd29ccc6ca8371bc843e0931d 100644 |
| --- a/content/common/view_messages.h |
| +++ b/content/common/view_messages.h |
| @@ -914,6 +914,11 @@ IPC_MESSAGE_ROUTED1(ViewMsg_Replace, |
| IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
| IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
| +// Requests the renderer to select the region between two points. |
| +IPC_MESSAGE_ROUTED2(ViewMsg_SelectRect, |
| + gfx::Point /* start */, |
| + gfx::Point /* end */) |
| + |
| // Copies the image at location x, y to the clipboard (if there indeed is an |
| // image at that location). |
| IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
| @@ -1702,9 +1707,11 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, |
| WebKit::WebTextDirection /* text direction hint */) |
| // Notification that the text selection has changed. |
| -IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionChanged, |
| +IPC_MESSAGE_ROUTED4(ViewHostMsg_SelectionChanged, |
| std::string /* currently selected text */, |
| - ui::Range /* selection range */) |
| + ui::Range /* selection range */, |
| + gfx::Point, |
|
darin (slow to review)
2011/08/04 18:15:57
probably a single gfx::Rect would be better here
varunjain
2011/08/04 19:25:22
As I mentioned in the other comment, selection may
|
| + gfx::Point /* visual end points of selection */) |
| // Asks the browser to display the file chooser. The result is returned in a |
| // ViewHost_RunFileChooserResponse message. |