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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 1584473004: Migrate ProcessesEventRouter to the new task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dispatch onCreated and onExited only for processes with valid child process host IDs Created 4 years, 10 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: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 2d47132a8c7bf399aa31e05448327a4f6b520989..abff48ea614436439b6a3aa314f5dbdf19fc39da 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -1166,6 +1166,10 @@ base::TerminationStatus WebContentsImpl::GetCrashedStatus() const {
return crashed_status_;
}
+int WebContentsImpl::GetCrashedErrorCode() const {
+ return crashed_error_code_;
+}
+
bool WebContentsImpl::IsBeingDestroyed() const {
return is_being_destroyed_;
}
@@ -4355,6 +4359,9 @@ void WebContentsImpl::OnIgnoredUIEvent() {
void WebContentsImpl::RendererUnresponsive(
RenderWidgetHostImpl* render_widget_host) {
+ FOR_EACH_OBSERVER(WebContentsObserver, observers_,
+ OnRendererUnresponsive(render_widget_host));
+
// Don't show hung renderer dialog for a swapped out RVH.
if (render_widget_host != GetRenderViewHost()->GetWidget())
return;

Powered by Google App Engine
This is Rietveld 408576698