diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-05 01:45:00 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-05 01:45:00 +0000 |
commit | 85b2310f77ff3dd435f69a2af1a16850ad204489 (patch) | |
tree | 2bbeb905e39bf47fe8504f73514914ebe72fe911 /chrome/browser/views/frame/opaque_frame.h | |
parent | b95efdd62ec71230dab3ba599cecc62c7e2e92a2 (diff) | |
download | chromium_src-85b2310f77ff3dd435f69a2af1a16850ad204489.zip chromium_src-85b2310f77ff3dd435f69a2af1a16850ad204489.tar.gz chromium_src-85b2310f77ff3dd435f69a2af1a16850ad204489.tar.bz2 |
Add the TabStrip to the BrowserView2. (hooked up for OpaqueFrame only at this point). Make non-client hittest logic mostly work. Window is somewhat interactive again. Yay!
B=1031854
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame/opaque_frame.h')
-rw-r--r-- | chrome/browser/views/frame/opaque_frame.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/views/frame/opaque_frame.h b/chrome/browser/views/frame/opaque_frame.h index 78b6475..7730038 100644 --- a/chrome/browser/views/frame/opaque_frame.h +++ b/chrome/browser/views/frame/opaque_frame.h @@ -37,6 +37,8 @@ class BrowserView2; namespace ChromeViews { class Window; } +class OpaqueNonClientView; +class TabStrip; /////////////////////////////////////////////////////////////////////////////// // OpaqueFrame @@ -60,9 +62,13 @@ class OpaqueFrame : public BrowserFrame, gfx::Rect GetContentsBounds() const; // Overridden from BrowserFrame: + virtual gfx::Rect GetBoundsForTabStrip(TabStrip* tabstrip) const; virtual ChromeViews::Window* GetWindow(); private: + // Return a pointer to the concrete type of our non-client view. + OpaqueNonClientView* GetOpaqueNonClientView() const; + // The BrowserView2 is our ClientView. This is a pointer to it. BrowserView2* browser_view_; |