| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_VIEW_H_ | 5 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BAR_VIEW_H_ |
| 6 #define CHROME_BROWSER_COCOA_BOOKMARK_BAR_VIEW_H_ | 6 #define CHROME_BROWSER_COCOA_BOOKMARK_BAR_VIEW_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 #import "chrome/browser/cocoa/background_gradient_view.h" | 9 #import "chrome/browser/cocoa/background_gradient_view.h" |
| 10 | 10 |
| 11 // A view that handles any special rendering of the bookmark bar. At | 11 // A view that handles any special rendering of the bookmark bar. At |
| 12 // this time it only draws a gradient like the toolbar. In the future | 12 // this time it only draws a gradient like the toolbar. In the future |
| 13 // I expect changes for new features (themes, extensions, etc). | 13 // I expect changes for new features (themes, extensions, etc). |
| 14 | 14 |
| 15 @interface BookmarkBarView : BackgroundGradientView { | 15 @interface BookmarkBarView : BackgroundGradientView { |
| 16 @private |
| 17 IBOutlet NSMenu* barContextualMenu_; |
| 16 } | 18 } |
| 17 @end | 19 @end |
| 18 | 20 |
| 21 @interface BookmarkBarView(TestingAPI) |
| 22 - (void)setContextMenu:(NSMenu*)menu; |
| 23 @end |
| 24 |
| 19 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_VIEW_H_ | 25 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_VIEW_H_ |
| OLD | NEW |