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

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

Issue 809173002: Chromecast: Add a way to notify video plane about resolution changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698