blob: ea3decce4c70bd94b43b44d56751d0f20b6342c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// 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>
// Class for bookmark bar buttons that can be drag sources.
@interface BookmarkButton : NSButton {
@private
BOOL draggable_; // Is this a draggable type of button?
BOOL mayDragStart_; // Set to YES on mouse down, NO on up or drag.
BOOL beingDragged_;
// Initial mouse-down to prevent a hair-trigger drag.
NSPoint initialMouseDownLocation_;
}
// Enable or disable dragability for special buttons like "Other Bookmarks".
@property BOOL draggable;
@end
extern NSString* kBookmarkButtonDragType;
|