Changeset 270152 in webkit
- Timestamp:
- Nov 21, 2020 12:12:10 PM (3 years ago)
- Location:
- trunk/Source
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r270132 r270152 1 2020-11-21 Simon Fraser <simon.fraser@apple.com> 2 3 Add an Experimental Features for wheel event gestures becoming non-blocking 4 https://bugs.webkit.org/show_bug.cgi?id=219236 5 6 Reviewed by Sam Weinig. 7 8 Add a feature flag for the behavior that is being added via webkit.org/b/218764, 9 which is that only the first wheel event in a gesture is cancelable. 10 11 * Scripts/Preferences/WebPreferencesExperimental.yaml: 12 1 13 2020-11-20 Geoffrey Garen <ggaren@apple.com> 2 14 -
trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml
r269897 r270152 1097 1097 default: WebKit::defaultWebXREnabled() 1098 1098 1099 WheelEventGesturesBecomeNonBlocking: 1100 type: bool 1101 humanReadableName: "Wheel Event gestures become non-blocking" 1102 humanReadableDescription: "preventDefault() is only allowed on the first wheel event in a gesture" 1103 defaultValue: 1104 WebKitLegacy: 1105 "PLATFORM(MAC)": WebKit::defaultWheelEventGesturesBecomeNonBlocking() 1106 default: true 1107 WebKit: 1108 "PLATFORM(MAC)": WebKit::defaultWheelEventGesturesBecomeNonBlocking() 1109 default: true 1110 WebCore: 1111 default: true 1112 1099 1113 WritableStreamAPIEnabled: 1100 1114 type: bool -
trunk/Source/WebCore/ChangeLog
r270151 r270152 1 2020-11-21 Simon Fraser <simon.fraser@apple.com> 2 3 Add an Experimental Features for wheel event gestures becoming non-blocking 4 https://bugs.webkit.org/show_bug.cgi?id=219236 5 6 Reviewed by Sam Weinig. 7 8 Add a feature flag for the behavior that is being added via webkit.org/b/218764, 9 which is that only the first wheel event in a gesture is cancelable. 10 11 * platform/cocoa/VersionChecks.h: 12 1 13 2020-11-21 Zalan Bujtas <zalan@apple.com> 2 14 -
trunk/Source/WebCore/platform/cocoa/VersionChecks.h
r269780 r270152 73 73 FirstWithExpiredOnlyReloadBehavior = DYLD_MACOSX_VERSION_10_13, 74 74 FirstThatDefaultsToPassiveWheelListenersOnDocument = DYLD_MACOSX_VERSION_11_3, 75 FirstThatAllowsWheelEventGesturesToBecomeNonBlocking = DYLD_MACOSX_VERSION_11_3, 75 76 FirstWithWebIconDatabaseWarning = DYLD_MACOSX_VERSION_10_13, 76 77 FirstWithMainThreadReleaseAssertionInWebPageProxy = DYLD_MACOSX_VERSION_10_14, -
trunk/Source/WebKit/ChangeLog
r270142 r270152 1 2020-11-21 Simon Fraser <simon.fraser@apple.com> 2 3 Add an Experimental Features for wheel event gestures becoming non-blocking 4 https://bugs.webkit.org/show_bug.cgi?id=219236 5 6 Reviewed by Sam Weinig. 7 8 Add a feature flag for the behavior that is being added via webkit.org/b/218764, 9 which is that only the first wheel event in a gesture is cancelable. 10 11 * Shared/WebPreferencesDefaultValues.cpp: 12 (WebKit::defaultWheelEventGesturesBecomeNonBlocking): 13 * Shared/WebPreferencesDefaultValues.h: 14 1 15 2020-11-21 Jiewen Tan <jiewen_tan@apple.com> 2 16 -
trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp
r269865 r270152 61 61 } 62 62 63 bool defaultWheelEventGesturesBecomeNonBlocking() 64 { 65 static bool result = linkedOnOrAfter(WebCore::SDKVersion::FirstThatAllowsWheelEventGesturesToBecomeNonBlocking); 66 return result; 67 } 68 63 69 #endif 64 70 -
trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h
r269865 r270152 50 50 #if PLATFORM(MAC) 51 51 bool defaultPassiveWheelListenersAsDefaultOnDocument(); 52 bool defaultWheelEventGesturesBecomeNonBlocking(); 52 53 #endif 53 54 -
trunk/Source/WebKitLegacy/mac/ChangeLog
r270069 r270152 1 2020-11-21 Simon Fraser <simon.fraser@apple.com> 2 3 Add an Experimental Features for wheel event gestures becoming non-blocking 4 https://bugs.webkit.org/show_bug.cgi?id=219236 5 6 Reviewed by Sam Weinig. 7 8 Add a feature flag for the behavior that is being added via webkit.org/b/218764, 9 which is that only the first wheel event in a gesture is cancelable. 10 11 * WebView/WebPreferencesDefaultValues.h: 12 * WebView/WebPreferencesDefaultValues.mm: 13 (WebKit::defaultWheelEventGesturesBecomeNonBlocking): 14 1 15 2020-11-19 Hoa Dinh <dvh@apple.com> 2 16 -
trunk/Source/WebKitLegacy/mac/WebView/WebPreferencesDefaultValues.h
r269780 r270152 85 85 #if PLATFORM(MAC) 86 86 bool defaultPassiveWheelListenersAsDefaultOnDocument(); 87 bool defaultWheelEventGesturesBecomeNonBlocking(); 87 88 #endif 88 89 -
trunk/Source/WebKitLegacy/mac/WebView/WebPreferencesDefaultValues.mm
r269780 r270152 292 292 } 293 293 294 bool defaultWheelEventGesturesBecomeNonBlocking() 295 { 296 static bool result = linkedOnOrAfter(WebCore::SDKVersion::FirstThatAllowsWheelEventGesturesToBecomeNonBlocking); 297 return result; 298 } 299 294 300 #endif 295 301
Note: See TracChangeset
for help on using the changeset viewer.