Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: chrome/browser/ui/cocoa/sad_tab_view.h

Issue 6358008: [Mac] Organize some files into chrome/browser/ui/cocoa/tab_contents/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_COCOA_SAD_TAB_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_SAD_TAB_VIEW_H_
7 #pragma once
8
9 #include "base/scoped_nsobject.h"
10 #include "chrome/browser/ui/cocoa/base_view.h"
11
12 #import <Cocoa/Cocoa.h>
13
14 @class HyperlinkButtonCell;
15
16 // A view that displays the "sad tab" (aka crash page).
17 @interface SadTabView : BaseView {
18 @private
19 IBOutlet NSImageView* image_;
20 IBOutlet NSTextField* title_;
21 IBOutlet NSTextField* message_;
22 IBOutlet NSButton* linkButton_;
23 IBOutlet HyperlinkButtonCell* linkCell_;
24
25 scoped_nsobject<NSColor> backgroundColor_;
26 NSSize messageSize_;
27 }
28
29 // Designated initializer is -initWithFrame: .
30
31 // Called by SadTabController to remove link button.
32 - (void)removeLinkButton;
33
34 @end
35
36 #endif // CHROME_BROWSER_UI_COCOA_SAD_TAB_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698