OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "base/scoped_nsobject.h" | 8 #include "base/scoped_nsobject.h" |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 // Drag moved; hook up to -draggedImage:movedTo:. | 71 // Drag moved; hook up to -draggedImage:movedTo:. |
72 - (void)moveDragTo:(NSPoint)screenPoint; | 72 - (void)moveDragTo:(NSPoint)screenPoint; |
73 | 73 |
74 // Call to drag a promised file to the given path (should be called before | 74 // Call to drag a promised file to the given path (should be called before |
75 // -endDragAt:...); hook up to -namesOfPromisedFilesDroppedAtDestination:. | 75 // -endDragAt:...); hook up to -namesOfPromisedFilesDroppedAtDestination:. |
76 // Returns the file name (not including path) of the file deposited (or which | 76 // Returns the file name (not including path) of the file deposited (or which |
77 // will be deposited). | 77 // will be deposited). |
78 - (NSString*)dragPromisedFileTo:(NSString*)path; | 78 - (NSString*)dragPromisedFileTo:(NSString*)path; |
79 | 79 |
80 @end | 80 @end |
OLD | NEW |