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

Unified Diff: chrome/browser/ui/views/infobars/extension_infobar.h

Issue 4767001: Make TabContents own its infobar delegates.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/ui/views/infobars/extension_infobar.h
===================================================================
--- chrome/browser/ui/views/infobars/extension_infobar.h (revision 65711)
+++ chrome/browser/ui/views/infobars/extension_infobar.h (working copy)
@@ -25,7 +25,6 @@
class ExtensionInfoBar : public InfoBar,
public ExtensionView::Container,
public ImageLoadingTracker::Observer,
- public ExtensionInfoBarDelegate::DelegateObserver,
public views::ViewMenuDelegate {
public:
explicit ExtensionInfoBar(ExtensionInfoBarDelegate* delegate);
@@ -40,12 +39,10 @@
virtual void Layout();
// Overridden from ImageLoadingTracker::Observer:
- virtual void OnImageLoaded(
- SkBitmap* image, ExtensionResource resource, int index);
+ virtual void OnImageLoaded(SkBitmap* image,
+ ExtensionResource resource,
+ int index);
- // Overridden from ExtensionInfoBarDelegate::DelegateObserver:
- virtual void OnDelegateDeleted();
-
// Overridden from views::ViewMenuDelegate:
virtual void RunMenu(View* source, const gfx::Point& pt);
@@ -56,8 +53,6 @@
NotificationRegistrar notification_registrar_;
- ExtensionInfoBarDelegate* delegate_;
-
// The dropdown menu for accessing the contextual extension actions.
scoped_refptr<ExtensionContextMenuModel> options_menu_contents_;
scoped_ptr<views::Menu2> options_menu_menu_;

Powered by Google App Engine
This is Rietveld 408576698