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

Unified Diff: webrtc/media/devices/gdivideorenderer.h

Issue 2460793002: Delete videorendererfactory.h and cricket::GdiVideoRenderer. (Closed)
Patch Set: Drop windows link dependencies on d3d9.lib, gdi32.lib and strmiids.lib. Created 4 years, 2 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
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | webrtc/media/devices/gdivideorenderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/devices/gdivideorenderer.h
diff --git a/webrtc/media/devices/gdivideorenderer.h b/webrtc/media/devices/gdivideorenderer.h
deleted file mode 100644
index eaf49ca26b5a6062797a6d97aa8e6f41262d1ecc..0000000000000000000000000000000000000000
--- a/webrtc/media/devices/gdivideorenderer.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-//
-// Definition of class GdiVideoRenderer that implements the abstract class
-// cricket::VideoRenderer via GDI on Windows.
-
-#ifndef WEBRTC_MEDIA_DEVICES_GDIVIDEORENDERER_H_
-#define WEBRTC_MEDIA_DEVICES_GDIVIDEORENDERER_H_
-#ifdef WIN32
-
-#include <memory>
-
-// TODO(nisse): Temporarily; to be replaced with a forward declaration
-// of webrtc::VideoFrame when dependency on cricket::VideoFrame is deleted.
-#include "webrtc/media/base/videoframe.h"
-#include "webrtc/media/base/videosinkinterface.h"
-
-namespace cricket {
-
-class GdiVideoRenderer : public rtc::VideoSinkInterface<cricket::VideoFrame> {
- public:
- GdiVideoRenderer(int x, int y);
- virtual ~GdiVideoRenderer();
-
- // Implementation of VideoSinkInterface
- void OnFrame(const VideoFrame& frame) override;
-
- private:
- class VideoWindow; // forward declaration, defined in the .cc file
- std::unique_ptr<VideoWindow> window_;
- // The initial position of the window.
- int initial_x_;
- int initial_y_;
-};
-
-} // namespace cricket
-
-#endif // WIN32
-#endif // WEBRTC_MEDIA_DEVICES_GDIVIDEORENDERER_H_
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | webrtc/media/devices/gdivideorenderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698