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

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

Issue 2400823002: [asm.js] [wasm] Move asm->wasm + WebAssembly switches to features. (Closed)
Patch Set: fix Created 4 years, 2 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_process_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 // Chrome is running in Mash. 604 // Chrome is running in Mash.
605 const char kIsRunningInMash[] = "is-running-in-mash"; 605 const char kIsRunningInMash[] = "is-running-in-mash";
606 606
607 // Disable latest shipping ECMAScript 6 features. 607 // Disable latest shipping ECMAScript 6 features.
608 const char kDisableJavaScriptHarmonyShipping[] = 608 const char kDisableJavaScriptHarmonyShipping[] =
609 "disable-javascript-harmony-shipping"; 609 "disable-javascript-harmony-shipping";
610 610
611 // Enables experimental Harmony (ECMAScript 6) features. 611 // Enables experimental Harmony (ECMAScript 6) features.
612 const char kJavaScriptHarmony[] = "javascript-harmony"; 612 const char kJavaScriptHarmony[] = "javascript-harmony";
613 613
614 // Enables experimental Asm.js to WebAssembly.
615 const char kEnableAsmWasm[] = "enable-asm-wasm";
616
617 // Enables experimental WebAssembly.
618 const char kEnableWasm[] = "enable-wasm";
619
620 // Specifies the flags passed to JS engine 614 // Specifies the flags passed to JS engine
621 const char kJavaScriptFlags[] = "js-flags"; 615 const char kJavaScriptFlags[] = "js-flags";
622 616
623 // Logs GPU control list decisions when enforcing blacklist rules. 617 // Logs GPU control list decisions when enforcing blacklist rules.
624 const char kLogGpuControlListDecisions[] = "log-gpu-control-list-decisions"; 618 const char kLogGpuControlListDecisions[] = "log-gpu-control-list-decisions";
625 619
626 // Sets the minimum log level. Valid values are from 0 to 3: 620 // Sets the minimum log level. Valid values are from 0 to 3:
627 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. 621 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.
628 const char kLoggingLevel[] = "log-level"; 622 const char kLoggingLevel[] = "log-level";
629 623
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 // the given directory. Used primarily to gather samples for IPC fuzzing. 1073 // the given directory. Used primarily to gather samples for IPC fuzzing.
1080 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1074 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1081 1075
1082 // Specifies the testcase used by the IPC fuzzer. 1076 // Specifies the testcase used by the IPC fuzzer.
1083 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1077 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1084 #endif 1078 #endif
1085 1079
1086 // Don't dump stuff here, follow the same order as the header. 1080 // Don't dump stuff here, follow the same order as the header.
1087 1081
1088 } // namespace switches 1082 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698