| 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 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_VIDEO_PLANE_FAKE_H_ | 5 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_VIDEO_PLANE_FAKE_H_ |
| 6 #define CHROMECAST_MEDIA_CMA_BACKEND_VIDEO_PLANE_FAKE_H_ | 6 #define CHROMECAST_MEDIA_CMA_BACKEND_VIDEO_PLANE_FAKE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chromecast/media/cma/backend/video_plane.h" | 9 #include "chromecast/media/cma/backend/video_plane.h" |
| 10 | 10 |
| 11 namespace chromecast { | 11 namespace chromecast { |
| 12 namespace media { | 12 namespace media { |
| 13 | 13 |
| 14 class VideoPlaneFake : public VideoPlane { | 14 class VideoPlaneFake : public VideoPlane { |
| 15 public: | 15 public: |
| 16 VideoPlaneFake(); | 16 VideoPlaneFake(); |
| 17 virtual ~VideoPlaneFake(); | 17 ~VideoPlaneFake() override; |
| 18 | 18 |
| 19 // VideoPlane implementation. | 19 // VideoPlane implementation. |
| 20 gfx::Size GetScreenResolution() override; | 20 gfx::Size GetScreenResolution() override; |
| 21 void SetGeometry(const gfx::QuadF& quad, | 21 void SetGeometry(const gfx::QuadF& quad, |
| 22 CoordinateType coordinate_type) override; | 22 CoordinateType coordinate_type) override; |
| 23 void OnScreenResolutionChanged(const gfx::Size& screen_res) override; | 23 void OnScreenResolutionChanged(const gfx::Size& screen_res) override; |
| 24 | 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(VideoPlaneFake); | 25 DISALLOW_COPY_AND_ASSIGN(VideoPlaneFake); |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 } // namespace media | 28 } // namespace media |
| 29 } // namespace chromecast | 29 } // namespace chromecast |
| 30 | 30 |
| 31 #endif // CHROMECAST_MEDIA_CMA_BACKEND_VIDEO_PLANE_FAKE_H_ | 31 #endif // CHROMECAST_MEDIA_CMA_BACKEND_VIDEO_PLANE_FAKE_H_ |
| OLD | NEW |