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

Side by Side Diff: content/renderer/media/web_media_element_source_utils.h

Issue 1815033003: Add srcObject attribute of type MediaStream to HTMLMediaElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: philipj's comments Created 4 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_MEDIA_WEB_MEDIA_ELEMENT_SOURCE_UTILS_H_
6 #define CONTENT_RENDERER_MEDIA_WEB_MEDIA_ELEMENT_SOURCE_UTILS_H_
7
8 namespace blink {
9 class WebMediaPlayerSource;
10 class WebMediaStream;
11 }
12
13 namespace content {
14
15 // Obtains a WebMediaStream from a WebMediaPlayerSource. If the
16 // WebMediaPlayerSource does not contain a WebMediaStream, a null
17 // WebMediaStream is returned.
18 blink::WebMediaStream GetWebMediaStreamFromWebMediaPlayerSource(
19 const blink::WebMediaPlayerSource& source);
20
21 } // namespace content
22
23 #endif // CONTENT_RENDERER_MEDIA_WEB_MEDIA_ELEMENT_SOURCE_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698