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

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

Issue 343042: Original discussion in CL for 337010. See http://codereview.chromium.org/337... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_TREE_BROWSER_CELL_H_
6 #define CHROME_BROWSER_COCOA_BOOKMARK_TREE_BROWSER_CELL_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 class BookmarkNode;
11
12 // Provides a custom cell as used in the BookmarkEditor.xib's folder tree
13 // browser view. This cell customization adds target and action support
14 // not provided by the NSBrowserCell as well as contextual information
15 // identifying the bookmark node being edited and the column matrix
16 // control in which is contained the cell.
17 @interface BookmarkTreeBrowserCell : NSBrowserCell {
18 @private
19 const BookmarkNode* bookmarkNode_; // weak
20 NSMatrix* matrix_; // weak
21 id target_; // weak
22 SEL action_;
23 }
24
25 @property (assign) NSMatrix* matrix;
26 @property (assign) id target;
27 @property (assign) SEL action;
28
29 - (const BookmarkNode*)bookmarkNode;
30 - (void)setBookmarkNode:(const BookmarkNode*)bookmarkNode;
31
32 @end
33
34 #endif // CHROME_BROWSER_COCOA_BOOKMARK_TREE_BROWSER_CELL_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_editor_controller_unittest.mm ('k') | chrome/browser/cocoa/bookmark_tree_browser_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698