OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 IPC_STRUCT_MEMBER(base::Time, request_time) | 703 IPC_STRUCT_MEMBER(base::Time, request_time) |
704 | 704 |
705 // Extra headers (separated by \n) to send during the request. | 705 // Extra headers (separated by \n) to send during the request. |
706 IPC_STRUCT_MEMBER(std::string, extra_headers) | 706 IPC_STRUCT_MEMBER(std::string, extra_headers) |
707 IPC_STRUCT_END() | 707 IPC_STRUCT_END() |
708 | 708 |
709 IPC_STRUCT_BEGIN(ViewMsg_New_Params) | 709 IPC_STRUCT_BEGIN(ViewMsg_New_Params) |
710 // The parent window's id. | 710 // The parent window's id. |
711 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) | 711 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) |
712 | 712 |
| 713 // Surface for accelerated rendering. |
| 714 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, compositing_surface) |
| 715 |
713 // Renderer-wide preferences. | 716 // Renderer-wide preferences. |
714 IPC_STRUCT_MEMBER(RendererPreferences, renderer_preferences) | 717 IPC_STRUCT_MEMBER(RendererPreferences, renderer_preferences) |
715 | 718 |
716 // Preferences for this view. | 719 // Preferences for this view. |
717 IPC_STRUCT_MEMBER(WebPreferences, web_preferences) | 720 IPC_STRUCT_MEMBER(WebPreferences, web_preferences) |
718 | 721 |
719 // The ID of the view to be created. | 722 // The ID of the view to be created. |
720 IPC_STRUCT_MEMBER(int32, view_id) | 723 IPC_STRUCT_MEMBER(int32, view_id) |
721 | 724 |
722 // The session storage namespace ID this view should use. | 725 // The session storage namespace ID this view should use. |
(...skipping 27 matching lines...) Expand all Loading... |
750 // Tells the renderer to create a new view. | 753 // Tells the renderer to create a new view. |
751 // This message is slightly different, the view it takes (via | 754 // This message is slightly different, the view it takes (via |
752 // ViewMsg_New_Params) is the view to create, the message itself is sent as a | 755 // ViewMsg_New_Params) is the view to create, the message itself is sent as a |
753 // non-view control message. | 756 // non-view control message. |
754 IPC_MESSAGE_CONTROL1(ViewMsg_New, | 757 IPC_MESSAGE_CONTROL1(ViewMsg_New, |
755 ViewMsg_New_Params) | 758 ViewMsg_New_Params) |
756 | 759 |
757 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. | 760 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. |
758 // similar to the new command, but used when the renderer created a view | 761 // similar to the new command, but used when the renderer created a view |
759 // first, and we need to update it. | 762 // first, and we need to update it. |
760 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, | 763 IPC_MESSAGE_ROUTED2(ViewMsg_CreatingNew_ACK, |
761 gfx::NativeViewId /* parent_hwnd */) | 764 gfx::NativeViewId /* parent_hwnd */, |
| 765 gfx::PluginWindowHandle /* compositing_surface */) |
762 | 766 |
763 // Sends updated preferences to the renderer. | 767 // Sends updated preferences to the renderer. |
764 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, | 768 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, |
765 RendererPreferences) | 769 RendererPreferences) |
766 | 770 |
767 // This passes a set of webkit preferences down to the renderer. | 771 // This passes a set of webkit preferences down to the renderer. |
768 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, | 772 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, |
769 WebPreferences) | 773 WebPreferences) |
770 | 774 |
771 // Tells the render view to close. | 775 // Tells the render view to close. |
(...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1956 // Stores new inspector setting in the profile. | 1960 // Stores new inspector setting in the profile. |
1957 // TODO(jam): this should be in the chrome module | 1961 // TODO(jam): this should be in the chrome module |
1958 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, | 1962 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, |
1959 std::string, /* key */ | 1963 std::string, /* key */ |
1960 std::string /* value */) | 1964 std::string /* value */) |
1961 | 1965 |
1962 // Message sent from the renderer to the browser to notify it of events which | 1966 // Message sent from the renderer to the browser to notify it of events which |
1963 // may lead to the cancellation of a prerender. The message is sent only when | 1967 // may lead to the cancellation of a prerender. The message is sent only when |
1964 // the renderer is in prerender mode. | 1968 // the renderer is in prerender mode. |
1965 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) | 1969 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) |
OLD | NEW |