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

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

Issue 21668003: Implement newly saved card bubble for realz and update generated card bubble to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 4 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 c534273dd6f135982601a1f6b895b31b0d157b71..6a60d038030836d8489d8982c638857b8720c498 100644
--- a/ui/views/bubble/bubble_delegate.h
+++ b/ui/views/bubble/bubble_delegate.h
@@ -126,6 +126,9 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView,
// Get bubble bounds from the anchor rect and client view's preferred size.
virtual gfx::Rect GetBubbleBounds();
+ // Get the preferred size of a bubble that matches it's title's width.
msw 2013/08/08 21:56:52 nit: s/it's/its/
Dan Beam 2013/08/09 01:47:58 Done.
+ virtual gfx::Size GetPreferredSizeForTitle();
+
// Returns the duration in milliseconds for the fade animation.
virtual int GetFadeDuration();

Powered by Google App Engine
This is Rietveld 408576698