Title: [206669] branches/safari-602-branch/Source/WebCore
- Revision
- 206669
- Author
- [email protected]
- Date
- 2016-09-30 14:19:37 -0700 (Fri, 30 Sep 2016)
Log Message
Merge r205992. rdar://problem/28567557
Modified Paths
Diff
Modified: branches/safari-602-branch/Source/WebCore/ChangeLog (206668 => 206669)
--- branches/safari-602-branch/Source/WebCore/ChangeLog 2016-09-30 21:19:31 UTC (rev 206668)
+++ branches/safari-602-branch/Source/WebCore/ChangeLog 2016-09-30 21:19:37 UTC (rev 206669)
@@ -1,5 +1,15 @@
2016-09-30 Babak Shafiei <[email protected]>
+ Merge r205992. rdar://problem/28567557
+
+ 2016-09-15 Anders Carlsson <[email protected]>
+
+ Fix build.
+
+ * platform/spi/cocoa/PassKitSPI.h:
+
+2016-09-30 Babak Shafiei <[email protected]>
+
Merge r205980. rdar://problem/28567557
2016-09-14 Anders Carlsson <[email protected]>
Modified: branches/safari-602-branch/Source/WebCore/platform/spi/cocoa/PassKitSPI.h (206668 => 206669)
--- branches/safari-602-branch/Source/WebCore/platform/spi/cocoa/PassKitSPI.h 2016-09-30 21:19:31 UTC (rev 206668)
+++ branches/safari-602-branch/Source/WebCore/platform/spi/cocoa/PassKitSPI.h 2016-09-30 21:19:37 UTC (rev 206669)
@@ -223,5 +223,20 @@
NS_ASSUME_NONNULL_END
+#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