Expose a WKConnectionRef which represents the connection to/from the WebProcess/UIProcess
Created attachment 118647 [details] Patch
Comment on attachment 118647 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=118647&action=review > Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp:59 > +WKConnectionRef WKBundleGetConnectionToApplication(WKBundleRef bundleRef) Why does this need to take a parameter? Also, I like WKBundleGetApplicationConnection better.
Attachment 118647 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1 Source/WebKit2/UIProcess/WebConnectionToWebProcess.cpp:78: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4] Source/WebKit2/WebProcess/WebConnectionToUIProcess.cpp:76: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4] Total errors found: 2 in 15 files If any of these errors are false positives, please file a bug against check-webkit-style.
(In reply to comment #2) > (From update of attachment 118647 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=118647&action=review > > > Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp:59 > > +WKConnectionRef WKBundleGetConnectionToApplication(WKBundleRef bundleRef) > > Why does this need to take a parameter? Also, I like WKBundleGetApplicationConnection better. I prefer adding the bundle so that if we ever support more than one bundle it has an easier transition both in code and mindset. Also, because all/most of the other ones do. I'll change the name though.
Committed r102484: <http://trac.webkit.org/changeset/102484>