diff options
Diffstat (limited to 'chrome/browser/renderer_host/render_view_host.h')
-rw-r--r-- | chrome/browser/renderer_host/render_view_host.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h index 2174f2f..e341daf 100644 --- a/chrome/browser/renderer_host/render_view_host.h +++ b/chrome/browser/renderer_host/render_view_host.h @@ -525,6 +525,12 @@ class RenderViewHost : public RenderWidgetHost { void DetermineIfPageSupportsInstant(const string16& value, bool verbatim); + // Send a notification to the V8 JavaScript engine to change its parameters + // while performing stress testing. |cmd| is one of the values defined by + // |ViewHostMsg_JavaScriptStressTestControl_Commands|, which is defined + // in render_messages.h. + void JavaScriptStressTestControl(int cmd, int param); + #if defined(UNIT_TEST) // These functions shouldn't be necessary outside of testing. |