Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7305)

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h

Issue 8141003: [Mac] Restore the old bookmark menus now that the experiment is over. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698