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 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1231 | 1231 |
1232 // Instructs the renderer to save the current page to MHTML. | 1232 // Instructs the renderer to save the current page to MHTML. |
1233 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, | 1233 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, |
1234 int /* job_id */, | 1234 int /* job_id */, |
1235 IPC::PlatformFileForTransit /* file handle */) | 1235 IPC::PlatformFileForTransit /* file handle */) |
1236 | 1236 |
1237 // Temporary message to diagnose an unexpected condition in WebContentsImpl. | 1237 // Temporary message to diagnose an unexpected condition in WebContentsImpl. |
1238 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, | 1238 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, |
1239 GURL /* data */) | 1239 GURL /* data */) |
1240 | 1240 |
1241 // Enable or disable inverting of web content pixels, for users who prefer | |
1242 // white-on-black. | |
1243 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, | |
1244 bool /* invert */) | |
1245 | |
1246 // Change the accessibility mode in the renderer process. | 1241 // Change the accessibility mode in the renderer process. |
1247 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode, | 1242 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode, |
1248 AccessibilityMode) | 1243 AccessibilityMode) |
1249 | 1244 |
1250 // ----------------------------------------------------------------------------- | 1245 // ----------------------------------------------------------------------------- |
1251 // Messages sent from the renderer to the browser. | 1246 // Messages sent from the renderer to the browser. |
1252 | 1247 |
1253 // Sent by the renderer when it is creating a new window. The browser creates | 1248 // Sent by the renderer when it is creating a new window. The browser creates |
1254 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1249 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
1255 // MSG_ROUTING_NONE, the view couldn't be created. | 1250 // MSG_ROUTING_NONE, the view couldn't be created. |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2093 // (according to the value of is_hung). The browser can give the user the | 2088 // (according to the value of is_hung). The browser can give the user the |
2094 // option of killing the plugin. | 2089 // option of killing the plugin. |
2095 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2090 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2096 int /* plugin_child_id */, | 2091 int /* plugin_child_id */, |
2097 FilePath /* path */, | 2092 FilePath /* path */, |
2098 bool /* is_hung */) | 2093 bool /* is_hung */) |
2099 | 2094 |
2100 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2095 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2101 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2096 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2102 int /* orientation */) | 2097 int /* orientation */) |
OLD | NEW |