Title: [167699] trunk/Source/WebKit2
- Revision
- 167699
- Author
- commit-qu...@webkit.org
- Date
- 2014-04-22 22:59:34 -0700 (Tue, 22 Apr 2014)
Log Message
Add SPI to expose provisional URL from Frame.
https://bugs.webkit.org/show_bug.cgi?id=132014
Add methods to return the provisional URL from WKWebProcessPlugInFrame.
Patch by Yongjun Zhang <yongjun_zh...@apple.com> on 2014-04-22
Reviewed by Dan Bernstein.
* WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm:
(-[WKWebProcessPlugInFrame _provisionalURL]):
* WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (167698 => 167699)
--- trunk/Source/WebKit2/ChangeLog 2014-04-23 05:53:05 UTC (rev 167698)
+++ trunk/Source/WebKit2/ChangeLog 2014-04-23 05:59:34 UTC (rev 167699)
@@ -1,3 +1,16 @@
+2014-04-22 Yongjun Zhang <yongjun_zh...@apple.com>
+
+ Add SPI to expose provisional URL from Frame.
+ https://bugs.webkit.org/show_bug.cgi?id=132014
+
+ Add methods to return the provisional URL from WKWebProcessPlugInFrame.
+
+ Reviewed by Dan Bernstein.
+
+ * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm:
+ (-[WKWebProcessPlugInFrame _provisionalURL]):
+ * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h:
+
2014-04-22 Benjamin Poulain <bpoul...@apple.com>
[iOS][WK2] Split iOS touch event dispatch for the regular touch event dispatch
Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm (167698 => 167699)
--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm 2014-04-23 05:53:05 UTC (rev 167698)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm 2014-04-23 05:59:34 UTC (rev 167699)
@@ -116,6 +116,11 @@
return (NSArray *)_frame->certificateInfo().certificateChain();
}
+- (NSURL *)_provisionalURL
+{
+ return [NSURL _web_URLWithWTFString:_frame->provisionalURL()];
+}
+
#pragma mark WKObject protocol implementation
- (API::Object&)_apiObject
Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h (167698 => 167699)
--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h 2014-04-23 05:53:05 UTC (rev 167698)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h 2014-04-23 05:59:34 UTC (rev 167699)
@@ -37,6 +37,7 @@
@property (nonatomic, readonly) BOOL _hasCustomContentProvider;
@property (nonatomic, readonly) NSArray *_certificateChain;
+@property (nonatomic, readonly) NSURL *_provisionalURL;
@end
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes