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

Unified Diff: content/shell/webkit_test_runner_bindings.cc

Issue 11414260: Revert 170451 - [content shell] add support for testRunner.canOpenWindows and disallow opening wind… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 | « content/shell/webkit_test_runner.js ('k') | content/shell/webkit_test_runner_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/webkit_test_runner_bindings.cc
===================================================================
--- content/shell/webkit_test_runner_bindings.cc (revision 170458)
+++ content/shell/webkit_test_runner_bindings.cc (working copy)
@@ -62,15 +62,6 @@
return v8::Undefined();
}
-v8::Handle<v8::Value> SetCanOpenWindows(const v8::Arguments& args) {
- RenderView* view = GetCurrentRenderView();
- if (!view)
- return v8::Undefined();
-
- view->Send(new ShellViewHostMsg_CanOpenWindows(view->GetRoutingID()));
- return v8::Undefined();
-}
-
v8::Handle<v8::Value> SetDumpAsText(const v8::Arguments& args) {
RenderView* view = GetCurrentRenderView();
if (!view)
@@ -182,8 +173,6 @@
return v8::FunctionTemplate::New(Display);
if (name->Equals(v8::String::New("NotifyDone")))
return v8::FunctionTemplate::New(NotifyDone);
- if (name->Equals(v8::String::New("SetCanOpenWindows")))
- return v8::FunctionTemplate::New(SetCanOpenWindows);
if (name->Equals(v8::String::New("SetDumpAsText")))
return v8::FunctionTemplate::New(SetDumpAsText);
if (name->Equals(v8::String::New("SetDumpChildFramesAsText")))
« no previous file with comments | « content/shell/webkit_test_runner.js ('k') | content/shell/webkit_test_runner_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698