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

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

Issue 11415014: Stop using shell::GetInstance()->system_tray() in system tray items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/tray_bubble_view.h
diff --git a/ui/views/bubble/tray_bubble_view.h b/ui/views/bubble/tray_bubble_view.h
index ced054f54fe49c72991a55e419ea9ad68bfb0538..913a75f23b4e94ab3e2990411ac58442c8a570f4 100644
--- a/ui/views/bubble/tray_bubble_view.h
+++ b/ui/views/bubble/tray_bubble_view.h
@@ -113,6 +113,9 @@ class VIEWS_EXPORT TrayBubbleView : public views::BubbleDelegateView {
// Sets the maximum bubble height and resizes the bubble.
void SetMaxHeight(int height);
+ // Ensures that the bubble has at least the given width.
+ void SetMinWidth(int width);
msw 2012/11/15 21:08:48 This should probably just be SetBubbleWidth and sc
bartfab (slow) 2012/11/16 14:56:24 Will do - moving this to another CL though.
+
// Sets whether or not to paint the bubble border arrow.
void SetPaintArrow(bool paint_arrow);

Powered by Google App Engine
This is Rietveld 408576698