aw_features.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Copyright 2018 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 ANDROID_WEBVIEW_COMMON_AW_FEATURES_H_
  5. #define ANDROID_WEBVIEW_COMMON_AW_FEATURES_H_
  6. #include "base/feature_list.h"
  7. #include "base/metrics/field_trial_params.h"
  8. #include "base/time/time.h"
  9. namespace android_webview {
  10. namespace features {
  11. // All features in alphabetical order. The features should be documented
  12. // alongside the definition of their values in the .cc file.
  13. // Alphabetical:
  14. extern const base::Feature kWebViewBrotliSupport;
  15. extern const base::Feature kWebViewConnectionlessSafeBrowsing;
  16. extern const base::Feature kWebViewDisplayCutout;
  17. extern const base::Feature kWebViewEmptyComponentLoaderPolicy;
  18. extern const base::Feature kWebViewExtraHeadersSameOriginOnly;
  19. extern const base::Feature kWebViewForceDarkModeMatchTheme;
  20. extern const base::Feature kWebViewHitTestInBlinkOnTouchStart;
  21. extern const base::Feature kWebViewJavaJsBridgeMojo;
  22. extern const base::Feature kWebViewLegacyTlsSupport;
  23. extern const base::Feature kWebViewMeasureScreenCoverage;
  24. extern const base::Feature kWebViewMixedContentAutoupgrades;
  25. extern const base::Feature kWebViewOriginTrials;
  26. extern const base::Feature kWebViewRecordAppDataDirectorySize;
  27. extern const base::Feature kWebViewSuppressDifferentOriginSubframeJSDialogs;
  28. extern const base::Feature kWebViewTestFeature;
  29. extern const base::Feature kWebViewUseMetricsUploadService;
  30. extern const base::Feature kWebViewWideColorGamutSupport;
  31. extern const base::Feature kWebViewXRequestedWithHeader;
  32. extern const base::FeatureParam<int> kWebViewXRequestedWithHeaderMode;
  33. extern const base::Feature
  34. kWebViewSynthesizePageLoadOnlyOnInitialMainDocumentAccess;
  35. } // namespace features
  36. } // namespace android_webview
  37. #endif // ANDROID_WEBVIEW_COMMON_AW_FEATURES_H_