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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
968 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) | 968 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) |
969 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) | 969 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) |
970 // Replaces the selected region or a word around the cursor with the | 970 // Replaces the selected region or a word around the cursor with the |
971 // specified string. | 971 // specified string. |
972 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, | 972 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, |
973 string16) | 973 string16) |
974 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) | 974 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
975 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) | 975 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
976 | 976 |
977 // Requests the renderer to select the region between two points. | 977 // Requests the renderer to select the region between two points. |
| 978 // Expects a SelectRange_ACK message when finished. |
978 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, | 979 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, |
979 gfx::Point /* start */, | 980 gfx::Point /* start */, |
980 gfx::Point /* end */) | 981 gfx::Point /* end */) |
981 | 982 |
982 // Copies the image at location x, y to the clipboard (if there indeed is an | 983 // Copies the image at location x, y to the clipboard (if there indeed is an |
983 // image at that location). | 984 // image at that location). |
984 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, | 985 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
985 int /* x */, | 986 int /* x */, |
986 int /* y */) | 987 int /* y */) |
987 | 988 |
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1831 uint32 /* buffer size */, | 1832 uint32 /* buffer size */, |
1832 base::SharedMemoryHandle /* font data */, | 1833 base::SharedMemoryHandle /* font data */, |
1833 uint32 /* font id */) | 1834 uint32 /* font id */) |
1834 #endif | 1835 #endif |
1835 | 1836 |
1836 // Send the tooltip text for the current mouse position to the browser. | 1837 // Send the tooltip text for the current mouse position to the browser. |
1837 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, | 1838 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, |
1838 string16 /* tooltip text string */, | 1839 string16 /* tooltip text string */, |
1839 WebKit::WebTextDirection /* text direction hint */) | 1840 WebKit::WebTextDirection /* text direction hint */) |
1840 | 1841 |
| 1842 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK) |
| 1843 |
1841 // Notification that the text selection has changed. | 1844 // Notification that the text selection has changed. |
1842 // Note: The secound parameter is the character based offset of the string16 | 1845 // Note: The secound parameter is the character based offset of the string16 |
1843 // text in the document. | 1846 // text in the document. |
1844 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, | 1847 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
1845 string16 /* text covers the selection range */, | 1848 string16 /* text covers the selection range */, |
1846 size_t /* the offset of the text in the document */, | 1849 size_t /* the offset of the text in the document */, |
1847 ui::Range /* selection range in the document */) | 1850 ui::Range /* selection range in the document */) |
1848 | 1851 |
1849 // Notification that the selection bounds have changed. | 1852 // Notification that the selection bounds have changed. |
1850 IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionBoundsChanged, | 1853 IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionBoundsChanged, |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2167 // (according to the value of is_hung). The browser can give the user the | 2170 // (according to the value of is_hung). The browser can give the user the |
2168 // option of killing the plugin. | 2171 // option of killing the plugin. |
2169 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2172 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2170 int /* plugin_child_id */, | 2173 int /* plugin_child_id */, |
2171 FilePath /* path */, | 2174 FilePath /* path */, |
2172 bool /* is_hung */) | 2175 bool /* is_hung */) |
2173 | 2176 |
2174 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2177 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2175 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2178 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2176 int /* orientation */) | 2179 int /* orientation */) |
OLD | NEW |