| 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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 "main-frame-resizes-are-orientation-changes"; | 628 "main-frame-resizes-are-orientation-changes"; |
| 629 | 629 |
| 630 // Sets the width and height above which a composited layer will get tiled. | 630 // Sets the width and height above which a composited layer will get tiled. |
| 631 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 631 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 632 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 632 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 633 | 633 |
| 634 // Sample memory usage with high frequency and store the results to the | 634 // Sample memory usage with high frequency and store the results to the |
| 635 // Renderer.Memory histogram. Used in memory tests. | 635 // Renderer.Memory histogram. Used in memory tests. |
| 636 const char kMemoryMetrics[] = "memory-metrics"; | 636 const char kMemoryMetrics[] = "memory-metrics"; |
| 637 | 637 |
| 638 // Sets options for MHTML generator to skip no-store resources: |
| 639 // "skip-nostore-main" - fails to save a page if main frame is 'no-store' |
| 640 // "skip-nostore-all" - also skips no-store subresources. |
| 641 const char kMHTMLGeneratorOption[] = "mhtml-generator-option"; |
| 642 const char kMHTMLSkipNostoreMain[] = "skip-nostore-main"; |
| 643 const char kMHTMLSkipNostoreAll[] = "skip-nostore-all"; |
| 644 |
| 638 // Use a Mojo-based LocalStorage implementation. | 645 // Use a Mojo-based LocalStorage implementation. |
| 639 const char kMojoLocalStorage[] = "mojo-local-storage"; | 646 const char kMojoLocalStorage[] = "mojo-local-storage"; |
| 640 | 647 |
| 641 // Mutes audio sent to the audio device so it is not audible during | 648 // Mutes audio sent to the audio device so it is not audible during |
| 642 // automated testing. | 649 // automated testing. |
| 643 const char kMuteAudio[] = "mute-audio"; | 650 const char kMuteAudio[] = "mute-audio"; |
| 644 | 651 |
| 645 // Don't send HTTP-Referer headers. | 652 // Don't send HTTP-Referer headers. |
| 646 const char kNoReferrers[] = "no-referrers"; | 653 const char kNoReferrers[] = "no-referrers"; |
| 647 | 654 |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1042 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1049 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1043 | 1050 |
| 1044 // Enables the exporting of the tracing events to ETW. This is only supported on | 1051 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1045 // Windows Vista and later. | 1052 // Windows Vista and later. |
| 1046 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1053 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1047 #endif | 1054 #endif |
| 1048 | 1055 |
| 1049 // Don't dump stuff here, follow the same order as the header. | 1056 // Don't dump stuff here, follow the same order as the header. |
| 1050 | 1057 |
| 1051 } // namespace switches | 1058 } // namespace switches |
| OLD | NEW |