Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0dc9194071b5adb47036b29216740266d3380324 |
--- /dev/null |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h |
@@ -0,0 +1,21 @@ |
+// Copyright (c) 2011 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> |
+ |
+@protocol BookmarkButtonControllerProtocol; |
+@class BookmarkBarFolderController; |
+ |
+// Main content view for a bookmark bar folder "menu" window. This is |
+// logically similar to a BookmarkBarView but is oriented vertically. |
+@interface BookmarkBarFolderView : NSView { |
+ @private |
+ BOOL inDrag_; // Are we in the middle of a drag? |
+ BOOL dropIndicatorShown_; |
+ CGFloat dropIndicatorPosition_; // y position |
+ // The following |controller_| is weak; used for testing only. See the imple- |
+ // mentation comment for - (id<BookmarkButtonControllerProtocol>)controller. |
+ id<BookmarkButtonControllerProtocol> controller_; |
+} |
+@end |