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

Unified Diff: content/browser/renderer_host/media/desktop_capture_device_aura.h

Issue 172003004: Fixit: Move tab and desktop capture code to new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 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: content/browser/renderer_host/media/desktop_capture_device_aura.h
diff --git a/content/browser/renderer_host/media/desktop_capture_device_aura.h b/content/browser/renderer_host/media/desktop_capture_device_aura.h
deleted file mode 100644
index 92ddd72f5752e746409e635f2d587f35f14cdf83..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/media/desktop_capture_device_aura.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2013 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 CONTENT_BROWSER_RENDERER_HOST_MEDIA_DESKTOP_CAPTURE_DEVICE_AURA_H_
-#define CONTENT_BROWSER_RENDERER_HOST_MEDIA_DESKTOP_CAPTURE_DEVICE_AURA_H_
-
-#include <string>
-
-#include "base/memory/scoped_ptr.h"
-#include "content/common/content_export.h"
-#include "content/public/browser/desktop_media_id.h"
-#include "media/video/capture/video_capture_device.h"
-
-namespace aura {
-class Window;
-} // namespace aura
-
-namespace content {
-
-class ContentVideoCaptureDeviceCore;
-
-// An implementation of VideoCaptureDevice that mirrors an Aura window.
-class CONTENT_EXPORT DesktopCaptureDeviceAura
- : public media::VideoCaptureDevice {
- public:
- // Creates a VideoCaptureDevice for the Aura desktop.
- static media::VideoCaptureDevice* Create(const DesktopMediaID& source);
-
- virtual ~DesktopCaptureDeviceAura();
-
- // VideoCaptureDevice implementation.
- virtual void AllocateAndStart(const media::VideoCaptureParams& params,
- scoped_ptr<Client> client) OVERRIDE;
- virtual void StopAndDeAllocate() OVERRIDE;
-
- private:
- DesktopCaptureDeviceAura(const DesktopMediaID& source);
-
- const scoped_ptr<class ContentVideoCaptureDeviceCore> core_;
-
- DISALLOW_COPY_AND_ASSIGN(DesktopCaptureDeviceAura);
-};
-
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_DESKTOP_CAPTURE_DEVICE_AURA_H_

Powered by Google App Engine
This is Rietveld 408576698