OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 | 620 |
621 // The following two members identify a previous request that has been | 621 // The following two members identify a previous request that has been |
622 // created before this navigation is being transferred to a new render view. | 622 // created before this navigation is being transferred to a new render view. |
623 // This serves the purpose of recycling the old request. | 623 // This serves the purpose of recycling the old request. |
624 // Unless this refers to a transferred navigation, these values are -1 and -1. | 624 // Unless this refers to a transferred navigation, these values are -1 and -1. |
625 IPC_STRUCT_MEMBER(int, transferred_request_child_id) | 625 IPC_STRUCT_MEMBER(int, transferred_request_child_id) |
626 IPC_STRUCT_MEMBER(int, transferred_request_request_id) | 626 IPC_STRUCT_MEMBER(int, transferred_request_request_id) |
627 | 627 |
628 // Whether or not we should allow the url to download. | 628 // Whether or not we should allow the url to download. |
629 IPC_STRUCT_MEMBER(bool, allow_download) | 629 IPC_STRUCT_MEMBER(bool, allow_download) |
| 630 |
| 631 // The name of the channel with which a guest talks to its embedder. |
| 632 // If this newly created RenderView has no embedder this string will be |
| 633 // empty. |
| 634 IPC_STRUCT_MEMBER(std::string, embedder_channel_name) |
| 635 |
| 636 // The identifier in the embedder render process of the container hosting this |
| 637 // guest RenderView. The embedder_channel_name and embedder_container_id |
| 638 // together uniquely identify a browser plugin instance. |
| 639 IPC_STRUCT_MEMBER(int, embedder_container_id) |
630 IPC_STRUCT_END() | 640 IPC_STRUCT_END() |
631 | 641 |
632 IPC_STRUCT_BEGIN(ViewMsg_New_Params) | 642 IPC_STRUCT_BEGIN(ViewMsg_New_Params) |
633 // The parent window's id. | 643 // The parent window's id. |
634 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) | 644 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) |
635 | 645 |
636 // Renderer-wide preferences. | 646 // Renderer-wide preferences. |
637 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) | 647 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) |
638 | 648 |
639 // Preferences for this view. | 649 // Preferences for this view. |
(...skipping 24 matching lines...) Expand all Loading... |
664 IPC_STRUCT_MEMBER(int32, next_page_id) | 674 IPC_STRUCT_MEMBER(int32, next_page_id) |
665 | 675 |
666 // The properties of the screen associated with the view. | 676 // The properties of the screen associated with the view. |
667 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) | 677 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) |
668 | 678 |
669 // The name of the channel with which a guest talks to its embedder. | 679 // The name of the channel with which a guest talks to its embedder. |
670 // If this newly created RenderView has no embedder this string will be | 680 // If this newly created RenderView has no embedder this string will be |
671 // empty. | 681 // empty. |
672 IPC_STRUCT_MEMBER(std::string, embedder_channel_name) | 682 IPC_STRUCT_MEMBER(std::string, embedder_channel_name) |
673 | 683 |
| 684 // The identifier in the embedder render process of the container hosting this |
| 685 // guest RenderView. The embedder_channel_name and embedder_container_id |
| 686 // together uniquely identify a browser plugin instance. |
| 687 IPC_STRUCT_MEMBER(int, embedder_container_id) |
| 688 |
674 // The accessibility mode of the renderer. | 689 // The accessibility mode of the renderer. |
675 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) | 690 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) |
676 IPC_STRUCT_END() | 691 IPC_STRUCT_END() |
677 | 692 |
678 // Messages sent from the browser to the renderer. | 693 // Messages sent from the browser to the renderer. |
679 | 694 |
680 // Sent to the RenderView when a new tab is swapped into an existing | 695 // Sent to the RenderView when a new tab is swapped into an existing |
681 // tab and the histories need to be merged. The existing tab has a history of | 696 // tab and the histories need to be merged. The existing tab has a history of |
682 // |merged_history_length| which precedes the history of the new tab. All | 697 // |merged_history_length| which precedes the history of the new tab. All |
683 // page_ids >= |minimum_page_id| in the new tab are appended to the history. | 698 // page_ids >= |minimum_page_id| in the new tab are appended to the history. |
(...skipping 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2054 // (according to the value of is_hung). The browser can give the user the | 2069 // (according to the value of is_hung). The browser can give the user the |
2055 // option of killing the plugin. | 2070 // option of killing the plugin. |
2056 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2071 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2057 int /* plugin_child_id */, | 2072 int /* plugin_child_id */, |
2058 FilePath /* path */, | 2073 FilePath /* path */, |
2059 bool /* is_hung */) | 2074 bool /* is_hung */) |
2060 | 2075 |
2061 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2076 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2062 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2077 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2063 int /* orientation */) | 2078 int /* orientation */) |
OLD | NEW |