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

Unified Diff: chrome/browser/extensions/extension_infobar_delegate.h

Issue 6926001: Replace the virtual InfoBarDelegate::InfoBarClosed() function with a non-virtual one. This is a ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/extensions/extension_infobar_delegate.h
===================================================================
--- chrome/browser/extensions/extension_infobar_delegate.h (revision 84141)
+++ chrome/browser/extensions/extension_infobar_delegate.h (working copy)
@@ -43,17 +43,16 @@
virtual ~ExtensionInfoBarDelegate();
// InfoBarDelegate:
- virtual InfoBar* CreateInfoBar();
- virtual bool EqualsDelegate(InfoBarDelegate* delegate) const;
- virtual void InfoBarDismissed();
- virtual void InfoBarClosed();
- virtual Type GetInfoBarType() const;
- virtual ExtensionInfoBarDelegate* AsExtensionInfoBarDelegate();
+ virtual InfoBar* CreateInfoBar() OVERRIDE;
+ virtual bool EqualsDelegate(InfoBarDelegate* delegate) const OVERRIDE;
+ virtual void InfoBarDismissed() OVERRIDE;
+ virtual Type GetInfoBarType() const OVERRIDE;
+ virtual ExtensionInfoBarDelegate* AsExtensionInfoBarDelegate() OVERRIDE;
// NotificationObserver:
virtual void Observe(NotificationType type,
const NotificationSource& source,
- const NotificationDetails& details);
+ const NotificationDetails& details) OVERRIDE;
// The extension host we are showing the InfoBar for. The delegate needs to
// own this since the InfoBar gets deleted and recreated when you switch tabs

Powered by Google App Engine
This is Rietveld 408576698