Changeset 163610 in webkit


Ignore:
Timestamp:
Feb 6, 2014 9:38:52 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Need a ObjC SPI to get the process identifier for web process.
https://bugs.webkit.org/show_bug.cgi?id=128356

Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2014-02-06
Reviewed by Dan Bernstein.

Add a SPI for WKBrowsingContextController to return the process identifier of web
process in the current page.

  • UIProcess/API/Cocoa/WKBrowsingContextController.mm:

(-[WKBrowsingContextController processIdentifier]):

  • UIProcess/API/Cocoa/WKBrowsingContextControllerPrivate.h:
Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r163609 r163610  
     12014-02-06  Yongjun Zhang  <yongjun_zhang@apple.com>
     2
     3        Need a ObjC SPI to get the process identifier for web process.
     4        https://bugs.webkit.org/show_bug.cgi?id=128356
     5
     6        Reviewed by Dan Bernstein.
     7
     8        Add a SPI for WKBrowsingContextController to return the process identifier of web
     9        process in the current page.
     10
     11        * UIProcess/API/Cocoa/WKBrowsingContextController.mm:
     12        (-[WKBrowsingContextController processIdentifier]):
     13        * UIProcess/API/Cocoa/WKBrowsingContextControllerPrivate.h:
     14
    1152014-02-06  Ryuan Choi  <ryuan.choi@samsung.com>
    216
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.mm

    r163037 r163610  
    919919}
    920920
     921- (pid_t)processIdentifier
     922{
     923    return _page->processIdentifier();
     924}
     925
    921926@end
    922927
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextControllerPrivate.h

    r160787 r163610  
    6262
    6363@property (nonatomic, readonly) WKRemoteObjectRegistry *remoteObjectRegistry;
     64
     65@property (nonatomic, readonly) pid_t processIdentifier;
     66
    6467@end
    6568
Note: See TracChangeset for help on using the changeset viewer.