Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: content/common/view_messages.h

Issue 7480032: Plumb media data from renderers up to MediaInternals in the browser process. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebasing onto http://codereview.chromium.org/7491048 prior to (hopefully) relanding. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(WebKit::WebTextDirection) 168 IPC_ENUM_TRAITS(WebKit::WebTextDirection)
168 IPC_ENUM_TRAITS(ui::TextInputType) 169 IPC_ENUM_TRAITS(ui::TextInputType)
169 IPC_ENUM_TRAITS(WebMenuItem::Type) 170 IPC_ENUM_TRAITS(WebMenuItem::Type)
170 IPC_ENUM_TRAITS(WindowContainerType) 171 IPC_ENUM_TRAITS(WindowContainerType)
171 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::IntAttribute) 172 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::IntAttribute)
172 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role) 173 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role)
173 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State) 174 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State)
174 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::StringAttribute) 175 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::StringAttribute)
176 IPC_ENUM_TRAITS(media::MediaLogEvent::Type)
scherkus (not reviewing) 2011/08/08 21:20:51 nit: this looks like it should be in AZ order
175 177
176 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams) 178 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams)
177 IPC_STRUCT_TRAITS_MEMBER(media_type) 179 IPC_STRUCT_TRAITS_MEMBER(media_type)
178 IPC_STRUCT_TRAITS_MEMBER(x) 180 IPC_STRUCT_TRAITS_MEMBER(x)
179 IPC_STRUCT_TRAITS_MEMBER(y) 181 IPC_STRUCT_TRAITS_MEMBER(y)
180 IPC_STRUCT_TRAITS_MEMBER(link_url) 182 IPC_STRUCT_TRAITS_MEMBER(link_url)
181 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url) 183 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url)
182 IPC_STRUCT_TRAITS_MEMBER(src_url) 184 IPC_STRUCT_TRAITS_MEMBER(src_url)
183 IPC_STRUCT_TRAITS_MEMBER(is_image_blocked) 185 IPC_STRUCT_TRAITS_MEMBER(is_image_blocked)
184 IPC_STRUCT_TRAITS_MEMBER(page_url) 186 IPC_STRUCT_TRAITS_MEMBER(page_url)
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 403
402 IPC_STRUCT_TRAITS_BEGIN(webkit::npapi::WebPluginInfo) 404 IPC_STRUCT_TRAITS_BEGIN(webkit::npapi::WebPluginInfo)
403 IPC_STRUCT_TRAITS_MEMBER(name) 405 IPC_STRUCT_TRAITS_MEMBER(name)
404 IPC_STRUCT_TRAITS_MEMBER(path) 406 IPC_STRUCT_TRAITS_MEMBER(path)
405 IPC_STRUCT_TRAITS_MEMBER(version) 407 IPC_STRUCT_TRAITS_MEMBER(version)
406 IPC_STRUCT_TRAITS_MEMBER(desc) 408 IPC_STRUCT_TRAITS_MEMBER(desc)
407 IPC_STRUCT_TRAITS_MEMBER(mime_types) 409 IPC_STRUCT_TRAITS_MEMBER(mime_types)
408 IPC_STRUCT_TRAITS_MEMBER(enabled) 410 IPC_STRUCT_TRAITS_MEMBER(enabled)
409 IPC_STRUCT_TRAITS_END() 411 IPC_STRUCT_TRAITS_END()
410 412
413 IPC_STRUCT_TRAITS_BEGIN(media::MediaLogEvent)
scherkus (not reviewing) 2011/08/08 21:20:51 possibly ditto for this
414 IPC_STRUCT_TRAITS_MEMBER(id)
415 IPC_STRUCT_TRAITS_MEMBER(type)
416 IPC_STRUCT_TRAITS_MEMBER(params)
417 IPC_STRUCT_TRAITS_MEMBER(time)
418 IPC_STRUCT_TRAITS_END()
419
411 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) 420 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params)
412 // Routing ID of the view initiating the open. 421 // Routing ID of the view initiating the open.
413 IPC_STRUCT_MEMBER(int, opener_id) 422 IPC_STRUCT_MEMBER(int, opener_id)
414 423
415 // True if this open request came in the context of a user gesture. 424 // True if this open request came in the context of a user gesture.
416 IPC_STRUCT_MEMBER(bool, user_gesture) 425 IPC_STRUCT_MEMBER(bool, user_gesture)
417 426
418 // Type of window requested. 427 // Type of window requested.
419 IPC_STRUCT_MEMBER(WindowContainerType, window_container_type) 428 IPC_STRUCT_MEMBER(WindowContainerType, window_container_type)
420 429
(...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after
2021 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, 2030 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData,
2022 GURL /* frame's url */, 2031 GURL /* frame's url */,
2023 std::string /* data buffer */, 2032 std::string /* data buffer */,
2024 int32 /* complete status */) 2033 int32 /* complete status */)
2025 2034
2026 // Request updated information about the client firewall traversal policy. 2035 // Request updated information about the client firewall traversal policy.
2027 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message 2036 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message
2028 // being sent back. 2037 // being sent back.
2029 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) 2038 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal)
2030 2039
2040 // Notifies the browser of an event occurring in the media pipeline.
2041 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent,
2042 media::MediaLogEvent /* event */)
OLDNEW
« content/common/DEPS ('K') | « content/common/DEPS ('k') | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698