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