| 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 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 // Makes all APIs reflect the layout viewport. | 580 // Makes all APIs reflect the layout viewport. |
| 581 const char kInertVisualViewport[] = "inert-visual-viewport"; | 581 const char kInertVisualViewport[] = "inert-visual-viewport"; |
| 582 | 582 |
| 583 // Run the GPU process as a thread in the browser process. | 583 // Run the GPU process as a thread in the browser process. |
| 584 const char kInProcessGPU[] = "in-process-gpu"; | 584 const char kInProcessGPU[] = "in-process-gpu"; |
| 585 | 585 |
| 586 // Overrides the timeout, in seconds, that a child process waits for a | 586 // Overrides the timeout, in seconds, that a child process waits for a |
| 587 // connection from the browser before killing itself. | 587 // connection from the browser before killing itself. |
| 588 const char kIPCConnectionTimeout[] = "ipc-connection-timeout"; | 588 const char kIPCConnectionTimeout[] = "ipc-connection-timeout"; |
| 589 | 589 |
| 590 // Groups all out-of-process iframes to a different process from the process |
| 591 // of the top document. This is a performance isolation mode. |
| 592 const char kIsolateTopDocument[] = "isolate-top-document"; |
| 593 |
| 590 // Specifies the flags passed to JS engine | 594 // Specifies the flags passed to JS engine |
| 591 const char kJavaScriptFlags[] = "js-flags"; | 595 const char kJavaScriptFlags[] = "js-flags"; |
| 592 | 596 |
| 593 // Load an NPAPI plugin from the specified path. | 597 // Load an NPAPI plugin from the specified path. |
| 594 const char kLoadPlugin[] = "load-plugin"; | 598 const char kLoadPlugin[] = "load-plugin"; |
| 595 | 599 |
| 596 // Logs GPU control list decisions when enforcing blacklist rules. | 600 // Logs GPU control list decisions when enforcing blacklist rules. |
| 597 const char kLogGpuControlListDecisions[] = "log-gpu-control-list-decisions"; | 601 const char kLogGpuControlListDecisions[] = "log-gpu-control-list-decisions"; |
| 598 | 602 |
| 599 // Sets the minimum log level. Valid values are from 0 to 3: | 603 // Sets the minimum log level. Valid values are from 0 to 3: |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1048 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1045 | 1049 |
| 1046 // Enables the exporting of the tracing events to ETW. This is only supported on | 1050 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1047 // Windows Vista and later. | 1051 // Windows Vista and later. |
| 1048 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1052 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1049 #endif | 1053 #endif |
| 1050 | 1054 |
| 1051 // Don't dump stuff here, follow the same order as the header. | 1055 // Don't dump stuff here, follow the same order as the header. |
| 1052 | 1056 |
| 1053 } // namespace switches | 1057 } // namespace switches |
| OLD | NEW |