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

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

Issue 2005663002: Make unload tests stable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/render_widget_host.h
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
index 9ab9b0c2bda8f899f9148a03f387df5dc7ec6942..a07d82b1271e23e9f023e418e4d7f19a45bd84cf 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -218,6 +218,10 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
// warning too soon.
virtual void RestartHangMonitorTimeout() = 0;
+ // Stops and disables hang monitor. That is needed for tests stability
+ // as under load this widget might not respond in time.
Charlie Reis 2016/05/23 17:03:30 nit: Let's rephrase the second sentence: This avo
+ virtual void DisableHangMonitorForTest() = 0;
+
virtual void SetIgnoreInputEvents(bool ignore_input_events) = 0;
// Called to notify the RenderWidget that it has been resized.

Powered by Google App Engine
This is Rietveld 408576698