diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-05 17:02:31 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-05 17:02:31 +0000 |
commit | e1109c6bb01438970e99d221cab79982ad273440 (patch) | |
tree | 2cec6904338b9d80d2ea324ee61459aca068eef4 /chrome/browser/browser_window.h | |
parent | 45549f3e41d3688039cc9cfca2363186afbc1f12 (diff) | |
download | chromium_src-e1109c6bb01438970e99d221cab79982ad273440.zip chromium_src-e1109c6bb01438970e99d221cab79982ad273440.tar.gz chromium_src-e1109c6bb01438970e99d221cab79982ad273440.tar.bz2 |
Grab bag of random cleanups, implementation of some more methods, etc. I'm going to become more methodical about this soon, I promise.
B=1031854
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@377 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r-- | chrome/browser/browser_window.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h index 10a173c..4e011f6 100644 --- a/chrome/browser/browser_window.h +++ b/chrome/browser/browser_window.h @@ -67,6 +67,7 @@ class BrowserWindow { // default screen. virtual void Show(int command, bool adjust_to_fit) = 0; + // TODO(beng): REMOVE // Invoked by the browser when painting occurred. This is called as a // result of calling Browser::Paint() // TODO(ACW) We really need a cross platform region class to replace @@ -82,6 +83,7 @@ class BrowserWindow { // returns an HWND. virtual void* GetPlatformID() = 0; + // TODO(beng): REMOVE (obtain via BrowserFrame). // Return the TabStrip associated with the frame. virtual TabStrip* GetTabStrip() const = 0; @@ -148,13 +150,16 @@ class BrowserWindow { // If necessary, the appropriate painting is scheduled. virtual void ValidateThrobber() { } + // TODO(beng): RENAME (GetRestoredBounds) // Returns the nonmaximized bounds of the frame (even if the frame is // currently maximized or minimized) in terms of the screen coordinates. virtual gfx::Rect GetNormalBounds() = 0; + // TODO(beng): REMOVE? // Returns true if the frame is maximized (aka zoomed). virtual bool IsMaximized() = 0; + // TODO(beng): REMOVE - this work should be done entirely in the frames. // Returns the bounds required to accomodate for some contents located at the // provided rectangle. The result is in whatever coordinate system used for // |content_rect|. |