OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chromecast/media/cma/backend/video_plane_fake.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 #include "base/memory/singleton.h" |
| 9 #include "ui/gfx/geometry/quad_f.h" |
| 10 #include "ui/gfx/geometry/size.h" |
| 11 |
| 12 namespace chromecast { |
| 13 namespace media { |
| 14 |
| 15 // static |
| 16 VideoPlaneFake* VideoPlaneFake::GetInstance() { |
| 17 return Singleton<VideoPlaneFake>::get(); |
| 18 } |
| 19 |
| 20 VideoPlaneFake::VideoPlaneFake() { |
| 21 } |
| 22 |
| 23 VideoPlaneFake::~VideoPlaneFake() { |
| 24 } |
| 25 |
| 26 gfx::Size VideoPlaneFake::GetVideoPlaneResolution() { |
| 27 return gfx::Size(1920, 1080); |
| 28 } |
| 29 |
| 30 void VideoPlaneFake::SetGeometry(const gfx::QuadF& quad, |
| 31 CoordinateType coordinate_type) { |
| 32 // Nothing to be done. |
| 33 } |
| 34 |
| 35 } // namespace media |
| 36 } // namespace chromecast |
OLD | NEW |