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" | |
Charlie Reis
2012/05/11 17:41:03
I don't see where you're using this.
Fady Samuel
2012/05/11 22:03:34
Done.
| |
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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
643 IPC_STRUCT_MEMBER(bool, swapped_out) | 644 IPC_STRUCT_MEMBER(bool, swapped_out) |
644 | 645 |
645 // The initial page ID to use for this view, which must be larger than any | 646 // The initial page ID to use for this view, which must be larger than any |
646 // existing navigation that might be loaded in the view. Page IDs are unique | 647 // existing navigation that might be loaded in the view. Page IDs are unique |
647 // to a view and are only updated by the renderer after this initial value. | 648 // to a view and are only updated by the renderer after this initial value. |
648 IPC_STRUCT_MEMBER(int32, next_page_id) | 649 IPC_STRUCT_MEMBER(int32, next_page_id) |
649 | 650 |
650 // The properties of the screen associated with the view. | 651 // The properties of the screen associated with the view. |
651 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) | 652 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) |
652 | 653 |
653 // Indicates whether this newly created RenderView will be hosted by another | 654 // The process id of the RenderProcessHost of the embedder of this view if it |
Charlie Reis
2012/05/11 17:41:03
nit: id -> ID
Fady Samuel
2012/05/11 22:03:34
Done.
| |
654 // RenderView. | 655 // has one. |
655 IPC_STRUCT_MEMBER(bool, guest) | 656 IPC_STRUCT_MEMBER(int32, embedder_process_id) |
657 | |
658 // The routing ID of the embedder of this view if it has one. | |
659 // The process ID + routing ID uniquely identify the RenderViewHost | |
Charlie Reis
2012/05/11 17:41:03
Please be specific about embedder_process_id and e
Fady Samuel
2012/05/11 22:03:34
Done.
| |
660 // of the embedder. | |
661 IPC_STRUCT_MEMBER(int32, embedder_routing_id) | |
656 | 662 |
657 // The accessibility mode of the renderer. | 663 // The accessibility mode of the renderer. |
658 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) | 664 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) |
659 IPC_STRUCT_END() | 665 IPC_STRUCT_END() |
660 | 666 |
661 // Messages sent from the browser to the renderer. | 667 // Messages sent from the browser to the renderer. |
662 | 668 |
663 // Sent to the RenderView when a new tab is swapped into an existing | 669 // Sent to the RenderView when a new tab is swapped into an existing |
664 // tab and the histories need to be merged. The existing tab has a history of | 670 // tab and the histories need to be merged. The existing tab has a history of |
665 // |merged_history_length| which precedes the history of the new tab. All | 671 // |merged_history_length| which precedes the history of the new tab. All |
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2028 int /* automation_id */) | 2034 int /* automation_id */) |
2029 | 2035 |
2030 // Sent to the browser when the renderer detects it is blocked on a pepper | 2036 // Sent to the browser when the renderer detects it is blocked on a pepper |
2031 // plugin message for too long. This is also sent when it becomes unhung | 2037 // plugin message for too long. This is also sent when it becomes unhung |
2032 // (according to the value of is_hung). The browser can give the user the | 2038 // (according to the value of is_hung). The browser can give the user the |
2033 // option of killing the plugin. | 2039 // option of killing the plugin. |
2034 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2040 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2035 int /* plugin_child_id */, | 2041 int /* plugin_child_id */, |
2036 FilePath /* path */, | 2042 FilePath /* path */, |
2037 bool /* is_hung */) | 2043 bool /* is_hung */) |
OLD | NEW |