OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1142 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) | 1142 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) |
1143 | 1143 |
1144 // Instructs the renderer to save the current page to MHTML. | 1144 // Instructs the renderer to save the current page to MHTML. |
1145 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, | 1145 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, |
1146 int /* job_id */, | 1146 int /* job_id */, |
1147 IPC::PlatformFileForTransit /* file handle */) | 1147 IPC::PlatformFileForTransit /* file handle */) |
1148 | 1148 |
1149 // Exit fullscreen. | 1149 // Exit fullscreen. |
1150 IPC_MESSAGE_ROUTED0(ViewMsg_ExitFullscreen) | 1150 IPC_MESSAGE_ROUTED0(ViewMsg_ExitFullscreen) |
1151 | 1151 |
| 1152 // Temporary message to diagnose an unexpected condition in TabContents. |
| 1153 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, |
| 1154 GURL /* data */) |
| 1155 |
| 1156 |
1152 // Messages sent from the renderer to the browser. | 1157 // Messages sent from the renderer to the browser. |
1153 | 1158 |
1154 // Sent by the renderer when it is creating a new window. The browser creates | 1159 // Sent by the renderer when it is creating a new window. The browser creates |
1155 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1160 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
1156 // MSG_ROUTING_NONE, the view couldn't be created. | 1161 // MSG_ROUTING_NONE, the view couldn't be created. |
1157 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, | 1162 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, |
1158 ViewHostMsg_CreateWindow_Params, | 1163 ViewHostMsg_CreateWindow_Params, |
1159 int /* route_id */, | 1164 int /* route_id */, |
1160 int64 /* cloned_session_storage_namespace_id */) | 1165 int64 /* cloned_session_storage_namespace_id */) |
1161 | 1166 |
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1933 media::MediaLogEvent /* event */) | 1938 media::MediaLogEvent /* event */) |
1934 | 1939 |
1935 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1940 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
1936 // being sent back. | 1941 // being sent back. |
1937 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1942 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
1938 | 1943 |
1939 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1944 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1940 // whenever the mouse is unlocked (which may or may not be caused by | 1945 // whenever the mouse is unlocked (which may or may not be caused by |
1941 // ViewHostMsg_UnlockMouse). | 1946 // ViewHostMsg_UnlockMouse). |
1942 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1947 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
OLD | NEW |