diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 02:00:53 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 02:00:53 +0000 |
commit | 7a16aeeb28850afdf5d512cc2e4bb2e58f4b1c10 (patch) | |
tree | 1070bdfc922ca45660dc6bf56b26fc19dfeba7d6 /chrome/browser/session_service.cc | |
parent | f47c61458a0c89c9ec57b3bb3a51d4ef46528ca6 (diff) | |
download | chromium_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/session_service.cc')
-rw-r--r-- | chrome/browser/session_service.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/session_service.cc b/chrome/browser/session_service.cc index d1b848b..f5e042e 100644 --- a/chrome/browser/session_service.cc +++ b/chrome/browser/session_service.cc @@ -293,7 +293,7 @@ void SessionService::WindowClosed(const SessionID& window_id) { } void SessionService::SetWindowType(const SessionID& window_id, - BrowserType::Type type) { + Browser::Type type) { if (!should_track_changes_for_browser_type(type)) return; @@ -703,7 +703,7 @@ SessionCommand* SessionService::CreateSetSelectedNavigationIndexCommand( SessionCommand* SessionService::CreateSetWindowTypeCommand( const SessionID& window_id, - BrowserType::Type type) { + Browser::Type type) { WindowTypePayload payload = { 0 }; payload.id = window_id.id(); payload.index = static_cast<int32>(type); @@ -1026,7 +1026,7 @@ bool SessionService::CreateTabsAndWindows( return true; GetWindow(payload.id, windows)->is_constrained = false; GetWindow(payload.id, windows)->type = - static_cast<BrowserType::Type>(payload.index); + static_cast<Browser::Type>(payload.index); break; } |