[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
cblu
cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:45:10 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 9640f319dfd8b2f1b1d00a556728d578728d7100
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Sep 27 15:25:33 2002 +0000
*** empty log message ***
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2183 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/Misc.subproj/WebNSPasteboardExtras.m b/WebKit/Misc.subproj/WebNSPasteboardExtras.m
index 03676ca..473ad8c 100644
--- a/WebKit/Misc.subproj/WebNSPasteboardExtras.m
+++ b/WebKit/Misc.subproj/WebNSPasteboardExtras.m
@@ -13,6 +13,8 @@
#import <WebFoundation/WebNSStringExtras.h>
#import <WebFoundation/WebNSURLExtras.h>
+#import <ApplicationServices/ApplicationServicesPriv.h>
+
@implementation NSPasteboard (WebExtras)
+ (NSArray *)_web_dragTypesForURL
@@ -69,6 +71,15 @@
[URL writeToPasteboard:self];
[self setString:[URL absoluteString] forType:NSStringPboardType];
[WebURLsWithTitles writeURLs:[NSArray arrayWithObject:URL] andTitles:[NSArray arrayWithObject:title] toPasteboard:self];
+
+ NSString *flavor = nil;
+ CreatePasteboardFlavorTypeName('url ', (CFStringRef*)&flavor);
+ [self setString:[URL absoluteString] forType:flavor];
+ [flavor release];
+
+ CreatePasteboardFlavorTypeName('urln', (CFStringRef*)&flavor);
+ [self setString:title forType:flavor];
+ [flavor release];
}
@end
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list