Changeset 239311 in webkit
- Timestamp:
- Dec 17, 2018 6:25:25 PM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r239282 r239311 1 2018-12-17 Chris Fleizach <cfleizach@apple.com> 2 3 Some builds are broken after r239262 4 https://bugs.webkit.org/show_bug.cgi?id=192777 5 6 Reviewed by Simon Fraser. 7 8 * wtf/Platform.h: 9 1 10 2018-12-17 Daniel Bates <dabates@apple.com> 2 11 -
trunk/Source/WTF/wtf/Platform.h
r239306 r239311 1455 1455 #define ENABLE_SEC_ITEM_SHIM 1 1456 1456 #endif 1457 1458 #if (PLATFORM(IOS_FAMILY) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400)) 1459 #define HAVE_ACCESSIBILITY_SUPPORT 1 1460 #endif 1461 1462 #if PLATFORM(MAC) 1463 #define ENABLE_FULL_KEYBOARD_ACCESS 1 1464 #endif -
trunk/Source/WebKit/ChangeLog
r239310 r239311 1 2018-12-17 Chris Fleizach <cfleizach@apple.com> 2 3 Some builds are broken after r239262 4 https://bugs.webkit.org/show_bug.cgi?id=192777 5 6 Reviewed by Simon Fraser. 7 8 * Platform/spi/ios/AccessibilitySupportSPI.h: 9 * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.h: 10 * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.mm: 11 (platformIsFullKeyboardAccessEnabled): 12 (-[WKFullKeyboardAccessWatcher init]): 13 Fix the build by being more clear about when it's OK to use AccessibilitySupport. 14 1 15 2018-12-17 Chris Dumez <cdumez@apple.com> 2 16 -
trunk/Source/WebKit/Platform/spi/ios/AccessibilitySupportSPI.h
r239262 r239311 26 26 #pragma once 27 27 28 #if HAVE(ACCESSIBILITY_SUPPORT) 29 28 30 #if USE(APPLE_INTERNAL_SDK) 31 29 32 // FIXME (46432011): We shouldn't need to wrap this include in extern "C". 30 33 WTF_EXTERN_C_BEGIN 31 34 #include <AccessibilitySupport.h> 32 35 WTF_EXTERN_C_END 33 #endif 36 37 #else 34 38 35 39 WTF_EXTERN_C_BEGIN 36 40 41 #if PLATFORM(IOS_FAMILY) 37 42 extern Boolean _AXSKeyRepeatEnabled(); 38 43 extern CFTimeInterval _AXSKeyRepeatDelay(); 44 #endif 45 46 #if ENABLE(ACCESSIBILITY_EVENTS) 39 47 extern CFStringRef kAXSWebAccessibilityEventsEnabledNotification; 40 48 extern Boolean _AXSWebAccessibilityEventsEnabled(); 49 #endif 50 51 #if PLATFORM(IOS_FAMILY) && ENABLE(FULL_KEYBOARD_ACCESS) 41 52 extern CFStringRef kAXSFullKeyboardAccessEnabledNotification; 42 53 extern Boolean _AXSFullKeyboardAccessEnabled(); 54 #endif 43 55 44 56 WTF_EXTERN_C_END 57 58 #endif 59 60 #endif // HAVE(ACCESSIBILITY_SUPPORT) -
trunk/Source/WebKit/UIProcess/Cocoa/WKFullKeyboardAccessWatcher.h
r239262 r239311 26 26 #pragma once 27 27 28 #if PLATFORM(COCOA)28 #if ENABLE(FULL_KEYBOARD_ACCESS) 29 29 30 30 @interface WKFullKeyboardAccessWatcher : NSObject { … … 37 37 @end; 38 38 39 #endif // PLATFORM(COCOA)39 #endif // ENABLE(FULL_KEYBOARD_ACCESS) -
trunk/Source/WebKit/UIProcess/Cocoa/WKFullKeyboardAccessWatcher.mm
r239276 r239311 27 27 #import "WKFullKeyboardAccessWatcher.h" 28 28 29 #if PLATFORM(COCOA)29 #if ENABLE(FULL_KEYBOARD_ACCESS) 30 30 31 31 #import "WebProcessPool.h" … … 56 56 fullKeyboardAccessEnabled = (mode & 0x2); 57 57 } 58 #elif PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 13000058 #elif PLATFORM(IOS_FAMILY) 59 59 fullKeyboardAccessEnabled = _AXSFullKeyboardAccessEnabled(); 60 60 #endif … … 93 93 notificationCenter = [NSDistributedNotificationCenter defaultCenter]; 94 94 notitificationName = KeyboardUIModeDidChangeNotification; 95 #elif PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 13000095 #elif PLATFORM(IOS_FAMILY) 96 96 notificationCenter = [NSNotificationCenter defaultCenter]; 97 97 notitificationName = (NSString *)kAXSFullKeyboardAccessEnabledNotification; … … 112 112 @end 113 113 114 #endif // PLATFORM(COCOA)114 #endif // ENABLE(FULL_KEYBOARD_ACCESS)
Note: See TracChangeset
for help on using the changeset viewer.