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 6521343e767391e0e2f1a78223c65c683668a851..4d56032dff93b1243c96a42985873f2d63991311 100644 |
--- a/ui/views/bubble/bubble_frame_view.h |
+++ b/ui/views/bubble/bubble_frame_view.h |
@@ -45,8 +45,8 @@ 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 gfx::Size GetPreferredSize() const OVERRIDE; |
+ virtual gfx::Size GetMinimumSize() const OVERRIDE; |
virtual void Layout() OVERRIDE; |
virtual const char* GetClassName() const OVERRIDE; |
virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; |
@@ -90,7 +90,7 @@ class VIEWS_EXPORT BubbleFrameView : public NonClientFrameView, |
const gfx::Size& client_size); |
// Calculates the size needed to accommodate the given client area. |
- gfx::Size GetSizeForClientSize(const gfx::Size& client_size); |
+ gfx::Size GetSizeForClientSize(const gfx::Size& client_size) const; |
// The bubble border. |
BubbleBorder* bubble_border_; |