Index: chrome/browser/ui/cocoa/drag_util.h |
diff --git a/chrome/browser/ui/cocoa/drag_util.h b/chrome/browser/ui/cocoa/drag_util.h |
index 90658ac66db19fcf896a259571fd8b5dab241c2b..2a3a721fd8886a69ea2ec1bdc9bc75988c5fd6bd 100644 |
--- a/chrome/browser/ui/cocoa/drag_util.h |
+++ b/chrome/browser/ui/cocoa/drag_util.h |
@@ -8,23 +8,11 @@ |
#import <Cocoa/Cocoa.h> |
-#include "base/basictypes.h" |
-#include "googleurl/src/gurl.h" |
- |
+class GURL; |
class Profile; |
namespace drag_util { |
-// Populates the |url| and |title| with URL data in |pboard|. There may be more |
-// than one, but we only handle dropping the first. |url| must not be |NULL|; |
-// |title| is an optional parameter. Returns |YES| if URL data was obtained from |
-// the pasteboard, |NO| otherwise. If |convert_filenames| is |YES|, the function |
-// will also attempt to convert filenames in |pboard| to file URLs. |
-BOOL PopulateURLAndTitleFromPasteBoard(GURL* url, |
- string16* title, |
- NSPasteboard* pboard, |
- BOOL convert_filenames); |
- |
// Returns the first file URL from |info|, if there is one. If |info| doesn't |
// contain any file URLs, an empty |GURL| is returned. |
GURL GetFileURLFromDropData(id<NSDraggingInfo> info); |