diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-20 22:37:07 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-20 22:37:07 +0000 |
commit | 6e83cb81e5e0c974a0782bc319e5a79ea0cca70b (patch) | |
tree | cfa8c9c14de3637fa40de8d322fabe75fec1ab50 /webkit/tools/test_shell/test_shell.cc | |
parent | 1c9c4e8e63c96e4255f81ae14e9e861a8ec56d7f (diff) | |
download | chromium_src-6e83cb81e5e0c974a0782bc319e5a79ea0cca70b.zip chromium_src-6e83cb81e5e0c974a0782bc319e5a79ea0cca70b.tar.gz chromium_src-6e83cb81e5e0c974a0782bc319e5a79ea0cca70b.tar.bz2 |
Merge NavigationController and NavigationControllerBase for test_shell. I also removed all the inapplicable crap that was in there like transition and tab types.
BUG=1319488
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1120 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell.cc')
-rw-r--r-- | webkit/tools/test_shell/test_shell.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index 89585ae..d1e5042 100644 --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -862,11 +862,10 @@ void TestShell::LoadURLForFrame(const wchar_t* url, frame_string = frame_name; navigation_controller_->LoadEntry(new TestNavigationEntry( - -1, GURL(urlString), std::wstring(), PageTransition::LINK, - frame_string)); + -1, GURL(urlString), std::wstring(), frame_string)); } -bool TestShell::Navigate(const NavigationEntry& entry, bool reload) { +bool TestShell::Navigate(const TestNavigationEntry& entry, bool reload) { const TestNavigationEntry& test_entry = *static_cast<const TestNavigationEntry*>(&entry); @@ -887,8 +886,7 @@ bool TestShell::Navigate(const NavigationEntry& entry, bool reload) { request->SetHistoryState(entry.GetContentState()); request->SetExtraData( - new TestShellExtraRequestData(entry.GetPageID(), - entry.GetTransition())); + new TestShellExtraRequestData(entry.GetPageID())); // Get the right target frame for the entry. WebFrame* frame = webView()->GetMainFrame(); |