Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1442)

Unified Diff: chrome/browser/ui/cocoa/url_drop_target.mm

Issue 9692020: mac: Don't use kWebURLsWithTitlesPboardType from third_party/mozilla (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698