Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.h |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.h b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4a245f096dc0df0d7f963b1c35d9961b684d6cd7 |
--- /dev/null |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.h |
@@ -0,0 +1,33 @@ |
+// 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. |
+ |
+#ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_WINDOW_H_ |
+#define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_WINDOW_H_ |
+#pragma once |
+ |
+#import <Cocoa/Cocoa.h> |
+#import "base/mac/cocoa_protocols.h" |
+#include "base/memory/scoped_nsobject.h" |
+ |
+ |
+// Window for a bookmark folder "menu". This menu pops up when you |
+// click on a bookmark button that represents a folder of bookmarks. |
+// This window is borderless but has a shadow, at least initially. |
+// Once the down scroll arrow is shown, the shadow is turned off and |
+// a secondary window is added which is sized to match the visible |
+// area of the menu and which provides the shadow. |
+@interface BookmarkBarFolderWindow : NSWindow |
+@end |
+ |
+// Content view for the above window. "Stock" other than the drawing |
+// of rounded corners. Only used in the nib. |
+@interface BookmarkBarFolderWindowContentView : NSView |
+@end |
+ |
+// Scroll view that contains the main view (where the buttons go). |
+@interface BookmarkBarFolderWindowScrollView : NSScrollView |
+@end |
+ |
+ |
+#endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_WINDOW_H_ |