Chromium Code Reviews| 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..f5e59282d6a319dd432ee704d82a744fa84176b3 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 SetDisplayRotation(gfx::Display::Rotation rotation) { |
|
vrk (LEFT CHROMIUM)
2014/05/08 21:43:34
nit: this should be set_display_rotation.
Zachary Kuznia
2014/05/08 21:51:22
Done.
|
| + 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_; |