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/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 | 9 |
10 // The context menu for bookmark buttons needs to know which | 10 // The context menu for bookmark buttons needs to know which |
11 // BookmarkNode it is talking about. For example, "Open All" is | 11 // BookmarkNode it is talking about. For example, "Open All" is |
12 // disabled if the bookmark node is a folder and has no children. | 12 // disabled if the bookmark node is a folder and has no children. |
13 @interface BookmarkMenu : NSMenu { | 13 @interface BookmarkMenu : NSMenu { |
14 @private | 14 @private |
15 int64 id_; // id of the bookmark node we represent. | 15 int64 id_; // id of the bookmark node we represent. |
16 } | 16 } |
17 - (void)setRepresentedObject:(id)object; | 17 - (void)setRepresentedObject:(id)object; |
18 @property int64 id; | 18 @property (nonatomic) int64 id; |
19 @end | 19 @end |
20 | 20 |
OLD | NEW |