OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 | 132 |
133 // Tells the render view to switch the CSS to print media type, renders every | 133 // Tells the render view to switch the CSS to print media type, renders every |
134 // requested pages and switch back the CSS to display media type. | 134 // requested pages and switch back the CSS to display media type. |
135 IPC_MESSAGE_ROUTED0(ViewMsg_PrintPages) | 135 IPC_MESSAGE_ROUTED0(ViewMsg_PrintPages) |
136 | 136 |
137 // Tells the render view that printing is done so it can clean up. | 137 // Tells the render view that printing is done so it can clean up. |
138 IPC_MESSAGE_ROUTED2(ViewMsg_PrintingDone, | 138 IPC_MESSAGE_ROUTED2(ViewMsg_PrintingDone, |
139 int /* document_cookie */, | 139 int /* document_cookie */, |
140 bool /* success */) | 140 bool /* success */) |
141 | 141 |
| 142 // Tells the renderer to dump as much memory as it can, perhaps because we |
| 143 // have memory pressure or the renderer is (or will be) paged out. This |
| 144 // should only result in purging objects we can recalculate, e.g. caches or |
| 145 // JS garbage, not in purging irreplaceable objects. |
| 146 IPC_MESSAGE_CONTROL0(ViewMsg_PurgeMemory) |
| 147 |
142 // Tells the render view that a ViewHostMsg_ScrollRect message was processed. | 148 // Tells the render view that a ViewHostMsg_ScrollRect message was processed. |
143 // This signals the render view that it can send another ScrollRect message. | 149 // This signals the render view that it can send another ScrollRect message. |
144 IPC_MESSAGE_ROUTED0(ViewMsg_ScrollRect_ACK) | 150 IPC_MESSAGE_ROUTED0(ViewMsg_ScrollRect_ACK) |
145 | 151 |
146 // Message payload is a blob that should be cast to WebInputEvent | 152 // Message payload is a blob that should be cast to WebInputEvent |
147 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) | 153 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) |
148 | 154 |
149 // This message notifies the renderer that the next key event is bound to one | 155 // This message notifies the renderer that the next key event is bound to one |
150 // or more pre-defined edit commands. If the next key event is not handled | 156 // or more pre-defined edit commands. If the next key event is not handled |
151 // by webkit, the specified edit commands shall be executed against current | 157 // by webkit, the specified edit commands shall be executed against current |
(...skipping 1681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1833 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1839 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
1834 FilePath /* the name of the file */, | 1840 FilePath /* the name of the file */, |
1835 int32 /* a unique message ID */) | 1841 int32 /* a unique message ID */) |
1836 | 1842 |
1837 // Asks the browser process to return the size of a DB file | 1843 // Asks the browser process to return the size of a DB file |
1838 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1844 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
1839 FilePath /* the name of the file */, | 1845 FilePath /* the name of the file */, |
1840 int32 /* a unique message ID */) | 1846 int32 /* a unique message ID */) |
1841 | 1847 |
1842 IPC_END_MESSAGES(ViewHost) | 1848 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |