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 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 IPC_STRUCT_MEMBER(std::vector<content::MenuItem>, popup_items) | 578 IPC_STRUCT_MEMBER(std::vector<content::MenuItem>, popup_items) |
579 | 579 |
580 // Whether items should be right-aligned. | 580 // Whether items should be right-aligned. |
581 IPC_STRUCT_MEMBER(bool, right_aligned) | 581 IPC_STRUCT_MEMBER(bool, right_aligned) |
582 | 582 |
583 // Whether this is a multi-select popup. | 583 // Whether this is a multi-select popup. |
584 IPC_STRUCT_MEMBER(bool, allow_multiple_selection) | 584 IPC_STRUCT_MEMBER(bool, allow_multiple_selection) |
585 IPC_STRUCT_END() | 585 IPC_STRUCT_END() |
586 #endif | 586 #endif |
587 | 587 |
| 588 // Causes a window previously opened via RenderMessageFilter::CreateNewWindow to |
| 589 // be shown on the screen. This message is routed to the preexisting frame that |
| 590 // opened the window, and |pending_widget_routing_id| corresponds to the |
| 591 // widget routing id from the CreateNewWindow reply. |
| 592 IPC_MESSAGE_ROUTED4(FrameHostMsg_ShowCreatedWindow, |
| 593 int /* pending_widget_routing_id */, |
| 594 WindowOpenDisposition /* disposition */, |
| 595 gfx::Rect /* initial_rect */, |
| 596 bool /* opened_by_user_gesture */) |
| 597 |
588 #if BUILDFLAG(ENABLE_PLUGINS) | 598 #if BUILDFLAG(ENABLE_PLUGINS) |
589 IPC_STRUCT_TRAITS_BEGIN(content::PepperRendererInstanceData) | 599 IPC_STRUCT_TRAITS_BEGIN(content::PepperRendererInstanceData) |
590 IPC_STRUCT_TRAITS_MEMBER(render_process_id) | 600 IPC_STRUCT_TRAITS_MEMBER(render_process_id) |
591 IPC_STRUCT_TRAITS_MEMBER(render_frame_id) | 601 IPC_STRUCT_TRAITS_MEMBER(render_frame_id) |
592 IPC_STRUCT_TRAITS_MEMBER(document_url) | 602 IPC_STRUCT_TRAITS_MEMBER(document_url) |
593 IPC_STRUCT_TRAITS_MEMBER(plugin_url) | 603 IPC_STRUCT_TRAITS_MEMBER(plugin_url) |
594 IPC_STRUCT_TRAITS_MEMBER(is_potentially_secure_plugin_context) | 604 IPC_STRUCT_TRAITS_MEMBER(is_potentially_secure_plugin_context) |
595 IPC_STRUCT_TRAITS_END() | 605 IPC_STRUCT_TRAITS_END() |
596 #endif | 606 #endif |
597 | 607 |
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1529 // nearest find result in the sending frame. | 1539 // nearest find result in the sending frame. |
1530 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1540 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1531 int /* nfr_request_id */, | 1541 int /* nfr_request_id */, |
1532 float /* distance */) | 1542 float /* distance */) |
1533 #endif | 1543 #endif |
1534 | 1544 |
1535 // Adding a new message? Stick to the sort order above: first platform | 1545 // Adding a new message? Stick to the sort order above: first platform |
1536 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1546 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1537 // platform independent FrameHostMsg, then ifdefs for platform specific | 1547 // platform independent FrameHostMsg, then ifdefs for platform specific |
1538 // FrameHostMsg. | 1548 // FrameHostMsg. |
OLD | NEW |