| Index: chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.h
|
| diff --git a/chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.h b/chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.h
|
| index e5f420a1b903eda5648a23c3503deb2fa5fcd42c..bbaf5906ae76bb4d07bf225cc6bdbf11866854c7 100644
|
| --- a/chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.h
|
| +++ b/chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.h
|
| @@ -5,23 +5,27 @@
|
| #ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_VIEW_COCOA_H_
|
| #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_VIEW_COCOA_H_
|
|
|
| -#include "base/mac/scoped_nsobject.h"
|
| -
|
| #import <Cocoa/Cocoa.h>
|
|
|
| -namespace content {
|
| -class WebContents;
|
| -}
|
| +#import "ui/base/cocoa/controls/hyperlink_text_view.h"
|
| +
|
| +@class SadTabView;
|
|
|
| -@class SadTabContainerView;
|
| +@protocol SadTabViewDelegate
|
| +- (void)sadTabViewButtonClicked:(SadTabView*)sadTabView;
|
| +- (void)sadTabView:(SadTabView*)sadTabView
|
| + helpLinkClickedWithURL:(NSString*)url;
|
| +@end
|
|
|
| // A view that displays the "sad tab" (aka crash page).
|
| -@interface SadTabView : NSView {
|
| - @private
|
| - base::scoped_nsobject<SadTabContainerView> container_;
|
| -}
|
| +@interface SadTabView : NSView
|
| +
|
| +@property(nonatomic, assign) id<SadTabViewDelegate> delegate;
|
|
|
| -@property(readonly,nonatomic) NSButton* reloadButton;
|
| +- (void)setTitle:(int)title;
|
| +- (void)setMessage:(int)message;
|
| +- (void)setButtonTitle:(int)buttonTitle;
|
| +- (void)setHelpLinkTitle:(int)helpLinkTitle URL:(NSString*)url;
|
|
|
| @end
|
|
|
|
|