summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-25 21:52:10 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-25 21:52:10 +0000
commit7fe2c0b8630fabd9919dc61757392ea2aac9d72b (patch)
treee62d4ffdc74da800596e584def2ba3eef58f5f8d /chrome/common
parent1aba79c9137e3b44ab37b1d48f1575704331ed7e (diff)
downloadchromium_src-7fe2c0b8630fabd9919dc61757392ea2aac9d72b.zip
chromium_src-7fe2c0b8630fabd9919dc61757392ea2aac9d72b.tar.gz
chromium_src-7fe2c0b8630fabd9919dc61757392ea2aac9d72b.tar.bz2
Attempt at fixing crash in WebContents::ShowWidget. I suspect this is
happening because the RenderWidgetHost is getting destroyed between the time it is created but before it it shown (perhaps the renderer went away). BUG=4629 TEST=none Review URL: http://codereview.chromium.org/12439 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/notification_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/notification_types.h b/chrome/common/notification_types.h
index d6ca458..0e550a2 100644
--- a/chrome/common/notification_types.h
+++ b/chrome/common/notification_types.h
@@ -269,6 +269,10 @@ enum NotificationType {
// RenderViewHost is set).
NOTIFY_RENDER_VIEW_HOST_CHANGED,
+ // This is sent when a RenderWidgetHost is being destroyed. The source
+ // is the RenderWidgetHost, the details are not used.
+ NOTIFY_RENDER_WIDGET_HOST_DESTROYED,
+
// Notification from WebContents that we have received a response from
// the renderer after using the dom inspector.
NOTIFY_DOM_INSPECT_ELEMENT_RESPONSE,