- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / cocoa / bookmarks / bookmark_bar_folder_view.h
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 #import "base/mac/scoped_nsobject.h"
8
9 @protocol BookmarkButtonControllerProtocol;
10 @class BookmarkBarFolderController;
11
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 {
15  @private
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_;
22 }
23 @end