Index: chromecast/media/cma/backend/video_plane_fake.cc |
diff --git a/chromecast/media/cma/backend/video_plane_fake.cc b/chromecast/media/cma/backend/video_plane_fake.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a129d8deb25049c9b8e410dba57ee482a3668bc3 |
--- /dev/null |
+++ b/chromecast/media/cma/backend/video_plane_fake.cc |
@@ -0,0 +1,36 @@ |
+// 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. |
+ |
+#include "chromecast/media/cma/backend/video_plane_fake.h" |
+ |
+#include "base/logging.h" |
+#include "base/memory/singleton.h" |
+#include "ui/gfx/geometry/quad_f.h" |
+#include "ui/gfx/geometry/size.h" |
+ |
+namespace chromecast { |
+namespace media { |
+ |
+// static |
+VideoPlaneFake* VideoPlaneFake::GetInstance() { |
+ return Singleton<VideoPlaneFake>::get(); |
+} |
+ |
+VideoPlaneFake::VideoPlaneFake() { |
+} |
+ |
+VideoPlaneFake::~VideoPlaneFake() { |
+} |
+ |
+gfx::Size VideoPlaneFake::GetVideoPlaneResolution() { |
+ return gfx::Size(1920, 1080); |
+} |
+ |
+void VideoPlaneFake::SetGeometry(const gfx::QuadF& quad, |
+ CoordinateType coordinate_type) { |
+ // Nothing to be done. |
+} |
+ |
+} // namespace media |
+} // namespace chromecast |