summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell_win.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 22:35:27 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 22:35:27 +0000
commitb4bb25099b2bc9b1bc1df1b231c859ef82110e7d (patch)
tree5bf82ee33816b9066e5a829b6a256a747021fc93 /webkit/tools/test_shell/test_shell_win.cc
parent87772ec3b0265c72efd0bace14b30fafeee97769 (diff)
downloadchromium_src-b4bb25099b2bc9b1bc1df1b231c859ef82110e7d.zip
chromium_src-b4bb25099b2bc9b1bc1df1b231c859ef82110e7d.tar.gz
chromium_src-b4bb25099b2bc9b1bc1df1b231c859ef82110e7d.tar.bz2
Move various methods from glue/webview.h to api/public/WebView.h
I'll re-order the methods in webview_impl.cc in a follow-up CL. I wanted to keep this one easy to review. SetBackForwardListSize is no longer necessary given that BackForwardListChromium.cpp doesn't care about its capacity. R=dglazkov BUG=10033 TEST=none Originally reviewed here: http://codereview.chromium.org/251051 Review URL: http://codereview.chromium.org/255042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27780 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell_win.cc')
-rw-r--r--webkit/tools/test_shell/test_shell_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/test_shell_win.cc b/webkit/tools/test_shell/test_shell_win.cc
index f231ba0..7d2cf88 100644
--- a/webkit/tools/test_shell/test_shell_win.cc
+++ b/webkit/tools/test_shell/test_shell_win.cc
@@ -238,7 +238,7 @@ bool TestShell::RunFileTest(const TestParams& params) {
shell->m_focusedWidgetHost = NULL;
// Make sure the previous load is stopped.
- shell->webView()->StopLoading();
+ shell->webView()->mainFrame()->stopLoading();
shell->navigation_controller()->Reset();
// StopLoading may update state maintained in the test controller (for
@@ -547,7 +547,7 @@ LRESULT CALLBACK TestShell::WndProc(HWND hwnd, UINT message, WPARAM wParam,
if (wmId == IDC_NAV_RELOAD) {
shell->Reload();
} else {
- shell->webView()->StopLoading();
+ shell->webView()->mainFrame()->stopLoading();
}
}
break;