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..cb9ba9fb39455ecf1eadfa5c089aeaeff7305833 100644 |
--- a/ui/views/bubble/bubble_delegate.h |
+++ b/ui/views/bubble/bubble_delegate.h |
@@ -72,6 +72,9 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView, |
const gfx::Insets& margins() const { return margins_; } |
void set_margins(const gfx::Insets& margins) { margins_ = margins; } |
+ void set_anchor_insets(const gfx::Insets& insets) { anchor_insets_ = insets; } |
+ const gfx::Insets& anchor_insets() const { return anchor_insets_; } |
+ |
gfx::NativeView parent_window() const { return parent_window_; } |
void set_parent_window(gfx::NativeView window) { parent_window_ = window; } |
@@ -157,6 +160,9 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView, |
// The margins between the content and the inside of the border. |
gfx::Insets margins_; |
+ // Insets applied to the |anchor_view_| bounds. |
+ gfx::Insets anchor_insets_; |
+ |
// Original opacity of the bubble. |
int original_opacity_; |