BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / bookmarks / bookmark_bar_folder_view.h
blob48ef52003bf709d35a78e47d8f1b6f8409bb6cab
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 {
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_;
23 @end