Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: content/common/frame_messages.h

Issue 132383005: Set correct viewport size for an out of process iframe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that 112 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that
113 // the menu has been closed. 113 // the menu has been closed.
114 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, 114 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed,
115 content::CustomContextMenuContext /* custom_context */) 115 content::CustomContextMenuContext /* custom_context */)
116 116
117 // Executes custom context menu action that was provided from Blink. 117 // Executes custom context menu action that was provided from Blink.
118 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, 118 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction,
119 content::CustomContextMenuContext /* custom_context */, 119 content::CustomContextMenuContext /* custom_context */,
120 unsigned /* action */) 120 unsigned /* action */)
121 121
122 // Instructs the frame to swap out for a cross-site transition, including
123 // running the unload event handler. Expects a SwapOut_ACK message when
124 // finished.
125 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut)
126
122 // ----------------------------------------------------------------------------- 127 // -----------------------------------------------------------------------------
123 // Messages sent from the renderer to the browser. 128 // Messages sent from the renderer to the browser.
124 129
125 // Sent by the renderer when a child frame is created in the renderer. The 130 // Sent by the renderer when a child frame is created in the renderer. The
126 // |parent_frame_id| and |frame_id| are NOT routing ids. They are 131 // |parent_frame_id| and |frame_id| are NOT routing ids. They are
127 // renderer-allocated identifiers used for tracking a frame's creation. 132 // renderer-allocated identifiers used for tracking a frame's creation.
128 // 133 //
129 // Each of these messages will have a corresponding FrameHostMsg_Detach message 134 // Each of these messages will have a corresponding FrameHostMsg_Detach message
130 // sent when the frame is detached from the DOM. 135 // sent when the frame is detached from the DOM.
131 // 136 //
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // See FrameMsg_CompositorFrameSwapped 222 // See FrameMsg_CompositorFrameSwapped
218 IPC_MESSAGE_ROUTED1(FrameHostMsg_CompositorFrameSwappedACK, 223 IPC_MESSAGE_ROUTED1(FrameHostMsg_CompositorFrameSwappedACK,
219 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) 224 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */)
220 225
221 // Indicates that the current frame has swapped out, after a SwapOut message. 226 // Indicates that the current frame has swapped out, after a SwapOut message.
222 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK) 227 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK)
223 228
224 IPC_MESSAGE_ROUTED1(FrameHostMsg_ReclaimCompositorResources, 229 IPC_MESSAGE_ROUTED1(FrameHostMsg_ReclaimCompositorResources,
225 FrameHostMsg_ReclaimCompositorResources_Params /* params */) 230 FrameHostMsg_ReclaimCompositorResources_Params /* params */)
226 231
227 // Instructs the frame to swap out for a cross-site transition, including
228 // running the unload event handler. Expects a SwapOut_ACK message when
229 // finished.
230 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut)
231
232 // Used to tell the parent that the user right clicked on an area of the 232 // Used to tell the parent that the user right clicked on an area of the
233 // content area, and a context menu should be shown for it. The params 233 // content area, and a context menu should be shown for it. The params
234 // object contains information about the node(s) that were selected when the 234 // object contains information about the node(s) that were selected when the
235 // user right clicked. 235 // user right clicked.
236 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) 236 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
237
238 // Initial drawing parameters for a child frame that has been swapped out to
239 // another process.
240 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame,
241 gfx::Rect /* frame_rect */,
242 float /* scale_factor */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698