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

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

Issue 870743003: Update {virtual,override,final} to follow C++11 style in media, round 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | media/video/capture/linux/video_capture_device_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ 5 #ifndef MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_
6 #define MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ 6 #define MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_
7 7
8 #include "media/video/capture/linux/video_capture_device_linux.h" 8 #include "media/video/capture/linux/video_capture_device_linux.h"
9 9
10 namespace gfx { 10 namespace gfx {
11 class Display; 11 class Display;
12 } // namespace gfx 12 } // namespace gfx
13 13
14 namespace media { 14 namespace media {
15 15
16 // This class is functionally the same as VideoCaptureDeviceLinux, with the 16 // This class is functionally the same as VideoCaptureDeviceLinux, with the
17 // exception that it is aware of the orientation of the internal Display. When 17 // exception that it is aware of the orientation of the internal Display. When
18 // the internal Display is rotated, the frames captured are rotated to match. 18 // the internal Display is rotated, the frames captured are rotated to match.
19 class VideoCaptureDeviceChromeOS : public VideoCaptureDeviceLinux { 19 class VideoCaptureDeviceChromeOS : public VideoCaptureDeviceLinux {
20 public: 20 public:
21 explicit VideoCaptureDeviceChromeOS( 21 explicit VideoCaptureDeviceChromeOS(
22 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 22 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
23 const Name& device_name); 23 const Name& device_name);
24 virtual ~VideoCaptureDeviceChromeOS(); 24 ~VideoCaptureDeviceChromeOS() override;
25 25
26 private: 26 private:
27 class ScreenObserverDelegate; 27 class ScreenObserverDelegate;
28 28
29 void SetDisplayRotation(const gfx::Display& display); 29 void SetDisplayRotation(const gfx::Display& display);
30 scoped_refptr<ScreenObserverDelegate> screen_observer_delegate_; 30 scoped_refptr<ScreenObserverDelegate> screen_observer_delegate_;
31 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceChromeOS); 31 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceChromeOS);
32 }; 32 };
33 33
34 } // namespace media 34 } // namespace media
35 35
36 #endif // MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ 36 #endif // MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « no previous file | media/video/capture/linux/video_capture_device_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698