summaryrefslogtreecommitdiffstats
path: root/views/bubble/bubble_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/bubble/bubble_delegate.h')
-rw-r--r--views/bubble/bubble_delegate.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/views/bubble/bubble_delegate.h b/views/bubble/bubble_delegate.h
index 3b303f7..5b2c9c3 100644
--- a/views/bubble/bubble_delegate.h
+++ b/views/bubble/bubble_delegate.h
@@ -27,7 +27,7 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView {
Widget* parent_widget);
// WidgetDelegate overrides:
- virtual View* GetContentsView() OVERRIDE { return this; }
+ virtual View* GetContentsView() OVERRIDE;
virtual ClientView* CreateClientView(Widget* widget) OVERRIDE;
virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
@@ -35,16 +35,14 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView {
virtual gfx::Point GetAnchorPoint() const;
// Get the arrow's location on the bubble.
- virtual BubbleBorder::ArrowLocation GetArrowLocation() const {
- return BubbleBorder::TOP_LEFT;
- }
+ virtual BubbleBorder::ArrowLocation GetArrowLocation() const;
// Get the color used for the background and border.
- virtual SkColor GetColor() const { return SK_ColorWHITE; }
+ virtual SkColor GetColor() const;
protected:
// Perform view initialization on the contents for bubble sizing.
- virtual void Init() {}
+ virtual void Init();
private:
const BubbleView* GetBubbleView() const;