Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package


// 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.


#include "base/scoped_nsobject.h"
#include "chrome/browser/cocoa/base_view.h"

#import <Cocoa/Cocoa.h>

@class HyperlinkButtonCell;

// A view that displays the "sad tab" (aka crash page).
@interface SadTabView : BaseView {
  IBOutlet NSImageView* image_;
  IBOutlet NSTextField* title_;
  IBOutlet NSTextField* message_;
  IBOutlet NSButton* linkButton_;
  IBOutlet HyperlinkButtonCell* linkCell_;

  scoped_nsobject<NSColor> backgroundColor_;
  NSSize messageSize_;

// Designated initializer is -initWithFrame: .

// Called by SadTabController to remove link button.
- (void)removeLinkButton;



Generated by  Doxygen 1.6.0   Back to index