diff options
Diffstat (limited to 'chromium/ui/views/bubble/bubble_frame_view.h')
-rw-r--r-- | chromium/ui/views/bubble/bubble_frame_view.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/ui/views/bubble/bubble_frame_view.h b/chromium/ui/views/bubble/bubble_frame_view.h index 7dc459623ba..48ef52dd347 100644 --- a/chromium/ui/views/bubble/bubble_frame_view.h +++ b/chromium/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_; |