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

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

Issue 2932453002: PlzNavigate: Release StreamHandle. (Closed)
Patch Set: Addressed comments (+Rebase) Created 3 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 // Causes a window previously opened via RenderMessageFilter::CreateNewWindow to 668 // Causes a window previously opened via RenderMessageFilter::CreateNewWindow to
669 // be shown on the screen. This message is routed to the preexisting frame that 669 // be shown on the screen. This message is routed to the preexisting frame that
670 // opened the window, and |pending_widget_routing_id| corresponds to the 670 // opened the window, and |pending_widget_routing_id| corresponds to the
671 // widget routing id from the CreateNewWindow reply. 671 // widget routing id from the CreateNewWindow reply.
672 IPC_MESSAGE_ROUTED4(FrameHostMsg_ShowCreatedWindow, 672 IPC_MESSAGE_ROUTED4(FrameHostMsg_ShowCreatedWindow,
673 int /* pending_widget_routing_id */, 673 int /* pending_widget_routing_id */,
674 WindowOpenDisposition /* disposition */, 674 WindowOpenDisposition /* disposition */,
675 gfx::Rect /* initial_rect */, 675 gfx::Rect /* initial_rect */,
676 bool /* opened_by_user_gesture */) 676 bool /* opened_by_user_gesture */)
677 677
678 // Let the browser knows a StreamHandle has been consumed and can be released.
clamy 2017/06/12 15:15:47 nit: s/knows/know
arthursonzogni 2017/06/13 09:21:48 Done.
679 IPC_MESSAGE_ROUTED1(FrameHostMsg_StreamHandleConsumed, GURL /* stream_url */)
680
678 #if BUILDFLAG(ENABLE_PLUGINS) 681 #if BUILDFLAG(ENABLE_PLUGINS)
679 IPC_STRUCT_TRAITS_BEGIN(content::PepperRendererInstanceData) 682 IPC_STRUCT_TRAITS_BEGIN(content::PepperRendererInstanceData)
680 IPC_STRUCT_TRAITS_MEMBER(render_process_id) 683 IPC_STRUCT_TRAITS_MEMBER(render_process_id)
681 IPC_STRUCT_TRAITS_MEMBER(render_frame_id) 684 IPC_STRUCT_TRAITS_MEMBER(render_frame_id)
682 IPC_STRUCT_TRAITS_MEMBER(document_url) 685 IPC_STRUCT_TRAITS_MEMBER(document_url)
683 IPC_STRUCT_TRAITS_MEMBER(plugin_url) 686 IPC_STRUCT_TRAITS_MEMBER(plugin_url)
684 IPC_STRUCT_TRAITS_MEMBER(is_potentially_secure_plugin_context) 687 IPC_STRUCT_TRAITS_MEMBER(is_potentially_secure_plugin_context)
685 IPC_STRUCT_TRAITS_END() 688 IPC_STRUCT_TRAITS_END()
686 #endif 689 #endif
687 690
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
1691 int /* nfr_request_id */, 1694 int /* nfr_request_id */,
1692 float /* distance */) 1695 float /* distance */)
1693 1696
1694 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) 1697 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder)
1695 #endif 1698 #endif
1696 1699
1697 // Adding a new message? Stick to the sort order above: first platform 1700 // Adding a new message? Stick to the sort order above: first platform
1698 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1701 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1699 // platform independent FrameHostMsg, then ifdefs for platform specific 1702 // platform independent FrameHostMsg, then ifdefs for platform specific
1700 // FrameHostMsg. 1703 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698