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" |
11 #include "content/common/css_colors.h" | 11 #include "content/common/css_colors.h" |
12 #include "content/common/edit_command.h" | 12 #include "content/common/edit_command.h" |
13 #include "content/common/navigation_gesture.h" | 13 #include "content/common/navigation_gesture.h" |
14 #include "content/common/page_transition_types.h" | 14 #include "content/common/page_transition_types.h" |
15 #include "content/common/page_zoom.h" | 15 #include "content/common/page_zoom.h" |
16 #include "content/common/renderer_preferences.h" | 16 #include "content/common/renderer_preferences.h" |
17 #include "content/common/webkit_param_traits.h" | 17 #include "content/common/webkit_param_traits.h" |
18 #include "content/common/window_container_type.h" | 18 #include "content/common/window_container_type.h" |
19 #include "ipc/ipc_message_macros.h" | 19 #include "ipc/ipc_message_macros.h" |
20 #include "ipc/ipc_platform_file.h" | 20 #include "ipc/ipc_platform_file.h" |
| 21 #include "media/base/media_log_event.h" |
21 #include "net/base/host_port_pair.h" | 22 #include "net/base/host_port_pair.h" |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" |
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
27 #include "ui/base/ime/text_input_type.h" | 28 #include "ui/base/ime/text_input_type.h" |
28 #include "ui/base/range/range.h" | 29 #include "ui/base/range/range.h" |
29 #include "ui/gfx/rect.h" | 30 #include "ui/gfx/rect.h" |
30 #include "webkit/glue/context_menu.h" | 31 #include "webkit/glue/context_menu.h" |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType) | 165 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType) |
165 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type) | 166 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type) |
166 IPC_ENUM_TRAITS(WebKit::WebPopupType) | 167 IPC_ENUM_TRAITS(WebKit::WebPopupType) |
167 IPC_ENUM_TRAITS(ui::TextInputType) | 168 IPC_ENUM_TRAITS(ui::TextInputType) |
168 IPC_ENUM_TRAITS(WebMenuItem::Type) | 169 IPC_ENUM_TRAITS(WebMenuItem::Type) |
169 IPC_ENUM_TRAITS(WindowContainerType) | 170 IPC_ENUM_TRAITS(WindowContainerType) |
170 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::IntAttribute) | 171 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::IntAttribute) |
171 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role) | 172 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role) |
172 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State) | 173 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State) |
173 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::StringAttribute) | 174 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::StringAttribute) |
| 175 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) |
174 | 176 |
175 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams) | 177 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams) |
176 IPC_STRUCT_TRAITS_MEMBER(media_type) | 178 IPC_STRUCT_TRAITS_MEMBER(media_type) |
177 IPC_STRUCT_TRAITS_MEMBER(x) | 179 IPC_STRUCT_TRAITS_MEMBER(x) |
178 IPC_STRUCT_TRAITS_MEMBER(y) | 180 IPC_STRUCT_TRAITS_MEMBER(y) |
179 IPC_STRUCT_TRAITS_MEMBER(link_url) | 181 IPC_STRUCT_TRAITS_MEMBER(link_url) |
180 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url) | 182 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url) |
181 IPC_STRUCT_TRAITS_MEMBER(src_url) | 183 IPC_STRUCT_TRAITS_MEMBER(src_url) |
182 IPC_STRUCT_TRAITS_MEMBER(is_image_blocked) | 184 IPC_STRUCT_TRAITS_MEMBER(is_image_blocked) |
183 IPC_STRUCT_TRAITS_MEMBER(page_url) | 185 IPC_STRUCT_TRAITS_MEMBER(page_url) |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 | 401 |
400 IPC_STRUCT_TRAITS_BEGIN(webkit::npapi::WebPluginInfo) | 402 IPC_STRUCT_TRAITS_BEGIN(webkit::npapi::WebPluginInfo) |
401 IPC_STRUCT_TRAITS_MEMBER(name) | 403 IPC_STRUCT_TRAITS_MEMBER(name) |
402 IPC_STRUCT_TRAITS_MEMBER(path) | 404 IPC_STRUCT_TRAITS_MEMBER(path) |
403 IPC_STRUCT_TRAITS_MEMBER(version) | 405 IPC_STRUCT_TRAITS_MEMBER(version) |
404 IPC_STRUCT_TRAITS_MEMBER(desc) | 406 IPC_STRUCT_TRAITS_MEMBER(desc) |
405 IPC_STRUCT_TRAITS_MEMBER(mime_types) | 407 IPC_STRUCT_TRAITS_MEMBER(mime_types) |
406 IPC_STRUCT_TRAITS_MEMBER(enabled) | 408 IPC_STRUCT_TRAITS_MEMBER(enabled) |
407 IPC_STRUCT_TRAITS_END() | 409 IPC_STRUCT_TRAITS_END() |
408 | 410 |
| 411 IPC_STRUCT_TRAITS_BEGIN(media::MediaLogEvent) |
| 412 IPC_STRUCT_TRAITS_MEMBER(id) |
| 413 IPC_STRUCT_TRAITS_MEMBER(type) |
| 414 IPC_STRUCT_TRAITS_MEMBER(params) |
| 415 IPC_STRUCT_TRAITS_MEMBER(time) |
| 416 IPC_STRUCT_TRAITS_END() |
| 417 |
409 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) | 418 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) |
410 // Routing ID of the view initiating the open. | 419 // Routing ID of the view initiating the open. |
411 IPC_STRUCT_MEMBER(int, opener_id) | 420 IPC_STRUCT_MEMBER(int, opener_id) |
412 | 421 |
413 // True if this open request came in the context of a user gesture. | 422 // True if this open request came in the context of a user gesture. |
414 IPC_STRUCT_MEMBER(bool, user_gesture) | 423 IPC_STRUCT_MEMBER(bool, user_gesture) |
415 | 424 |
416 // Type of window requested. | 425 // Type of window requested. |
417 IPC_STRUCT_MEMBER(WindowContainerType, window_container_type) | 426 IPC_STRUCT_MEMBER(WindowContainerType, window_container_type) |
418 | 427 |
(...skipping 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1997 | 2006 |
1998 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, | 2007 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
1999 std::vector<GURL> /* all savable resource links */, | 2008 std::vector<GURL> /* all savable resource links */, |
2000 std::vector<GURL> /* all referrers of resource links */, | 2009 std::vector<GURL> /* all referrers of resource links */, |
2001 std::vector<GURL> /* all frame links */) | 2010 std::vector<GURL> /* all frame links */) |
2002 | 2011 |
2003 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, | 2012 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, |
2004 GURL /* frame's url */, | 2013 GURL /* frame's url */, |
2005 std::string /* data buffer */, | 2014 std::string /* data buffer */, |
2006 int32 /* complete status */) | 2015 int32 /* complete status */) |
| 2016 |
| 2017 // Notifies the browser of an event occurring in the media pipeline. |
| 2018 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
| 2019 media::MediaLogEvent /* event */) |
OLD | NEW |