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

Unified Diff: media/video/capture/linux/video_capture_device_chromeos.h

Issue 270263008: Add a ChromeOS implementation of VideoCaptureDevice (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review fixes Created 6 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 side-by-side diff with in-line comments
Download patch
Index: media/video/capture/linux/video_capture_device_chromeos.h
diff --git a/media/video/capture/linux/video_capture_device_chromeos.h b/media/video/capture/linux/video_capture_device_chromeos.h
new file mode 100644
index 0000000000000000000000000000000000000000..4ac31b338eb039210f86261da2cbd1db7b8a1a95
--- /dev/null
+++ b/media/video/capture/linux/video_capture_device_chromeos.h
@@ -0,0 +1,32 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_
+#define MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_
+
+#include "media/video/capture/linux/video_capture_device_linux.h"
+
+namespace gfx {
+class Display;
+} // namespace gfx
+
+namespace media {
+
+class VideoCaptureDeviceChromeOS : public VideoCaptureDeviceLinux {
perkj_chrome 2014/05/12 07:57:13 Please add a short description what this class is
Zachary Kuznia 2014/05/12 08:56:22 Done.
+ public:
+ explicit VideoCaptureDeviceChromeOS(const Name& device_name);
+ virtual ~VideoCaptureDeviceChromeOS();
+
+ void SetDisplayRotation(const gfx::Display& display);
+
+ private:
+ class ScreenObserverDelegate;
+
+ scoped_refptr<ScreenObserverDelegate> screen_observer_delegate_;
+ DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceChromeOS);
+};
+
+} // namespace media
+
+#endif // MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_CHROMEOS_H_

Powered by Google App Engine
This is Rietveld 408576698