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

Side by Side Diff: webkit/tools/test_shell/test_shell_switches.cc

Issue 6862002: Merge gpu_trace_event back into base/debug/trace_event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits & merge r84136 Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/tools/test_shell/test_shell_switches.h" 5 #include "webkit/tools/test_shell/test_shell_switches.h"
6 6
7 namespace test_shell { 7 namespace test_shell {
8 8
9 // Suppresses all error dialogs when present. 9 // Suppresses all error dialogs when present.
10 const char kNoErrorDialogs[] = "noerrdialogs"; 10 const char kNoErrorDialogs[] = "noerrdialogs";
11 11
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Use a specified cache directory. 58 // Use a specified cache directory.
59 const char kCacheDir[] = "cache-dir"; 59 const char kCacheDir[] = "cache-dir";
60 60
61 // When being run through a memory profiler, trigger memory in use dumps at 61 // When being run through a memory profiler, trigger memory in use dumps at
62 // startup and just prior to shutdown. 62 // startup and just prior to shutdown.
63 const char kDebugMemoryInUse[] = "debug-memory-in-use"; 63 const char kDebugMemoryInUse[] = "debug-memory-in-use";
64 64
65 // Enable cookies on the file:// scheme. --layout-tests also enables this. 65 // Enable cookies on the file:// scheme. --layout-tests also enables this.
66 const char kEnableFileCookies[] = "enable-file-cookies"; 66 const char kEnableFileCookies[] = "enable-file-cookies";
67 67
68 // Enable tracing events (see base/debug/trace_event.h)
69 const char kEnableTracing[] = "enable-tracing";
70
71 // Allow scripts to close windows in all cases. 68 // Allow scripts to close windows in all cases.
72 const char kAllowScriptsToCloseWindows[] = "allow-scripts-to-close-windows"; 69 const char kAllowScriptsToCloseWindows[] = "allow-scripts-to-close-windows";
73 70
74 // Test the system dependencies (themes, fonts, ...). When this flag is 71 // Test the system dependencies (themes, fonts, ...). When this flag is
75 // specified, the test shell will exit immediately with either 0 (success) or 72 // specified, the test shell will exit immediately with either 0 (success) or
76 // 1 (failure). Combining with other flags has no effect. 73 // 1 (failure). Combining with other flags has no effect.
77 const char kCheckLayoutTestSystemDeps[] = "check-layout-test-sys-deps"; 74 const char kCheckLayoutTestSystemDeps[] = "check-layout-test-sys-deps";
78 75
79 // If set, we are running under GDB so allow a certain class of errors 76 // If set, we are running under GDB so allow a certain class of errors
80 // to happen even if in layout test mode. 77 // to happen even if in layout test mode.
81 const char kGDB[] = "gdb"; 78 const char kGDB[] = "gdb";
82 79
83 // Make functions of the Profiler class available in javascript 80 // Make functions of the Profiler class available in javascript
84 const char kProfiler[] = "profiler"; 81 const char kProfiler[] = "profiler";
85 82
86 // Make functions of the HeapProfiler class available in javascript 83 // Make functions of the HeapProfiler class available in javascript
87 const char kHeapProfiler[] = "heap-profiler"; 84 const char kHeapProfiler[] = "heap-profiler";
88 85
89 const char kAllowExternalPages[] = "allow-external-pages"; 86 const char kAllowExternalPages[] = "allow-external-pages";
90 87
91 const char kEnableAccel2DCanvas[] = "enable-accelerated-2d-canvas"; 88 const char kEnableAccel2DCanvas[] = "enable-accelerated-2d-canvas";
92 89
93 const char kEnableAccelCompositing[] = "enable-accelerated-compositing"; 90 const char kEnableAccelCompositing[] = "enable-accelerated-compositing";
94 91
95 } // namespace test_shell 92 } // namespace test_shell
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698