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 10 matching lines...) Expand all Loading... |
21 #include "content/public/common/renderer_preferences.h" | 21 #include "content/public/common/renderer_preferences.h" |
22 #include "content/public/common/selected_file_info.h" | 22 #include "content/public/common/selected_file_info.h" |
23 #include "content/public/common/stop_find_action.h" | 23 #include "content/public/common/stop_find_action.h" |
24 #include "content/public/common/webkit_param_traits.h" | 24 #include "content/public/common/webkit_param_traits.h" |
25 #include "content/public/common/window_container_type.h" | 25 #include "content/public/common/window_container_type.h" |
26 #include "ipc/ipc_channel_handle.h" | 26 #include "ipc/ipc_channel_handle.h" |
27 #include "ipc/ipc_message_macros.h" | 27 #include "ipc/ipc_message_macros.h" |
28 #include "ipc/ipc_platform_file.h" | 28 #include "ipc/ipc_platform_file.h" |
29 #include "media/base/channel_layout.h" | 29 #include "media/base/channel_layout.h" |
30 #include "media/base/media_log_event.h" | 30 #include "media/base/media_log_event.h" |
| 31 #include "ppapi/c/pp_instance.h" |
31 #include "third_party/skia/include/core/SkBitmap.h" | 32 #include "third_party/skia/include/core/SkBitmap.h" |
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" |
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" |
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" |
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" |
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
39 #include "ui/base/ime/text_input_type.h" | 40 #include "ui/base/ime/text_input_type.h" |
40 #include "ui/base/javascript_message_type.h" | 41 #include "ui/base/javascript_message_type.h" |
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 IPC_STRUCT_MEMBER(bool, swapped_out) | 645 IPC_STRUCT_MEMBER(bool, swapped_out) |
645 | 646 |
646 // The initial page ID to use for this view, which must be larger than any | 647 // The initial page ID to use for this view, which must be larger than any |
647 // existing navigation that might be loaded in the view. Page IDs are unique | 648 // existing navigation that might be loaded in the view. Page IDs are unique |
648 // to a view and are only updated by the renderer after this initial value. | 649 // to a view and are only updated by the renderer after this initial value. |
649 IPC_STRUCT_MEMBER(int32, next_page_id) | 650 IPC_STRUCT_MEMBER(int32, next_page_id) |
650 | 651 |
651 // The properties of the screen associated with the view. | 652 // The properties of the screen associated with the view. |
652 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) | 653 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) |
653 | 654 |
654 // Indicates whether this newly created RenderView will be hosted by another | 655 // The name of the channel with which a guest talks to its embedder. |
655 // RenderView. | 656 // If this newly created RenderView has no embedder this string will be |
656 IPC_STRUCT_MEMBER(bool, guest) | 657 // empty. |
| 658 IPC_STRUCT_MEMBER(std::string, embedder_channel_name) |
657 | 659 |
658 // The accessibility mode of the renderer. | 660 // The accessibility mode of the renderer. |
659 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) | 661 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) |
660 IPC_STRUCT_END() | 662 IPC_STRUCT_END() |
661 | 663 |
662 // Messages sent from the browser to the renderer. | 664 // Messages sent from the browser to the renderer. |
663 | 665 |
664 // Sent to the RenderView when a new tab is swapped into an existing | 666 // Sent to the RenderView when a new tab is swapped into an existing |
665 // tab and the histories need to be merged. The existing tab has a history of | 667 // tab and the histories need to be merged. The existing tab has a history of |
666 // |merged_history_length| which precedes the history of the new tab. All | 668 // |merged_history_length| which precedes the history of the new tab. All |
(...skipping 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2027 int /* automation_id */) | 2029 int /* automation_id */) |
2028 | 2030 |
2029 // Sent to the browser when the renderer detects it is blocked on a pepper | 2031 // Sent to the browser when the renderer detects it is blocked on a pepper |
2030 // plugin message for too long. This is also sent when it becomes unhung | 2032 // plugin message for too long. This is also sent when it becomes unhung |
2031 // (according to the value of is_hung). The browser can give the user the | 2033 // (according to the value of is_hung). The browser can give the user the |
2032 // option of killing the plugin. | 2034 // option of killing the plugin. |
2033 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2035 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2034 int /* plugin_child_id */, | 2036 int /* plugin_child_id */, |
2035 FilePath /* path */, | 2037 FilePath /* path */, |
2036 bool /* is_hung */) | 2038 bool /* is_hung */) |
OLD | NEW |