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

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

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 #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
OLDNEW
« no previous file with comments | « chromecast/media/cma/backend/video_plane_fake.h ('k') | chromecast/media/cma/backend/video_plane_fake_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698