C++程序  |  21行  |  598 B

// 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