Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4513)

Unified Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view.h

Issue 5747001: Add the virtual keyboard to BrowserFrameChromeos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clean-up Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698