Title: [284062] trunk/Source
Revision
284062
Author
timothy_hor...@apple.com
Date
2021-10-12 16:51:11 -0700 (Tue, 12 Oct 2021)

Log Message

Remove some unused UIKit SPI declarations
https://bugs.webkit.org/show_bug.cgi?id=231646

Reviewed by Wenson Hsieh.

* Platform/spi/ios/UIKitSPI.h:
* wtf/PlatformHave.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (284061 => 284062)


--- trunk/Source/WTF/ChangeLog	2021-10-12 23:46:40 UTC (rev 284061)
+++ trunk/Source/WTF/ChangeLog	2021-10-12 23:51:11 UTC (rev 284062)
@@ -1,3 +1,12 @@
+2021-10-12  Tim Horton  <timothy_hor...@apple.com>
+
+        Remove some unused UIKit SPI declarations
+        https://bugs.webkit.org/show_bug.cgi?id=231646
+
+        Reviewed by Wenson Hsieh.
+
+        * wtf/PlatformHave.h:
+
 2021-10-12  Sihui Liu  <sihui_...@apple.com>
 
         Implement FileSystemSyncAccessHandle read() and write()

Modified: trunk/Source/WTF/wtf/PlatformHave.h (284061 => 284062)


--- trunk/Source/WTF/wtf/PlatformHave.h	2021-10-12 23:46:40 UTC (rev 284061)
+++ trunk/Source/WTF/wtf/PlatformHave.h	2021-10-12 23:51:11 UTC (rev 284062)
@@ -484,10 +484,6 @@
 #define HAVE_MOUSE_DEVICE_OBSERVATION 1
 #endif
 
-#if (PLATFORM(IOS) || PLATFORM(MACCATALYST)) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000
-#define HAVE_UI_HOVER_EVENT_RESPONDABLE 1
-#endif
-
 #if PLATFORM(MACCATALYST)
 #define HAVE_LOOKUP_GESTURE_RECOGNIZER 1
 #endif

Modified: trunk/Source/WebKit/ChangeLog (284061 => 284062)


--- trunk/Source/WebKit/ChangeLog	2021-10-12 23:46:40 UTC (rev 284061)
+++ trunk/Source/WebKit/ChangeLog	2021-10-12 23:51:11 UTC (rev 284062)
@@ -1,3 +1,12 @@
+2021-10-12  Tim Horton  <timothy_hor...@apple.com>
+
+        Remove some unused UIKit SPI declarations
+        https://bugs.webkit.org/show_bug.cgi?id=231646
+
+        Reviewed by Wenson Hsieh.
+
+        * Platform/spi/ios/UIKitSPI.h:
+
 2021-10-12  Sihui Liu  <sihui_...@apple.com>
 
         Implement FileSystemSyncAccessHandle read() and write()

Modified: trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h (284061 => 284062)


--- trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h	2021-10-12 23:46:40 UTC (rev 284061)
+++ trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h	2021-10-12 23:51:11 UTC (rev 284062)
@@ -483,23 +483,11 @@
 
 @end
 
-
 @interface NSString (UIKitDetails)
 - (CGSize)_legacy_sizeWithFont:(UIFont *)font forWidth:(CGFloat)width lineBreakMode:(NSLineBreakMode)lineBreakMode;
 - (CGSize)_legacy_sizeWithFont:(UIFont *)font minFontSize:(CGFloat)minFontSize actualFontSize:(CGFloat *)actualFontSize forWidth:(CGFloat)width lineBreakMode:(NSLineBreakMode)lineBreakMode;
 @end
 
-#if HAVE(UI_HOVER_EVENT_RESPONDABLE)
-
-@protocol _UIHoverEventRespondable <NSObject>
-- (void)_hoverEntered:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event;
-- (void)_hoverMoved:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event;
-- (void)_hoverExited:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event;
-- (void)_hoverCancelled:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event;
-@end
-
-#endif // HAVE(UI_HOVER_EVENT_RESPONDABLE)
-
 @interface UITableView ()
 @property (nonatomic, getter=_sectionContentInsetFollowsLayoutMargins, setter=_setSectionContentInsetFollowsLayoutMargins:) BOOL sectionContentInsetFollowsLayoutMargins;
 @end
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to