summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/extensions
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-18 15:40:32 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-18 15:40:32 +0000
commite4b553615a137a007b7c073d2ac2189fad00b6eb (patch)
tree6e9b0ebb9c096e5b089121d622a81af60491223a /chrome/browser/views/extensions
parentf29bbb655c535a6977cb13093ad42f51ca23b461 (diff)
downloadchromium_src-e4b553615a137a007b7c073d2ac2189fad00b6eb.zip
chromium_src-e4b553615a137a007b7c073d2ac2189fad00b6eb.tar.gz
chromium_src-e4b553615a137a007b7c073d2ac2189fad00b6eb.tar.bz2
Fix "crashed extension" infobar browser crashes.
This is a general rework of how "crashed extension" infobar works and how the extension is actually recovered after the crash. TEST=See bug. http://crbug.com/15888 Review URL: http://codereview.chromium.org/164151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23628 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/extensions')
-rw-r--r--chrome/browser/views/extensions/extension_view.cc5
-rw-r--r--chrome/browser/views/extensions/extension_view.h4
2 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/views/extensions/extension_view.cc b/chrome/browser/views/extensions/extension_view.cc
index 63f37db..7b39336 100644
--- a/chrome/browser/views/extensions/extension_view.cc
+++ b/chrome/browser/views/extensions/extension_view.cc
@@ -145,11 +145,6 @@ void ExtensionView::ViewHierarchyChanged(bool is_add,
CreateWidgetHostView();
}
-void ExtensionView::RecoverCrashedExtension() {
- CleanUp();
- CreateWidgetHostView();
-}
-
void ExtensionView::HandleMouseEvent() {
if (container_)
container_->OnExtensionMouseEvent(this);
diff --git a/chrome/browser/views/extensions/extension_view.h b/chrome/browser/views/extensions/extension_view.h
index 75f7a3f..1e08f79 100644
--- a/chrome/browser/views/extensions/extension_view.h
+++ b/chrome/browser/views/extensions/extension_view.h
@@ -59,10 +59,6 @@ class ExtensionView : public views::NativeViewHost {
virtual void ViewHierarchyChanged(bool is_add,
views::View *parent, views::View *child);
- // Call after extension process crash to re-initialize view, so that
- // extension content can be rendered again.
- void RecoverCrashedExtension();
-
private:
friend class ExtensionHost;