| Index: ui/views/bubble/bubble_delegate.h
|
| diff --git a/ui/views/bubble/bubble_delegate.h b/ui/views/bubble/bubble_delegate.h
|
| index f4bd4ae561fee5a529eec298daf55a4c375ab5c0..be66f8079db3d5a375856d485bba71b786a72fc7 100644
|
| --- a/ui/views/bubble/bubble_delegate.h
|
| +++ b/ui/views/bubble/bubble_delegate.h
|
| @@ -101,6 +101,9 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView,
|
| void SetAlignment(BubbleBorder::BubbleAlignment alignment);
|
|
|
| protected:
|
| + // Get bubble bounds from the anchor point and client view's preferred size.
|
| + virtual gfx::Rect GetBubbleBounds();
|
| +
|
| // View overrides:
|
| virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
|
|
|
| @@ -129,9 +132,6 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView,
|
| FRIEND_TEST_ALL_PREFIXES(BubbleFrameViewTest, NonClientHitTest);
|
| FRIEND_TEST_ALL_PREFIXES(BubbleDelegateTest, CreateDelegate);
|
|
|
| - // Get bubble bounds from the anchor point and client view's preferred size.
|
| - gfx::Rect GetBubbleBounds();
|
| -
|
| #if defined(OS_WIN) && !defined(USE_AURA)
|
| // Get bounds for the Windows-only widget that hosts the bubble's contents.
|
| gfx::Rect GetBubbleClientBounds() const;
|
|
|