OLD | NEW |
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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 // Causes a window previously opened via RenderMessageFilter::CreateNewWindow to | 671 // Causes a window previously opened via RenderMessageFilter::CreateNewWindow to |
672 // be shown on the screen. This message is routed to the preexisting frame that | 672 // be shown on the screen. This message is routed to the preexisting frame that |
673 // opened the window, and |pending_widget_routing_id| corresponds to the | 673 // opened the window, and |pending_widget_routing_id| corresponds to the |
674 // widget routing id from the CreateNewWindow reply. | 674 // widget routing id from the CreateNewWindow reply. |
675 IPC_MESSAGE_ROUTED4(FrameHostMsg_ShowCreatedWindow, | 675 IPC_MESSAGE_ROUTED4(FrameHostMsg_ShowCreatedWindow, |
676 int /* pending_widget_routing_id */, | 676 int /* pending_widget_routing_id */, |
677 WindowOpenDisposition /* disposition */, | 677 WindowOpenDisposition /* disposition */, |
678 gfx::Rect /* initial_rect */, | 678 gfx::Rect /* initial_rect */, |
679 bool /* opened_by_user_gesture */) | 679 bool /* opened_by_user_gesture */) |
680 | 680 |
| 681 // Let the browser know a StreamHandle has been consumed and can be released. |
| 682 IPC_MESSAGE_ROUTED1(FrameHostMsg_StreamHandleConsumed, GURL /* stream_url */) |
| 683 |
681 #if BUILDFLAG(ENABLE_PLUGINS) | 684 #if BUILDFLAG(ENABLE_PLUGINS) |
682 IPC_STRUCT_TRAITS_BEGIN(content::PepperRendererInstanceData) | 685 IPC_STRUCT_TRAITS_BEGIN(content::PepperRendererInstanceData) |
683 IPC_STRUCT_TRAITS_MEMBER(render_process_id) | 686 IPC_STRUCT_TRAITS_MEMBER(render_process_id) |
684 IPC_STRUCT_TRAITS_MEMBER(render_frame_id) | 687 IPC_STRUCT_TRAITS_MEMBER(render_frame_id) |
685 IPC_STRUCT_TRAITS_MEMBER(document_url) | 688 IPC_STRUCT_TRAITS_MEMBER(document_url) |
686 IPC_STRUCT_TRAITS_MEMBER(plugin_url) | 689 IPC_STRUCT_TRAITS_MEMBER(plugin_url) |
687 IPC_STRUCT_TRAITS_MEMBER(is_potentially_secure_plugin_context) | 690 IPC_STRUCT_TRAITS_MEMBER(is_potentially_secure_plugin_context) |
688 IPC_STRUCT_TRAITS_END() | 691 IPC_STRUCT_TRAITS_END() |
689 #endif | 692 #endif |
690 | 693 |
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1700 int /* nfr_request_id */, | 1703 int /* nfr_request_id */, |
1701 float /* distance */) | 1704 float /* distance */) |
1702 | 1705 |
1703 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1706 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1704 #endif | 1707 #endif |
1705 | 1708 |
1706 // Adding a new message? Stick to the sort order above: first platform | 1709 // Adding a new message? Stick to the sort order above: first platform |
1707 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1710 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1708 // platform independent FrameHostMsg, then ifdefs for platform specific | 1711 // platform independent FrameHostMsg, then ifdefs for platform specific |
1709 // FrameHostMsg. | 1712 // FrameHostMsg. |
OLD | NEW |