Title: [166332] trunk/Source/WebKit2
Revision
166332
Author
ander...@apple.com
Date
2014-03-26 18:54:24 -0700 (Wed, 26 Mar 2014)

Log Message

Add -[WKWebView stopLoading]
https://bugs.webkit.org/show_bug.cgi?id=130812

Reviewed by Tim Horton.

* UIProcess/API/Cocoa/WKWebView.h:
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView stopLoading]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (166331 => 166332)


--- trunk/Source/WebKit2/ChangeLog	2014-03-27 01:48:28 UTC (rev 166331)
+++ trunk/Source/WebKit2/ChangeLog	2014-03-27 01:54:24 UTC (rev 166332)
@@ -1,3 +1,14 @@
+2014-03-26  Anders Carlsson  <ander...@apple.com>
+
+        Add -[WKWebView stopLoading]
+        https://bugs.webkit.org/show_bug.cgi?id=130812
+
+        Reviewed by Tim Horton.
+
+        * UIProcess/API/Cocoa/WKWebView.h:
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        (-[WKWebView stopLoading]):
+
 2014-03-26  Tim Horton  <timothy_hor...@apple.com>
 
         Assertion failure in RemoteLayerBackingStore::flush

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h (166331 => 166332)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h	2014-03-27 01:48:28 UTC (rev 166331)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h	2014-03-27 01:54:24 UTC (rev 166332)
@@ -118,6 +118,9 @@
 - (WKNavigation *)goBack;
 - (WKNavigation *)goForward;
 
+- (void)stopLoading;
+
+// FIXME: Move this to WKIBActions.
 - (IBAction)stopLoading:(id)sender;
 
 @property (nonatomic) BOOL allowsBackForwardNavigationGestures;

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm (166331 => 166332)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm	2014-03-27 01:48:28 UTC (rev 166331)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm	2014-03-27 01:54:24 UTC (rev 166332)
@@ -307,6 +307,11 @@
     return nil;
 }
 
+- (void)stopLoading
+{
+    _page->stopLoading();
+}
+
 - (IBAction)stopLoading:(id)sender
 {
     _page->stopLoading();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to