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

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: [NOT a WIP] All tests are passing. Created 4 years, 11 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 7d2fde828928061087ecd84dcba9da76f4485470..4334d8181a68c00cddb10a0f4605b7786e162653 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/browser/task_management/test_task_manager.cc ('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