Chromium Code Reviews| Index: chrome/browser/ui/views/frame/opaque_browser_frame_view.h |
| diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h |
| index 05830d599e6ec2853d7087bca7755124f2cf3e09..a71447ba94806e1f46de0716abbcdb64b09a9275 100644 |
| --- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h |
| +++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h |
| @@ -38,6 +38,13 @@ class OpaqueBrowserFrameView : public BrowserNonClientFrameView, |
| virtual gfx::Size GetMinimumSize(); |
| protected: |
| + BrowserView* browser_view() const { return browser_view_; } |
| + gfx::Rect* client_view_bounds() { return &client_view_bounds_; } |
|
sky
2010/12/10 18:18:20
Can this be nuked now?
bryeung
2010/12/10 23:58:59
Done.
|
| + |
| + // Used to allow subclasses to reserve height for other components they |
| + // will add. |
|
sky
2010/12/10 18:18:20
This should document where the height is reserved.
bryeung
2010/12/10 23:58:59
Done.
|
| + virtual int GetReservedHeight() const { return 0; } |
|
sky
2010/12/10 18:18:20
don't inline virtual methods.
bryeung
2010/12/10 23:58:59
Done.
|
| + |
| // Overridden from views::NonClientFrameView: |
| virtual gfx::Rect GetBoundsForClientView() const; |
| virtual bool AlwaysUseNativeFrame() const; |