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

Unified Diff: chrome/browser/notifications/balloon_host.cc

Issue 5611001: Fix notifications being too large on OSX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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
« no previous file with comments | « chrome/browser/notifications/balloon.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/balloon_host.cc
diff --git a/chrome/browser/notifications/balloon_host.cc b/chrome/browser/notifications/balloon_host.cc
index 5fe8c4e9f4fafa84054687494ce9578c5c48e540..6fbc1e0655725ad37f092eb4fe5d6c9e964d566d 100644
--- a/chrome/browser/notifications/balloon_host.cc
+++ b/chrome/browser/notifications/balloon_host.cc
@@ -118,6 +118,8 @@ void BalloonHost::RenderViewCreated(RenderViewHost* render_view_host) {
render_view_host->routing_id(), balloon_->min_scrollbar_size()));
render_view_host->WasResized();
#if !defined(OS_MACOSX)
+ // TODO(levin): Make all of the code that went in originally with this change
+ // to be cross-platform. See http://crbug.com/64720
render_view_host->EnablePreferredSizeChangedMode(
kPreferredSizeWidth | kPreferredSizeHeightThisIsSlow);
#endif
« no previous file with comments | « chrome/browser/notifications/balloon.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698