Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / bookmarks / bookmark_bar_folder_window.h
blob513512fadc9ff0f51d5f0c6d41659fb1ceece2af
1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_WINDOW_H_
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_WINDOW_H_
8 #import <Cocoa/Cocoa.h>
10 // Window for a bookmark folder "menu". This menu pops up when you
11 // click on a bookmark button that represents a folder of bookmarks.
12 // This window is borderless but has a shadow, at least initially.
13 // Once the down scroll arrow is shown, the shadow is turned off and
14 // a secondary window is added which is sized to match the visible
15 // area of the menu and which provides the shadow.
16 @interface BookmarkBarFolderWindow : NSWindow
17 @end
19 // Content view for the above window. "Stock" other than the drawing
20 // of rounded corners. Only used in the nib.
21 @interface BookmarkBarFolderWindowContentView : NSView
22 @end
24 // Scroll view that contains the main view (where the buttons go).
25 @interface BookmarkBarFolderWindowScrollView : NSScrollView
26 @end
28 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_WINDOW_H_