summaryrefslogtreecommitdiffstats
path: root/chrome/browser/navigation_controller_unittest.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-18 02:00:53 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-18 02:00:53 +0000
commit7a16aeeb28850afdf5d512cc2e4bb2e58f4b1c10 (patch)
tree1070bdfc922ca45660dc6bf56b26fc19dfeba7d6 /chrome/browser/navigation_controller_unittest.cc
parentf47c61458a0c89c9ec57b3bb3a51d4ef46528ca6 (diff)
downloadchromium_src-7a16aeeb28850afdf5d512cc2e4bb2e58f4b1c10.zip
chromium_src-7a16aeeb28850afdf5d512cc2e4bb2e58f4b1c10.tar.gz
chromium_src-7a16aeeb28850afdf5d512cc2e4bb2e58f4b1c10.tar.bz2
Last couple of bits of new-frame related cleanup:
- Remove frame_util.cc, moving functions to BrowserList (endsession) and BrowserView (GetBrowserWindowForHWND) - Tidy up interface for TabIconView model. The model now sources only the information it needs (loading state and favicon). - Replace BrowserType class with an enum on Browser. http://crbug.com/2320 http://crbug.com/3363 Review URL: http://codereview.chromium.org/10786 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5596 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/navigation_controller_unittest.cc')
-rw-r--r--chrome/browser/navigation_controller_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/navigation_controller_unittest.cc b/chrome/browser/navigation_controller_unittest.cc
index 64dae5e..5c43b1b 100644
--- a/chrome/browser/navigation_controller_unittest.cc
+++ b/chrome/browser/navigation_controller_unittest.cc
@@ -5,7 +5,6 @@
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/string_util.h"
-#include "chrome/browser/browser_type.h"
#include "chrome/browser/navigation_controller.h"
#include "chrome/browser/navigation_entry.h"
#include "chrome/browser/profile_manager.h"
@@ -158,7 +157,7 @@ class NavigationControllerHistoryTest : public NavigationControllerTest {
// Force the session service to be created.
SessionService* service = profile->GetSessionService();
- service->SetWindowType(window_id, BrowserType::TABBED_BROWSER);
+ service->SetWindowType(window_id, Browser::TYPE_NORMAL);
service->SetWindowBounds(window_id, gfx::Rect(0, 1, 2, 3), false);
service->SetTabIndexInWindow(window_id,
contents->controller()->session_id(), 0);