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..e08b3d052e94aca990c7c5ac93690615665c6753 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() 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(); |
@@ -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. |
sky
2012/08/02 18:30:30
Document the default.
Mr4D (OOO till 08-26)
2012/08/02 23:10:38
I had that in there but was told to remove it. Re-
|
+ bool try_mirroring_arrow_; |
+ |
// Parent native window of the bubble. |
gfx::NativeView parent_window_; |