Title: [205992] trunk/Source/WebCore
- Revision
- 205992
- Author
- [email protected]
- Date
- 2016-09-15 12:46:22 -0700 (Thu, 15 Sep 2016)
Log Message
Fix build.
* platform/spi/cocoa/PassKitSPI.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (205991 => 205992)
--- trunk/Source/WebCore/ChangeLog 2016-09-15 19:18:36 UTC (rev 205991)
+++ trunk/Source/WebCore/ChangeLog 2016-09-15 19:46:22 UTC (rev 205992)
@@ -1,3 +1,9 @@
+2016-09-15 Anders Carlsson <[email protected]>
+
+ Fix build.
+
+ * platform/spi/cocoa/PassKitSPI.h:
+
2016-09-15 Alex Christensen <[email protected]>
Use character class table in URLParser
Modified: trunk/Source/WebCore/platform/spi/cocoa/PassKitSPI.h (205991 => 205992)
--- trunk/Source/WebCore/platform/spi/cocoa/PassKitSPI.h 2016-09-15 19:18:36 UTC (rev 205991)
+++ trunk/Source/WebCore/platform/spi/cocoa/PassKitSPI.h 2016-09-15 19:46:22 UTC (rev 205992)
@@ -215,5 +215,20 @@
#endif
+#if PLATFORM(MAC) && (!USE(APPLE_INTERNAL_SDK) || !__has_include(<PassKitCore/PKApplePayButton.h>))
+typedef NS_ENUM(NSInteger, PKPaymentButtonStyle) {
+ PKPaymentButtonStyleWhite = 0,
+ PKPaymentButtonStyleWhiteOutline,
+ PKPaymentButtonStyleBlack
+};
+
+typedef NS_ENUM(NSInteger, PKPaymentButtonType) {
+ PKPaymentButtonTypePlain = 0,
+ PKPaymentButtonTypeBuy,
+ PKPaymentButtonTypeSetUp,
+ PKPaymentButtonTypeInStore,
+};
+#endif
+
extern "C"
void PKDrawApplePayButton(_Nonnull CGContextRef, CGRect drawRect, CGFloat scale, PKPaymentButtonType, PKPaymentButtonStyle, NSString * _Nullable languageCode);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes