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