| Index: chrome/browser/ui/panels/panel_titlebar_view_cocoa.h
|
| diff --git a/chrome/browser/ui/panels/panel_titlebar_view_cocoa.h b/chrome/browser/ui/panels/panel_titlebar_view_cocoa.h
|
| index a074475fa5471a1b2466b2b5682d85bf635109c9..b3722d4e580ee1d5ac97e7931a1059a1fa326400 100644
|
| --- a/chrome/browser/ui/panels/panel_titlebar_view_cocoa.h
|
| +++ b/chrome/browser/ui/panels/panel_titlebar_view_cocoa.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #import <Cocoa/Cocoa.h>
|
|
|
| +#import "chrome/browser/ui/cocoa/background_gradient_view.h"
|
| #import "chrome/browser/ui/cocoa/tracking_area.h"
|
|
|
| @class CrTrackingArea;
|
| @@ -22,7 +23,7 @@
|
| // differently based on being key window) so it appears easier to simply overlay
|
| // the standard titlebar.
|
|
|
| -@interface PanelTitlebarViewCocoa : NSView {
|
| +@interface PanelTitlebarViewCocoa : BackgroundGradientView {
|
| IBOutlet PanelWindowControllerCocoa* controller_;
|
| NSButton* closeButton_; // Created explicitly, not from NIB. Weak, destroyed
|
| // when view is destroyed, as a subview.
|
| @@ -35,6 +36,8 @@
|
| // Attaches this view to the controller_'s window as a titlebar.
|
| - (void)attach;
|
|
|
| +- (void)setTitle:(NSString*)newTitle;
|
| +
|
| // Should be called when size of the titlebar changes.
|
| - (void)updateCloseButtonLayout;
|
|
|
|
|