Chromium Code Reviews

Unified Diff: Source/modules/mediastream/NavigatorMediaStream.h

Issue 135363004: MediaStream API: Patch #1 of implementing navigator.getMediaDevices (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed year Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/modules/mediastream/NavigatorMediaStream.h
diff --git a/Source/modules/mediastream/NavigatorMediaStream.h b/Source/modules/mediastream/NavigatorMediaStream.h
index b27753fdb77ae3a4b1728001ecf99e76868e9519..3b68565f634a628517216b59063f452bb6a26cec 100644
--- a/Source/modules/mediastream/NavigatorMediaStream.h
+++ b/Source/modules/mediastream/NavigatorMediaStream.h
@@ -27,6 +27,7 @@ namespace WebCore {
class Dictionary;
class ExceptionState;
+class MediaDeviceInfoCallback;
class Navigator;
class NavigatorUserMediaErrorCallback;
class NavigatorUserMediaSuccessCallback;
@@ -35,6 +36,8 @@ class NavigatorMediaStream {
public:
static void webkitGetUserMedia(Navigator*, const Dictionary&, PassOwnPtr<NavigatorUserMediaSuccessCallback>, PassOwnPtr<NavigatorUserMediaErrorCallback>, ExceptionState&);
+ static void getMediaDevices(Navigator*, PassOwnPtr<MediaDeviceInfoCallback>, ExceptionState&);
+
private:
NavigatorMediaStream();
~NavigatorMediaStream();
« no previous file with comments | « Source/modules/mediastream/MediaDevicesRequest.cpp ('k') | Source/modules/mediastream/NavigatorMediaStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine