Add WebKitAdditions extension point in HTMLVideoElement::supportsFullscreen()
authoradachan@apple.com <adachan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Apr 2016 21:51:45 +0000 (21:51 +0000)
committeradachan@apple.com <adachan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Apr 2016 21:51:45 +0000 (21:51 +0000)
https://bugs.webkit.org/show_bug.cgi?id=156366

Reviewed by Alex Christensen.

* html/HTMLVideoElement.cpp:
(WebCore::HTMLVideoElement::supportsFullscreen):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@199186 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLVideoElement.cpp

index 2b0b8ab..a12b648 100644 (file)
@@ -1,3 +1,13 @@
+2016-04-07  Ada Chan  <adachan@apple.com>
+
+        Add WebKitAdditions extension point in HTMLVideoElement::supportsFullscreen()
+        https://bugs.webkit.org/show_bug.cgi?id=156366
+
+        Reviewed by Alex Christensen.
+
+        * html/HTMLVideoElement.cpp:
+        (WebCore::HTMLVideoElement::supportsFullscreen):
+
 2016-04-07  Jon Davis  <jond@apple.com>
 
         Add WOFF2 to the Feature Status page
index 71314bc..0c68411 100644 (file)
@@ -146,6 +146,10 @@ void HTMLVideoElement::parseAttribute(const QualifiedName& name, const AtomicStr
 
 bool HTMLVideoElement::supportsFullscreen(HTMLMediaElementEnums::VideoFullscreenMode videoFullscreenMode) const
 {
+#if USE(APPLE_INTERNAL_SDK)
+#include <WebKitAdditions/HTMLVideoElementSupportsFullscreenAdditions.cpp>
+#endif
+
     Page* page = document().page();
     if (!page) 
         return false;