| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chromecast/media/cma/backend/video_plane_fake.h" | 5 #include "chromecast/media/cma/backend/video_plane_fake.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
| 9 #include "ui/gfx/geometry/quad_f.h" | 9 #include "ui/gfx/geometry/quad_f.h" |
| 10 #include "ui/gfx/geometry/size.h" | 10 #include "ui/gfx/geometry/size.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 gfx::Size VideoPlaneFake::GetVideoPlaneResolution() { | 26 gfx::Size VideoPlaneFake::GetVideoPlaneResolution() { |
| 27 return gfx::Size(1920, 1080); | 27 return gfx::Size(1920, 1080); |
| 28 } | 28 } |
| 29 | 29 |
| 30 void VideoPlaneFake::SetGeometry(const gfx::QuadF& quad, | 30 void VideoPlaneFake::SetGeometry(const gfx::QuadF& quad, |
| 31 CoordinateType coordinate_type) { | 31 CoordinateType coordinate_type) { |
| 32 // Nothing to be done. | 32 // Nothing to be done. |
| 33 } | 33 } |
| 34 | 34 |
| 35 void VideoPlaneFake::OnScreenResolutionChanged(const gfx::Size& screen_res) { |
| 36 } |
| 37 |
| 35 } // namespace media | 38 } // namespace media |
| 36 } // namespace chromecast | 39 } // namespace chromecast |
| OLD | NEW |