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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_tree_browser_cell.h

Issue 865163003: bookmarks: Move BookmarkNode into 'bookmarks' namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enhanced_bookmarks fix Created 5 years, 10 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 unified diff | Download patch
OLDNEW
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_TREE_BROWSER_CELL_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_TREE_BROWSER_CELL_H_
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_TREE_BROWSER_CELL_H_ 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_TREE_BROWSER_CELL_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 namespace bookmarks {
10 class BookmarkNode; 11 class BookmarkNode;
12 }
11 13
12 // Provides a custom cell as used in the BookmarkEditor.xib's folder tree 14 // Provides a custom cell as used in the BookmarkEditor.xib's folder tree
13 // browser view. This cell customization adds target and action support 15 // browser view. This cell customization adds target and action support
14 // not provided by the NSBrowserCell as well as contextual information 16 // not provided by the NSBrowserCell as well as contextual information
15 // identifying the bookmark node being edited and the column matrix 17 // identifying the bookmark node being edited and the column matrix
16 // control in which is contained the cell. 18 // control in which is contained the cell.
17 @interface BookmarkTreeBrowserCell : NSBrowserCell { 19 @interface BookmarkTreeBrowserCell : NSBrowserCell {
18 @private 20 @private
19 const BookmarkNode* bookmarkNode_; // weak 21 const bookmarks::BookmarkNode* bookmarkNode_; // weak
20 NSMatrix* matrix_; // weak 22 NSMatrix* matrix_; // weak
21 id target_; // weak 23 id target_; // weak
22 SEL action_; 24 SEL action_;
23 } 25 }
24 26
25 @property(nonatomic, assign) NSMatrix* matrix; 27 @property(nonatomic, assign) NSMatrix* matrix;
26 @property(nonatomic, assign) id target; 28 @property(nonatomic, assign) id target;
27 @property(nonatomic, assign) SEL action; 29 @property(nonatomic, assign) SEL action;
28 30
29 - (const BookmarkNode*)bookmarkNode; 31 - (const bookmarks::BookmarkNode*)bookmarkNode;
30 - (void)setBookmarkNode:(const BookmarkNode*)bookmarkNode; 32 - (void)setBookmarkNode:(const bookmarks::BookmarkNode*)bookmarkNode;
31 33
32 @end 34 @end
33 35
34 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_TREE_BROWSER_CELL_H_ 36 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_TREE_BROWSER_CELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698