Chromium Code Reviews| Index: ui/views/bubble/bubble_delegate.h |
| diff --git a/ui/views/bubble/bubble_delegate.h b/ui/views/bubble/bubble_delegate.h |
| index ad2b5ac235902b29197dd32fa7ed555f9898ba4a..3fd4db03897ddfefa9c12d6ff7857a5517721f5d 100644 |
| --- a/ui/views/bubble/bubble_delegate.h |
| +++ b/ui/views/bubble/bubble_delegate.h |
| @@ -81,6 +81,11 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView, |
| use_focusless_ = use_focusless; |
| } |
| + bool try_mirroring_arrow() { return try_mirroring_arrow_; } |
|
sky
2012/07/31 16:11:06
const
Mr4D (OOO till 08-26)
2012/08/01 20:48:22
Done.
|
| + void set_try_mirroring_arrow(bool try_mirroring_arrow) { |
| + try_mirroring_arrow_ = try_mirroring_arrow; |
| + } |
| + |
| // Get the arrow's anchor rect in screen space. |
| virtual gfx::Rect GetAnchorRect(); |
| @@ -168,6 +173,9 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView, |
| // These bubbles are not interactive and should not gain focus. |
| bool use_focusless_; |
| + // If true, the arrow may be mirrored to fit the bubble on screen better. |
| + bool try_mirroring_arrow_; |
| + |
| // Parent native window of the bubble. |
| gfx::NativeView parent_window_; |