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

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

Issue 2623633002: Turn off requirement that cross-origin top navigation be accompanied by a user gesture. (Closed)
Patch Set: 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
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // Enables a blink::FontCache optimization that reuses a font to serve different 69 // Enables a blink::FontCache optimization that reuses a font to serve different
70 // size of font. 70 // size of font.
71 const base::Feature kFontCacheScaling{"FontCacheScaling", 71 const base::Feature kFontCacheScaling{"FontCacheScaling",
72 base::FEATURE_DISABLED_BY_DEFAULT}; 72 base::FEATURE_DISABLED_BY_DEFAULT};
73 73
74 // Enables a security restriction on iframes navigating their top frame. 74 // Enables a security restriction on iframes navigating their top frame.
75 // When enabled, the navigation will only be permitted if the iframe is 75 // When enabled, the navigation will only be permitted if the iframe is
76 // same-origin to the top frame, or if a user gesture is being processed. 76 // same-origin to the top frame, or if a user gesture is being processed.
77 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ 77 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{
78 "FramebustingNeedsSameOriginOrUserGesture", 78 "FramebustingNeedsSameOriginOrUserGesture",
79 base::FEATURE_ENABLED_BY_DEFAULT}; 79 base::FEATURE_DISABLED_BY_DEFAULT};
80 80
81 // Enables extended Gamepad API features like motion tracking and haptics. 81 // Enables extended Gamepad API features like motion tracking and haptics.
82 const base::Feature kGamepadExtensions{"GamepadExtensions", 82 const base::Feature kGamepadExtensions{"GamepadExtensions",
83 base::FEATURE_DISABLED_BY_DEFAULT}; 83 base::FEATURE_DISABLED_BY_DEFAULT};
84 84
85 // Enables sensors based on Generic Sensor API: 85 // Enables sensors based on Generic Sensor API:
86 // https://w3c.github.io/sensors/ 86 // https://w3c.github.io/sensors/
87 const base::Feature kGenericSensor{"GenericSensor", 87 const base::Feature kGenericSensor{"GenericSensor",
88 base::FEATURE_DISABLED_BY_DEFAULT}; 88 base::FEATURE_DISABLED_BY_DEFAULT};
89 89
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 #endif 259 #endif
260 260
261 #if defined(OS_WIN) 261 #if defined(OS_WIN)
262 // Emergency "off switch" for new Windows sandbox security mitigation, 262 // Emergency "off switch" for new Windows sandbox security mitigation,
263 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 263 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
264 const base::Feature kWinSboxDisableExtensionPoints{ 264 const base::Feature kWinSboxDisableExtensionPoints{
265 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 265 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
266 #endif 266 #endif
267 267
268 } // namespace features 268 } // namespace features
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698