OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_DRAG_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_WEB_CONTENTS_DRAG_SOURCE_H_ |
6 #define CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_DRAG_SOURCE_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_WEB_CONTENTS_DRAG_SOURCE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 | 10 |
11 #include "base/scoped_nsobject.h" | 11 #include "base/scoped_nsobject.h" |
12 #include "chrome/browser/bookmarks/bookmark_node_data.h" | 12 #include "chrome/browser/bookmarks/bookmark_node_data.h" |
13 | 13 |
14 @class TabContentsViewCocoa; | 14 @class TabContentsViewCocoa; |
15 | 15 |
16 // A class that handles tracking and event processing for a drag and drop | 16 // A class that handles tracking and event processing for a drag and drop |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // End the drag and clear the pasteboard; hook up to | 52 // End the drag and clear the pasteboard; hook up to |
53 // -draggedImage:endedAt:operation:. | 53 // -draggedImage:endedAt:operation:. |
54 - (void)endDragAt:(NSPoint)screenPoint | 54 - (void)endDragAt:(NSPoint)screenPoint |
55 operation:(NSDragOperation)operation; | 55 operation:(NSDragOperation)operation; |
56 | 56 |
57 // Drag moved; hook up to -draggedImage:movedTo:. | 57 // Drag moved; hook up to -draggedImage:movedTo:. |
58 - (void)moveDragTo:(NSPoint)screenPoint; | 58 - (void)moveDragTo:(NSPoint)screenPoint; |
59 | 59 |
60 @end | 60 @end |
61 | 61 |
62 #endif // CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_DRAG_SOURCE_H_ | 62 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_WEB_CONTENTS_DRAG_SOURCE_H_ |
OLD | NEW |