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..d0c54b0345959e35d86be9b8432e16329d402577 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 GetNeededSize(const gfx::Size& client_size); |
Mike Wittman
2013/08/22 17:46:10
GetSizeForClientSize maybe?
Rune Fevang
2013/08/23 02:57:43
Done.
|
+ |
// The bubble border. |
BubbleBorder* bubble_border_; |