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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 IPC_STRUCT_MEMBER(std::vector<content::MenuItem>, popup_items) | 564 IPC_STRUCT_MEMBER(std::vector<content::MenuItem>, popup_items) |
565 | 565 |
566 // Whether items should be right-aligned. | 566 // Whether items should be right-aligned. |
567 IPC_STRUCT_MEMBER(bool, right_aligned) | 567 IPC_STRUCT_MEMBER(bool, right_aligned) |
568 | 568 |
569 // Whether this is a multi-select popup. | 569 // Whether this is a multi-select popup. |
570 IPC_STRUCT_MEMBER(bool, allow_multiple_selection) | 570 IPC_STRUCT_MEMBER(bool, allow_multiple_selection) |
571 IPC_STRUCT_END() | 571 IPC_STRUCT_END() |
572 #endif | 572 #endif |
573 | 573 |
| 574 // Causes a window previously opened via RenderMessageFilter::CreateNewWindow to |
| 575 // be shown on the screen. This message is routed to the preexisting frame that |
| 576 // opened the window, and |pending_widget_routing_id| corresponds to the |
| 577 // widget routing id from the CreateNewWindow reply. |
| 578 IPC_MESSAGE_ROUTED4(FrameHostMsg_ShowCreatedWindow, |
| 579 int /* pending_widget_routing_id */, |
| 580 WindowOpenDisposition /* disposition */, |
| 581 gfx::Rect /* initial_rect */, |
| 582 bool /* opened_by_user_gesture */) |
| 583 |
574 #if BUILDFLAG(ENABLE_PLUGINS) | 584 #if BUILDFLAG(ENABLE_PLUGINS) |
575 IPC_STRUCT_TRAITS_BEGIN(content::PepperRendererInstanceData) | 585 IPC_STRUCT_TRAITS_BEGIN(content::PepperRendererInstanceData) |
576 IPC_STRUCT_TRAITS_MEMBER(render_process_id) | 586 IPC_STRUCT_TRAITS_MEMBER(render_process_id) |
577 IPC_STRUCT_TRAITS_MEMBER(render_frame_id) | 587 IPC_STRUCT_TRAITS_MEMBER(render_frame_id) |
578 IPC_STRUCT_TRAITS_MEMBER(document_url) | 588 IPC_STRUCT_TRAITS_MEMBER(document_url) |
579 IPC_STRUCT_TRAITS_MEMBER(plugin_url) | 589 IPC_STRUCT_TRAITS_MEMBER(plugin_url) |
580 IPC_STRUCT_TRAITS_MEMBER(is_potentially_secure_plugin_context) | 590 IPC_STRUCT_TRAITS_MEMBER(is_potentially_secure_plugin_context) |
581 IPC_STRUCT_TRAITS_END() | 591 IPC_STRUCT_TRAITS_END() |
582 #endif | 592 #endif |
583 | 593 |
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1507 // nearest find result in the sending frame. | 1517 // nearest find result in the sending frame. |
1508 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1518 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1509 int /* nfr_request_id */, | 1519 int /* nfr_request_id */, |
1510 float /* distance */) | 1520 float /* distance */) |
1511 #endif | 1521 #endif |
1512 | 1522 |
1513 // Adding a new message? Stick to the sort order above: first platform | 1523 // Adding a new message? Stick to the sort order above: first platform |
1514 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1524 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1515 // platform independent FrameHostMsg, then ifdefs for platform specific | 1525 // platform independent FrameHostMsg, then ifdefs for platform specific |
1516 // FrameHostMsg. | 1526 // FrameHostMsg. |
OLD | NEW |