OLD | NEW |
| (Empty) |
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 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_WINDOW_H_ | |
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_WINDOW_H_ | |
7 #pragma once | |
8 | |
9 #import <Cocoa/Cocoa.h> | |
10 #import "base/mac/cocoa_protocols.h" | |
11 #include "base/memory/scoped_nsobject.h" | |
12 | |
13 | |
14 // Window for a bookmark folder "menu". This menu pops up when you | |
15 // click on a bookmark button that represents a folder of bookmarks. | |
16 // This window is borderless but has a shadow, at least initially. | |
17 // Once the down scroll arrow is shown, the shadow is turned off and | |
18 // a secondary window is added which is sized to match the visible | |
19 // area of the menu and which provides the shadow. | |
20 @interface BookmarkBarFolderWindow : NSWindow | |
21 @end | |
22 | |
23 // Content view for the above window. "Stock" other than the drawing | |
24 // of rounded corners. Only used in the nib. | |
25 @interface BookmarkBarFolderWindowContentView : NSView | |
26 @end | |
27 | |
28 // Scroll view that contains the main view (where the buttons go). | |
29 @interface BookmarkBarFolderWindowScrollView : NSScrollView | |
30 @end | |
31 | |
32 | |
33 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_WINDOW_H_ | |
OLD | NEW |