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.
5 #import <Cocoa/Cocoa.h>
7 #import "base/mac/scoped_nsobject.h"
9 @protocol BookmarkButtonControllerProtocol
;
10 @
class BookmarkBarFolderController
;
12 // Main content view for a bookmark bar folder "menu" window. This is
13 // logically similar to a BookmarkBarView but is oriented vertically.
14 @interface BookmarkBarFolderView
: NSView
{
16 BOOL inDrag_
; // Are we in the middle of a drag?
17 BOOL dropIndicatorShown_
;
18 // The following |controller_| is weak; used for testing only. See the imple-
19 // mentation comment for - (id<BookmarkButtonControllerProtocol>)controller.
20 id
<BookmarkButtonControllerProtocol
> controller_
;
21 base::scoped_nsobject
<NSBox
> dropIndicator_
;