| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 // Instructs the renderer to close the current page, including running the | 453 // Instructs the renderer to close the current page, including running the |
| 454 // onunload event handler. Expects a ClosePage_ACK message when finished. | 454 // onunload event handler. Expects a ClosePage_ACK message when finished. |
| 455 IPC_MESSAGE_ROUTED2(ViewMsg_ClosePage, | 455 IPC_MESSAGE_ROUTED2(ViewMsg_ClosePage, |
| 456 int /* new_render_process_host_id */, | 456 int /* new_render_process_host_id */, |
| 457 int /* new_request_id */) | 457 int /* new_request_id */) |
| 458 | 458 |
| 459 // Asks the renderer to send back stats on the WebCore cache broken down by | 459 // Asks the renderer to send back stats on the WebCore cache broken down by |
| 460 // resource types. | 460 // resource types. |
| 461 IPC_MESSAGE_CONTROL0(ViewMsg_GetCacheResourceStats) | 461 IPC_MESSAGE_CONTROL0(ViewMsg_GetCacheResourceStats) |
| 462 | 462 |
| 463 // Asks the renderer to send back Histograms. |
| 464 IPC_MESSAGE_CONTROL0(ViewMsg_GetRendererHistograms) |
| 465 |
| 463 // Notifies the renderer about ui theme changes | 466 // Notifies the renderer about ui theme changes |
| 464 IPC_MESSAGE_ROUTED0(ViewMsg_ThemeChanged) | 467 IPC_MESSAGE_ROUTED0(ViewMsg_ThemeChanged) |
| 465 | 468 |
| 466 // Notifies the renderer that a paint is to be generated for the rectangle | 469 // Notifies the renderer that a paint is to be generated for the rectangle |
| 467 // passed in. | 470 // passed in. |
| 468 IPC_MESSAGE_ROUTED1(ViewMsg_Repaint, | 471 IPC_MESSAGE_ROUTED1(ViewMsg_Repaint, |
| 469 gfx::Size /* The view size to be repainted */) | 472 gfx::Size /* The view size to be repainted */) |
| 470 | 473 |
| 471 #ifdef CHROME_PERSONALIZATION | 474 #ifdef CHROME_PERSONALIZATION |
| 472 IPC_MESSAGE_ROUTED2(ViewMsg_PersonalizationEvent, | 475 IPC_MESSAGE_ROUTED2(ViewMsg_PersonalizationEvent, |
| (...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1020 // Message addressed to ToolsAgent sent by ToolsClient to browser so that the | 1023 // Message addressed to ToolsAgent sent by ToolsClient to browser so that the |
| 1021 // latter can forward it. | 1024 // latter can forward it. |
| 1022 IPC_MESSAGE_ROUTED2(ViewHostMsg_ToolsAgentMsg, | 1025 IPC_MESSAGE_ROUTED2(ViewHostMsg_ToolsAgentMsg, |
| 1023 int, /* tools msg type */ | 1026 int, /* tools msg type */ |
| 1024 std::wstring /* body */) | 1027 std::wstring /* body */) |
| 1025 | 1028 |
| 1026 // Send back a string to be recorded by UserMetrics. | 1029 // Send back a string to be recorded by UserMetrics. |
| 1027 IPC_MESSAGE_ROUTED1(ViewHostMsg_UserMetricsRecordAction, | 1030 IPC_MESSAGE_ROUTED1(ViewHostMsg_UserMetricsRecordAction, |
| 1028 std::wstring /* action */) | 1031 std::wstring /* action */) |
| 1029 | 1032 |
| 1033 // Send back histograms as vector of pickled-histogram strings. |
| 1034 IPC_MESSAGE_CONTROL1(ViewHostMsg_RendererHistograms, std::vector<std::string>) |
| 1035 |
| 1030 // Request for a DNS prefetch of the names in the array. | 1036 // Request for a DNS prefetch of the names in the array. |
| 1031 // NameList is typedef'ed std::vector<std::string> | 1037 // NameList is typedef'ed std::vector<std::string> |
| 1032 IPC_MESSAGE_CONTROL1(ViewHostMsg_DnsPrefetch, | 1038 IPC_MESSAGE_CONTROL1(ViewHostMsg_DnsPrefetch, |
| 1033 std::vector<std::string> /* hostnames */) | 1039 std::vector<std::string> /* hostnames */) |
| 1034 | 1040 |
| 1035 // Notifies when default plugin updates status of the missing plugin. | 1041 // Notifies when default plugin updates status of the missing plugin. |
| 1036 IPC_MESSAGE_ROUTED1(ViewHostMsg_MissingPluginStatus, | 1042 IPC_MESSAGE_ROUTED1(ViewHostMsg_MissingPluginStatus, |
| 1037 int /* status */) | 1043 int /* status */) |
| 1038 | 1044 |
| 1039 // Sent by the renderer process to indicate that a plugin instance has | 1045 // Sent by the renderer process to indicate that a plugin instance has |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1204 IPC::Maybe<TransportDIB::Handle> /* DIB */) | 1210 IPC::Maybe<TransportDIB::Handle> /* DIB */) |
| 1205 | 1211 |
| 1206 // Since the browser keeps handles to the allocated transport DIBs, this | 1212 // Since the browser keeps handles to the allocated transport DIBs, this |
| 1207 // message is sent to tell the browser that it may release them when the | 1213 // message is sent to tell the browser that it may release them when the |
| 1208 // renderer is finished with them. | 1214 // renderer is finished with them. |
| 1209 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1215 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
| 1210 TransportDIB::Id /* DIB id */) | 1216 TransportDIB::Id /* DIB id */) |
| 1211 #endif | 1217 #endif |
| 1212 | 1218 |
| 1213 IPC_END_MESSAGES(ViewHost) | 1219 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |