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/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1219 IPC_MESSAGE_ROUTED3(ViewMsg_PpapiBrokerChannelCreated, | 1219 IPC_MESSAGE_ROUTED3(ViewMsg_PpapiBrokerChannelCreated, |
1220 int /* request_id */, | 1220 int /* request_id */, |
1221 base::ProcessHandle /* broker_process_handle */, | 1221 base::ProcessHandle /* broker_process_handle */, |
1222 IPC::ChannelHandle /* handle */) | 1222 IPC::ChannelHandle /* handle */) |
1223 | 1223 |
1224 // Tells the renderer to empty its plugin list cache, optional reloading | 1224 // Tells the renderer to empty its plugin list cache, optional reloading |
1225 // pages containing plugins. | 1225 // pages containing plugins. |
1226 IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache, | 1226 IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache, |
1227 bool /* reload_pages */) | 1227 bool /* reload_pages */) |
1228 | 1228 |
1229 // Install the first missing pluign. | |
1230 IPC_MESSAGE_ROUTED0(ViewMsg_InstallMissingPlugin) | |
1231 | |
1232 // Sent to the renderer when a popup window should no longer count against | 1229 // Sent to the renderer when a popup window should no longer count against |
1233 // the current popup count (either because it's not a popup or because it was | 1230 // the current popup count (either because it's not a popup or because it was |
1234 // a generated by a user action or because a constrained popup got turned | 1231 // a generated by a user action or because a constrained popup got turned |
1235 // into a full window). | 1232 // into a full window). |
1236 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) | 1233 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) |
1237 | 1234 |
1238 // Asks the renderer to send back FPS. | 1235 // Asks the renderer to send back FPS. |
1239 IPC_MESSAGE_ROUTED0(ViewMsg_GetFPS) | 1236 IPC_MESSAGE_ROUTED0(ViewMsg_GetFPS) |
1240 | 1237 |
1241 // Used to instruct the RenderView to go into "view source" mode. | 1238 // Used to instruct the RenderView to go into "view source" mode. |
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2018 std::vector<char> /* data */) | 2015 std::vector<char> /* data */) |
2019 | 2016 |
2020 // Updates the content restrictions, i.e. to disable print/copy. | 2017 // Updates the content restrictions, i.e. to disable print/copy. |
2021 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, | 2018 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, |
2022 int /* restrictions */) | 2019 int /* restrictions */) |
2023 | 2020 |
2024 // Brings up SaveAs... dialog to save specified URL. | 2021 // Brings up SaveAs... dialog to save specified URL. |
2025 IPC_MESSAGE_ROUTED1(ViewHostMsg_SaveURLAs, | 2022 IPC_MESSAGE_ROUTED1(ViewHostMsg_SaveURLAs, |
2026 GURL /* url */) | 2023 GURL /* url */) |
2027 | 2024 |
2028 // Notifies when default plugin updates status of the missing plugin. | |
2029 IPC_MESSAGE_ROUTED1(ViewHostMsg_MissingPluginStatus, | |
2030 int /* status */) | |
2031 | |
2032 // Displays a JavaScript out-of-memory message in the infobar. | 2025 // Displays a JavaScript out-of-memory message in the infobar. |
2033 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) | 2026 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) |
2034 | 2027 |
2035 // Register a new handler for URL requests with the given scheme. | 2028 // Register a new handler for URL requests with the given scheme. |
2036 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 2029 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
2037 std::string /* scheme */, | 2030 std::string /* scheme */, |
2038 GURL /* url */, | 2031 GURL /* url */, |
2039 string16 /* title */) | 2032 string16 /* title */) |
2040 | 2033 |
2041 // Register a new handler for Intents with the given action and type filter. | 2034 // Register a new handler for Intents with the given action and type filter. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2088 int32 /* complete status */) | 2081 int32 /* complete status */) |
2089 | 2082 |
2090 // Request updated information about the client firewall traversal policy. | 2083 // Request updated information about the client firewall traversal policy. |
2091 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2084 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
2092 // being sent back. | 2085 // being sent back. |
2093 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2086 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
2094 | 2087 |
2095 // Notifies the browser of an event occurring in the media pipeline. | 2088 // Notifies the browser of an event occurring in the media pipeline. |
2096 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2089 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
2097 media::MediaLogEvent /* event */) | 2090 media::MediaLogEvent /* event */) |
OLD | NEW |