summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-29 22:48:03 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-29 22:48:03 +0000
commit6c7b9e43327d13cda3975c51ec18870d56084b77 (patch)
tree49d15b9e82dcd1fd32cf4d3ef5b859a94f2afa5f /webkit/tools/test_shell
parent6a210d2be98694eb54888139b3873e051c20cef5 (diff)
downloadchromium_src-6c7b9e43327d13cda3975c51ec18870d56084b77.zip
chromium_src-6c7b9e43327d13cda3975c51ec18870d56084b77.tar.gz
chromium_src-6c7b9e43327d13cda3975c51ec18870d56084b77.tar.bz2
Remove usages of WebView::Create that pass in devtools/autofill client.
Review URL: http://codereview.chromium.org/6771025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79759 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r--webkit/tools/test_shell/mac/webview_host.mm3
-rw-r--r--webkit/tools/test_shell/webview_host_gtk.cc3
-rw-r--r--webkit/tools/test_shell/webview_host_win.cc3
3 files changed, 6 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/mac/webview_host.mm b/webkit/tools/test_shell/mac/webview_host.mm
index ba51e17..c48ea02 100644
--- a/webkit/tools/test_shell/mac/webview_host.mm
+++ b/webkit/tools/test_shell/mac/webview_host.mm
@@ -39,7 +39,8 @@ WebViewHost* WebViewHost::Create(NSView* parent_view,
[parent_view addSubview:host->view_];
[host->view_ release];
- host->webwidget_ = WebView::create(delegate, dev_tools_client, NULL);
+ host->webwidget_ = WebView::create(delegate);
+ host->webview()->setDevToolsAgentClient(dev_tools_client);
prefs.Apply(host->webview());
host->webview()->initializeMainFrame(delegate);
host->webwidget_->resize(WebSize(content_rect.size.width,
diff --git a/webkit/tools/test_shell/webview_host_gtk.cc b/webkit/tools/test_shell/webview_host_gtk.cc
index 85c161d..07a0a83 100644
--- a/webkit/tools/test_shell/webview_host_gtk.cc
+++ b/webkit/tools/test_shell/webview_host_gtk.cc
@@ -28,7 +28,8 @@ WebViewHost* WebViewHost::Create(GtkWidget* parent_view,
host->view_ = WebWidgetHost::CreateWidget(parent_view, host);
host->plugin_container_manager_.set_host_widget(host->view_);
- host->webwidget_ = WebView::create(delegate, dev_tools_client, NULL);
+ host->webwidget_ = WebView::create(delegate);
+ host->webview()->setDevToolsAgentClient(dev_tools_client);
prefs.Apply(host->webview());
host->webview()->initializeMainFrame(delegate);
host->webwidget_->layout();
diff --git a/webkit/tools/test_shell/webview_host_win.cc b/webkit/tools/test_shell/webview_host_win.cc
index a40c8e2..d1cf473 100644
--- a/webkit/tools/test_shell/webview_host_win.cc
+++ b/webkit/tools/test_shell/webview_host_win.cc
@@ -42,7 +42,8 @@ WebViewHost* WebViewHost::Create(HWND parent_view,
GetModuleHandle(NULL), NULL);
ui::SetWindowUserData(host->view_, host);
- host->webwidget_ = WebView::create(delegate, dev_tools_client, NULL);
+ host->webwidget_ = WebView::create(delegate);
+ host->webview()->setDevToolsAgentClient(dev_tools_client);
prefs.Apply(host->webview());
host->webview()->initializeMainFrame(delegate);