| 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 <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1074 | 1074 |
| 1075 // The renderer wants to know the default print settings. | 1075 // The renderer wants to know the default print settings. |
| 1076 IPC_SYNC_MESSAGE_ROUTED0_1(ViewHostMsg_GetDefaultPrintSettings, | 1076 IPC_SYNC_MESSAGE_ROUTED0_1(ViewHostMsg_GetDefaultPrintSettings, |
| 1077 ViewMsg_Print_Params /* default_settings */) | 1077 ViewMsg_Print_Params /* default_settings */) |
| 1078 | 1078 |
| 1079 #if defined(OS_WIN) | 1079 #if defined(OS_WIN) |
| 1080 // It's the renderer that controls the printing process when it is generated | 1080 // It's the renderer that controls the printing process when it is generated |
| 1081 // by javascript. This step is about showing UI to the user to select the | 1081 // by javascript. This step is about showing UI to the user to select the |
| 1082 // final print settings. The output parameter is the same as | 1082 // final print settings. The output parameter is the same as |
| 1083 // ViewMsg_PrintPages which is executed implicitly. | 1083 // ViewMsg_PrintPages which is executed implicitly. |
| 1084 IPC_SYNC_MESSAGE_ROUTED4_1(ViewHostMsg_ScriptedPrint, | 1084 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_ScriptedPrint, |
| 1085 gfx::NativeViewId /* host_window */, | 1085 ViewHostMsg_ScriptedPrint_Params, |
| 1086 int /* cookie */, | 1086 ViewMsg_PrintPages_Params /* settings choosen by |
| 1087 int /* expected_pages_count */, | |
| 1088 bool /* has_selection */, | |
| 1089 ViewMsg_PrintPages_Params /* settings choosen by | |
| 1090 the user*/) | 1087 the user*/) |
| 1091 #endif // defined(OS_WIN) | 1088 #endif // defined(OS_WIN) |
| 1092 | 1089 |
| 1093 // WebKit and JavaScript error messages to log to the console | 1090 // WebKit and JavaScript error messages to log to the console |
| 1094 // or debugger UI. | 1091 // or debugger UI. |
| 1095 IPC_MESSAGE_ROUTED3(ViewHostMsg_AddMessageToConsole, | 1092 IPC_MESSAGE_ROUTED3(ViewHostMsg_AddMessageToConsole, |
| 1096 std::wstring, /* msg */ | 1093 std::wstring, /* msg */ |
| 1097 int32, /* line number */ | 1094 int32, /* line number */ |
| 1098 std::wstring /* source id */) | 1095 std::wstring /* source id */) |
| 1099 | 1096 |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1468 // web resource. |error_message| is a user-readable explanation of what | 1465 // web resource. |error_message| is a user-readable explanation of what |
| 1469 // went wrong. | 1466 // went wrong. |
| 1470 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, | 1467 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, |
| 1471 std::string /* error_message, if any */) | 1468 std::string /* error_message, if any */) |
| 1472 | 1469 |
| 1473 // Sent by the renderer process to acknowledge receipt of a | 1470 // Sent by the renderer process to acknowledge receipt of a |
| 1474 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. | 1471 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. |
| 1475 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) | 1472 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) |
| 1476 | 1473 |
| 1477 IPC_END_MESSAGES(ViewHost) | 1474 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |