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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 // onunload event handler. Expects a ClosePage_ACK message when finished. | 450 // onunload event handler. Expects a ClosePage_ACK message when finished. |
451 IPC_MESSAGE_ROUTED2(ViewMsg_ClosePage, | 451 IPC_MESSAGE_ROUTED2(ViewMsg_ClosePage, |
452 int /* new_render_process_host_id */, | 452 int /* new_render_process_host_id */, |
453 int /* new_request_id */) | 453 int /* new_request_id */) |
454 | 454 |
455 // Asks the renderer to send back stats on the WebCore cache broken down by | 455 // Asks the renderer to send back stats on the WebCore cache broken down by |
456 // resource types. | 456 // resource types. |
457 IPC_MESSAGE_CONTROL0(ViewMsg_GetCacheResourceStats) | 457 IPC_MESSAGE_CONTROL0(ViewMsg_GetCacheResourceStats) |
458 | 458 |
459 // Asks the renderer to send back Histograms. | 459 // Asks the renderer to send back Histograms. |
460 IPC_MESSAGE_CONTROL0(ViewMsg_GetRendererHistograms) | 460 IPC_MESSAGE_CONTROL1(ViewMsg_GetRendererHistograms, |
| 461 int /* sequence number of Renderer Histograms. */) |
461 | 462 |
462 // Notifies the renderer about ui theme changes | 463 // Notifies the renderer about ui theme changes |
463 IPC_MESSAGE_ROUTED0(ViewMsg_ThemeChanged) | 464 IPC_MESSAGE_ROUTED0(ViewMsg_ThemeChanged) |
464 | 465 |
465 // Notifies the renderer that a paint is to be generated for the rectangle | 466 // Notifies the renderer that a paint is to be generated for the rectangle |
466 // passed in. | 467 // passed in. |
467 IPC_MESSAGE_ROUTED1(ViewMsg_Repaint, | 468 IPC_MESSAGE_ROUTED1(ViewMsg_Repaint, |
468 gfx::Size /* The view size to be repainted */) | 469 gfx::Size /* The view size to be repainted */) |
469 | 470 |
470 // Posts a message to the renderer. | 471 // Posts a message to the renderer. |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1103 | 1104 |
1104 IPC_MESSAGE_ROUTED2(ViewHostMsg_ToolsAgentMsg, | 1105 IPC_MESSAGE_ROUTED2(ViewHostMsg_ToolsAgentMsg, |
1105 int, /* tools msg type */ | 1106 int, /* tools msg type */ |
1106 std::wstring /* body */) | 1107 std::wstring /* body */) |
1107 | 1108 |
1108 // Send back a string to be recorded by UserMetrics. | 1109 // Send back a string to be recorded by UserMetrics. |
1109 IPC_MESSAGE_ROUTED1(ViewHostMsg_UserMetricsRecordAction, | 1110 IPC_MESSAGE_ROUTED1(ViewHostMsg_UserMetricsRecordAction, |
1110 std::wstring /* action */) | 1111 std::wstring /* action */) |
1111 | 1112 |
1112 // Send back histograms as vector of pickled-histogram strings. | 1113 // Send back histograms as vector of pickled-histogram strings. |
1113 IPC_MESSAGE_CONTROL1(ViewHostMsg_RendererHistograms, std::vector<std::string>) | 1114 IPC_MESSAGE_CONTROL2(ViewHostMsg_RendererHistograms, |
| 1115 int, /* sequence number of Renderer Histograms. */ |
| 1116 std::vector<std::string>) |
1114 | 1117 |
1115 // Request for a DNS prefetch of the names in the array. | 1118 // Request for a DNS prefetch of the names in the array. |
1116 // NameList is typedef'ed std::vector<std::string> | 1119 // NameList is typedef'ed std::vector<std::string> |
1117 IPC_MESSAGE_CONTROL1(ViewHostMsg_DnsPrefetch, | 1120 IPC_MESSAGE_CONTROL1(ViewHostMsg_DnsPrefetch, |
1118 std::vector<std::string> /* hostnames */) | 1121 std::vector<std::string> /* hostnames */) |
1119 | 1122 |
1120 // Notifies when default plugin updates status of the missing plugin. | 1123 // Notifies when default plugin updates status of the missing plugin. |
1121 IPC_MESSAGE_ROUTED1(ViewHostMsg_MissingPluginStatus, | 1124 IPC_MESSAGE_ROUTED1(ViewHostMsg_MissingPluginStatus, |
1122 int /* status */) | 1125 int /* status */) |
1123 | 1126 |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1401 // manifest file. | 1404 // manifest file. |
1402 IPC_MESSAGE_CONTROL2(UtilityHostMsg_UnpackExtension_Succeeded, | 1405 IPC_MESSAGE_CONTROL2(UtilityHostMsg_UnpackExtension_Succeeded, |
1403 DictionaryValue /* manifest */, | 1406 DictionaryValue /* manifest */, |
1404 std::vector<UnpackExtension_ImagePathPair> /* images */) | 1407 std::vector<UnpackExtension_ImagePathPair> /* images */) |
1405 | 1408 |
1406 // Reply when the utility process has failed while unpacking an extension. | 1409 // Reply when the utility process has failed while unpacking an extension. |
1407 // |error_message| is a user-displayable explanation of what went wrong. | 1410 // |error_message| is a user-displayable explanation of what went wrong. |
1408 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, | 1411 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, |
1409 std::string /* error_message, if any */) | 1412 std::string /* error_message, if any */) |
1410 IPC_END_MESSAGES(ViewHost) | 1413 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |