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

Unified Diff: content/common/media/media_stream_messages.h

Issue 10912004: Begin adding support for tab mirroring via the MediaStream audio/video capturing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/common/media/media_stream_messages.h
diff --git a/content/common/media/media_stream_messages.h b/content/common/media/media_stream_messages.h
index 5c89f8d52d82726ad44a06bc6b346132bc657d3a..99314927516f3ffa2d7ac028c0dd7f19d72e302f 100644
--- a/content/common/media/media_stream_messages.h
+++ b/content/common/media/media_stream_messages.h
@@ -19,8 +19,8 @@
IPC_ENUM_TRAITS(media_stream::MediaStreamType)
IPC_STRUCT_TRAITS_BEGIN(media_stream::StreamOptions)
- IPC_STRUCT_TRAITS_MEMBER(audio)
- IPC_STRUCT_TRAITS_MEMBER(video)
+ IPC_STRUCT_TRAITS_MEMBER(audio_type)
+ IPC_STRUCT_TRAITS_MEMBER(video_type)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(media_stream::StreamDeviceInfo)
@@ -82,10 +82,18 @@ IPC_MESSAGE_ROUTED1(MediaStreamMsg_DeviceOpenFailed,
IPC_MESSAGE_CONTROL4(MediaStreamHostMsg_GenerateStream,
int /* render view id */,
int /* request id */,
- media_stream::StreamOptions /* options */,
+ media_stream::StreamOptions /* components */,
GURL /* security origin */)
-// Request to cancel the request for a new media stream.
+// Request a new media stream for a specific device.
+IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_GenerateStreamForDevice,
+ int /* render view id */,
+ int /* request id */,
+ media_stream::StreamOptions /* components */,
+ std::string /* device_id */,
+ GURL /* security origin */)
+
+// Request to cancel the request for a new media stream.
IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelGenerateStream,
int /* render view id */,
int /* request id */)
« no previous file with comments | « content/browser/renderer_host/media/video_capture_manager_unittest.cc ('k') | content/common/media/media_stream_options.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698