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

Side by Side Diff: content/common/media/media_stream_messages.h

Issue 185863003: [Media] Add user gesture reporting for API calls to midi and media streams. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test merge Created 6 years, 8 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) 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 the media streaming. 5 // IPC messages for the media streaming.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // refactoring MediaStreamDependencyFactory. 106 // refactoring MediaStreamDependencyFactory.
107 IPC_MESSAGE_CONTROL1(MediaStreamMsg_EnableAecDump, 107 IPC_MESSAGE_CONTROL1(MediaStreamMsg_EnableAecDump,
108 IPC::PlatformFileForTransit /* file_handle */) 108 IPC::PlatformFileForTransit /* file_handle */)
109 109
110 // Tell the renderer to disable AEC dump. 110 // Tell the renderer to disable AEC dump.
111 IPC_MESSAGE_CONTROL0(MediaStreamMsg_DisableAecDump) 111 IPC_MESSAGE_CONTROL0(MediaStreamMsg_DisableAecDump)
112 112
113 // Messages sent from the renderer to the browser. 113 // Messages sent from the renderer to the browser.
114 114
115 // Request a new media stream. 115 // Request a new media stream.
116 IPC_MESSAGE_CONTROL4(MediaStreamHostMsg_GenerateStream, 116 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_GenerateStream,
117 int /* render view id */, 117 int /* render view id */,
118 int /* request id */, 118 int /* request id */,
119 content::StreamOptions /* components */, 119 content::StreamOptions /* components */,
120 GURL /* security origin */) 120 GURL /* security origin */,
121 bool /* user_gesture */)
121 122
122 // Request to cancel the request for a new media stream. 123 // Request to cancel the request for a new media stream.
123 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelGenerateStream, 124 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelGenerateStream,
124 int /* render view id */, 125 int /* render view id */,
125 int /* request id */) 126 int /* request id */)
126 127
127 // Request to close a device that has been opened by GenerateStream. 128 // Request to close a device that has been opened by GenerateStream.
128 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_StopStreamDevice, 129 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_StopStreamDevice,
129 int /* render view id */, 130 int /* render view id */,
130 std::string /*device_id*/) 131 std::string /*device_id*/)
(...skipping 23 matching lines...) Expand all
154 int /* render view id */, 155 int /* render view id */,
155 int /* request id */, 156 int /* request id */,
156 std::string /* device_id */, 157 std::string /* device_id */,
157 content::MediaStreamType /* type */, 158 content::MediaStreamType /* type */,
158 GURL /* security origin */) 159 GURL /* security origin */)
159 160
160 // Request to close a device. 161 // Request to close a device.
161 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, 162 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice,
162 int /* render view id */, 163 int /* render view id */,
163 std::string /*label*/) 164 std::string /*label*/)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/midi_dispatcher_host.cc ('k') | content/common/media/midi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698