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

Side by Side Diff: content/renderer/media/webrtc/video_destination_handler.h

Issue 1124263004: New resolution change policies for desktop and tab capture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from mcasas. Created 5 years, 7 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 protected: 50 protected:
51 // MediaStreamVideoSource implementation. 51 // MediaStreamVideoSource implementation.
52 void GetCurrentSupportedFormats( 52 void GetCurrentSupportedFormats(
53 int max_requested_width, 53 int max_requested_width,
54 int max_requested_height, 54 int max_requested_height,
55 double max_requested_frame_rate, 55 double max_requested_frame_rate,
56 const VideoCaptureDeviceFormatsCB& callback) override; 56 const VideoCaptureDeviceFormatsCB& callback) override;
57 void StartSourceImpl( 57 void StartSourceImpl(
58 const media::VideoCaptureFormat& format, 58 const media::VideoCaptureFormat& format,
59 const blink::WebMediaConstraints& constraints,
59 const VideoCaptureDeliverFrameCB& frame_callback) override; 60 const VideoCaptureDeliverFrameCB& frame_callback) override;
60 void StopSourceImpl() override; 61 void StopSourceImpl() override;
61 62
62 private: 63 private:
63 media::VideoFramePool frame_pool_; 64 media::VideoFramePool frame_pool_;
64 65
65 class FrameWriterDelegate; 66 class FrameWriterDelegate;
66 scoped_refptr<FrameWriterDelegate> delegate_; 67 scoped_refptr<FrameWriterDelegate> delegate_;
67 68
68 DISALLOW_COPY_AND_ASSIGN(PpFrameWriter); 69 DISALLOW_COPY_AND_ASSIGN(PpFrameWriter);
(...skipping 14 matching lines...) Expand all
83 const std::string& url, 84 const std::string& url,
84 FrameWriterInterface** frame_writer); 85 FrameWriterInterface** frame_writer);
85 86
86 private: 87 private:
87 DISALLOW_COPY_AND_ASSIGN(VideoDestinationHandler); 88 DISALLOW_COPY_AND_ASSIGN(VideoDestinationHandler);
88 }; 89 };
89 90
90 } // namespace content 91 } // namespace content
91 92
92 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ 93 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698