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

Side by Side Diff: content/public/common/content_switches.cc

Issue 2656163005: Convert RuntimeEnabledFeatures.in config file to JSON format. (Closed)
Patch Set: Rebase and add MediaCaptureDepth, MojoJS Created 3 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 unified diff | Download patch
OLDNEW
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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 #include "media/media_features.h" 7 #include "media/media_features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). 50 // Allows debugging of sandboxed processes (see zygote_main_linux.cc).
51 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; 51 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging";
52 52
53 // Uses the android SkFontManager on linux. The specified directory should 53 // Uses the android SkFontManager on linux. The specified directory should
54 // include the configuration xml file with the name "fonts.xml". 54 // include the configuration xml file with the name "fonts.xml".
55 // This is used in blimp to emulate android fonts on linux. 55 // This is used in blimp to emulate android fonts on linux.
56 const char kAndroidFontsPath[] = "android-fonts-path"; 56 const char kAndroidFontsPath[] = "android-fonts-path";
57 57
58 // Set blink settings. Format is <name>[=<value],<name>[=<value>],... 58 // Set blink settings. Format is <name>[=<value],<name>[=<value>],...
59 // The names are declared in Settings.in. For boolean type, use "true", "false", 59 // The names are declared in Settings.json5. For boolean type, use "true",
60 // or omit '=<value>' part to set to true. For enum type, use the int value of 60 // "false", or omit '=<value>' part to set to true. For enum type, use the int
61 // the enum value. Applied after other command line flags and prefs. 61 // value of the enum value. Applied after other command line flags and prefs.
62 const char kBlinkSettings[] = "blink-settings"; 62 const char kBlinkSettings[] = "blink-settings";
63 63
64 // Causes the browser process to crash on startup. 64 // Causes the browser process to crash on startup.
65 const char kBrowserCrashTest[] = "crash-test"; 65 const char kBrowserCrashTest[] = "crash-test";
66 66
67 // Path to the exe to run for the renderer and plugin subprocesses. 67 // Path to the exe to run for the renderer and plugin subprocesses.
68 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; 68 const char kBrowserSubprocessPath[] = "browser-subprocess-path";
69 69
70 // Sets the tile size used by composited layers. 70 // Sets the tile size used by composited layers.
71 const char kDefaultTileWidth[] = "default-tile-width"; 71 const char kDefaultTileWidth[] = "default-tile-width";
(...skipping 30 matching lines...) Expand all
102 // Disable backgrounding renders for occluded windows. Done for tests to avoid 102 // Disable backgrounding renders for occluded windows. Done for tests to avoid
103 // nondeterministic behavior. 103 // nondeterministic behavior.
104 extern const char kDisableBackgroundingOccludedWindowsForTesting[] = 104 extern const char kDisableBackgroundingOccludedWindowsForTesting[] =
105 "disable-backgrounding-occluded-windows"; 105 "disable-backgrounding-occluded-windows";
106 106
107 // Disable task throttling of timer tasks from background pages. 107 // Disable task throttling of timer tasks from background pages.
108 const char kDisableBackgroundTimerThrottling[] = 108 const char kDisableBackgroundTimerThrottling[] =
109 "disable-background-timer-throttling"; 109 "disable-background-timer-throttling";
110 110
111 // Disable one or more Blink runtime-enabled features. 111 // Disable one or more Blink runtime-enabled features.
112 // Use names from RuntimeEnabledFeatures.in, separated by commas. 112 // Use names from RuntimeEnabledFeatures.json5, separated by commas.
113 // Applied after kEnableBlinkFeatures, and after other flags that change these 113 // Applied after kEnableBlinkFeatures, and after other flags that change these
114 // features. 114 // features.
115 const char kDisableBlinkFeatures[] = "disable-blink-features"; 115 const char kDisableBlinkFeatures[] = "disable-blink-features";
116 116
117 // Disables HTML5 DB support. 117 // Disables HTML5 DB support.
118 const char kDisableDatabases[] = "disable-databases"; 118 const char kDisableDatabases[] = "disable-databases";
119 119
120 // Disable the per-domain blocking for 3D APIs after GPU reset. 120 // Disable the per-domain blocking for 3D APIs after GPU reset.
121 // This switch is intended only for tests. 121 // This switch is intended only for tests.
122 const char kDisableDomainBlockingFor3DAPIs[] = 122 const char kDisableDomainBlockingFor3DAPIs[] =
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 345
346 // Enables using signed distance fields when rendering text. 346 // Enables using signed distance fields when rendering text.
347 // Only valid if GPU rasterization is enabled as well. 347 // Only valid if GPU rasterization is enabled as well.
348 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; 348 const char kEnableDistanceFieldText[] = "enable-distance-field-text";
349 349
350 // Enable the creation of compositing layers when it would prevent LCD text. 350 // Enable the creation of compositing layers when it would prevent LCD text.
351 const char kEnablePreferCompositingToLCDText[] = 351 const char kEnablePreferCompositingToLCDText[] =
352 "enable-prefer-compositing-to-lcd-text"; 352 "enable-prefer-compositing-to-lcd-text";
353 353
354 // Enable one or more Blink runtime-enabled features. 354 // Enable one or more Blink runtime-enabled features.
355 // Use names from RuntimeEnabledFeatures.in, separated by commas. 355 // Use names from RuntimeEnabledFeatures.json5, separated by commas.
356 // Applied before kDisableBlinkFeatures, and after other flags that change these 356 // Applied before kDisableBlinkFeatures, and after other flags that change these
357 // features. 357 // features.
358 const char kEnableBlinkFeatures[] = "enable-blink-features"; 358 const char kEnableBlinkFeatures[] = "enable-blink-features";
359 359
360 // PlzNavigate: Use the experimental browser-side navigation path. 360 // PlzNavigate: Use the experimental browser-side navigation path.
361 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; 361 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation";
362 362
363 // Changes the behavior of the "default" color space conversion mode in 363 // Changes the behavior of the "default" color space conversion mode in
364 // createImageBitmap. When enabled without kEnableColorCorrectRendering or 364 // createImageBitmap. When enabled without kEnableColorCorrectRendering or
365 // kEnableTrueColorRendering flags, "default" means color correct the image 365 // kEnableTrueColorRendering flags, "default" means color correct the image
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
1096 // the given directory. Used primarily to gather samples for IPC fuzzing. 1096 // the given directory. Used primarily to gather samples for IPC fuzzing.
1097 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1097 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1098 1098
1099 // Specifies the testcase used by the IPC fuzzer. 1099 // Specifies the testcase used by the IPC fuzzer.
1100 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1100 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1101 #endif 1101 #endif
1102 1102
1103 // Don't dump stuff here, follow the same order as the header. 1103 // Don't dump stuff here, follow the same order as the header.
1104 1104
1105 } // namespace switches 1105 } // namespace switches
OLDNEW
« no previous file with comments | « components/test_runner/test_interfaces.cc ('k') | third_party/WebKit/Source/bindings/IDLExtendedAttributes.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698