OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_VIEW_H_ |
6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_VIEW_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_VIEW_H_ |
7 | 7 |
8 #include "base/mac/cocoa_protocols.h" | |
9 #include "base/memory/scoped_nsobject.h" | 8 #include "base/memory/scoped_nsobject.h" |
10 #include "ui/base/cocoa/base_view.h" | 9 #include "ui/base/cocoa/base_view.h" |
11 | 10 |
12 #import <Cocoa/Cocoa.h> | 11 #import <Cocoa/Cocoa.h> |
13 | 12 |
14 @class SadTabController; | 13 @class SadTabController; |
15 @class HyperlinkTextView; | 14 @class HyperlinkTextView; |
16 | 15 |
17 // A view that displays the "sad tab" (aka crash page). | 16 // A view that displays the "sad tab" (aka crash page). |
18 @interface SadTabView : BaseView<NSTextViewDelegate> { | 17 @interface SadTabView : BaseView<NSTextViewDelegate> { |
(...skipping 20 matching lines...) Expand all Loading... |
39 | 38 |
40 // Called by SadTabController to remove the help text and link. | 39 // Called by SadTabController to remove the help text and link. |
41 - (void)removeHelpText; | 40 - (void)removeHelpText; |
42 | 41 |
43 // Sets |help_| based on |helpPlaceholder_|, sets |helpPlaceholder_| to nil. | 42 // Sets |help_| based on |helpPlaceholder_|, sets |helpPlaceholder_| to nil. |
44 - (void)initializeHelpText; | 43 - (void)initializeHelpText; |
45 | 44 |
46 @end | 45 @end |
47 | 46 |
48 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_VIEW_H_ | 47 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_VIEW_H_ |
OLD | NEW |