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

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

Issue 1094113003: Allow out-of-process iframes to render to compositing surfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typo 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
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 "cc/surfaces/surface_id.h"
9 #include "cc/surfaces/surface_sequence.h"
8 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
9 #include "content/common/content_param_traits.h" 11 #include "content/common/content_param_traits.h"
10 #include "content/common/frame_message_enums.h" 12 #include "content/common/frame_message_enums.h"
11 #include "content/common/frame_param.h" 13 #include "content/common/frame_param.h"
12 #include "content/common/frame_replication_state.h" 14 #include "content/common/frame_replication_state.h"
13 #include "content/common/navigation_gesture.h" 15 #include "content/common/navigation_gesture.h"
14 #include "content/common/navigation_params.h" 16 #include "content/common/navigation_params.h"
15 #include "content/common/resource_request_body.h" 17 #include "content/common/resource_request_body.h"
16 #include "content/public/common/color_suggestion.h" 18 #include "content/public/common/color_suggestion.h"
17 #include "content/public/common/common_param_traits.h" 19 #include "content/public/common/common_param_traits.h"
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 363
362 // Notifies the embedding frame that a new CompositorFrame is ready to be 364 // Notifies the embedding frame that a new CompositorFrame is ready to be
363 // presented. When the frame finishes presenting, a matching 365 // presented. When the frame finishes presenting, a matching
364 // FrameHostMsg_CompositorFrameSwappedACK should be sent back to the 366 // FrameHostMsg_CompositorFrameSwappedACK should be sent back to the
365 // RenderViewHost that was produced the CompositorFrame. 367 // RenderViewHost that was produced the CompositorFrame.
366 // 368 //
367 // This is used in the ubercomp compositing path. 369 // This is used in the ubercomp compositing path.
368 IPC_MESSAGE_ROUTED1(FrameMsg_CompositorFrameSwapped, 370 IPC_MESSAGE_ROUTED1(FrameMsg_CompositorFrameSwapped,
369 FrameMsg_CompositorFrameSwapped_Params /* params */) 371 FrameMsg_CompositorFrameSwapped_Params /* params */)
370 372
373 IPC_MESSAGE_ROUTED4(FrameMsg_SetChildFrameSurface,
374 cc::SurfaceId /* surface_id */,
375 gfx::Size /* frame_size */,
376 float /* scale_factor */,
377 cc::SurfaceSequence /* sequence */)
378
371 // Notifies the embedding frame that the process rendering the child frame's 379 // Notifies the embedding frame that the process rendering the child frame's
372 // contents has terminated. 380 // contents has terminated.
373 IPC_MESSAGE_ROUTED0(FrameMsg_ChildFrameProcessGone) 381 IPC_MESSAGE_ROUTED0(FrameMsg_ChildFrameProcessGone)
374 382
375 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that 383 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that
376 // the menu has been closed. 384 // the menu has been closed.
377 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, 385 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed,
378 content::CustomContextMenuContext /* custom_context */) 386 content::CustomContextMenuContext /* custom_context */)
379 387
380 // Executes custom context menu action that was provided from Blink. 388 // Executes custom context menu action that was provided from Blink.
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 std::string /* mime_type */, 778 std::string /* mime_type */,
771 IPC::ChannelHandle /* channel_handle */, 779 IPC::ChannelHandle /* channel_handle */,
772 content::WebPluginInfo /* info */) 780 content::WebPluginInfo /* info */)
773 781
774 // Acknowledge that we presented an ubercomp frame. 782 // Acknowledge that we presented an ubercomp frame.
775 // 783 //
776 // See FrameMsg_CompositorFrameSwapped 784 // See FrameMsg_CompositorFrameSwapped
777 IPC_MESSAGE_ROUTED1(FrameHostMsg_CompositorFrameSwappedACK, 785 IPC_MESSAGE_ROUTED1(FrameHostMsg_CompositorFrameSwappedACK,
778 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) 786 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */)
779 787
788 // TODO
789 IPC_MESSAGE_ROUTED1(FrameHostMsg_SatisfySequence,
790 cc::SurfaceSequence /* sequence */)
791
792 // TODO
793 IPC_MESSAGE_ROUTED2(FrameHostMsg_RequireSequence,
794 cc::SurfaceId /* surface_id */,
795 cc::SurfaceSequence /* sequence */)
796
780 // Provides the result from handling BeforeUnload. |proceed| matches the return 797 // Provides the result from handling BeforeUnload. |proceed| matches the return
781 // value of the frame's beforeunload handler: true if the user decided to 798 // value of the frame's beforeunload handler: true if the user decided to
782 // proceed with leaving the page. 799 // proceed with leaving the page.
783 IPC_MESSAGE_ROUTED3(FrameHostMsg_BeforeUnload_ACK, 800 IPC_MESSAGE_ROUTED3(FrameHostMsg_BeforeUnload_ACK,
784 bool /* proceed */, 801 bool /* proceed */,
785 base::TimeTicks /* before_unload_start_time */, 802 base::TimeTicks /* before_unload_start_time */,
786 base::TimeTicks /* before_unload_end_time */) 803 base::TimeTicks /* before_unload_end_time */)
787 804
788 // Indicates that the current frame has swapped out, after a SwapOut message. 805 // Indicates that the current frame has swapped out, after a SwapOut message.
789 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK) 806 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK)
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 FrameMsg_PostMessage_Params) 923 FrameMsg_PostMessage_Params)
907 924
908 #if defined(OS_MACOSX) || defined(OS_ANDROID) 925 #if defined(OS_MACOSX) || defined(OS_ANDROID)
909 926
910 // Message to show/hide a popup menu using native controls. 927 // Message to show/hide a popup menu using native controls.
911 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 928 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
912 FrameHostMsg_ShowPopup_Params) 929 FrameHostMsg_ShowPopup_Params)
913 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 930 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
914 931
915 #endif 932 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698