| 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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 | 615 |
| 616 // Resizes of the main frame are caused by changing between landscape and | 616 // Resizes of the main frame are caused by changing between landscape and |
| 617 // portrait mode (i.e. Android) so the page should be rescaled to fit. | 617 // portrait mode (i.e. Android) so the page should be rescaled to fit. |
| 618 const char kMainFrameResizesAreOrientationChanges[] = | 618 const char kMainFrameResizesAreOrientationChanges[] = |
| 619 "main-frame-resizes-are-orientation-changes"; | 619 "main-frame-resizes-are-orientation-changes"; |
| 620 | 620 |
| 621 // Sets the width and height above which a composited layer will get tiled. | 621 // Sets the width and height above which a composited layer will get tiled. |
| 622 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 622 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 623 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 623 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 624 | 624 |
| 625 // Sample memory usage with high frequency and store the results to the | |
| 626 // Renderer.Memory histogram. Used in memory tests. | |
| 627 const char kMemoryMetrics[] = "memory-metrics"; | |
| 628 | |
| 629 // Use a Mojo-based LocalStorage implementation. | 625 // Use a Mojo-based LocalStorage implementation. |
| 630 const char kMojoLocalStorage[] = "mojo-local-storage"; | 626 const char kMojoLocalStorage[] = "mojo-local-storage"; |
| 631 | 627 |
| 632 // Mutes audio sent to the audio device so it is not audible during | 628 // Mutes audio sent to the audio device so it is not audible during |
| 633 // automated testing. | 629 // automated testing. |
| 634 const char kMuteAudio[] = "mute-audio"; | 630 const char kMuteAudio[] = "mute-audio"; |
| 635 | 631 |
| 636 // Don't send HTTP-Referer headers. | 632 // Don't send HTTP-Referer headers. |
| 637 const char kNoReferrers[] = "no-referrers"; | 633 const char kNoReferrers[] = "no-referrers"; |
| 638 | 634 |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1040 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1045 | 1041 |
| 1046 // Enables the exporting of the tracing events to ETW. This is only supported on | 1042 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1047 // Windows Vista and later. | 1043 // Windows Vista and later. |
| 1048 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1044 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1049 #endif | 1045 #endif |
| 1050 | 1046 |
| 1051 // Don't dump stuff here, follow the same order as the header. | 1047 // Don't dump stuff here, follow the same order as the header. |
| 1052 | 1048 |
| 1053 } // namespace switches | 1049 } // namespace switches |
| OLD | NEW |