| 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 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 // | 772 // |
| 773 // More details here: | 773 // More details here: |
| 774 // - http://www.chromium.org/developers/design-documents/site-isolation | 774 // - http://www.chromium.org/developers/design-documents/site-isolation |
| 775 // - http://www.chromium.org/developers/design-documents/process-models | 775 // - http://www.chromium.org/developers/design-documents/process-models |
| 776 // - The class comment in site_instance.h, listing the supported process models. | 776 // - The class comment in site_instance.h, listing the supported process models. |
| 777 // | 777 // |
| 778 // IMPORTANT: this isn't to be confused with --process-per-site (which is about | 778 // IMPORTANT: this isn't to be confused with --process-per-site (which is about |
| 779 // process consolidation, not isolation). You probably want this one. | 779 // process consolidation, not isolation). You probably want this one. |
| 780 const char kSitePerProcess[] = "site-per-process"; | 780 const char kSitePerProcess[] = "site-per-process"; |
| 781 | 781 |
| 782 // Groups all out-of-process iframes to a doghouse process. |
| 783 const char kDogHouseProcess[] = "doghouse-process"; |
| 784 |
| 782 // Skip gpu info collection, blacklist loading, and blacklist auto-update | 785 // Skip gpu info collection, blacklist loading, and blacklist auto-update |
| 783 // scheduling at browser startup time. | 786 // scheduling at browser startup time. |
| 784 // Therefore, all GPU features are available, and about:gpu page shows empty | 787 // Therefore, all GPU features are available, and about:gpu page shows empty |
| 785 // content. The switch is intended only for layout tests. | 788 // content. The switch is intended only for layout tests. |
| 786 // TODO(gab): Get rid of this switch entirely. | 789 // TODO(gab): Get rid of this switch entirely. |
| 787 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; | 790 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; |
| 788 | 791 |
| 789 // Skips reencoding bitmaps as PNGs when the encoded data is unavailable | 792 // Skips reencoding bitmaps as PNGs when the encoded data is unavailable |
| 790 // during SKP capture. This allows for obtaining an accurate sample of | 793 // during SKP capture. This allows for obtaining an accurate sample of |
| 791 // the types of images on the web, rather than being weighted towards PNGs | 794 // the types of images on the web, rather than being weighted towards PNGs |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1038 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1041 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1039 | 1042 |
| 1040 // Enables the exporting of the tracing events to ETW. This is only supported on | 1043 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1041 // Windows Vista and later. | 1044 // Windows Vista and later. |
| 1042 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1045 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1043 #endif | 1046 #endif |
| 1044 | 1047 |
| 1045 // Don't dump stuff here, follow the same order as the header. | 1048 // Don't dump stuff here, follow the same order as the header. |
| 1046 | 1049 |
| 1047 } // namespace switches | 1050 } // namespace switches |
| OLD | NEW |