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

Unified Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 2646833002: Add IPC to query capabilities of video input devices. (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_delegate.h
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h
index 4f3178036cda45d6dee1f0b9e6f4d0bbd2672ad9..be80f52bbf0a49b4a905578f80599589ddaf0cad 100644
--- a/content/browser/frame_host/render_frame_host_delegate.h
+++ b/content/browser/frame_host/render_frame_host_delegate.h
@@ -158,6 +158,11 @@ class CONTENT_EXPORT RenderFrameHostDelegate {
virtual bool CheckMediaAccessPermission(const GURL& security_origin,
dcheng 2017/01/20 07:56:50 It's not introduced by this CL, but please add a T
Guido Urdaneta 2017/01/20 12:40:58 Done.
MediaStreamType type);
+ // Returns the ID of the default device for the given media device |type|.
+ // If the returned value is an empty string, it means that there is no
+ // default device for the given |type|.
+ virtual std::string GetDefaultMediaDeviceID(MediaStreamType type);
+
// Get the accessibility mode for the WebContents that owns this frame.
virtual AccessibilityMode GetAccessibilityMode() const;

Powered by Google App Engine
This is Rietveld 408576698