Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Side by Side Diff: content/public/common/content_features.cc

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Pass through FrameReplicationState Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/frame_replication_state.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_features.h" 6 #include "content/public/common/content_features.h"
7 7
8 namespace features { 8 namespace features {
9 9
10 // All features in alphabetical order. 10 // All features in alphabetical order.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Enables a blink::FontCache optimization that reuses a font to serve different 82 // Enables a blink::FontCache optimization that reuses a font to serve different
83 // size of font. 83 // size of font.
84 const base::Feature kFontCacheScaling{"FontCacheScaling", 84 const base::Feature kFontCacheScaling{"FontCacheScaling",
85 base::FEATURE_DISABLED_BY_DEFAULT}; 85 base::FEATURE_DISABLED_BY_DEFAULT};
86 86
87 // Enables a security restriction on iframes navigating their top frame. 87 // Enables a security restriction on iframes navigating their top frame.
88 // When enabled, the navigation will only be permitted if the iframe is 88 // When enabled, the navigation will only be permitted if the iframe is
89 // same-origin to the top frame, or if a user gesture is being processed. 89 // same-origin to the top frame, or if a user gesture is being processed.
90 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ 90 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{
91 "FramebustingNeedsSameOriginOrUserGesture", 91 "FramebustingNeedsSameOriginOrUserGesture",
92 base::FEATURE_DISABLED_BY_DEFAULT}; 92 base::FEATURE_ENABLED_BY_DEFAULT};
93 93
94 // Enables extended Gamepad API features like motion tracking and haptics. 94 // Enables extended Gamepad API features like motion tracking and haptics.
95 const base::Feature kGamepadExtensions{"GamepadExtensions", 95 const base::Feature kGamepadExtensions{"GamepadExtensions",
96 base::FEATURE_DISABLED_BY_DEFAULT}; 96 base::FEATURE_DISABLED_BY_DEFAULT};
97 97
98 // Enables sensors based on Generic Sensor API: 98 // Enables sensors based on Generic Sensor API:
99 // https://w3c.github.io/sensors/ 99 // https://w3c.github.io/sensors/
100 const base::Feature kGenericSensor{"GenericSensor", 100 const base::Feature kGenericSensor{"GenericSensor",
101 base::FEATURE_DISABLED_BY_DEFAULT}; 101 base::FEATURE_DISABLED_BY_DEFAULT};
102 102
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 #endif // !defined(OS_ANDROID) 291 #endif // !defined(OS_ANDROID)
292 292
293 #if defined(OS_WIN) 293 #if defined(OS_WIN)
294 // Emergency "off switch" for new Windows sandbox security mitigation, 294 // Emergency "off switch" for new Windows sandbox security mitigation,
295 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 295 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
296 const base::Feature kWinSboxDisableExtensionPoints{ 296 const base::Feature kWinSboxDisableExtensionPoints{
297 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 297 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
298 #endif 298 #endif
299 299
300 } // namespace features 300 } // namespace features
OLDNEW
« no previous file with comments | « content/common/frame_replication_state.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698