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

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: Removed obsolete test 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/content_param_traits.h" 9 #include "content/common/content_param_traits.h"
10 #include "content/common/frame_message_enums.h" 10 #include "content/common/frame_message_enums.h"
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 282
283 // Executes custom context menu action that was provided from Blink. 283 // Executes custom context menu action that was provided from Blink.
284 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, 284 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction,
285 content::CustomContextMenuContext /* custom_context */, 285 content::CustomContextMenuContext /* custom_context */,
286 unsigned /* action */) 286 unsigned /* action */)
287 287
288 // Tells the renderer to perform the specified navigation, interrupting any 288 // Tells the renderer to perform the specified navigation, interrupting any
289 // existing navigation. 289 // existing navigation.
290 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params) 290 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params)
291 291
292 // Instructs the frame to swap out for a cross-site transition, including
293 // running the unload event handler. Expects a SwapOut_ACK message when
294 // finished.
295 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut)
296
292 // ----------------------------------------------------------------------------- 297 // -----------------------------------------------------------------------------
293 // Messages sent from the renderer to the browser. 298 // Messages sent from the renderer to the browser.
294 299
295 // Sent by the renderer when a child frame is created in the renderer. The 300 // Sent by the renderer when a child frame is created in the renderer. The
296 // |parent_frame_id| and |frame_id| are NOT routing ids. They are 301 // |parent_frame_id| and |frame_id| are NOT routing ids. They are
297 // renderer-allocated identifiers used for tracking a frame's creation. 302 // renderer-allocated identifiers used for tracking a frame's creation.
298 // 303 //
299 // Each of these messages will have a corresponding FrameHostMsg_Detach message 304 // Each of these messages will have a corresponding FrameHostMsg_Detach message
300 // sent when the frame is detached from the DOM. 305 // sent when the frame is detached from the DOM.
301 // 306 //
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 424
420 IPC_MESSAGE_ROUTED1(FrameHostMsg_ReclaimCompositorResources, 425 IPC_MESSAGE_ROUTED1(FrameHostMsg_ReclaimCompositorResources,
421 FrameHostMsg_ReclaimCompositorResources_Params /* params */) 426 FrameHostMsg_ReclaimCompositorResources_Params /* params */)
422 427
423 // Forwards an input event to a child. 428 // Forwards an input event to a child.
424 // TODO(nick): Temporary bridge, revisit once the browser process can route 429 // TODO(nick): Temporary bridge, revisit once the browser process can route
425 // input directly to subframes. http://crbug.com/339659 430 // input directly to subframes. http://crbug.com/339659
426 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, 431 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent,
427 IPC::WebInputEventPointer /* event */) 432 IPC::WebInputEventPointer /* event */)
428 433
429 // Instructs the frame to swap out for a cross-site transition, including
430 // running the unload event handler. Expects a SwapOut_ACK message when
431 // finished.
432 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut)
433
434 // Used to tell the parent that the user right clicked on an area of the 434 // Used to tell the parent that the user right clicked on an area of the
435 // content area, and a context menu should be shown for it. The params 435 // content area, and a context menu should be shown for it. The params
436 // object contains information about the node(s) that were selected when the 436 // object contains information about the node(s) that were selected when the
437 // user right clicked. 437 // user right clicked.
438 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) 438 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
439
440 // Initial drawing parameters for a child frame that has been swapped out to
441 // another process.
442 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame,
443 gfx::Rect /* frame_rect */,
444 float /* scale_factor */)
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc ('k') | content/common/swapped_out_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698