diff options
author | jcivelli@google.com <jcivelli@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-05 19:58:07 +0000 |
---|---|---|
committer | jcivelli@google.com <jcivelli@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-05 19:58:07 +0000 |
commit | 705243f33047d66a6e0c674041af5dc59073871d (patch) | |
tree | c7d01e2a6b6281455643895369fe3c93032e6cf4 /chrome/browser/notifications/balloon_host.cc | |
parent | 377ddd48b5aff4fb231d78fa197f07c933424110 (diff) | |
download | chromium_src-705243f33047d66a6e0c674041af5dc59073871d.zip chromium_src-705243f33047d66a6e0c674041af5dc59073871d.tar.gz chromium_src-705243f33047d66a6e0c674041af5dc59073871d.tar.bz2 |
Make the app launcher bubble fit its contents.
It remains at least as wide as the browser location bar (that way it can always point at the + button).
InfoBubble was modified so it can be resized.
BUG=42260
TEST=Open the app launcher multiple-times. The app launcher
should fit its contents nicely.
Review URL: http://codereview.chromium.org/1739020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46482 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications/balloon_host.cc')
-rw-r--r-- | chrome/browser/notifications/balloon_host.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/notifications/balloon_host.cc b/chrome/browser/notifications/balloon_host.cc index 9499f4f..da819b0 100644 --- a/chrome/browser/notifications/balloon_host.cc +++ b/chrome/browser/notifications/balloon_host.cc @@ -15,7 +15,6 @@ #include "chrome/common/bindings_policy.h" #include "chrome/common/notification_service.h" #include "chrome/common/notification_type.h" -#include "chrome/common/render_messages.h" #include "chrome/common/renderer_preferences.h" #include "chrome/common/url_constants.h" @@ -58,8 +57,7 @@ void BalloonHost::Close(RenderViewHost* render_view_host) { } void BalloonHost::RenderViewCreated(RenderViewHost* render_view_host) { - render_view_host->Send(new ViewMsg_EnablePreferredSizeChangedMode( - render_view_host->routing_id())); + render_view_host->EnablePreferredSizeChangedMode(); } void BalloonHost::RenderViewReady(RenderViewHost* render_view_host) { |