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

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: try 2 Created 6 years, 9 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // refactoring MediaStreamDependencyFactory. 102 // refactoring MediaStreamDependencyFactory.
103 IPC_MESSAGE_CONTROL1(MediaStreamMsg_EnableAecDump, 103 IPC_MESSAGE_CONTROL1(MediaStreamMsg_EnableAecDump,
104 IPC::PlatformFileForTransit /* file_handle */) 104 IPC::PlatformFileForTransit /* file_handle */)
105 105
106 // Tell the renderer to disable AEC dump. 106 // Tell the renderer to disable AEC dump.
107 IPC_MESSAGE_CONTROL0(MediaStreamMsg_DisableAecDump) 107 IPC_MESSAGE_CONTROL0(MediaStreamMsg_DisableAecDump)
108 108
109 // Messages sent from the renderer to the browser. 109 // Messages sent from the renderer to the browser.
110 110
111 // Request a new media stream. 111 // Request a new media stream.
112 IPC_MESSAGE_CONTROL4(MediaStreamHostMsg_GenerateStream, 112 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_GenerateStream,
113 int /* render view id */, 113 int /* render view id */,
114 int /* request id */, 114 int /* request id */,
115 content::StreamOptions /* components */, 115 content::StreamOptions /* components */,
116 GURL /* security origin */) 116 GURL /* security origin */,
117 bool /* user_gesture */)
117 118
118 // Request to cancel the request for a new media stream. 119 // Request to cancel the request for a new media stream.
119 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelGenerateStream, 120 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelGenerateStream,
120 int /* render view id */, 121 int /* render view id */,
121 int /* request id */) 122 int /* request id */)
122 123
123 // Request to close a device that has been opened by GenerateStream. 124 // Request to close a device that has been opened by GenerateStream.
124 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_StopStreamDevice, 125 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_StopStreamDevice,
125 int /* render view id */, 126 int /* render view id */,
126 std::string /*device_id*/) 127 std::string /*device_id*/)
(...skipping 23 matching lines...) Expand all
150 int /* render view id */, 151 int /* render view id */,
151 int /* request id */, 152 int /* request id */,
152 std::string /* device_id */, 153 std::string /* device_id */,
153 content::MediaStreamType /* type */, 154 content::MediaStreamType /* type */,
154 GURL /* security origin */) 155 GURL /* security origin */)
155 156
156 // Request to close a device. 157 // Request to close a device.
157 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, 158 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice,
158 int /* render view id */, 159 int /* render view id */,
159 std::string /*label*/) 160 std::string /*label*/)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698