switches.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef THIRD_PARTY_BLINK_PUBLIC_COMMON_SWITCHES_H_
  5. #define THIRD_PARTY_BLINK_PUBLIC_COMMON_SWITCHES_H_
  6. #include "third_party/blink/public/common/common_export.h"
  7. namespace blink {
  8. namespace switches {
  9. // base::Feature should be use instead of switches where possible.
  10. // All switches in alphabetical order. The switches should be documented
  11. // alongside the definition of their values in the .cc file.
  12. BLINK_COMMON_EXPORT extern const char kAllowPreCommitInput[];
  13. BLINK_COMMON_EXPORT extern const char kBlinkSettings[];
  14. BLINK_COMMON_EXPORT extern const char kDefaultTileWidth[];
  15. BLINK_COMMON_EXPORT extern const char kDefaultTileHeight[];
  16. BLINK_COMMON_EXPORT extern const char kDisableImageAnimationResync[];
  17. BLINK_COMMON_EXPORT extern const char kDisableLowResTiling[];
  18. BLINK_COMMON_EXPORT extern const char kDisablePartialRaster[];
  19. BLINK_COMMON_EXPORT extern const char kDisablePreferCompositingToLCDText[];
  20. BLINK_COMMON_EXPORT extern const char kDisableRGBA4444Textures[];
  21. BLINK_COMMON_EXPORT extern const char kDisableThreadedScrolling[];
  22. BLINK_COMMON_EXPORT extern const char kDisableZeroCopy[];
  23. BLINK_COMMON_EXPORT extern const char
  24. kEnableGpuMemoryBufferCompositorResources[];
  25. BLINK_COMMON_EXPORT extern const char kEnableLowResTiling[];
  26. BLINK_COMMON_EXPORT extern const char kEnablePreferCompositingToLCDText[];
  27. BLINK_COMMON_EXPORT extern const char kEnableRGBA4444Textures[];
  28. BLINK_COMMON_EXPORT extern const char kEnableZeroCopy[];
  29. BLINK_COMMON_EXPORT extern const char kForceLegacyDefaultReferrerPolicy[];
  30. BLINK_COMMON_EXPORT extern const char kGpuRasterizationMSAASampleCount[];
  31. BLINK_COMMON_EXPORT extern const char kIntensiveWakeUpThrottlingPolicy[];
  32. BLINK_COMMON_EXPORT extern const char
  33. kIntensiveWakeUpThrottlingPolicy_ForceDisable[];
  34. BLINK_COMMON_EXPORT extern const char
  35. kIntensiveWakeUpThrottlingPolicy_ForceEnable[];
  36. BLINK_COMMON_EXPORT extern const char kMaxUntiledLayerHeight[];
  37. BLINK_COMMON_EXPORT extern const char kMaxUntiledLayerWidth[];
  38. BLINK_COMMON_EXPORT extern const char kMinHeightForGpuRasterTile[];
  39. BLINK_COMMON_EXPORT extern const char kNetworkQuietTimeout[];
  40. BLINK_COMMON_EXPORT extern const char kPassiveListenersDefault[];
  41. BLINK_COMMON_EXPORT extern const char kShowLayoutShiftRegions[];
  42. BLINK_COMMON_EXPORT extern const char kShowPaintRects[];
  43. BLINK_COMMON_EXPORT extern const char kTouchTextSelectionStrategy[];
  44. BLINK_COMMON_EXPORT extern const char kUserAgentClientHintDisable[];
  45. } // namespace switches
  46. } // namespace blink
  47. #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_