| 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 // 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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
| 9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 // Tells the renderer to perform the given action on the plugin located at | 661 // Tells the renderer to perform the given action on the plugin located at |
| 662 // the given point. | 662 // the given point. |
| 663 IPC_MESSAGE_ROUTED2(ViewMsg_PluginActionAt, | 663 IPC_MESSAGE_ROUTED2(ViewMsg_PluginActionAt, |
| 664 gfx::Point, /* location */ | 664 gfx::Point, /* location */ |
| 665 blink::WebPluginAction) | 665 blink::WebPluginAction) |
| 666 | 666 |
| 667 // Posts a message from a frame in another process to the current renderer. | 667 // Posts a message from a frame in another process to the current renderer. |
| 668 IPC_MESSAGE_ROUTED1(ViewMsg_PostMessageEvent, | 668 IPC_MESSAGE_ROUTED1(ViewMsg_PostMessageEvent, |
| 669 ViewMsg_PostMessage_Params) | 669 ViewMsg_PostMessage_Params) |
| 670 | 670 |
| 671 // Requests that the RenderView's main frame sets its opener to null. | |
| 672 IPC_MESSAGE_ROUTED0(ViewMsg_DisownOpener) | |
| 673 | |
| 674 // Change the zoom level for the current main frame. If the level actually | 671 // Change the zoom level for the current main frame. If the level actually |
| 675 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser | 672 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser |
| 676 // telling it what url got zoomed and what its current zoom level is. | 673 // telling it what url got zoomed and what its current zoom level is. |
| 677 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, | 674 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, |
| 678 content::PageZoom /* function */) | 675 content::PageZoom /* function */) |
| 679 | 676 |
| 680 // Set the zoom level for a particular url that the renderer is in the | 677 // Set the zoom level for a particular url that the renderer is in the |
| 681 // process of loading. This will be stored, to be used if the load commits | 678 // process of loading. This will be stored, to be used if the load commits |
| 682 // and ignored otherwise. | 679 // and ignored otherwise. |
| 683 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, | 680 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, |
| (...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1670 // Since the browser keeps handles to the allocated transport DIBs, this | 1667 // Since the browser keeps handles to the allocated transport DIBs, this |
| 1671 // message is sent to tell the browser that it may release them when the | 1668 // message is sent to tell the browser that it may release them when the |
| 1672 // renderer is finished with them. | 1669 // renderer is finished with them. |
| 1673 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1670 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
| 1674 TransportDIB::Id /* DIB id */) | 1671 TransportDIB::Id /* DIB id */) |
| 1675 #endif | 1672 #endif |
| 1676 | 1673 |
| 1677 // Adding a new message? Stick to the sort order above: first platform | 1674 // Adding a new message? Stick to the sort order above: first platform |
| 1678 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1675 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1679 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1676 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |