Title: [201945] trunk/Source/WebKit2
Revision
201945
Author
[email protected]
Date
2016-06-10 15:18:04 -0700 (Fri, 10 Jun 2016)

Log Message

Add requestExitFullScreen to WKFullScreenWindowController
https://bugs.webkit.org/show_bug.cgi?id=158633
-and corresponding-
rdar://problem/26564036

Reviewed by Tim Horton.

* UIProcess/mac/WKFullScreenWindowController.h:
* UIProcess/mac/WKFullScreenWindowController.mm:
(-[WKFullScreenWindowController requestExitFullScreen]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (201944 => 201945)


--- trunk/Source/WebKit2/ChangeLog	2016-06-10 22:15:24 UTC (rev 201944)
+++ trunk/Source/WebKit2/ChangeLog	2016-06-10 22:18:04 UTC (rev 201945)
@@ -1,3 +1,16 @@
+2016-06-10  Beth Dakin  <[email protected]>
+
+        Add requestExitFullScreen to WKFullScreenWindowController
+        https://bugs.webkit.org/show_bug.cgi?id=158633
+        -and corresponding-
+        rdar://problem/26564036
+
+        Reviewed by Tim Horton.
+
+        * UIProcess/mac/WKFullScreenWindowController.h:
+        * UIProcess/mac/WKFullScreenWindowController.mm:
+        (-[WKFullScreenWindowController requestExitFullScreen]):
+
 2016-06-10  Alex Christensen  <[email protected]>
 
         Reduce ResourceResponse copying

Modified: trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.h (201944 => 201945)


--- trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.h	2016-06-10 22:15:24 UTC (rev 201944)
+++ trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.h	2016-06-10 22:18:04 UTC (rev 201945)
@@ -71,6 +71,7 @@
 
 - (void)enterFullScreen:(NSScreen *)screen;
 - (void)exitFullScreen;
+- (void)requestExitFullScreen;
 - (void)close;
 - (void)beganEnterFullScreenWithInitialFrame:(const WebCore::IntRect&)initialFrame finalFrame:(const WebCore::IntRect&)finalFrame;
 - (void)beganExitFullScreenWithInitialFrame:(const WebCore::IntRect&)initialFrame finalFrame:(const WebCore::IntRect&)finalFrame;

Modified: trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm (201944 => 201945)


--- trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm	2016-06-10 22:15:24 UTC (rev 201944)
+++ trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm	2016-06-10 22:18:04 UTC (rev 201945)
@@ -337,6 +337,11 @@
     [self _manager]->willExitFullScreen();
 }
 
+- (void)requestExitFullScreen
+{
+    [self _manager]->requestExitFullScreen();
+}
+
 - (void)beganExitFullScreenWithInitialFrame:(const WebCore::IntRect&)initialFrame finalFrame:(const WebCore::IntRect&)finalFrame
 {
     if (_fullScreenState != WaitingToExitFullScreen)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to