Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Unified Diff: ui/views/bubble/bubble_delegate.h

Issue 10823025: Adding new maximize menu according to spec (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed radial Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698