summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-10 19:06:11 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-10 19:06:11 +0000
commitb04cacb54853b3269a64585815d20417f12c579f (patch)
treee3836f0ca536245b80e4158047f377056a12a7d9 /webkit
parent403415accf228400fc1365d5de9696348509beb8 (diff)
downloadchromium_src-b04cacb54853b3269a64585815d20417f12c579f.zip
chromium_src-b04cacb54853b3269a64585815d20417f12c579f.tar.gz
chromium_src-b04cacb54853b3269a64585815d20417f12c579f.tar.bz2
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
Diffstat (limited to 'webkit')
-rw-r--r--webkit/plugins/npapi/webview_plugin.cc4
1 files changed, 4 insertions, 0 deletions
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);
}