| 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 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 // specified string. | 979 // specified string. |
| 980 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, | 980 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, |
| 981 string16) | 981 string16) |
| 982 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) | 982 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
| 983 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) | 983 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
| 984 | 984 |
| 985 // Replaces all text in the current input field with the specified string. | 985 // Replaces all text in the current input field with the specified string. |
| 986 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) | 986 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) |
| 987 | 987 |
| 988 // Requests the renderer to select the region between two points. | 988 // Requests the renderer to select the region between two points. |
| 989 // Expects a SelectRange_ACK message when finished. |
| 989 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, | 990 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, |
| 990 gfx::Point /* start */, | 991 gfx::Point /* start */, |
| 991 gfx::Point /* end */) | 992 gfx::Point /* end */) |
| 992 | 993 |
| 993 // Copies the image at location x, y to the clipboard (if there indeed is an | 994 // Copies the image at location x, y to the clipboard (if there indeed is an |
| 994 // image at that location). | 995 // image at that location). |
| 995 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, | 996 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
| 996 int /* x */, | 997 int /* x */, |
| 997 int /* y */) | 998 int /* y */) |
| 998 | 999 |
| (...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1842 uint32 /* buffer size */, | 1843 uint32 /* buffer size */, |
| 1843 base::SharedMemoryHandle /* font data */, | 1844 base::SharedMemoryHandle /* font data */, |
| 1844 uint32 /* font id */) | 1845 uint32 /* font id */) |
| 1845 #endif | 1846 #endif |
| 1846 | 1847 |
| 1847 // Send the tooltip text for the current mouse position to the browser. | 1848 // Send the tooltip text for the current mouse position to the browser. |
| 1848 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, | 1849 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, |
| 1849 string16 /* tooltip text string */, | 1850 string16 /* tooltip text string */, |
| 1850 WebKit::WebTextDirection /* text direction hint */) | 1851 WebKit::WebTextDirection /* text direction hint */) |
| 1851 | 1852 |
| 1853 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK) |
| 1854 |
| 1852 // Notification that the text selection has changed. | 1855 // Notification that the text selection has changed. |
| 1853 // Note: The secound parameter is the character based offset of the string16 | 1856 // Note: The secound parameter is the character based offset of the string16 |
| 1854 // text in the document. | 1857 // text in the document. |
| 1855 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, | 1858 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
| 1856 string16 /* text covers the selection range */, | 1859 string16 /* text covers the selection range */, |
| 1857 size_t /* the offset of the text in the document */, | 1860 size_t /* the offset of the text in the document */, |
| 1858 ui::Range /* selection range in the document */) | 1861 ui::Range /* selection range in the document */) |
| 1859 | 1862 |
| 1860 // Notification that the selection bounds have changed. | 1863 // Notification that the selection bounds have changed. |
| 1861 IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionBoundsChanged, | 1864 IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionBoundsChanged, |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2178 // (according to the value of is_hung). The browser can give the user the | 2181 // (according to the value of is_hung). The browser can give the user the |
| 2179 // option of killing the plugin. | 2182 // option of killing the plugin. |
| 2180 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2183 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
| 2181 int /* plugin_child_id */, | 2184 int /* plugin_child_id */, |
| 2182 FilePath /* path */, | 2185 FilePath /* path */, |
| 2183 bool /* is_hung */) | 2186 bool /* is_hung */) |
| 2184 | 2187 |
| 2185 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2188 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
| 2186 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2189 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
| 2187 int /* orientation */) | 2190 int /* orientation */) |
| OLD | NEW |