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 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 IPC_STRUCT_MEMBER(bool, swapped_out) | 661 IPC_STRUCT_MEMBER(bool, swapped_out) |
662 | 662 |
663 // The initial page ID to use for this view, which must be larger than any | 663 // The initial page ID to use for this view, which must be larger than any |
664 // existing navigation that might be loaded in the view. Page IDs are unique | 664 // existing navigation that might be loaded in the view. Page IDs are unique |
665 // to a view and are only updated by the renderer after this initial value. | 665 // to a view and are only updated by the renderer after this initial value. |
666 IPC_STRUCT_MEMBER(int32, next_page_id) | 666 IPC_STRUCT_MEMBER(int32, next_page_id) |
667 | 667 |
668 // The properties of the screen associated with the view. | 668 // The properties of the screen associated with the view. |
669 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) | 669 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) |
670 | 670 |
671 // Indicates whether this newly created RenderView will be hosted by another | 671 // The name of the channel with which a guest talks to its embedder. |
672 // RenderView. | 672 // If this newly created RenderView has no embedder this string will be |
673 IPC_STRUCT_MEMBER(bool, guest) | 673 // empty. |
| 674 IPC_STRUCT_MEMBER(std::string, embedder_channel_name) |
674 | 675 |
675 // The accessibility mode of the renderer. | 676 // The accessibility mode of the renderer. |
676 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) | 677 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) |
677 IPC_STRUCT_END() | 678 IPC_STRUCT_END() |
678 | 679 |
679 // Messages sent from the browser to the renderer. | 680 // Messages sent from the browser to the renderer. |
680 | 681 |
681 // Sent to the RenderView when a new tab is swapped into an existing | 682 // Sent to the RenderView when a new tab is swapped into an existing |
682 // tab and the histories need to be merged. The existing tab has a history of | 683 // tab and the histories need to be merged. The existing tab has a history of |
683 // |merged_history_length| which precedes the history of the new tab. All | 684 // |merged_history_length| which precedes the history of the new tab. All |
(...skipping 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2057 // (according to the value of is_hung). The browser can give the user the | 2058 // (according to the value of is_hung). The browser can give the user the |
2058 // option of killing the plugin. | 2059 // option of killing the plugin. |
2059 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2060 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2060 int /* plugin_child_id */, | 2061 int /* plugin_child_id */, |
2061 FilePath /* path */, | 2062 FilePath /* path */, |
2062 bool /* is_hung */) | 2063 bool /* is_hung */) |
2063 | 2064 |
2064 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2065 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2065 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2066 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2066 int /* orientation */) | 2067 int /* orientation */) |
OLD | NEW |