Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index 9b94a443a76053f64499ee169e4c45110b202dbe..d1231cac59e114d85b14c29a2dba13ae080f5293 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -83,6 +83,7 @@ class OverscrollController; |
class RenderWidgetHostDelegate; |
class RenderWidgetHostViewPort; |
class SyntheticGestureController; |
+class TimeoutMonitor; |
struct EditCommand; |
// This implements the RenderWidgetHost interface that is exposed to |
@@ -636,9 +637,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
// Tell this object to destroy itself. |
void Destroy(); |
- // Checks whether the renderer is hung and calls NotifyRendererUnresponsive |
- // if it is. |
- void CheckRendererIsUnresponsive(); |
+ // Called by |hang_timeout_monitor_| on delayed response from the renderer. |
+ void RendererIsUnresponsive(); |
// Called if we know the renderer is responsive. When we currently think the |
// renderer is unresponsive, this will clear that state and call |
@@ -910,6 +910,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
scoped_ptr<OverscrollController> overscroll_controller_; |
+ scoped_ptr<TimeoutMonitor> hang_monitor_timeout_; |
+ |
#if defined(OS_WIN) |
std::list<HWND> dummy_windows_for_activation_; |
#endif |