Chromium Code Reviews| Index: chrome/browser/ui/cocoa/url_drop_target.mm |
| diff --git a/chrome/browser/ui/cocoa/url_drop_target.mm b/chrome/browser/ui/cocoa/url_drop_target.mm |
| index ef4758f6e221efbb3388ae2c9dc7f8a359ffb2be..c10b2cb5670ef3851de2a46d4b7af44ce2904c81 100644 |
| --- a/chrome/browser/ui/cocoa/url_drop_target.mm |
| +++ b/chrome/browser/ui/cocoa/url_drop_target.mm |
| @@ -9,6 +9,11 @@ |
| #include "googleurl/src/gurl.h" |
| #import "third_party/mozilla/NSPasteboard+Utils.h" |
| +// Mac WebKit uses this type, declared in |
| +// WebKit/mac/History/WebURLsWithTitles.h. |
| +NSString* const kCrWebURLsWithTitlesPboardType = |
|
Mark Mentovai
2012/03/12 23:37:35
If this only needs to be local to its translation
Nico
2012/03/12 23:43:39
Done.
|
| + @"WebURLsWithTitlesPboardType"; |
| + |
| @interface URLDropTargetHandler(Private) |
| // Gets the appropriate drag operation given the |NSDraggingInfo|. |
| @@ -22,7 +27,7 @@ |
| @implementation URLDropTargetHandler |
| + (NSArray*)handledDragTypes { |
| - return [NSArray arrayWithObjects:kWebURLsWithTitlesPboardType, |
| + return [NSArray arrayWithObjects:kCrWebURLsWithTitlesPboardType, |
| NSURLPboardType, |
| NSStringPboardType, |
| NSFilenamesPboardType, |