// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_COCOA_SAD_TAB_VIEW_H_ #define CHROME_BROWSER_COCOA_SAD_TAB_VIEW_H_ #include "base/scoped_nsobject.h" #include "chrome/browser/cocoa/base_view.h" #import @class HyperlinkButtonCell; // A view that displays the "sad tab" (aka crash page). @interface SadTabView : BaseView { @private IBOutlet NSImageView* image_; IBOutlet NSTextField* title_; IBOutlet NSTextField* message_; IBOutlet NSButton* linkButton_; IBOutlet HyperlinkButtonCell* linkCell_; scoped_nsobject backgroundColor_; NSSize messageSize_; } // Designated initializer is -initWithFrame: . // Called by SadTabController to remove link button. - (void)removeLinkButton; @end #endif // CHROME_BROWSER_COCOA_SAD_TAB_VIEW_H_