| 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/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
| 6 | 6 |
| 7 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| 10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 "main-frame-resizes-are-orientation-changes"; | 588 "main-frame-resizes-are-orientation-changes"; |
| 589 | 589 |
| 590 // Sets the width and height above which a composited layer will get tiled. | 590 // Sets the width and height above which a composited layer will get tiled. |
| 591 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 591 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 592 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 592 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 593 | 593 |
| 594 // Sample memory usage with high frequency and store the results to the | 594 // Sample memory usage with high frequency and store the results to the |
| 595 // Renderer.Memory histogram. Used in memory tests. | 595 // Renderer.Memory histogram. Used in memory tests. |
| 596 const char kMemoryMetrics[] = "memory-metrics"; | 596 const char kMemoryMetrics[] = "memory-metrics"; |
| 597 | 597 |
| 598 // Whitespace-separated microphone positions using Cartesian coordinates in |
| 599 // meters with ordering x, y, z. |
| 600 // x: the horizontal dimension, with positive to the right from the camera's |
| 601 // perspective. |
| 602 // y: the depth dimension, with positive forward from the camera's perspective. |
| 603 // z: the vertical dimension, with positive upwards. |
| 604 // |
| 605 // Usually, the center of the microphone array will be treated as the origin |
| 606 // (often the position of the camera). The string is formatted as: |
| 607 // "x1 y1 z1 ... zn yn zn" for an n-microphone array. |
| 608 // For example, a two-mic device with 4 cm of horizontal spacing would use: |
| 609 // --mic-positions="-0.02 0 0 0.02 0 0" |
| 610 const char kMicrophonePositions[] = "mic-positions"; |
| 611 |
| 598 // Mutes audio sent to the audio device so it is not audible during | 612 // Mutes audio sent to the audio device so it is not audible during |
| 599 // automated testing. | 613 // automated testing. |
| 600 const char kMuteAudio[] = "mute-audio"; | 614 const char kMuteAudio[] = "mute-audio"; |
| 601 | 615 |
| 602 // Don't send HTTP-Referer headers. | 616 // Don't send HTTP-Referer headers. |
| 603 const char kNoReferrers[] = "no-referrers"; | 617 const char kNoReferrers[] = "no-referrers"; |
| 604 | 618 |
| 605 // Disables the sandbox for all process types that are normally sandboxed. | 619 // Disables the sandbox for all process types that are normally sandboxed. |
| 606 const char kNoSandbox[] = "no-sandbox"; | 620 const char kNoSandbox[] = "no-sandbox"; |
| 607 | 621 |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1003 // Windows Vista and later. | 1017 // Windows Vista and later. |
| 1004 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1018 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1005 #endif | 1019 #endif |
| 1006 | 1020 |
| 1007 // Enables the use of NPAPI plugins. | 1021 // Enables the use of NPAPI plugins. |
| 1008 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; | 1022 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; |
| 1009 | 1023 |
| 1010 // 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. |
| 1011 | 1025 |
| 1012 } // namespace switches | 1026 } // namespace switches |
| OLD | NEW |