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

Unified Diff: content/public/browser/web_contents_observer.h

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/public/browser/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index 6c8aded1a2b56e042940e080e4f3070f88bcdde0..1b142ac3e93563822c7d674a3b756b92893451cf 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -27,6 +27,7 @@ class NavigationEntry;
class NavigationHandle;
class RenderFrameHost;
class RenderViewHost;
+class RenderWidgetHost;
class WebContents;
class WebContentsImpl;
struct AXEventNotificationDetails;
@@ -121,6 +122,10 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
virtual void RenderViewHostChanged(RenderViewHost* old_host,
RenderViewHost* new_host) {}
+ // This method is invoked when the process for the current main
+ // RenderFrameHost becomes unresponsive.
+ virtual void OnRendererUnresponsive(RenderWidgetHost* render_widget_host) {}
+
// Navigation related events ------------------------------------------------
// Called when a navigation started in the WebContents. |navigation_handle|
« chrome/common/extensions/api/processes.idl ('K') | « content/public/browser/web_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698