summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_list.cc
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 04:48:39 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 04:48:39 +0000
commitf3e99e3d1dd8d37c7d0e37daa24df7717cd7783b (patch)
tree4d46a6020077f2385a8720882e76158ce878f432 /chrome/browser/browser_list.cc
parent43a973aeb04b5d0ac64bb730cadf0737de8b0cd9 (diff)
downloadchromium_src-f3e99e3d1dd8d37c7d0e37daa24df7717cd7783b.zip
chromium_src-f3e99e3d1dd8d37c7d0e37daa24df7717cd7783b.tar.gz
chromium_src-f3e99e3d1dd8d37c7d0e37daa24df7717cd7783b.tar.bz2
Rename ChromeFrame->BrowserWindow
Move static utility functions to FrameUtil class. B=1294302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_list.cc')
-rw-r--r--chrome/browser/browser_list.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser_list.cc b/chrome/browser/browser_list.cc
index 12b2cbb..091a292 100644
--- a/chrome/browser/browser_list.cc
+++ b/chrome/browser/browser_list.cc
@@ -32,7 +32,7 @@
#include "base/logging.h"
#include "base/message_loop.h"
#include "chrome/browser/browser_process.h"
-#include "chrome/browser/chrome_frame.h"
+#include "chrome/browser/browser_window.h"
#include "chrome/browser/profile.h"
#include "chrome/browser/profile_manager.h"
#include "chrome/browser/web_contents.h"
@@ -140,13 +140,13 @@ void BrowserList::CloseAllBrowsers(bool use_post) {
// This path is hit during logoff/power-down. In this case we won't get
// a final message and so we force the browser to be deleted.
Browser* browser = *iter;
- browser->frame()->Close();
+ browser->window()->Close();
// Close doesn't immediately destroy the browser
// (Browser::TabStripEmpty() uses invoke later) but when we're ending the
// session we need to make sure the browser is destroyed now. So, invoke
// DestroyBrowser to make sure the browser is deleted and cleanup can
// happen.
- browser->frame()->DestroyBrowser();
+ browser->window()->DestroyBrowser();
iter = BrowserList::begin();
if (iter != BrowserList::end() && browser == *iter) {
// Destroying the browser should have removed it from the browser list.