Title: [237049] trunk/Source/WebKit
- Revision
- 237049
- Author
- [email protected]
- Date
- 2018-10-11 14:43:22 -0700 (Thu, 11 Oct 2018)
Log Message
[Web Animations] Allow iOS to also control toggling Web Animations CSS Integration
https://bugs.webkit.org/show_bug.cgi?id=190489
Reviewed by Tim Horton.
* UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences _setWebAnimationsCSSIntegrationEnabled:]):
(-[WKPreferences _webAnimationsCSSIntegrationEnabled]):
* UIProcess/API/Cocoa/WKPreferencesPrivate.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (237048 => 237049)
--- trunk/Source/WebKit/ChangeLog 2018-10-11 21:30:33 UTC (rev 237048)
+++ trunk/Source/WebKit/ChangeLog 2018-10-11 21:43:22 UTC (rev 237049)
@@ -1,3 +1,15 @@
+2018-10-11 Antoine Quint <[email protected]>
+
+ [Web Animations] Allow iOS to also control toggling Web Animations CSS Integration
+ https://bugs.webkit.org/show_bug.cgi?id=190489
+
+ Reviewed by Tim Horton.
+
+ * UIProcess/API/Cocoa/WKPreferences.mm:
+ (-[WKPreferences _setWebAnimationsCSSIntegrationEnabled:]):
+ (-[WKPreferences _webAnimationsCSSIntegrationEnabled]):
+ * UIProcess/API/Cocoa/WKPreferencesPrivate.h:
+
2018-10-11 Keith Rollin <[email protected]>
CURRENT_ARCH should not be used in Run Script phase.
Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm (237048 => 237049)
--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm 2018-10-11 21:30:33 UTC (rev 237048)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm 2018-10-11 21:43:22 UTC (rev 237049)
@@ -1053,16 +1053,6 @@
return _preferences->viewGestureDebuggingEnabled();
}
-- (void)_setWebAnimationsCSSIntegrationEnabled:(BOOL)enabled
-{
- _preferences->setWebAnimationsCSSIntegrationEnabled(enabled);
-}
-
-- (BOOL)_webAnimationsCSSIntegrationEnabled
-{
- return _preferences->webAnimationsCSSIntegrationEnabled();
-}
-
- (void)_setStandardFontFamily:(NSString *)family
{
_preferences->setStandardFontFamily(family);
@@ -1336,6 +1326,16 @@
return _preferences->videoQualityIncludesDisplayCompositingEnabled();
}
+- (void)_setWebAnimationsCSSIntegrationEnabled:(BOOL)enabled
+{
+ _preferences->setWebAnimationsCSSIntegrationEnabled(enabled);
+}
+
+- (BOOL)_webAnimationsCSSIntegrationEnabled
+{
+ return _preferences->webAnimationsCSSIntegrationEnabled();
+}
+
@end
#endif // WK_API_ENABLED
Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h (237048 => 237049)
--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h 2018-10-11 21:30:33 UTC (rev 237048)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h 2018-10-11 21:43:22 UTC (rev 237049)
@@ -149,6 +149,7 @@
@property (nonatomic, setter=_setLowPowerVideoAudioBufferSizeEnabled:) BOOL _lowPowerVideoAudioBufferSizeEnabled WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA));
@property (nonatomic, setter=_setShouldIgnoreMetaViewport:) BOOL _shouldIgnoreMetaViewport WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA));
@property (nonatomic, setter=_setVideoQualityIncludesDisplayCompositingEnabled:) BOOL _videoQualityIncludesDisplayCompositingEnabled WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA));
+@property (nonatomic, setter=_setWebAnimationsCSSIntegrationEnabled:) BOOL _webAnimationsCSSIntegrationEnabled WK_API_AVAILABLE(macosx(10.14), ios(WK_IOS_TBA));
#if !TARGET_OS_IPHONE
@property (nonatomic, setter=_setWebGLEnabled:) BOOL _webGLEnabled WK_API_AVAILABLE(macosx(10.13.4));
@@ -175,7 +176,6 @@
@property (nonatomic, setter=_setSubpixelCSSOMElementMetricsEnabled:) BOOL _subpixelCSSOMElementMetricsEnabled WK_API_AVAILABLE(macosx(10.13.4));
@property (nonatomic, setter=_setMediaSourceEnabled:) BOOL _mediaSourceEnabled WK_API_AVAILABLE(macosx(10.13.4));
@property (nonatomic, setter=_setViewGestureDebuggingEnabled:) BOOL _viewGestureDebuggingEnabled WK_API_AVAILABLE(macosx(10.13.4));
-@property (nonatomic, setter=_setWebAnimationsCSSIntegrationEnabled:) BOOL _webAnimationsCSSIntegrationEnabled WK_API_AVAILABLE(macosx(10.14));
@property (nonatomic, setter=_setStandardFontFamily:) NSString *_standardFontFamily WK_API_AVAILABLE(macosx(10.13.4));
@property (nonatomic, setter=_setNotificationsEnabled:) BOOL _notificationsEnabled WK_API_AVAILABLE(macosx(10.13.4));
@property (nonatomic, setter=_setBackspaceKeyNavigationEnabled:) BOOL _backspaceKeyNavigationEnabled WK_API_AVAILABLE(macosx(10.13.4));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes