Title: [163610] trunk/Source/WebKit2
- Revision
- 163610
- Author
- [email protected]
- Date
- 2014-02-06 21:38:52 -0800 (Thu, 06 Feb 2014)
Log 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 <[email protected]> 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:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (163609 => 163610)
--- trunk/Source/WebKit2/ChangeLog 2014-02-07 05:14:43 UTC (rev 163609)
+++ trunk/Source/WebKit2/ChangeLog 2014-02-07 05:38:52 UTC (rev 163610)
@@ -1,3 +1,17 @@
+2014-02-06 Yongjun Zhang <[email protected]>
+
+ Need a ObjC SPI to get the process identifier for web process.
+ https://bugs.webkit.org/show_bug.cgi?id=128356
+
+ 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:
+
2014-02-06 Ryuan Choi <[email protected]>
Unreviewed build fix on EFL build since r163597
Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.mm (163609 => 163610)
--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.mm 2014-02-07 05:14:43 UTC (rev 163609)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.mm 2014-02-07 05:38:52 UTC (rev 163610)
@@ -918,6 +918,11 @@
return _remoteObjectRegistry.get();
}
+- (pid_t)processIdentifier
+{
+ return _page->processIdentifier();
+}
+
@end
#endif // WK_API_ENABLED
Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextControllerPrivate.h (163609 => 163610)
--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextControllerPrivate.h 2014-02-07 05:14:43 UTC (rev 163609)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextControllerPrivate.h 2014-02-07 05:38:52 UTC (rev 163610)
@@ -61,6 +61,9 @@
@property (nonatomic, readonly) WKBrowsingContextHandle *handle;
@property (nonatomic, readonly) WKRemoteObjectRegistry *remoteObjectRegistry;
+
+@property (nonatomic, readonly) pid_t processIdentifier;
+
@end
#endif // WK_API_ENABLED
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes