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

Unified Diff: content/renderer/media/media_stream_video_capturer_source.h

Issue 2365223002: Video Capture: Allow suspension of individual devices. (Closed)
Patch Set: Style tweaks, per mcasas's comments. Created 4 years, 3 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
« no previous file with comments | « content/common/media/video_capture.h ('k') | content/renderer/media/media_stream_video_capturer_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_video_capturer_source.h
diff --git a/content/renderer/media/media_stream_video_capturer_source.h b/content/renderer/media/media_stream_video_capturer_source.h
index 62301bc27e3766350cca046e853487ee0d519ba4..6341cb7e3b50eafe76b969599a062abdab133c6b 100644
--- a/content/renderer/media/media_stream_video_capturer_source.h
+++ b/content/renderer/media/media_stream_video_capturer_source.h
@@ -35,16 +35,14 @@ class CONTENT_EXPORT MediaStreamVideoCapturerSource
RenderFrame* render_frame);
~MediaStreamVideoCapturerSource() override;
- // Implements MediaStreamVideoSource.
- void RequestRefreshFrame() override;
-
- void SetCapturingLinkSecured(bool is_secure) override;
-
private:
friend class CanvasCaptureHandlerTest;
friend class MediaStreamVideoCapturerSourceTest;
- // Implements MediaStreamVideoSource.
+ // MediaStreamVideoSource overrides.
+ void RequestRefreshFrame() override;
+ void OnHasConsumers(bool has_consumers) override;
+ void OnCapturingLinkSecured(bool is_secure) override;
void GetCurrentSupportedFormats(
int max_requested_width,
int max_requested_height,
« no previous file with comments | « content/common/media/video_capture.h ('k') | content/renderer/media/media_stream_video_capturer_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698