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

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

Issue 528783002: Change MediaStreamVideoSource::StartSourceImpl to use VideoCaptureFormat instead of VideoCapturePar… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/renderer/media/media_stream_video_capturer_source.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_CAPTURER_SOURCE_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_CAPTURER_SOURCE_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_CAPTURER_SOURCE_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_CAPTURER_SOURCE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/message_loop/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 protected: 101 protected:
102 // Implements MediaStreamVideoSource. 102 // Implements MediaStreamVideoSource.
103 virtual void GetCurrentSupportedFormats( 103 virtual void GetCurrentSupportedFormats(
104 int max_requested_width, 104 int max_requested_width,
105 int max_requested_height, 105 int max_requested_height,
106 double max_requested_frame_rate, 106 double max_requested_frame_rate,
107 const VideoCaptureDeviceFormatsCB& callback) OVERRIDE; 107 const VideoCaptureDeviceFormatsCB& callback) OVERRIDE;
108 108
109 virtual void StartSourceImpl( 109 virtual void StartSourceImpl(
110 const media::VideoCaptureParams& params, 110 const media::VideoCaptureFormat& format,
111 const VideoCaptureDeliverFrameCB& frame_callback) OVERRIDE; 111 const VideoCaptureDeliverFrameCB& frame_callback) OVERRIDE;
112 112
113 virtual void StopSourceImpl() OVERRIDE; 113 virtual void StopSourceImpl() OVERRIDE;
114 114
115 private: 115 private:
116 // The delegate that provides video frames. 116 // The delegate that provides video frames.
117 scoped_refptr<VideoCapturerDelegate> delegate_; 117 scoped_refptr<VideoCapturerDelegate> delegate_;
118 118
119 DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoCapturerSource); 119 DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoCapturerSource);
120 }; 120 };
121 121
122 } // namespace content 122 } // namespace content
123 123
124 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_CAPTURER_SOURCE_H_ 124 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_CAPTURER_SOURCE_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/media_stream_video_capturer_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698