Chromium Code Reviews| 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 e4f8f532d33ef866cebf1c5e837d3b8e47884872..7465e2db4c899f5e29c8fc65c5fbe9827a65d7f2 100644 |
| --- a/content/renderer/media/media_stream_video_capturer_source.h |
| +++ b/content/renderer/media/media_stream_video_capturer_source.h |
| @@ -34,7 +34,7 @@ class VideoCapturerDelegate |
| // Collects the formats that can currently be used. |
| // |max_requested_height| and |max_requested_width| is used by Tab and Screen |
| // capture to decide what resolution to generate. |
| - // |callback| is triggered when the formats has been collected. |
| + // |callback| is triggered when the formats have been collected. |
| virtual void GetCurrentSupportedFormats( |
| int max_requested_width, |
| int max_requested_height, |
| @@ -53,6 +53,10 @@ class VideoCapturerDelegate |
| // SupportedFormatsCallback callback. |
| virtual void StopDeliver(); |
| + void OnDeviceFormatsInUseReceived(const media::VideoCaptureFormats& formats); |
|
perkj_chrome
2014/03/12 19:55:48
make these functions private
mcasas
2014/03/13 08:04:56
Done.
|
| + void OnDeviceSupportedFormatsEnumerated( |
| + const media::VideoCaptureFormats& formats); |
| + |
| protected: |
| // media::VideoCapture::EventHandler implementation. |
| // These functions are called on the IO thread (same as where |
| @@ -95,6 +99,8 @@ class VideoCapturerDelegate |
| // Message loop of the caller of StartDeliver. |
| scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; |
| + SupportedFormatsCallback source_formats_callback_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(VideoCapturerDelegate); |
| }; |