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_BOOKMARKS_BOOKMARK_FOLDER_TARGET_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_FOLDER_TARGET_H_ |
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_FOLDER_TARGET_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_FOLDER_TARGET_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 @class BookmarkButton; | 10 @class BookmarkButton; |
11 @protocol BookmarkButtonControllerProtocol; | 11 @protocol BookmarkButtonControllerProtocol; |
12 class Profile; | 12 class Profile; |
13 | 13 |
14 // Target (in the target/action sense) of a bookmark folder button. | 14 // Target (in the target/action sense) of a bookmark folder button. |
15 // Since ObjC doesn't have multiple inheritance we use has-a instead | 15 // Since ObjC doesn't have multiple inheritance we use has-a instead |
16 // of is-a to share behavior between the BookmarkBarFolderController | 16 // of is-a to share behavior between the BookmarkBarFolderController |
(...skipping 16 matching lines...) Expand all Loading... |
33 // Returns a pasteboard item that has all bookmark information. | 33 // Returns a pasteboard item that has all bookmark information. |
34 - (NSPasteboardItem*)pasteboardItemForDragOfButton:(BookmarkButton*)button; | 34 - (NSPasteboardItem*)pasteboardItemForDragOfButton:(BookmarkButton*)button; |
35 | 35 |
36 @end | 36 @end |
37 | 37 |
38 // The (internal) |NSPasteboard| type string for bookmark button drags, used for | 38 // The (internal) |NSPasteboard| type string for bookmark button drags, used for |
39 // dragging buttons around the bookmark bar. The data for this type is just a | 39 // dragging buttons around the bookmark bar. The data for this type is just a |
40 // pointer to the |BookmarkButton| being dragged. | 40 // pointer to the |BookmarkButton| being dragged. |
41 extern NSString* kBookmarkButtonDragType; | 41 extern NSString* kBookmarkButtonDragType; |
42 | 42 |
43 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_FOLDER_TARGET_CONTROLLER_H
_ | 43 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_FOLDER_TARGET_H_ |
OLD | NEW |