1 // Copyright (c) 2011 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 @protocol BookmarkButtonControllerProtocol; 8 @class BookmarkBarFolderController; 9 10 // Main content view for a bookmark bar folder "menu" window. This is 11 // logically similar to a BookmarkBarView but is oriented vertically. 12 @interface BookmarkBarFolderView : NSView { 13 @private 14 BOOL inDrag_; // Are we in the middle of a drag? 15 BOOL dropIndicatorShown_; 16 CGFloat dropIndicatorPosition_; // y position 17 // The following |controller_| is weak; used for testing only. See the imple- 18 // mentation comment for - (id<BookmarkButtonControllerProtocol>)controller. 19 id<BookmarkButtonControllerProtocol> controller_; 20 } 21 @end 22