Index: ui/views/bubble/bubble_delegate.h |
diff --git a/ui/views/bubble/bubble_delegate.h b/ui/views/bubble/bubble_delegate.h |
index a76a7274995654efbb39a7d6f378772a665c5069..53828c0ad493e03a66c45d6d589e0eb90785d854 100644 |
--- a/ui/views/bubble/bubble_delegate.h |
+++ b/ui/views/bubble/bubble_delegate.h |
@@ -80,6 +80,11 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView, |
use_focusless_ = use_focusless; |
} |
+ bool try_mirroring_arrow() const { return try_mirroring_arrow_; } |
+ 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(); |
@@ -167,6 +172,10 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView, |
// These bubbles are not interactive and should not gain focus. |
bool use_focusless_; |
+ // If true (defaults to 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_; |