Changeset 202793 in webkit
- Timestamp:
- Jul 3, 2016, 12:44:26 PM (9 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r202789 r202793 1 2016-07-03 Dan Bernstein <mitz@apple.com> 2 3 Follow-up to r202789. 4 5 Reviewed by Sam Weinig. 6 7 Ensure that API that isn’t available at all on a platform is declared under an appropriate 8 TARGET_OS_* conditional. 9 10 * Shared/API/Cocoa/_WKHitTestResult.h: 11 * Shared/API/Cocoa/_WKHitTestResult.mm: 12 * Shared/API/Cocoa/_WKHitTestResultInternal.h: 13 * UIProcess/API/Cocoa/WKOpenPanelParameters.h: 14 * UIProcess/API/Cocoa/WKOpenPanelParameters.mm: 15 * UIProcess/API/Cocoa/WKOpenPanelParametersInternal.h: 16 * UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.h: 17 * UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.mm: 18 * UIProcess/API/Cocoa/WKWebViewPrivate.h: 19 1 20 2016-07-03 Dan Bernstein <mitz@apple.com> 2 21 -
trunk/Source/WebKit2/Shared/API/Cocoa/_WKHitTestResult.h
r202789 r202793 26 26 #import <WebKit/WKFoundation.h> 27 27 28 #if WK_API_ENABLED 28 #if WK_API_ENABLED && !TARGET_OS_IPHONE 29 29 30 30 #import <Foundation/Foundation.h> -
trunk/Source/WebKit2/Shared/API/Cocoa/_WKHitTestResult.mm
r190823 r202793 27 27 #import "_WKHitTestResultInternal.h" 28 28 29 #if WK_API_ENABLED 29 #if WK_API_ENABLED && PLATFORM(MAC) 30 30 31 31 @implementation _WKHitTestResult -
trunk/Source/WebKit2/Shared/API/Cocoa/_WKHitTestResultInternal.h
r190823 r202793 26 26 #import "_WKHitTestResult.h" 27 27 28 #if WK_API_ENABLED 28 #if WK_API_ENABLED && PLATFORM(MAC) 29 29 30 30 #import "APIHitTestResult.h" -
trunk/Source/WebKit2/Shared/Cocoa/APIObject.mm
r199700 r202793 168 168 break; 169 169 170 #if PLATFORM(MAC) 170 171 case Type::HitTestResult: 171 172 wrapper = [_WKHitTestResult alloc]; 172 173 break; 174 #endif 173 175 174 176 case Type::Navigation: … … 188 190 break; 189 191 192 #if PLATFORM(MAC) 190 193 case Type::OpenPanelParameters: 191 194 wrapper = [WKOpenPanelParameters alloc]; 192 195 break; 196 #endif 193 197 194 198 case Type::PageGroup: -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKOpenPanelParameters.h
r202789 r202793 26 26 #import <WebKit/WKFoundation.h> 27 27 28 #if WK_API_ENABLED 28 #if WK_API_ENABLED && !TARGET_OS_IPHONE 29 29 30 30 #import <Foundation/Foundation.h> -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKOpenPanelParameters.mm
r199558 r202793 27 27 #import "WKOpenPanelParametersInternal.h" 28 28 29 #if WK_API_ENABLED 29 #if WK_API_ENABLED && PLATFORM(MAC) 30 30 31 31 @implementation WKOpenPanelParameters -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKOpenPanelParametersInternal.h
r199558 r202793 26 26 #import "WKOpenPanelParameters.h" 27 27 28 #if WK_API_ENABLED 28 #if WK_API_ENABLED && PLATFORM(MAC) 29 29 30 30 #import "APIOpenPanelParameters.h" -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.h
r202789 r202793 27 27 #import <WebKit/WKFoundation.h> 28 28 29 #if WK_API_ENABLED 29 #if WK_API_ENABLED && TARGET_OS_IPHONE 30 30 31 31 #import <Foundation/Foundation.h> -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.mm
r198070 r202793 27 27 #include "WKPreviewActionItemIdentifiers.h" 28 28 29 #if WK_API_ENABLED 29 #if WK_API_ENABLED && PLATFORM(IOS) 30 30 31 31 NSString * const WKPreviewActionItemIdentifierOpen = @"WKPreviewActionItemIdentifierOpen"; -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h
r202789 r202793 40 40 } WK_API_AVAILABLE(macosx(10.10), ios(8.0)); 41 41 42 #if !TARGET_OS_IPHONE 43 42 44 typedef NS_ENUM(NSInteger, _WKImmediateActionType) { 43 45 _WKImmediateActionNone, … … 48 50 _WKImmediateActionTelLink 49 51 } WK_API_AVAILABLE(macosx(WK_MAC_TBA)); 52 53 #endif 50 54 51 55 @class WKBrowsingContextHandle;
Note:
See TracChangeset
for help on using the changeset viewer.