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

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

Issue 1928143002: Rename gfx::Display/Screen to display::Display/Screen in chromecast/blimp/media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update blimp's gn for recent gn change Created 4 years, 7 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 | « media/capture/BUILD.gn ('k') | media/capture/video/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 "base/macros.h" 8 #include "base/macros.h"
9 #include "media/capture/video/linux/video_capture_device_linux.h" 9 #include "media/capture/video/linux/video_capture_device_linux.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 class Display; 12 class Display;
13 } // namespace gfx 13 } // namespace gfx
14 14
15 namespace display {
16 using Display = gfx::Display;
17 } // namespace display
18
15 namespace media { 19 namespace media {
16 20
17 // This class is functionally the same as VideoCaptureDeviceLinux, with the 21 // This class is functionally the same as VideoCaptureDeviceLinux, with the
18 // exception that it is aware of the orientation of the internal Display. When 22 // exception that it is aware of the orientation of the internal Display. When
19 // the internal Display is rotated, the frames captured are rotated to match. 23 // the internal Display is rotated, the frames captured are rotated to match.
20 class VideoCaptureDeviceChromeOS : public VideoCaptureDeviceLinux { 24 class VideoCaptureDeviceChromeOS : public VideoCaptureDeviceLinux {
21 public: 25 public:
22 explicit VideoCaptureDeviceChromeOS( 26 explicit VideoCaptureDeviceChromeOS(
23 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 27 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
24 const Name& device_name); 28 const Name& device_name);
25 ~VideoCaptureDeviceChromeOS() override; 29 ~VideoCaptureDeviceChromeOS() override;
26 30
27 private: 31 private:
28 class ScreenObserverDelegate; 32 class ScreenObserverDelegate;
29 33
30 void SetDisplayRotation(const gfx::Display& display); 34 void SetDisplayRotation(const display::Display& display);
31 scoped_refptr<ScreenObserverDelegate> screen_observer_delegate_; 35 scoped_refptr<ScreenObserverDelegate> screen_observer_delegate_;
32 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceChromeOS); 36 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceChromeOS);
33 }; 37 };
34 38
35 } // namespace media 39 } // namespace media
36 40
37 #endif // MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_ 41 #endif // MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « media/capture/BUILD.gn ('k') | media/capture/video/linux/video_capture_device_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698