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

Unified Diff: content/shell/layout_test_controller_bindings.cc

Issue 10545087: Use a fresh, temporary profile when running content_shell in DRT mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | content/shell/shell_browser_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/layout_test_controller_bindings.cc
diff --git a/content/shell/layout_test_controller_bindings.cc b/content/shell/layout_test_controller_bindings.cc
index 59fecec607f6735946856f0ca923ee91e4f6b372..20131adc6e2d3763961e9b7c3da6e37811b15da1 100644
--- a/content/shell/layout_test_controller_bindings.cc
+++ b/content/shell/layout_test_controller_bindings.cc
@@ -124,6 +124,11 @@ LayoutTestControllerBindings::GetNativeFunction(v8::Handle<v8::String> name) {
return v8::FunctionTemplate::New(SetDumpChildFramesAsText);
if (name->Equals(v8::String::New("SetPrinting")))
return v8::FunctionTemplate::New(SetPrinting);
+ if (name->Equals(v8::String::New(
+ "SetShouldStayOnPageAfterHandlingBeforeUnload"))) {
+ return v8::FunctionTemplate::New(
+ SetShouldStayOnPageAfterHandlingBeforeUnload);
+ }
if (name->Equals(v8::String::New("SetWaitUntilDone")))
return v8::FunctionTemplate::New(SetWaitUntilDone);
« no previous file with comments | « no previous file | content/shell/shell_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698