diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-19 22:53:30 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-19 22:53:30 +0000 |
commit | ec322ff6c39bf30e9b3c1eb878a95507029c6002 (patch) | |
tree | 186cb72db581cab4643182d47f040b65b1addb46 /chrome/browser/navigation_controller_unittest.cc | |
parent | f3f568b18078fa29f9b84cd66bd2d1029ce408a1 (diff) | |
download | chromium_src-ec322ff6c39bf30e9b3c1eb878a95507029c6002.zip chromium_src-ec322ff6c39bf30e9b3c1eb878a95507029c6002.tar.gz chromium_src-ec322ff6c39bf30e9b3c1eb878a95507029c6002.tar.bz2 |
Re-land this change: http://codereview.chromium.org/10967/show
Now with two improvements:
- no longer create WebContentsViews as WS_VISIBLE, to prevent them from showing up in the taskbar
- make sure overridden CreateView in NativeUIContents and StatusView have the correct signature.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5723 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/navigation_controller_unittest.cc')
-rw-r--r-- | chrome/browser/navigation_controller_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/navigation_controller_unittest.cc b/chrome/browser/navigation_controller_unittest.cc index 5c43b1b..98e9ad7 100644 --- a/chrome/browser/navigation_controller_unittest.cc +++ b/chrome/browser/navigation_controller_unittest.cc @@ -51,7 +51,7 @@ class NavigationControllerTest : public testing::Test, contents = new TestTabContents(type1()); contents->set_delegate(this); - contents->CreateView(::GetDesktopWindow(), gfx::Rect()); + contents->CreateView(); contents->SetupController(profile); } @@ -1232,7 +1232,7 @@ TEST_F(NavigationControllerTest, RestoreNavigate) { navigations.push_back(TabNavigation(0, url, GURL(), L"Title", "state", PageTransition::LINK)); NavigationController* controller = - new NavigationController(profile, navigations, 0, NULL); + new NavigationController(profile, navigations, 0); controller->GoToIndex(0); // We should now have one entry, and it should be "pending". |