Fix style. Use #pragma once in VideoFullscreen and PlaybackSession headers.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Jul 2017 18:41:10 +0000 (18:41 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Jul 2017 18:41:10 +0000 (18:41 +0000)
https://bugs.webkit.org/show_bug.cgi?id=174448

Patch by Jeremy Jones <jeremyj@apple.com> on 2017-07-13
Reviewed by Eric Carlson.

No behavior change.

Source/WebCore:

* platform/cocoa/WebPlaybackSessionInterface.h:
* platform/cocoa/WebVideoFullscreenChangeObserver.h:
* platform/cocoa/WebVideoFullscreenModel.h:
* platform/cocoa/WebVideoFullscreenModelVideoElement.h:
* platform/ios/WebPlaybackSessionInterfaceAVKit.h:
* platform/ios/WebVideoFullscreenControllerAVKit.h:
* platform/ios/WebVideoFullscreenInterfaceAVKit.h:
* platform/mac/WebVideoFullscreenInterfaceMac.h:

Source/WebKit2:

* UIProcess/Cocoa/WebVideoFullscreenManagerProxy.h:
* WebProcess/cocoa/WebVideoFullscreenManager.h:

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

12 files changed:
Source/WebCore/ChangeLog
Source/WebCore/platform/cocoa/WebPlaybackSessionInterface.h
Source/WebCore/platform/cocoa/WebVideoFullscreenChangeObserver.h
Source/WebCore/platform/cocoa/WebVideoFullscreenModel.h
Source/WebCore/platform/cocoa/WebVideoFullscreenModelVideoElement.h
Source/WebCore/platform/ios/WebPlaybackSessionInterfaceAVKit.h
Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.h
Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h
Source/WebCore/platform/mac/WebVideoFullscreenInterfaceMac.h
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/Cocoa/WebVideoFullscreenManagerProxy.h
Source/WebKit2/WebProcess/cocoa/WebVideoFullscreenManager.h

index 60ccbd8..7133df2 100644 (file)
@@ -1,3 +1,21 @@
+2017-07-13  Jeremy Jones  <jeremyj@apple.com>
+
+        Fix style. Use #pragma once in VideoFullscreen and PlaybackSession headers.
+        https://bugs.webkit.org/show_bug.cgi?id=174448
+
+        Reviewed by Eric Carlson.
+
+        No behavior change.
+
+        * platform/cocoa/WebPlaybackSessionInterface.h:
+        * platform/cocoa/WebVideoFullscreenChangeObserver.h:
+        * platform/cocoa/WebVideoFullscreenModel.h:
+        * platform/cocoa/WebVideoFullscreenModelVideoElement.h:
+        * platform/ios/WebPlaybackSessionInterfaceAVKit.h:
+        * platform/ios/WebVideoFullscreenControllerAVKit.h:
+        * platform/ios/WebVideoFullscreenInterfaceAVKit.h:
+        * platform/mac/WebVideoFullscreenInterfaceMac.h:
+
 2017-07-13  Alex Christensen  <achristensen@webkit.org>
 
         Deleting last URLSearchParams key should remove trailing ? in associated URL
index c59b8c8..309e797 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebPlaybackSessionInterface_h
-#define WebPlaybackSessionInterface_h
+#pragma once
 
 #if PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
 
@@ -48,4 +47,3 @@ public:
 
 #endif // PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
 
-#endif
index 39075c7..6f32b43 100644 (file)
@@ -24,8 +24,7 @@
  */
 
 
-#ifndef WebVideoFullscreenChangeObserver_h
-#define WebVideoFullscreenChangeObserver_h
+#pragma once
 
 #if PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
 
@@ -45,4 +44,3 @@ public:
 
 #endif
 
-#endif
index b1687f8..a52702d 100644 (file)
@@ -24,8 +24,7 @@
  */
 
 
-#ifndef WebVideoFullscreenModel_h
-#define WebVideoFullscreenModel_h
+#pragma once
 
 #if PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
 
@@ -67,4 +66,3 @@ WEBCORE_EXPORT bool supportsPictureInPicture();
 
 #endif
 
-#endif
index fee1b9d..962529e 100644 (file)
@@ -24,8 +24,7 @@
  */
 
 
-#ifndef WebVideoFullscreenModelVideoElement_h
-#define WebVideoFullscreenModelVideoElement_h
+#pragma once
 
 #if PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
 
@@ -98,4 +97,3 @@ private:
 
 #endif
 
-#endif
index 23302fb..ab37d4e 100644 (file)
@@ -24,8 +24,7 @@
  */
 
 
-#ifndef WebPlaybackSessionInterfaceAVKit_h
-#define WebPlaybackSessionInterfaceAVKit_h
+#pragma once
 
 #if PLATFORM(IOS)
 
@@ -99,4 +98,3 @@ protected:
 
 #endif
 
-#endif
index e223717..904040d 100644 (file)
@@ -23,8 +23,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebVideoFullscreenControllerAVKit_h
-#define WebVideoFullscreenControllerAVKit_h
+
+#pragma once
 
 #if PLATFORM(IOS)
 
@@ -45,4 +45,4 @@ WEBCORE_EXPORT @interface WebVideoFullscreenController : NSObject
 @end
 
 #endif
-#endif // WebVideoFullscreenControllerAVKit_h
+
index 98b4dbd..4ac7047 100644 (file)
@@ -24,8 +24,7 @@
  */
 
 
-#ifndef WebVideoFullscreenInterfaceAVKit_h
-#define WebVideoFullscreenInterfaceAVKit_h
+#pragma once
 
 #if PLATFORM(IOS)
 
@@ -156,4 +155,3 @@ protected:
 
 #endif
 
-#endif
index a783ec9..a851b2c 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebVideoFullscreenInterfaceMac_h
-#define WebVideoFullscreenInterfaceMac_h
+#pragma once
 
 #if PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE)
 
@@ -106,4 +105,3 @@ private:
 
 #endif
 
-#endif /* WebVideoFullscreenInterfaceMac_h */
index 1a12aa4..203e515 100644 (file)
@@ -1,5 +1,17 @@
 2017-07-13  Jeremy Jones  <jeremyj@apple.com>
 
+        Fix style. Use #pragma once in VideoFullscreen and PlaybackSession headers.
+        https://bugs.webkit.org/show_bug.cgi?id=174448
+
+        Reviewed by Eric Carlson.
+
+        No behavior change.
+
+        * UIProcess/Cocoa/WebVideoFullscreenManagerProxy.h:
+        * WebProcess/cocoa/WebVideoFullscreenManager.h:
+
+2017-07-13  Jeremy Jones  <jeremyj@apple.com>
+
         Style fix. Replace strongThis with protectedThis.
         https://bugs.webkit.org/show_bug.cgi?id=174444
 
index 7319228..ee040ca 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebVideoFullscreenManagerProxy_h
-#define WebVideoFullscreenManagerProxy_h
+#pragma once
 
 #if (PLATFORM(IOS) && HAVE(AVKIT)) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
 
@@ -168,4 +167,3 @@ private:
 
 #endif // PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
 
-#endif // WebVideoFullscreenManagerProxy_h
index 9a8e47c..fa9a00f 100644 (file)
@@ -22,8 +22,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef WebVideoFullscreenManager_h
-#define WebVideoFullscreenManager_h
+
+#pragma once
 
 #if (PLATFORM(IOS) && HAVE(AVKIT)) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
 
@@ -155,4 +155,3 @@ protected:
 
 #endif // PLATFORM(IOS) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
 
-#endif // WebVideoFullscreenManager_h