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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 | 436 |
437 // Enables slimming paint phase 2: http://www.chromium.org/blink/slimming-paint | 437 // Enables slimming paint phase 2: http://www.chromium.org/blink/slimming-paint |
438 const char kEnableSlimmingPaintV2[] = "enable-slimming-paint-v2"; | 438 const char kEnableSlimmingPaintV2[] = "enable-slimming-paint-v2"; |
439 | 439 |
440 // On platforms that support it, enables smooth scroll animation. | 440 // On platforms that support it, enables smooth scroll animation. |
441 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; | 441 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; |
442 | 442 |
443 // Enable spatial navigation | 443 // Enable spatial navigation |
444 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; | 444 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; |
445 | 445 |
| 446 // Enables implementation of the Cache-Control: stale-while-revalidate directive |
| 447 // which permits servers to allow the use of stale resources while revalidation |
| 448 // proceeds in the background. |
| 449 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate"; |
| 450 |
446 // Enables StatsTable, logging statistics to a global named shared memory table. | 451 // Enables StatsTable, logging statistics to a global named shared memory table. |
447 const char kEnableStatsTable[] = "enable-stats-table"; | 452 const char kEnableStatsTable[] = "enable-stats-table"; |
448 | 453 |
449 // Blocks all insecure requests from secure contexts, and prevents the user | 454 // Blocks all insecure requests from secure contexts, and prevents the user |
450 // from overriding that decision. | 455 // from overriding that decision. |
451 const char kEnableStrictMixedContentChecking[] = | 456 const char kEnableStrictMixedContentChecking[] = |
452 "enable-strict-mixed-content-checking"; | 457 "enable-strict-mixed-content-checking"; |
453 | 458 |
454 // Blocks insecure usage of number of powerful features (geolocation, for | 459 // Blocks insecure usage of number of powerful features (geolocation, for |
455 // example) that we haven't yet deprecated for the web at large. | 460 // example) that we haven't yet deprecated for the web at large. |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 987 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
983 | 988 |
984 // Enables the exporting of the tracing events to ETW. This is only supported on | 989 // Enables the exporting of the tracing events to ETW. This is only supported on |
985 // Windows Vista and later. | 990 // Windows Vista and later. |
986 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 991 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
987 #endif | 992 #endif |
988 | 993 |
989 // Don't dump stuff here, follow the same order as the header. | 994 // Don't dump stuff here, follow the same order as the header. |
990 | 995 |
991 } // namespace switches | 996 } // namespace switches |
OLD | NEW |