OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/shell/common/shell_switches.h" | 5 #include "content/shell/common/shell_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Allow access to external pages during layout tests. | 9 // Allow access to external pages during layout tests. |
10 const char kAllowExternalPages[] = "allow-external-pages"; | 10 const char kAllowExternalPages[] = "allow-external-pages"; |
(...skipping 10 matching lines...) Expand all Loading... |
21 // The directory breakpad should store minidumps in. | 21 // The directory breakpad should store minidumps in. |
22 const char kCrashDumpsDir[] = "crash-dumps-dir"; | 22 const char kCrashDumpsDir[] = "crash-dumps-dir"; |
23 | 23 |
24 // When specified to "enable-leak-detection" command-line option, | 24 // When specified to "enable-leak-detection" command-line option, |
25 // causes the leak detector to cause immediate crash when found leak. | 25 // causes the leak detector to cause immediate crash when found leak. |
26 const char kCrashOnFailure[] = "crash-on-failure"; | 26 const char kCrashOnFailure[] = "crash-on-failure"; |
27 | 27 |
28 // Request pages to be dumped as text once they finished loading. | 28 // Request pages to be dumped as text once they finished loading. |
29 const char kDumpRenderTree[] = "dump-render-tree"; | 29 const char kDumpRenderTree[] = "dump-render-tree"; |
30 | 30 |
31 // Enable impl-side painting in the compositor. | |
32 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; | |
33 | |
34 // Expose window.ipcTester object for testing | 31 // Expose window.ipcTester object for testing |
35 const char kExposeIpcEcho[] = "expose-ipc-echo"; | 32 const char kExposeIpcEcho[] = "expose-ipc-echo"; |
36 | 33 |
37 // Enable accelerated 2D canvas. | 34 // Enable accelerated 2D canvas. |
38 const char kEnableAccelerated2DCanvas[] = "enable-accelerated-2d-canvas"; | 35 const char kEnableAccelerated2DCanvas[] = "enable-accelerated-2d-canvas"; |
39 | 36 |
40 // Enable font antialiasing for pixel tests. | 37 // Enable font antialiasing for pixel tests. |
41 const char kEnableFontAntialiasing[] = "enable-font-antialiasing"; | 38 const char kEnableFontAntialiasing[] = "enable-font-antialiasing"; |
42 | 39 |
43 // Enables the leak detection of loading webpages. This allows us to check | 40 // Enables the leak detection of loading webpages. This allows us to check |
(...skipping 15 matching lines...) Expand all Loading... |
59 // This makes us disable some web-platform runtime features so that we test | 56 // This makes us disable some web-platform runtime features so that we test |
60 // content_shell as if it was a stable release. It is only followed when | 57 // content_shell as if it was a stable release. It is only followed when |
61 // kDumpRenderTree is set. For the features' level, see | 58 // kDumpRenderTree is set. For the features' level, see |
62 // http://dev.chromium.org/blink/runtime-enabled-features. | 59 // http://dev.chromium.org/blink/runtime-enabled-features. |
63 const char kStableReleaseMode[] = "stable-release-mode"; | 60 const char kStableReleaseMode[] = "stable-release-mode"; |
64 | 61 |
65 // Size for the content_shell's host window (i.e. "800x600"). | 62 // Size for the content_shell's host window (i.e. "800x600"). |
66 const char kContentShellHostWindowSize[] = "content-shell-host-window-size"; | 63 const char kContentShellHostWindowSize[] = "content-shell-host-window-size"; |
67 | 64 |
68 } // namespace switches | 65 } // namespace switches |
OLD | NEW |