| 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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
| 6 #include <map> | 6 #include <map> |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 // History system notification that a link has been added and the link | 170 // History system notification that a link has been added and the link |
| 171 // coloring state for the given hash must be re-calculated. | 171 // coloring state for the given hash must be re-calculated. |
| 172 IPC_MESSAGE_CONTROL1(ViewMsg_VisitedLink_Add, std::vector<uint64>) | 172 IPC_MESSAGE_CONTROL1(ViewMsg_VisitedLink_Add, std::vector<uint64>) |
| 173 | 173 |
| 174 // History system notification that one or more history items have been | 174 // History system notification that one or more history items have been |
| 175 // deleted, which at this point means that all link coloring state must be | 175 // deleted, which at this point means that all link coloring state must be |
| 176 // re-calculated. | 176 // re-calculated. |
| 177 IPC_MESSAGE_CONTROL0(ViewMsg_VisitedLink_Reset) | 177 IPC_MESSAGE_CONTROL0(ViewMsg_VisitedLink_Reset) |
| 178 | 178 |
| 179 // Sent when user prompting is required before a ViewHostMsg_GetCookies | |
| 180 // message can complete. This message indicates that the renderer should | |
| 181 // pump messages while waiting for cookies. | |
| 182 IPC_MESSAGE_CONTROL0(ViewMsg_SignalCookiePromptEvent) | |
| 183 | |
| 184 // Set the content settings for a particular url that the renderer is in the | 179 // Set the content settings for a particular url that the renderer is in the |
| 185 // process of loading. This will be stored, to be used if the load commits | 180 // process of loading. This will be stored, to be used if the load commits |
| 186 // and ignored otherwise. | 181 // and ignored otherwise. |
| 187 IPC_MESSAGE_ROUTED2(ViewMsg_SetContentSettingsForLoadingURL, | 182 IPC_MESSAGE_ROUTED2(ViewMsg_SetContentSettingsForLoadingURL, |
| 188 GURL /* url */, | 183 GURL /* url */, |
| 189 ContentSettings /* content_settings */) | 184 ContentSettings /* content_settings */) |
| 190 | 185 |
| 191 // Set the content settings for a particular url, so all render views | 186 // Set the content settings for a particular url, so all render views |
| 192 // displaying this host url update their content settings to match. | 187 // displaying this host url update their content settings to match. |
| 193 IPC_MESSAGE_CONTROL2(ViewMsg_SetContentSettingsForCurrentURL, | 188 IPC_MESSAGE_CONTROL2(ViewMsg_SetContentSettingsForCurrentURL, |
| 194 GURL /* url */, | 189 GURL /* url */, |
| 195 ContentSettings /* content_settings */) | 190 ContentSettings /* content_settings */) |
| 196 | 191 |
| 197 // Install the first missing pluign. | 192 // Install the first missing pluign. |
| 198 IPC_MESSAGE_ROUTED0(ViewMsg_InstallMissingPlugin) | 193 IPC_MESSAGE_ROUTED0(ViewMsg_InstallMissingPlugin) |
| 199 | 194 |
| 200 // Tells the renderer to empty its plugin list cache, optional reloading | |
| 201 // pages containing plugins. | |
| 202 IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache, | |
| 203 bool /* reload_pages */) | |
| 204 | |
| 205 // Tells the render view to load all blocked plugins. | 195 // Tells the render view to load all blocked plugins. |
| 206 IPC_MESSAGE_ROUTED0(ViewMsg_LoadBlockedPlugins) | 196 IPC_MESSAGE_ROUTED0(ViewMsg_LoadBlockedPlugins) |
| 207 | 197 |
| 208 // Tells the render view a prerendered page is about to be displayed. | 198 // Tells the render view a prerendered page is about to be displayed. |
| 209 IPC_MESSAGE_ROUTED0(ViewMsg_DisplayPrerenderedPage) | 199 IPC_MESSAGE_ROUTED0(ViewMsg_DisplayPrerenderedPage) |
| 210 | 200 |
| 211 // Used to instruct the RenderView to go into "view source" mode. | 201 // Used to instruct the RenderView to go into "view source" mode. |
| 212 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) | 202 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) |
| 213 | 203 |
| 214 // Get all savable resource links from current webpage, include main | 204 // Get all savable resource links from current webpage, include main |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 // while performing stress testing. | 504 // while performing stress testing. |
| 515 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 505 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 516 int /* cmd */, | 506 int /* cmd */, |
| 517 int /* param */) | 507 int /* param */) |
| 518 | 508 |
| 519 // Register a new handler for URL requests with the given scheme. | 509 // Register a new handler for URL requests with the given scheme. |
| 520 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 510 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
| 521 std::string /* scheme */, | 511 std::string /* scheme */, |
| 522 GURL /* url */, | 512 GURL /* url */, |
| 523 string16 /* title */) | 513 string16 /* title */) |
| OLD | NEW |