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

Side by Side Diff: media/capture/video/linux/video_capture_device_chromeos.h

Issue 2609863004: Pass camera facing to WebKit (Closed)
Patch Set: change comments Created 3 years, 11 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 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 MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ 5 #ifndef MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_
6 #define MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ 6 #define MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "media/capture/video/linux/camera_facing_chromeos.h" 9 #include "media/capture/video/linux/camera_facing_chromeos.h"
10 #include "media/capture/video/linux/video_capture_device_linux.h" 10 #include "media/capture/video/linux/video_capture_device_linux.h"
(...skipping 15 matching lines...) Expand all
26 ~VideoCaptureDeviceChromeOS() override; 26 ~VideoCaptureDeviceChromeOS() override;
27 27
28 protected: 28 protected:
29 void SetRotation(int rotation) override; 29 void SetRotation(int rotation) override;
30 30
31 private: 31 private:
32 class ScreenObserverDelegate; 32 class ScreenObserverDelegate;
33 33
34 void SetDisplayRotation(const display::Display& display); 34 void SetDisplayRotation(const display::Display& display);
35 scoped_refptr<ScreenObserverDelegate> screen_observer_delegate_; 35 scoped_refptr<ScreenObserverDelegate> screen_observer_delegate_;
36 const CameraFacingChromeOS::LensFacing lens_facing_; 36 const VideoFacingMode lens_facing_;
37 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceChromeOS); 37 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceChromeOS);
38 }; 38 };
39 39
40 } // namespace media 40 } // namespace media
41 41
42 #endif // MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ 42 #endif // MEDIA_CAPTURE_VIDEO_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698