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

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

Issue 1939313003: Revert of Add support for device-change notifications to MediaStreamDispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // The browser has opened a device successfully. 88 // The browser has opened a device successfully.
89 IPC_MESSAGE_ROUTED3(MediaStreamMsg_DeviceOpened, 89 IPC_MESSAGE_ROUTED3(MediaStreamMsg_DeviceOpened,
90 int /* request id */, 90 int /* request id */,
91 std::string /* label */, 91 std::string /* label */,
92 content::StreamDeviceInfo /* the device */) 92 content::StreamDeviceInfo /* the device */)
93 93
94 // The browser has failed to open a device. 94 // The browser has failed to open a device.
95 IPC_MESSAGE_ROUTED1(MediaStreamMsg_DeviceOpenFailed, 95 IPC_MESSAGE_ROUTED1(MediaStreamMsg_DeviceOpenFailed,
96 int /* request id */) 96 int /* request id */)
97 97
98 // The browser has detected a change in the set of media devices.
99 IPC_MESSAGE_ROUTED0(MediaStreamMsg_DevicesChanged)
100
101 // Messages sent from the renderer to the browser. 98 // Messages sent from the renderer to the browser.
102 99
103 // Request a new media stream. 100 // Request a new media stream.
104 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_GenerateStream, 101 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_GenerateStream,
105 int /* render frame id */, 102 int /* render frame id */,
106 int /* request id */, 103 int /* request id */,
107 content::StreamControls /* controls */, 104 content::StreamControls /* controls */,
108 url::Origin /* security origin */, 105 url::Origin /* security origin */,
109 bool /* user_gesture */) 106 bool /* user_gesture */)
110 107
(...skipping 25 matching lines...) Expand all
136 int /* render frame id */, 133 int /* render frame id */,
137 int /* request id */, 134 int /* request id */,
138 std::string /* device_id */, 135 std::string /* device_id */,
139 content::MediaStreamType /* type */, 136 content::MediaStreamType /* type */,
140 url::Origin /* security origin */) 137 url::Origin /* security origin */)
141 138
142 // Request to close a device. 139 // Request to close a device.
143 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, 140 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice,
144 int /* render frame id */, 141 int /* render frame id */,
145 std::string /*label*/) 142 std::string /*label*/)
146
147 // Subscribe to notifications about changes in the set of media devices.
148 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_SubscribeToDeviceChangeNotifications,
149 int /* render frame id */,
150 url::Origin /* security origin */)
151
152 // Cancel notifications about changes in the set of media devices.
153 IPC_MESSAGE_CONTROL1(MediaStreamHostMsg_CancelDeviceChangeNotifications,
154 int /* render frame id */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/media_stream_manager.cc ('k') | content/renderer/media/media_stream_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698