| OLD | NEW | 
|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 interacting with frames. | 5 // IPC messages for interacting with frames. | 
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. | 
| 7 | 7 | 
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" | 
| 9 #include "content/common/frame_param.h" | 9 #include "content/common/frame_param.h" | 
| 10 #include "content/public/common/common_param_traits.h" | 10 #include "content/public/common/common_param_traits.h" | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 50 | 50 | 
| 51 // Notifies the embedding frame that a new CompositorFrame is ready to be | 51 // Notifies the embedding frame that a new CompositorFrame is ready to be | 
| 52 // presented. When the frame finishes presenting, a matching | 52 // presented. When the frame finishes presenting, a matching | 
| 53 // FrameHostMsg_CompositorFrameSwappedACK should be sent back to the | 53 // FrameHostMsg_CompositorFrameSwappedACK should be sent back to the | 
| 54 // RenderViewHost that was produced the CompositorFrame. | 54 // RenderViewHost that was produced the CompositorFrame. | 
| 55 // | 55 // | 
| 56 // This is used in the ubercomp compositing path. | 56 // This is used in the ubercomp compositing path. | 
| 57 IPC_MESSAGE_ROUTED1(FrameMsg_CompositorFrameSwapped, | 57 IPC_MESSAGE_ROUTED1(FrameMsg_CompositorFrameSwapped, | 
| 58                     FrameMsg_CompositorFrameSwapped_Params /* params */) | 58                     FrameMsg_CompositorFrameSwapped_Params /* params */) | 
| 59 | 59 | 
|  | 60 // Notifies the embedding frame that the process rendering the child frame's | 
|  | 61 // contents has terminated. | 
|  | 62 IPC_MESSAGE_ROUTED0(FrameMsg_ChildFrameProcessGone) | 
|  | 63 | 
| 60 // ----------------------------------------------------------------------------- | 64 // ----------------------------------------------------------------------------- | 
| 61 // Messages sent from the renderer to the browser. | 65 // Messages sent from the renderer to the browser. | 
| 62 | 66 | 
| 63 // Sent by the renderer when a child frame is created in the renderer. The | 67 // Sent by the renderer when a child frame is created in the renderer. The | 
| 64 // |parent_frame_id| and |frame_id| are NOT routing ids. They are | 68 // |parent_frame_id| and |frame_id| are NOT routing ids. They are | 
| 65 // renderer-allocated identifiers used for tracking a frame's creation. | 69 // renderer-allocated identifiers used for tracking a frame's creation. | 
| 66 // | 70 // | 
| 67 // Each of these messages will have a corresponding FrameHostMsg_Detach message | 71 // Each of these messages will have a corresponding FrameHostMsg_Detach message | 
| 68 // sent when the frame is detached from the DOM. | 72 // sent when the frame is detached from the DOM. | 
| 69 // | 73 // | 
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 159 // Indicates that the current frame has swapped out, after a SwapOut message. | 163 // Indicates that the current frame has swapped out, after a SwapOut message. | 
| 160 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK) | 164 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK) | 
| 161 | 165 | 
| 162 IPC_MESSAGE_ROUTED1(FrameHostMsg_ReclaimCompositorResources, | 166 IPC_MESSAGE_ROUTED1(FrameHostMsg_ReclaimCompositorResources, | 
| 163                     FrameHostMsg_ReclaimCompositorResources_Params /* params */) | 167                     FrameHostMsg_ReclaimCompositorResources_Params /* params */) | 
| 164 | 168 | 
| 165 // Instructs the frame to swap out for a cross-site transition, including | 169 // Instructs the frame to swap out for a cross-site transition, including | 
| 166 // running the unload event handler. Expects a SwapOut_ACK message when | 170 // running the unload event handler. Expects a SwapOut_ACK message when | 
| 167 // finished. | 171 // finished. | 
| 168 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) | 172 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) | 
| OLD | NEW | 
|---|