diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-17 14:07:44 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-17 14:07:44 +0000 |
commit | 9824015ad62616301b8f757aca28a94ec4796df7 (patch) | |
tree | 150f13549eaeef20f91da0fb7f4fb32a67550d73 /chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h | |
parent | 2d9b71c32b4be8ed8b5d996f1fe471e6240a844e (diff) | |
download | chromium_src-9824015ad62616301b8f757aca28a94ec4796df7.zip chromium_src-9824015ad62616301b8f757aca28a94ec4796df7.tar.gz chromium_src-9824015ad62616301b8f757aca28a94ec4796df7.tar.bz2 |
Set Extension Infobars to have a fixed height determined by the developer (clamped to sane min and max values).
BUG=92656
TEST=This needs to be tested with an Extension, which I can provide.
Review URL: http://codereview.chromium.org/7635019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97132 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h')
-rw-r--r-- | chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h b/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h index 80b3f9b..311f4caf 100644 --- a/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h +++ b/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h @@ -17,8 +17,7 @@ class ExtensionResource; class ExtensionViewGtk; class ExtensionInfoBarGtk : public InfoBarGtk, - public ImageLoadingTracker::Observer, - public ExtensionViewGtk::Container { + public ImageLoadingTracker::Observer { public: ExtensionInfoBarGtk(TabContentsWrapper* owner, ExtensionInfoBarDelegate* delegate); @@ -28,10 +27,6 @@ class ExtensionInfoBarGtk : public InfoBarGtk, virtual void OnImageLoaded( SkBitmap* image, const ExtensionResource& resource, int index); - // ExtensionViewGtk::Container implementation - virtual void OnExtensionPreferredSizeChanged(ExtensionViewGtk* view, - const gfx::Size& new_size); - private: // Build the widgets of the Infobar. void BuildWidgets(); |