summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_menu.h
blob: 7a5ff2582b6e322026d12d3a78eb9c4c7fdc28c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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>
struct BookmarkNode;

// 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
  const BookmarkNode* node_;
}
- (void)setRepresentedObject:(id)object;
@property const BookmarkNode* node;
@end