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

Unified Diff: Source/core/html/HTMLVideoElement.h

Issue 213193010: Restore the HTMLVideoElement-specific prefixed fullscreen API behind a flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add test Created 6 years, 9 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/html/HTMLVideoElement.h
diff --git a/Source/core/html/HTMLVideoElement.h b/Source/core/html/HTMLVideoElement.h
index b4d92d1096090a850897b8e4478020889359f2cc..e14b4353fe1ed973b5084865ec55074133de3ef4 100644
--- a/Source/core/html/HTMLVideoElement.h
+++ b/Source/core/html/HTMLVideoElement.h
@@ -45,6 +45,12 @@ public:
unsigned videoWidth() const;
unsigned videoHeight() const;
+ // Fullscreen
+ void webkitEnterFullscreen(ExceptionState&);
eseidel 2014/03/27 16:54:18 Are these different from their non-prefix'd counte
philipj_slow 2014/03/27 18:58:31 These don't have unprefixed counterparts and never
+ void webkitExitFullscreen();
+ bool webkitSupportsFullscreen();
+ bool webkitDisplayingFullscreen();
+
// Statistics
unsigned webkitDecodedFrameCount() const;
unsigned webkitDroppedFrameCount() const;
@@ -79,6 +85,7 @@ private:
virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) OVERRIDE;
virtual bool hasVideo() const OVERRIDE { return player() && player()->hasVideo(); }
+ bool supportsFullscreen() const;
virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
virtual const AtomicString imageSourceURL() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698