Changeset 169001 in webkit


Ignore:
Timestamp:
May 17, 2014 5:38:39 PM (10 years ago)
Author:
ddkilzer@apple.com
Message:

Need a way to get a WKPageRef from a WKWebView
<http://webkit.org/b/133015>

Reviewed by Benjamin Poulain.

  • UIProcess/API/Cocoa/WKWebView.mm:

(-[WKWebView _pageRef]): Added.

  • UIProcess/API/Cocoa/WKWebViewPrivate.h:

(-[WKWebView _pageRef]): Added declaration.

Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r169000 r169001  
     12014-05-17  David Kilzer  <ddkilzer@apple.com>
     2
     3        Need a way to get a WKPageRef from a WKWebView
     4        <http://webkit.org/b/133015>
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * UIProcess/API/Cocoa/WKWebView.mm:
     9        (-[WKWebView _pageRef]): Added.
     10        * UIProcess/API/Cocoa/WKWebViewPrivate.h:
     11        (-[WKWebView _pageRef]): Added declaration.
     12
    1132014-05-17  Anders Carlsson  <andersca@apple.com>
    214
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm

    r168995 r169001  
    14451445}
    14461446
     1447- (WKPageRef)_pageRef
     1448{
     1449    return toAPI(_page.get());
     1450}
     1451
    14471452#pragma mark iOS-specific methods
    14481453
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h

    r168866 r169001  
    2525
    2626#import <WebKit/WKWebView.h>
     27
     28#import <WebKit/WKBase.h>
    2729
    2830#if WK_API_ENABLED
     
    157159@property (nonatomic, weak, setter=_setFormDelegate:) id <_WKFormDelegate> _formDelegate;
    158160
     161@property (nonatomic, readonly) WKPageRef _pageRef;
     162
    159163@end
    160164
Note: See TracChangeset for help on using the changeset viewer.