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