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

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: Missed one Created 5 years, 6 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/common/cc_messages.h ('k') | content/renderer/child_frame_compositing_helper.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 "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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 405
404 // Notifies the embedding frame that a new CompositorFrame is ready to be 406 // Notifies the embedding frame that a new CompositorFrame is ready to be
405 // presented. When the frame finishes presenting, a matching 407 // presented. When the frame finishes presenting, a matching
406 // FrameHostMsg_CompositorFrameSwappedACK should be sent back to the 408 // FrameHostMsg_CompositorFrameSwappedACK should be sent back to the
407 // RenderViewHost that was produced the CompositorFrame. 409 // RenderViewHost that was produced the CompositorFrame.
408 // 410 //
409 // This is used in the ubercomp compositing path. 411 // This is used in the ubercomp compositing path.
410 IPC_MESSAGE_ROUTED1(FrameMsg_CompositorFrameSwapped, 412 IPC_MESSAGE_ROUTED1(FrameMsg_CompositorFrameSwapped,
411 FrameMsg_CompositorFrameSwapped_Params /* params */) 413 FrameMsg_CompositorFrameSwapped_Params /* params */)
412 414
415 IPC_MESSAGE_ROUTED4(FrameMsg_SetChildFrameSurface,
416 cc::SurfaceId /* surface_id */,
417 gfx::Size /* frame_size */,
418 float /* scale_factor */,
419 cc::SurfaceSequence /* sequence */)
420
413 // Notifies the embedding frame that the process rendering the child frame's 421 // Notifies the embedding frame that the process rendering the child frame's
414 // contents has terminated. 422 // contents has terminated.
415 IPC_MESSAGE_ROUTED0(FrameMsg_ChildFrameProcessGone) 423 IPC_MESSAGE_ROUTED0(FrameMsg_ChildFrameProcessGone)
416 424
417 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that 425 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that
418 // the menu has been closed. 426 // the menu has been closed.
419 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, 427 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed,
420 content::CustomContextMenuContext /* custom_context */) 428 content::CustomContextMenuContext /* custom_context */)
421 429
422 // Executes custom context menu action that was provided from Blink. 430 // Executes custom context menu action that was provided from Blink.
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 std::string /* mime_type */, 839 std::string /* mime_type */,
832 IPC::ChannelHandle /* channel_handle */, 840 IPC::ChannelHandle /* channel_handle */,
833 content::WebPluginInfo /* info */) 841 content::WebPluginInfo /* info */)
834 842
835 // Acknowledge that we presented an ubercomp frame. 843 // Acknowledge that we presented an ubercomp frame.
836 // 844 //
837 // See FrameMsg_CompositorFrameSwapped 845 // See FrameMsg_CompositorFrameSwapped
838 IPC_MESSAGE_ROUTED1(FrameHostMsg_CompositorFrameSwappedACK, 846 IPC_MESSAGE_ROUTED1(FrameHostMsg_CompositorFrameSwappedACK,
839 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) 847 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */)
840 848
849 // Satisfies a Surface destruction dependency associated with |sequence|.
850 IPC_MESSAGE_ROUTED1(FrameHostMsg_SatisfySequence,
851 cc::SurfaceSequence /* sequence */)
852
853 // Creates a destruction dependency for the Surface specified by the given
854 // |surface_id|.
855 IPC_MESSAGE_ROUTED2(FrameHostMsg_RequireSequence,
856 cc::SurfaceId /* surface_id */,
857 cc::SurfaceSequence /* sequence */)
858
841 // Provides the result from handling BeforeUnload. |proceed| matches the return 859 // Provides the result from handling BeforeUnload. |proceed| matches the return
842 // value of the frame's beforeunload handler: true if the user decided to 860 // value of the frame's beforeunload handler: true if the user decided to
843 // proceed with leaving the page. 861 // proceed with leaving the page.
844 IPC_MESSAGE_ROUTED3(FrameHostMsg_BeforeUnload_ACK, 862 IPC_MESSAGE_ROUTED3(FrameHostMsg_BeforeUnload_ACK,
845 bool /* proceed */, 863 bool /* proceed */,
846 base::TimeTicks /* before_unload_start_time */, 864 base::TimeTicks /* before_unload_start_time */,
847 base::TimeTicks /* before_unload_end_time */) 865 base::TimeTicks /* before_unload_end_time */)
848 866
849 // Indicates that the current frame has swapped out, after a SwapOut message. 867 // Indicates that the current frame has swapped out, after a SwapOut message.
850 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK) 868 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK)
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 FrameMsg_PostMessage_Params) 980 FrameMsg_PostMessage_Params)
963 981
964 #if defined(OS_MACOSX) || defined(OS_ANDROID) 982 #if defined(OS_MACOSX) || defined(OS_ANDROID)
965 983
966 // Message to show/hide a popup menu using native controls. 984 // Message to show/hide a popup menu using native controls.
967 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 985 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
968 FrameHostMsg_ShowPopup_Params) 986 FrameHostMsg_ShowPopup_Params)
969 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 987 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
970 988
971 #endif 989 #endif
OLDNEW
« no previous file with comments | « content/common/cc_messages.h ('k') | content/renderer/child_frame_compositing_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698