| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BAR_FOLDER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BAR_FOLDER_WINDOW_H_ |
| 6 #define CHROME_BROWSER_COCOA_BOOKMARK_BAR_FOLDER_WINDOW_H_ | 6 #define CHROME_BROWSER_COCOA_BOOKMARK_BAR_FOLDER_WINDOW_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 #import "base/cocoa_protocols_mac.h" |
| 10 #include "base/scoped_nsobject.h" |
| 11 |
| 9 | 12 |
| 10 // Window for a bookmark folder "menu". This menu pops up when you | 13 // Window for a bookmark folder "menu". This menu pops up when you |
| 11 // click on a bookmark button that represents a folder of bookmarks. | 14 // click on a bookmark button that represents a folder of bookmarks. |
| 12 // This window is borderless. | 15 // This window is borderless. |
| 13 @interface BookmarkBarFolderWindow : NSWindow | 16 @interface BookmarkBarFolderWindow : NSWindow |
| 14 @end | 17 @end |
| 15 | 18 |
| 16 // Content view for the above window. "Stock" other than the drawing | 19 // Content view for the above window. "Stock" other than the drawing |
| 17 // of rounded corners. Only used in the nib. | 20 // of rounded corners. Only used in the nib. |
| 18 @interface BookmarkBarFolderWindowContentView : NSView | 21 @interface BookmarkBarFolderWindowContentView : NSView { |
| 22 // Arrows to show ability to scroll up and down as needed. |
| 23 scoped_nsobject<NSImage> arrowUpImage_; |
| 24 scoped_nsobject<NSImage> arrowDownImage_; |
| 25 } |
| 19 @end | 26 @end |
| 20 | 27 |
| 21 // Scroll view that contains the main view (where the buttons go). | 28 // Scroll view that contains the main view (where the buttons go). |
| 22 @interface BookmarkBarFolderWindowScrollView : NSScrollView | 29 @interface BookmarkBarFolderWindowScrollView : NSScrollView |
| 23 @end | 30 @end |
| 24 | 31 |
| 25 | 32 |
| 26 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_FOLDER_WINDOW_H_ | 33 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_FOLDER_WINDOW_H_ |
| OLD | NEW |