summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/Shared/mac/PasteboardTypes.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Shared/mac/PasteboardTypes.mm')
-rw-r--r--Source/WebKit2/Shared/mac/PasteboardTypes.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebKit2/Shared/mac/PasteboardTypes.mm b/Source/WebKit2/Shared/mac/PasteboardTypes.mm
index 0d48464..28df29b 100644
--- a/Source/WebKit2/Shared/mac/PasteboardTypes.mm
+++ b/Source/WebKit2/Shared/mac/PasteboardTypes.mm
@@ -68,5 +68,11 @@ NSArray* PasteboardTypes::forImagesWithArchive()
static NSArray *types = retain([NSArray arrayWithObjects:NSTIFFPboardType, WebURLsWithTitlesPboardType, NSURLPboardType, WebURLPboardType, WebURLNamePboardType, NSStringPboardType, NSRTFDPboardType, WebArchivePboardType, nil]);
return types;
}
+
+NSArray* PasteboardTypes::forSelection()
+{
+ static NSArray *types = retain([NSArray arrayWithObjects:WebArchivePboardType, NSRTFDPboardType, NSRTFPboardType, NSStringPboardType, nil]);
+ return types;
+}
} // namespace WebKit