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