| 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 "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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 // Makes all APIs reflect the layout viewport. | 569 // Makes all APIs reflect the layout viewport. |
| 570 const char kInertVisualViewport[] = "inert-visual-viewport"; | 570 const char kInertVisualViewport[] = "inert-visual-viewport"; |
| 571 | 571 |
| 572 // Run the GPU process as a thread in the browser process. | 572 // Run the GPU process as a thread in the browser process. |
| 573 const char kInProcessGPU[] = "in-process-gpu"; | 573 const char kInProcessGPU[] = "in-process-gpu"; |
| 574 | 574 |
| 575 // Overrides the timeout, in seconds, that a child process waits for a | 575 // Overrides the timeout, in seconds, that a child process waits for a |
| 576 // connection from the browser before killing itself. | 576 // connection from the browser before killing itself. |
| 577 const char kIPCConnectionTimeout[] = "ipc-connection-timeout"; | 577 const char kIPCConnectionTimeout[] = "ipc-connection-timeout"; |
| 578 | 578 |
| 579 // Disable latest shipping ECMAScript 6 features. |
| 580 const char kDisableJavaScriptHarmonyShipping[] = |
| 581 "disable-javascript-harmony-shipping"; |
| 582 |
| 583 // Enables experimental Harmony (ECMAScript 6) features. |
| 584 const char kJavaScriptHarmony[] = "javascript-harmony"; |
| 585 |
| 586 // Enables experimental WebAssembly. |
| 587 const char kEnableWasm[] = "enable-wasm"; |
| 588 |
| 579 // Specifies the flags passed to JS engine | 589 // Specifies the flags passed to JS engine |
| 580 const char kJavaScriptFlags[] = "js-flags"; | 590 const char kJavaScriptFlags[] = "js-flags"; |
| 581 | 591 |
| 582 // Logs GPU control list decisions when enforcing blacklist rules. | 592 // Logs GPU control list decisions when enforcing blacklist rules. |
| 583 const char kLogGpuControlListDecisions[] = "log-gpu-control-list-decisions"; | 593 const char kLogGpuControlListDecisions[] = "log-gpu-control-list-decisions"; |
| 584 | 594 |
| 585 // Sets the minimum log level. Valid values are from 0 to 3: | 595 // Sets the minimum log level. Valid values are from 0 to 3: |
| 586 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. | 596 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. |
| 587 const char kLoggingLevel[] = "log-level"; | 597 const char kLoggingLevel[] = "log-level"; |
| 588 | 598 |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1017 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1008 | 1018 |
| 1009 // Enables the exporting of the tracing events to ETW. This is only supported on | 1019 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1010 // Windows Vista and later. | 1020 // Windows Vista and later. |
| 1011 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1021 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1012 #endif | 1022 #endif |
| 1013 | 1023 |
| 1014 // Don't dump stuff here, follow the same order as the header. | 1024 // Don't dump stuff here, follow the same order as the header. |
| 1015 | 1025 |
| 1016 } // namespace switches | 1026 } // namespace switches |
| OLD | NEW |