summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/infobar_delegate.h
diff options
context:
space:
mode:
authorandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-30 00:00:10 +0000
committerandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-30 00:00:10 +0000
commitad0c2e1b9d23279fabdad09f2ca00397dc197b4d (patch)
tree3cdbb1a190e051abb477da077e75a68a7d46f81c /chrome/browser/tab_contents/infobar_delegate.h
parent03b3bbf29d5d6eb23984206379e9b9e8f89f16df (diff)
downloadchromium_src-ad0c2e1b9d23279fabdad09f2ca00397dc197b4d.zip
chromium_src-ad0c2e1b9d23279fabdad09f2ca00397dc197b4d.tar.gz
chromium_src-ad0c2e1b9d23279fabdad09f2ca00397dc197b4d.tar.bz2
If an extension crashes or is killed by the task manager then reloaded, the info bar telling the user that the extension has crashed should disappear in ALL windows should the user choose to hit the 'reload' button.
NOTE: If the user 'x's out the info bar, the bars in the other windows will remain. BUG=33396 TEST=none Review URL: http://codereview.chromium.org/548206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37570 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/infobar_delegate.h')
-rw-r--r--chrome/browser/tab_contents/infobar_delegate.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/infobar_delegate.h b/chrome/browser/tab_contents/infobar_delegate.h
index 1ec6506..191a9bb 100644
--- a/chrome/browser/tab_contents/infobar_delegate.h
+++ b/chrome/browser/tab_contents/infobar_delegate.h
@@ -13,6 +13,7 @@
class AlertInfoBarDelegate;
class ConfirmInfoBarDelegate;
+class CrashedExtensionInfoBarDelegate;
class TranslateInfoBarDelegate;
class InfoBar;
class LinkInfoBarDelegate;
@@ -110,6 +111,12 @@ class InfoBarDelegate {
return NULL;
}
+ // Returns a pointer to the CrashedExtensionInfoBarDelegate interface, if
+ // implemented.
+ virtual CrashedExtensionInfoBarDelegate* AsCrashedExtensionInfoBarDelegate() {
+ return NULL;
+ }
+
// Returns the type of the infobar. The type determines the appearance (such
// as background color) of the infobar.
virtual Type GetInfoBarType() {