summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_menu.h
blob: d4ac001513a2fe0d1e5c59c9c341fd595e74534f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import <Cocoa/Cocoa.h>

#include "base/basictypes.h"


// The context menu for bookmark buttons needs to know which
// BookmarkNode it is talking about.  For example, "Open All" is
// disabled if the bookmark node is a folder and has no children.
@interface BookmarkMenu : NSMenu {
 @private
  int64 id_;  // id of the bookmark node we represent.
}
- (void)setRepresentedObject:(id)object;
@property (nonatomic) int64 id;
@end