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

Unified Diff: chrome/browser/notifications/balloon_collection_impl.h

Issue 9702068: Move extension pop-ups and notifications to the new auto-resize code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: small update Created 8 years, 9 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: chrome/browser/notifications/balloon_collection_impl.h
diff --git a/chrome/browser/notifications/balloon_collection_impl.h b/chrome/browser/notifications/balloon_collection_impl.h
index f505463680a26cf7a5b64c4771c9a731743406b0..1e4ceb03f1cec800e9f6bc68a62310b1ba0161a8 100644
--- a/chrome/browser/notifications/balloon_collection_impl.h
+++ b/chrome/browser/notifications/balloon_collection_impl.h
@@ -76,6 +76,11 @@ class BalloonCollectionImpl : public BalloonCollection,
// balloons in the collection.
int count() const { return base_.count(); }
+ static int min_balloon_width() { return Layout::min_balloon_width(); }
+ static int max_balloon_width() { return Layout::max_balloon_width(); }
+ static int min_balloon_height() { return Layout::min_balloon_height(); }
+ static int max_balloon_height() { return Layout::max_balloon_height(); }
+
protected:
// Calculates layout values for the balloons including
// the scaling, the max/min sizes, and the upper left corner of each.

Powered by Google App Engine
This is Rietveld 408576698