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

Unified Diff: content/shell/renderer/shell_render_process_observer.cc

Issue 16026006: Introduce the notion of a "layout test mode" instead of turning individual flags on and off (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/app/shell_main_delegate.cc ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/shell_render_process_observer.cc
diff --git a/content/shell/renderer/shell_render_process_observer.cc b/content/shell/renderer/shell_render_process_observer.cc
index 25d1aeb6be060d1213ce8163e61442a1d9c81f53..82cb633e436b5ee211dab6fc2a914baaa16e7555 100644
--- a/content/shell/renderer/shell_render_process_observer.cc
+++ b/content/shell/renderer/shell_render_process_observer.cc
@@ -41,11 +41,7 @@ ShellRenderProcessObserver::ShellRenderProcessObserver()
RenderThread::Get()->AddObserver(this);
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree))
return;
- DisableAppCacheLogging();
- EnableDevToolsFrontendTesting();
- EnableShortCircuitSizeUpdates();
- DoNotSendFocusEvents();
- DisableNavigationErrorPages();
+ EnableRendererLayoutTestMode();
}
ShellRenderProcessObserver::~ShellRenderProcessObserver() {
« no previous file with comments | « content/shell/app/shell_main_delegate.cc ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698