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

Unified Diff: Source/core/platform/graphics/MediaPlayer.h

Issue 22454003: Support subtitles for native fullscreen video (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: enabling layout tests Created 7 years, 3 months 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: Source/core/platform/graphics/MediaPlayer.h
diff --git a/Source/core/platform/graphics/MediaPlayer.h b/Source/core/platform/graphics/MediaPlayer.h
index 9d36d1a4d2b23697db06f8cf92d01ef39c9a94d7..e84467e963cbcad25957eb5c94cd2d7374ee49b7 100644
--- a/Source/core/platform/graphics/MediaPlayer.h
+++ b/Source/core/platform/graphics/MediaPlayer.h
@@ -159,11 +159,9 @@ public:
enum Preload { None, MetaData, Auto };
virtual void setPreload(Preload) = 0;
-#if USE(NATIVE_FULLSCREEN_VIDEO)
- virtual void enterFullscreen() = 0;
- virtual void exitFullscreen() = 0;
- virtual bool canEnterFullscreen() const = 0;
-#endif
+ virtual void showFullscreenOverlay() = 0;
+ virtual void hideFullscreenOverlay() = 0;
+ virtual bool canShowFullscreenOverlay() const = 0;
// whether accelerated rendering is supported by the media engine for the current media.
virtual bool supportsAcceleratedRendering() const = 0;

Powered by Google App Engine
This is Rietveld 408576698