From b04cacb54853b3269a64585815d20417f12c579f Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Mon, 10 Jan 2011 19:06:11 +0000 Subject: Make RenderView implement WebAutoFillClient, in preparation of making WebKit code call the functions on that interface. Once that's rolled, then the listener will be changed to AutoFillManager so that RenderView doesn't have to know about autofill code. Review URL: http://codereview.chromium.org/6156003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70916 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/plugins/npapi/webview_plugin.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'webkit') diff --git a/webkit/plugins/npapi/webview_plugin.cc b/webkit/plugins/npapi/webview_plugin.cc index 6788fc5..7c27027 100644 --- a/webkit/plugins/npapi/webview_plugin.cc +++ b/webkit/plugins/npapi/webview_plugin.cc @@ -50,7 +50,11 @@ WebViewPlugin::WebViewPlugin(WebViewPlugin::Delegate* delegate) : delegate_(delegate), container_(NULL), finished_loading_(false) { +#if defined(WEBKIT_HAS_WEB_AUTO_FILL_CLIENT) + web_view_ = WebView::create(this, NULL, NULL); +#else web_view_ = WebView::create(this, NULL); +#endif web_view_->initializeMainFrame(this); } -- cgit v1.1