| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 256 |
| 257 // For WebUI testing, this message stores parameters to do ScriptEvalRequest at | 257 // For WebUI testing, this message stores parameters to do ScriptEvalRequest at |
| 258 // a time which is late enough to not be thrown out, and early enough to be | 258 // a time which is late enough to not be thrown out, and early enough to be |
| 259 // before onload events are fired. | 259 // before onload events are fired. |
| 260 IPC_MESSAGE_ROUTED4(ChromeViewMsg_WebUIJavaScript, | 260 IPC_MESSAGE_ROUTED4(ChromeViewMsg_WebUIJavaScript, |
| 261 string16, /* frame_xpath */ | 261 string16, /* frame_xpath */ |
| 262 string16, /* jscript_url */ | 262 string16, /* jscript_url */ |
| 263 int, /* ID */ | 263 int, /* ID */ |
| 264 bool /* If true, result is sent back. */) | 264 bool /* If true, result is sent back. */) |
| 265 | 265 |
| 266 // Tells the render view to capture a thumbnail image of the page. The | |
| 267 // render view responds with a ChromeViewHostMsg_Snapshot. | |
| 268 IPC_MESSAGE_ROUTED0(ChromeViewMsg_CaptureSnapshot) | |
| 269 | |
| 270 // Set the content setting rules stored by the renderer. | 266 // Set the content setting rules stored by the renderer. |
| 271 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetContentSettingRules, | 267 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetContentSettingRules, |
| 272 RendererContentSettingRules /* rules */) | 268 RendererContentSettingRules /* rules */) |
| 273 | 269 |
| 274 // Tells the render view to load all blocked plugins with the given identifier. | 270 // Tells the render view to load all blocked plugins with the given identifier. |
| 275 IPC_MESSAGE_ROUTED1(ChromeViewMsg_LoadBlockedPlugins, | 271 IPC_MESSAGE_ROUTED1(ChromeViewMsg_LoadBlockedPlugins, |
| 276 std::string /* identifier */) | 272 std::string /* identifier */) |
| 277 | 273 |
| 278 // Asks the renderer to send back stats on the WebCore cache broken down by | 274 // Asks the renderer to send back stats on the WebCore cache broken down by |
| 279 // resource types. | 275 // resource types. |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_OpenAboutPlugins) | 542 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_OpenAboutPlugins) |
| 547 | 543 |
| 548 // Tells the browser that there was an error loading a plug-in. | 544 // Tells the browser that there was an error loading a plug-in. |
| 549 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_CouldNotLoadPlugin, | 545 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_CouldNotLoadPlugin, |
| 550 base::FilePath /* plugin_path */) | 546 base::FilePath /* plugin_path */) |
| 551 | 547 |
| 552 // Tells the browser that we blocked a plug-in because NPAPI is not supported. | 548 // Tells the browser that we blocked a plug-in because NPAPI is not supported. |
| 553 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_NPAPINotSupported, | 549 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_NPAPINotSupported, |
| 554 std::string /* identifer */) | 550 std::string /* identifer */) |
| 555 | 551 |
| 556 // Send a snapshot of the tab contents to the render host. | |
| 557 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_Snapshot, | |
| 558 SkBitmap /* bitmap */) | |
| 559 | |
| 560 // A message for an external host. | 552 // A message for an external host. |
| 561 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, | 553 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, |
| 562 std::string /* message */, | 554 std::string /* message */, |
| 563 std::string /* origin */, | 555 std::string /* origin */, |
| 564 std::string /* target */) | 556 std::string /* target */) |
| 565 | 557 |
| 566 // A renderer sends this to the browser process when it wants to start | 558 // A renderer sends this to the browser process when it wants to start |
| 567 // a new instance of the Native Client process. The browser will launch | 559 // a new instance of the Native Client process. The browser will launch |
| 568 // the process and return an IPC channel handle. This handle will only | 560 // the process and return an IPC channel handle. This handle will only |
| 569 // be valid if the NaCl IPC proxy is enabled. | 561 // be valid if the NaCl IPC proxy is enabled. |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 // previous SetCookie message to be processed. | 721 // previous SetCookie message to be processed. |
| 730 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 722 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 731 GURL /* url */, | 723 GURL /* url */, |
| 732 GURL /* first_party_for_cookies */, | 724 GURL /* first_party_for_cookies */, |
| 733 std::string /* cookies */) | 725 std::string /* cookies */) |
| 734 | 726 |
| 735 // Provide the browser process with current renderer framerate. | 727 // Provide the browser process with current renderer framerate. |
| 736 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 728 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
| 737 int /* routing id */, | 729 int /* routing id */, |
| 738 float /* frames per second */) | 730 float /* frames per second */) |
| OLD | NEW |