Changeset 167699 in webkit


Ignore:
Timestamp:
Apr 22, 2014 10:59:34 PM (10 years ago)
Author:
commit-queue@webkit.org
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_zhang@apple.com> on 2014-04-22
Reviewed by Dan Bernstein.

  • WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm:

(-[WKWebProcessPlugInFrame _provisionalURL]):

  • WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h:
Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r167698 r167699  
     12014-04-22  Yongjun Zhang  <yongjun_zhang@apple.com>
     2
     3        Add SPI to expose provisional URL from Frame.
     4        https://bugs.webkit.org/show_bug.cgi?id=132014
     5
     6        Add methods to return the provisional URL from WKWebProcessPlugInFrame.
     7
     8        Reviewed by Dan Bernstein.
     9
     10        * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm:
     11        (-[WKWebProcessPlugInFrame _provisionalURL]):
     12        * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h:
     13
    1142014-04-22  Benjamin Poulain  <bpoulain@apple.com>
    215
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm

    r166935 r167699  
    117117}
    118118
     119- (NSURL *)_provisionalURL
     120{
     121    return [NSURL _web_URLWithWTFString:_frame->provisionalURL()];
     122}
     123
    119124#pragma mark WKObject protocol implementation
    120125
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h

    r166935 r167699  
    3838@property (nonatomic, readonly) BOOL _hasCustomContentProvider;
    3939@property (nonatomic, readonly) NSArray *_certificateChain;
     40@property (nonatomic, readonly) NSURL *_provisionalURL;
    4041
    4142@end
Note: See TracChangeset for help on using the changeset viewer.