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

Unified Diff: content/shell/webkit_test_runner_host.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_host.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/webkit_test_runner_host.cc
===================================================================
--- content/shell/webkit_test_runner_host.cc (revision 170458)
+++ content/shell/webkit_test_runner_host.cc (working copy)
@@ -181,7 +181,6 @@
should_stay_on_page_after_handling_before_unload_ = false;
wait_until_done_ = false;
prefs_ = ShellWebPreferences();
- can_open_windows_ = false;
watchdog_.Cancel();
if (main_window_) {
Observe(NULL);
@@ -381,7 +380,6 @@
OnSetShouldStayOnPageAfterHandlingBeforeUnload)
IPC_MESSAGE_HANDLER(ShellViewHostMsg_WaitUntilDone, OnWaitUntilDone)
IPC_MESSAGE_HANDLER(ShellViewHostMsg_NotImplemented, OnNotImplemented)
- IPC_MESSAGE_HANDLER(ShellViewHostMsg_CanOpenWindows, OnCanOpenWindows)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
@@ -421,8 +419,4 @@
WebKitTestController::Get()->NotImplemented(object_name, property_name);
}
-void WebKitTestRunnerHost::OnCanOpenWindows() {
- WebKitTestController::Get()->set_can_open_windows(true);
-}
-
} // namespace content
Property changes on: content/shell/webkit_test_runner_host.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « content/shell/webkit_test_runner_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698