Bug 125697

Summary: Add page load delegate for WebProcessPlugInBrowsingContextController.
Product: WebKit Reporter: Yongjun Zhang <yongjun_zhang>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue, mitz, ossy, sam, yongjun_zhang
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Add page load delegate to WKWebProcessPlugInBrowsingContextController.
sam: review+
address review comments before landing. none

Description Yongjun Zhang 2013-12-13 12:28:34 PST
We should add page load delegate for WebProcessPlugInBrowsingContextController so that a WebProcess InjectedBundle can listen to page load events.
Comment 1 Yongjun Zhang 2013-12-13 13:07:34 PST
Created attachment 219188 [details]
Add page load delegate to WKWebProcessPlugInBrowsingContextController.
Comment 2 Sam Weinig 2013-12-14 18:02:12 PST
Comment on attachment 219188 [details]
Add page load delegate to WKWebProcessPlugInBrowsingContextController.

View in context: https://bugs.webkit.org/attachment.cgi?id=219188&action=review

> Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:82
> +static void setUpPageLoaderClient(WKWebProcessPlugInBrowserContextController *contextController, WebPage &page)

& on the wrong side.
Comment 3 Yongjun Zhang 2013-12-14 21:54:42 PST
Created attachment 219270 [details]
address review comments before landing.
Comment 4 WebKit Commit Bot 2013-12-14 22:29:17 PST
Comment on attachment 219270 [details]
address review comments before landing.

Clearing flags on attachment: 219270

Committed r160616: <http://trac.webkit.org/changeset/160616>
Comment 5 WebKit Commit Bot 2013-12-14 22:29:19 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Csaba Osztrogonác 2016-11-09 09:26:09 PST
Comment on attachment 219270 [details]
address review comments before landing.

View in context: https://bugs.webkit.org/attachment.cgi?id=219270&action=review

> Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:37
> +#import "WKWebProcessPluginFrameInternal.h"

It's not WKWebProcessPlug_i_nFrameInternal.h, but WKWebProcessPlug_I_nFrameInternal.h

Fixed in https://trac.webkit.org/changeset/208431