Index: content/public/common/content_features.h |
diff --git a/content/public/common/content_features.h b/content/public/common/content_features.h |
index 04178037a82674bef80642d9afbc57903e7bbebe..11e71cb4e3547292e8df4fbe74e6305be81ef165 100644 |
--- a/content/public/common/content_features.h |
+++ b/content/public/common/content_features.h |
@@ -72,7 +72,20 @@ CONTENT_EXPORT extern const base::Feature kSkipCompositingSmallScrollers; |
CONTENT_EXPORT extern const base::Feature kSlimmingPaintInvalidation; |
CONTENT_EXPORT extern const base::Feature kTimerThrottlingForHiddenFrames; |
CONTENT_EXPORT extern const base::Feature kTokenBinding; |
+ |
CONTENT_EXPORT extern const base::Feature kTopDocumentIsolation; |
+ |
+CONTENT_EXPORT extern const char kTopDocumentIsolationModeParam[]; |
+enum class TopDocumentIsolationMode { |
+ Default = 0, |
Łukasz Anforowicz
2017/06/30 15:28:37
Hmmm... maybe this should be spelled kDefault...
|
+ |
+ // Isolate all frames that are x-site from the top-level frame. |
+ Xsite = 1, |
+ |
+ // Isolate frames that our heursitics recognize as ads. |
+ Ads = 2, |
+}; |
Łukasz Anforowicz
2017/06/30 15:28:37
I don't really know what is the best place for dec
Charlie Reis
2017/07/06 20:40:35
I'm not sure either. I guess it feels a bit out o
Łukasz Anforowicz
2017/07/06 21:02:29
asvitkine@ - WDYT / what would you do here? Keep
|
+ |
CONTENT_EXPORT extern const base::Feature kTouchpadAndWheelScrollLatching; |
CONTENT_EXPORT extern const base::Feature kUseFeaturePolicyForPermissions; |
CONTENT_EXPORT extern const base::Feature kUseMojoAudioOutputStreamFactory; |