Title: [174837] trunk/Source/WebKit/mac
- Revision
- 174837
- Author
- [email protected]
- Date
- 2014-10-17 14:12:46 -0700 (Fri, 17 Oct 2014)
Log Message
Fix the build with the public SDK.
* WebCoreSupport/WebSelectionServiceController.mm:
We should transition all this SPI to real SPI headers as soon as possible.
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (174836 => 174837)
--- trunk/Source/WebKit/mac/ChangeLog 2014-10-17 21:12:42 UTC (rev 174836)
+++ trunk/Source/WebKit/mac/ChangeLog 2014-10-17 21:12:46 UTC (rev 174837)
@@ -1,3 +1,10 @@
+2014-10-17 Tim Horton <[email protected]>
+
+ Fix the build with the public SDK.
+
+ * WebCoreSupport/WebSelectionServiceController.mm:
+ We should transition all this SPI to real SPI headers as soon as possible.
+
2014-10-16 Tim Horton <[email protected]>
Implement selection services menu for Legacy WebKit
Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebSelectionServiceController.mm (174836 => 174837)
--- trunk/Source/WebKit/mac/WebCoreSupport/WebSelectionServiceController.mm 2014-10-17 21:12:42 UTC (rev 174836)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebSelectionServiceController.mm 2014-10-17 21:12:46 UTC (rev 174837)
@@ -38,14 +38,19 @@
#if __has_include(<AppKit/NSSharingService_Private.h>)
#import <AppKit/NSSharingService_Private.h>
#else
-typedef NS_ENUM(NSInteger, NSSharingServicePickerStyle) {
- NSSharingServicePickerStyleMenu = 0,
- NSSharingServicePickerStyleRollover = 1,
- NSSharingServicePickerStyleTextSelection = 2,
- NSSharingServicePickerStyleDataDetector = 3
+typedef NS_OPTIONS(NSUInteger, NSSharingServiceMask) {
+ NSSharingServiceMaskShare = (1 << NSSharingServiceTypeShare),
+ NSSharingServiceMaskViewer = (1 << NSSharingServiceTypeViewer),
+ NSSharingServiceMaskEditor = (1 << NSSharingServiceTypeEditor),
+
+ NSSharingServiceMaskAllTypes = 0xFFFF
} NS_ENUM_AVAILABLE_MAC(10_10);
#endif
+@interface NSSharingService (WKDetails)
++ (NSArray *)sharingServicesForItems:(NSArray *)items mask:(NSSharingServiceMask)maskForFiltering;
+@end
+
WebSelectionServiceController::WebSelectionServiceController(WebView *webView)
: m_webView(webView)
{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes