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

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

Issue 1118083004: Revert of OOPIF: Specify previous sibling frames when creating new RenderFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 // is MSG_ROUTING_NONE and the other parameters are not read. 291 // is MSG_ROUTING_NONE and the other parameters are not read.
292 IPC_STRUCT_MEMBER(int, routing_id) 292 IPC_STRUCT_MEMBER(int, routing_id)
293 293
294 // Identifier for the output surface for the new RenderWidget. 294 // Identifier for the output surface for the new RenderWidget.
295 IPC_STRUCT_MEMBER(int, surface_id) 295 IPC_STRUCT_MEMBER(int, surface_id)
296 296
297 // Tells the new RenderWidget whether it is initially hidden. 297 // Tells the new RenderWidget whether it is initially hidden.
298 IPC_STRUCT_MEMBER(bool, hidden) 298 IPC_STRUCT_MEMBER(bool, hidden)
299 IPC_STRUCT_END() 299 IPC_STRUCT_END()
300 300
301 IPC_STRUCT_BEGIN(FrameMsg_NewFrame_Params)
302 // Specifies the routing ID of the new RenderFrame object.
303 IPC_STRUCT_MEMBER(int, routing_id)
304
305 // The new frame should be created as a child of the object
306 // identified by |parent_routing_id| or as top level if that is
307 // MSG_ROUTING_NONE.
308 IPC_STRUCT_MEMBER(int, parent_routing_id)
309
310 // Identifies the previous sibling of the new frame, so that the new frame is
311 // inserted into the correct place in the frame tree. If this is
312 // MSG_ROUTING_NONE, the frame will be created as the leftmost child of its
313 // parent frame, in front of any other children.
314 IPC_STRUCT_MEMBER(int, previous_sibling_routing_id)
315
316 // If a valid |proxy_routing_id| is provided, the new frame will be
317 // configured to replace the proxy on commit.
318 IPC_STRUCT_MEMBER(int, proxy_routing_id)
319
320 // When the new frame has a parent, |replication_state| holds the new frame's
321 // properties replicated from the process rendering the parent frame, such as
322 // the new frame's sandbox flags.
323 IPC_STRUCT_MEMBER(content::FrameReplicationState, replication_state)
324
325 // Specifies properties for a new RenderWidget that will be attached to the
326 // new RenderFrame (if one is needed).
327 IPC_STRUCT_MEMBER(FrameMsg_NewFrame_WidgetParams, widget_params)
328 IPC_STRUCT_END()
329
330 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) 301 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params)
331 IPC_STRUCT_MEMBER(GURL, url) 302 IPC_STRUCT_MEMBER(GURL, url)
332 IPC_STRUCT_MEMBER(content::Referrer, referrer) 303 IPC_STRUCT_MEMBER(content::Referrer, referrer)
333 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) 304 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
334 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) 305 IPC_STRUCT_MEMBER(bool, should_replace_current_entry)
335 IPC_STRUCT_MEMBER(bool, user_gesture) 306 IPC_STRUCT_MEMBER(bool, user_gesture)
336 IPC_STRUCT_END() 307 IPC_STRUCT_END()
337 308
338 IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params) 309 IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params)
339 // Background color of the text track. 310 // Background color of the text track.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 content::CustomContextMenuContext /* custom_context */, 382 content::CustomContextMenuContext /* custom_context */,
412 unsigned /* action */) 383 unsigned /* action */)
413 384
414 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. 385 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null.
415 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) 386 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener)
416 387
417 // Requests that the RenderFrame send back a response after waiting for the 388 // Requests that the RenderFrame send back a response after waiting for the
418 // commit, activation and frame swap of the current DOM tree in blink. 389 // commit, activation and frame swap of the current DOM tree in blink.
419 IPC_MESSAGE_ROUTED1(FrameMsg_VisualStateRequest, uint64 /* id */) 390 IPC_MESSAGE_ROUTED1(FrameMsg_VisualStateRequest, uint64 /* id */)
420 391
421 // Instructs the renderer to create a new RenderFrame object. 392 // Instructs the renderer to create a new RenderFrame object with |routing_id|.
422 IPC_MESSAGE_CONTROL1(FrameMsg_NewFrame, FrameMsg_NewFrame_Params /* params */); 393 // The new frame should be created as a child of the object identified by
394 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE.
395 // If a valid |proxy_routing_id| is provided, the new frame will be configured
396 // to replace the proxy on commit. When the new frame has a parent,
397 // |replication_state| holds properties replicated from the process rendering
398 // the parent frame, such as the new frame's sandbox flags.
399 IPC_MESSAGE_CONTROL5(FrameMsg_NewFrame,
400 int /* routing_id */,
401 int /* parent_routing_id */,
402 int /* proxy_routing_id */,
403 content::FrameReplicationState /* replication_state */,
404 FrameMsg_NewFrame_WidgetParams /* widget_params */)
423 405
424 // Instructs the renderer to create a new RenderFrameProxy object with 406 // Instructs the renderer to create a new RenderFrameProxy object with
425 // |routing_id|. The new proxy should be created as a child of the object 407 // |routing_id|. The new proxy should be created as a child of the object
426 // identified by |parent_routing_id| or as top level if that is 408 // identified by |parent_routing_id| or as top level if that is
427 // MSG_ROUTING_NONE. 409 // MSG_ROUTING_NONE.
428 IPC_MESSAGE_CONTROL4(FrameMsg_NewFrameProxy, 410 IPC_MESSAGE_CONTROL4(FrameMsg_NewFrameProxy,
429 int /* routing_id */, 411 int /* routing_id */,
430 int /* parent_routing_id */, 412 int /* parent_routing_id */,
431 int /* render_view_routing_id */, 413 int /* render_view_routing_id */,
432 content::FrameReplicationState /* replication_state */) 414 content::FrameReplicationState /* replication_state */)
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 FrameMsg_PostMessage_Params) 906 FrameMsg_PostMessage_Params)
925 907
926 #if defined(OS_MACOSX) || defined(OS_ANDROID) 908 #if defined(OS_MACOSX) || defined(OS_ANDROID)
927 909
928 // Message to show/hide a popup menu using native controls. 910 // Message to show/hide a popup menu using native controls.
929 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 911 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
930 FrameHostMsg_ShowPopup_Params) 912 FrameHostMsg_ShowPopup_Params)
931 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 913 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
932 914
933 #endif 915 #endif
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698