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

Unified Diff: content/shell/webkit_test_controller.cc

Issue 12258047: [content shell] Use the TestRunner library again and remove the mock testRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « content/shell/shell_resources.grd ('k') | content/shell/webkit_test_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/webkit_test_controller.cc
diff --git a/content/shell/webkit_test_controller.cc b/content/shell/webkit_test_controller.cc
index 7772f5346e89a1ca531a03a90696b7eb9f74f491..539e16b83e4a23a7f0b9194dae72886af2e1e87a 100644
--- a/content/shell/webkit_test_controller.cc
+++ b/content/shell/webkit_test_controller.cc
@@ -176,10 +176,6 @@ bool WebKitTestController::PrepareForLayoutTest(
initial_size);
WebContentsObserver::Observe(main_window_->web_contents());
main_window_->LoadURL(test_url);
- if (test_url.spec().find("/dumpAsText/") != std::string::npos)
- enable_pixel_dumping_ = false;
- if (test_url.spec().find("/inspector/") != std::string::npos)
- main_window_->ShowDevTools();
main_window_->web_contents()->GetRenderViewHost()->Focus();
main_window_->web_contents()->GetRenderViewHost()->SetActive(true);
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoTimeout)) {
« no previous file with comments | « content/shell/shell_resources.grd ('k') | content/shell/webkit_test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698