| 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 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 // http://www.chromium.org/developers/design-documents/site-isolation | 774 // http://www.chromium.org/developers/design-documents/site-isolation |
| 775 const char kSitePerProcess[] = "site-per-process"; | 775 const char kSitePerProcess[] = "site-per-process"; |
| 776 | 776 |
| 777 // Skip gpu info collection, blacklist loading, and blacklist auto-update | 777 // Skip gpu info collection, blacklist loading, and blacklist auto-update |
| 778 // scheduling at browser startup time. | 778 // scheduling at browser startup time. |
| 779 // Therefore, all GPU features are available, and about:gpu page shows empty | 779 // Therefore, all GPU features are available, and about:gpu page shows empty |
| 780 // content. The switch is intended only for layout tests. | 780 // content. The switch is intended only for layout tests. |
| 781 // TODO(gab): Get rid of this switch entirely. | 781 // TODO(gab): Get rid of this switch entirely. |
| 782 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; | 782 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; |
| 783 | 783 |
| 784 // Skips reencoding bitmaps as PNGs when the encoded data is unavailable |
| 785 // during SKP capture. This allows for obtaining an accurate sample of |
| 786 // the types of images on the web, rather than being weighted towards PNGs |
| 787 // that we have encoded ourselves. |
| 788 const char kSkipReencodingOnSKPCapture[] = "skip-reencoding-on-skp-capture"; |
| 789 |
| 784 // Specifies if the browser should start in fullscreen mode, like if the user | 790 // Specifies if the browser should start in fullscreen mode, like if the user |
| 785 // had pressed F11 right after startup. | 791 // had pressed F11 right after startup. |
| 786 const char kStartFullscreen[] = "start-fullscreen"; | 792 const char kStartFullscreen[] = "start-fullscreen"; |
| 787 | 793 |
| 788 // Specifies if the |StatsCollectionController| needs to be bound in the | 794 // Specifies if the |StatsCollectionController| needs to be bound in the |
| 789 // renderer. This binding happens on per-frame basis and hence can potentially | 795 // renderer. This binding happens on per-frame basis and hence can potentially |
| 790 // be a performance bottleneck. One should only enable it when running a test | 796 // be a performance bottleneck. One should only enable it when running a test |
| 791 // that needs to access the provided statistics. | 797 // that needs to access the provided statistics. |
| 792 const char kStatsCollectionController[] = | 798 const char kStatsCollectionController[] = |
| 793 "enable-stats-collection-bindings"; | 799 "enable-stats-collection-bindings"; |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1034 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1040 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1035 | 1041 |
| 1036 // 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 |
| 1037 // Windows Vista and later. | 1043 // Windows Vista and later. |
| 1038 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1044 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1039 #endif | 1045 #endif |
| 1040 | 1046 |
| 1041 // 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. |
| 1042 | 1048 |
| 1043 } // namespace switches | 1049 } // namespace switches |
| OLD | NEW |