| Index: ui/views/bubble/bubble_delegate.h
|
| diff --git a/ui/views/bubble/bubble_delegate.h b/ui/views/bubble/bubble_delegate.h
|
| index 3211a3e9863c28bd290962c33b28635591da4a27..01bd5186e137c5445d97814957dde6cd1078f3b1 100644
|
| --- a/ui/views/bubble/bubble_delegate.h
|
| +++ b/ui/views/bubble/bubble_delegate.h
|
| @@ -72,8 +72,8 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView,
|
| use_focusless_ = use_focusless;
|
| }
|
|
|
| - // Get the arrow's anchor point in screen space.
|
| - virtual gfx::Point GetAnchorPoint();
|
| + // Get the arrow's anchor rect in screen space.
|
| + virtual gfx::Rect GetAnchorRect();
|
|
|
| // Get the arrow's location on the bubble.
|
| virtual BubbleBorder::ArrowLocation GetArrowLocation() const;
|
| @@ -89,6 +89,9 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView,
|
| // bubble to the setting before StartFade() was called.
|
| void ResetFade();
|
|
|
| + // Sets the bubble alignment relative to the anchor.
|
| + void SetAlignment(BubbleBorder::BubbleAlignment alignment);
|
| +
|
| protected:
|
| // View overrides:
|
| virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
|
|
|