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

Unified Diff: chromecast/media/cma/backend/video_plane_fake.h

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 side-by-side diff with in-line comments
Download patch
Index: chromecast/media/cma/backend/video_plane_fake.h
diff --git a/chromecast/media/cma/backend/video_plane_fake.h b/chromecast/media/cma/backend/video_plane_fake.h
index f809015673d1d8e9debd2fcd0af2a06a216bdd13..18acca10743a6e795340351b9fbf404ccf4e744a 100644
--- a/chromecast/media/cma/backend/video_plane_fake.h
+++ b/chromecast/media/cma/backend/video_plane_fake.h
@@ -17,17 +17,12 @@ class VideoPlaneFake : public VideoPlane {
static VideoPlaneFake* GetInstance();
// VideoPlane implementation.
- gfx::Size GetVideoPlaneResolution() override;
- void SetGeometry(const gfx::QuadF& quad,
- CoordinateType coordinate_type) override;
+ virtual gfx::Size GetScreenResolution() override;
+ virtual void SetGeometry(const gfx::QuadF& quad,
+ CoordinateType coordinate_type) override;
+ virtual void OnScreenResolutionChanged(const gfx::Size& screen_res) override;
private:
- friend struct DefaultSingletonTraits<VideoPlaneFake>;
- friend class Singleton<VideoPlaneFake>;
-
- VideoPlaneFake();
- virtual ~VideoPlaneFake();
-
DISALLOW_COPY_AND_ASSIGN(VideoPlaneFake);
};

Powered by Google App Engine
This is Rietveld 408576698