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_VIEWS_SAD_TAB_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "views/controls/link_listener.h" | 11 #include "views/controls/link_listener.h" |
12 #include "views/view.h" | 12 #include "views/view.h" |
13 | 13 |
14 class TabContents; | 14 class TabContents; |
15 | 15 |
16 namespace gfx { | 16 namespace gfx { |
17 class Font; | 17 class Font; |
18 } | 18 } |
19 | 19 |
20 namespace views { | 20 namespace views { |
21 class ImageView; | |
22 class Label; | 21 class Label; |
23 } | 22 } |
24 | 23 |
25 /////////////////////////////////////////////////////////////////////////////// | 24 /////////////////////////////////////////////////////////////////////////////// |
26 // | 25 // |
27 // SadTabView | 26 // SadTabView |
28 // | 27 // |
29 // A views::View subclass used to render the presentation of the crashed | 28 // A views::View subclass used to render the presentation of the crashed |
30 // "sad tab" in the browser window when a renderer is destroyed unnaturally. | 29 // "sad tab" in the browser window when a renderer is destroyed unnaturally. |
31 // | 30 // |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 bool painted_; | 64 bool painted_; |
66 const gfx::Font& base_font_; | 65 const gfx::Font& base_font_; |
67 views::Label* message_; | 66 views::Label* message_; |
68 views::Link* help_link_; | 67 views::Link* help_link_; |
69 views::Link* feedback_link_; | 68 views::Link* feedback_link_; |
70 | 69 |
71 DISALLOW_COPY_AND_ASSIGN(SadTabView); | 70 DISALLOW_COPY_AND_ASSIGN(SadTabView); |
72 }; | 71 }; |
73 | 72 |
74 #endif // CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H__ | 73 #endif // CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H__ |
OLD | NEW |