| Index: content/browser/renderer_host/media/video_capture_controller.h
|
| diff --git a/content/browser/renderer_host/media/video_capture_controller.h b/content/browser/renderer_host/media/video_capture_controller.h
|
| index 9b8287002ecbdf7e8532d97c7bf4c00c77332dd4..2627db50d3211d4c798918c29d8944edee66fbb5 100644
|
| --- a/content/browser/renderer_host/media/video_capture_controller.h
|
| +++ b/content/browser/renderer_host/media/video_capture_controller.h
|
| @@ -60,6 +60,7 @@
|
| #include "content/common/media/video_capture.h"
|
| #include "media/video/capture/video_capture_device.h"
|
| #include "media/video/capture/video_capture_types.h"
|
| +#include "ui/gfx/display.h"
|
|
|
| namespace content {
|
| class VideoCaptureBufferPool;
|
| @@ -69,6 +70,11 @@ class CONTENT_EXPORT VideoCaptureController {
|
| VideoCaptureController();
|
| virtual ~VideoCaptureController();
|
|
|
| + void set_display_rotation(gfx::Display::Rotation rotation) {
|
| + display_rotation_ = rotation;
|
| + }
|
| + gfx::Display::Rotation display_rotation() const { return display_rotation_; }
|
| +
|
| base::WeakPtr<VideoCaptureController> GetWeakPtr();
|
|
|
| // Return a new VideoCaptureDeviceClient to forward capture events to this
|
| @@ -147,6 +153,7 @@ class CONTENT_EXPORT VideoCaptureController {
|
| VideoCaptureState state_;
|
|
|
| media::VideoCaptureFormat video_capture_format_;
|
| + gfx::Display::Rotation display_rotation_;
|
|
|
| base::WeakPtrFactory<VideoCaptureController> weak_ptr_factory_;
|
|
|
|
|