Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: chromecast/media/cma/backend/video_plane_fake.h

Issue 802833002: Chromecast: media interfaces for hardware-backed video plane. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_VIDEO_PLANE_FAKE_H_
6 #define CHROMECAST_MEDIA_CMA_BACKEND_VIDEO_PLANE_FAKE_H_
7
8 #include "base/macros.h"
9 #include "base/memory/singleton.h"
10 #include "chromecast/media/cma/backend/video_plane.h"
11
12 namespace chromecast {
13 namespace media {
14
15 class VideoPlaneFake : public VideoPlane {
16 public:
17 static VideoPlaneFake* GetInstance();
18
19 // VideoPlane implementation.
20 gfx::Size GetVideoPlaneResolution() override;
21 void SetGeometry(const gfx::QuadF& quad,
22 CoordinateType coordinate_type) override;
23
24 private:
25 friend struct DefaultSingletonTraits<VideoPlaneFake>;
26 friend class Singleton<VideoPlaneFake>;
27
28 VideoPlaneFake();
29 virtual ~VideoPlaneFake();
30
31 DISALLOW_COPY_AND_ASSIGN(VideoPlaneFake);
32 };
33
34 } // namespace media
35 } // namespace chromecast
36
37 #endif // CHROMECAST_MEDIA_CMA_BACKEND_VIDEO_PLANE_FAKE_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/backend/video_plane.cc ('k') | chromecast/media/cma/backend/video_plane_fake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698