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/frame_util.h | |
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/frame_util.h')
-rw-r--r-- | chrome/browser/frame_util.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/chrome/browser/frame_util.h b/chrome/browser/frame_util.h deleted file mode 100644 index 1adaa7f..0000000 --- a/chrome/browser/frame_util.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CHROME_BROWSER_FRAME_UTIL_H_ -#define CHROME_BROWSER_FRAME_UTIL_H_ - -#include <windows.h> - -class BrowserWindow; - -// Static helpers for frames. Basically shared code until Magic Browzr lands. -class FrameUtil { - public: - // Return a ChromeFrame instance given an hwnd. - static BrowserWindow* GetBrowserWindowForHWND(HWND hwnd); - - // Invoked when windows is shutting down (or the user is logging off). When - // this method returns windows is going to kill our process. As such, this - // blocks until the shut-down has been marked as clean. - static void EndSession(); -}; - -#endif // #ifndef CHROME_BROWSER_FRAME_UTIL_H__ - |