| 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_OpenAboutPlugins) | 544 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_OpenAboutPlugins) |
| 549 | 545 |
| 550 // Tells the browser that there was an error loading a plug-in. | 546 // Tells the browser that there was an error loading a plug-in. |
| 551 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_CouldNotLoadPlugin, | 547 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_CouldNotLoadPlugin, |
| 552 base::FilePath /* plugin_path */) | 548 base::FilePath /* plugin_path */) |
| 553 | 549 |
| 554 // Tells the browser that we blocked a plug-in because NPAPI is not supported. | 550 // Tells the browser that we blocked a plug-in because NPAPI is not supported. |
| 555 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_NPAPINotSupported, | 551 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_NPAPINotSupported, |
| 556 std::string /* identifer */) | 552 std::string /* identifer */) |
| 557 | 553 |
| 558 // Send a snapshot of the tab contents to the render host. | |
| 559 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_Snapshot, | |
| 560 SkBitmap /* bitmap */) | |
| 561 | |
| 562 // A message for an external host. | 554 // A message for an external host. |
| 563 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, | 555 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, |
| 564 std::string /* message */, | 556 std::string /* message */, |
| 565 std::string /* origin */, | 557 std::string /* origin */, |
| 566 std::string /* target */) | 558 std::string /* target */) |
| 567 | 559 |
| 568 // A renderer sends this to the browser process when it wants to start | 560 // A renderer sends this to the browser process when it wants to start |
| 569 // a new instance of the Native Client process. The browser will launch | 561 // a new instance of the Native Client process. The browser will launch |
| 570 // the process and return an IPC channel handle. This handle will only | 562 // the process and return an IPC channel handle. This handle will only |
| 571 // be valid if the NaCl IPC proxy is enabled. | 563 // be valid if the NaCl IPC proxy is enabled. |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 738 // previous SetCookie message to be processed. | 730 // previous SetCookie message to be processed. |
| 739 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 731 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 740 GURL /* url */, | 732 GURL /* url */, |
| 741 GURL /* first_party_for_cookies */, | 733 GURL /* first_party_for_cookies */, |
| 742 std::string /* cookies */) | 734 std::string /* cookies */) |
| 743 | 735 |
| 744 // Provide the browser process with current renderer framerate. | 736 // Provide the browser process with current renderer framerate. |
| 745 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 737 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
| 746 int /* routing id */, | 738 int /* routing id */, |
| 747 float /* frames per second */) | 739 float /* frames per second */) |
| OLD | NEW |