OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PEPPER_PEPPER_PLATFORM_VIDEO_CAPTURE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_VIDEO_CAPTURE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_VIDEO_CAPTURE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_VIDEO_CAPTURE_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 25 matching lines...) Expand all Loading... | |
36 virtual void StartCapture( | 36 virtual void StartCapture( |
37 media::VideoCapture::EventHandler* handler, | 37 media::VideoCapture::EventHandler* handler, |
38 const media::VideoCaptureCapability& capability) OVERRIDE; | 38 const media::VideoCaptureCapability& capability) OVERRIDE; |
39 virtual void StopCapture(media::VideoCapture::EventHandler* handler) OVERRIDE; | 39 virtual void StopCapture(media::VideoCapture::EventHandler* handler) OVERRIDE; |
40 virtual void FeedBuffer(scoped_refptr<VideoFrameBuffer> buffer) OVERRIDE; | 40 virtual void FeedBuffer(scoped_refptr<VideoFrameBuffer> buffer) OVERRIDE; |
41 virtual bool CaptureStarted() OVERRIDE; | 41 virtual bool CaptureStarted() OVERRIDE; |
42 virtual int CaptureWidth() OVERRIDE; | 42 virtual int CaptureWidth() OVERRIDE; |
43 virtual int CaptureHeight() OVERRIDE; | 43 virtual int CaptureHeight() OVERRIDE; |
44 virtual int CaptureFrameRate() OVERRIDE; | 44 virtual int CaptureFrameRate() OVERRIDE; |
45 virtual void DetachEventHandler() OVERRIDE; | 45 virtual void DetachEventHandler() OVERRIDE; |
46 virtual media::EncodedVideoSource* GetEncodedVideoSource() OVERRIDE; | |
Ami GONE FROM CHROMIUM
2013/06/08 00:18:01
Hopefully you can revert this file
hshi1
2013/06/11 17:49:42
Done.
| |
46 | 47 |
47 // media::VideoCapture::EventHandler implementation | 48 // media::VideoCapture::EventHandler implementation |
48 virtual void OnStarted(VideoCapture* capture) OVERRIDE; | 49 virtual void OnStarted(VideoCapture* capture) OVERRIDE; |
49 virtual void OnStopped(VideoCapture* capture) OVERRIDE; | 50 virtual void OnStopped(VideoCapture* capture) OVERRIDE; |
50 virtual void OnPaused(VideoCapture* capture) OVERRIDE; | 51 virtual void OnPaused(VideoCapture* capture) OVERRIDE; |
51 virtual void OnError(VideoCapture* capture, int error_code) OVERRIDE; | 52 virtual void OnError(VideoCapture* capture, int error_code) OVERRIDE; |
52 virtual void OnRemoved(VideoCapture* capture) OVERRIDE; | 53 virtual void OnRemoved(VideoCapture* capture) OVERRIDE; |
53 virtual void OnBufferReady(VideoCapture* capture, | 54 virtual void OnBufferReady(VideoCapture* capture, |
54 scoped_refptr<VideoFrameBuffer> buffer) OVERRIDE; | 55 scoped_refptr<VideoFrameBuffer> buffer) OVERRIDE; |
55 virtual void OnDeviceInfoReceived( | 56 virtual void OnDeviceInfoReceived( |
(...skipping 25 matching lines...) Expand all Loading... | |
81 // StartCapture() must be balanced by StopCapture(), otherwise this object | 82 // StartCapture() must be balanced by StopCapture(), otherwise this object |
82 // will leak. | 83 // will leak. |
83 bool unbalanced_start_; | 84 bool unbalanced_start_; |
84 | 85 |
85 DISALLOW_COPY_AND_ASSIGN(PepperPlatformVideoCaptureImpl); | 86 DISALLOW_COPY_AND_ASSIGN(PepperPlatformVideoCaptureImpl); |
86 }; | 87 }; |
87 | 88 |
88 } // namespace content | 89 } // namespace content |
89 | 90 |
90 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_VIDEO_CAPTURE_IMPL_H_ | 91 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_VIDEO_CAPTURE_IMPL_H_ |
OLD | NEW |