Index: ui/views/bubble/bubble_frame_view.h |
diff --git a/ui/views/bubble/bubble_frame_view.h b/ui/views/bubble/bubble_frame_view.h |
index 7dc459623baff2735bcfaa85c60e9142628a56ba..48ef52dd347f36bbe2e4fcd50eb7f4e93b6c4f4d 100644 |
--- a/ui/views/bubble/bubble_frame_view.h |
+++ b/ui/views/bubble/bubble_frame_view.h |
@@ -46,6 +46,7 @@ class VIEWS_EXPORT BubbleFrameView : public NonClientFrameView, |
// View overrides: |
virtual gfx::Insets GetInsets() const OVERRIDE; |
virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetMinimumSize() OVERRIDE; |
virtual void Layout() OVERRIDE; |
virtual const char* GetClassName() const OVERRIDE; |
virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; |
@@ -87,6 +88,9 @@ class VIEWS_EXPORT BubbleFrameView : public NonClientFrameView, |
void OffsetArrowIfOffScreen(const gfx::Rect& anchor_rect, |
const gfx::Size& client_size); |
+ // Calculates the size needed to accommodate the given client area. |
+ gfx::Size GetSizeForClientSize(const gfx::Size& client_size); |
+ |
// The bubble border. |
BubbleBorder* bubble_border_; |