| 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/string16.h" | 10 #include "base/string16.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 // Assorted resources for display. | 51 // Assorted resources for display. |
| 52 SkBitmap* sad_tab_bitmap_; | 52 SkBitmap* sad_tab_bitmap_; |
| 53 gfx::Font* title_font_; | 53 gfx::Font* title_font_; |
| 54 gfx::Font* message_font_; | 54 gfx::Font* message_font_; |
| 55 string16 title_; | 55 string16 title_; |
| 56 string16 message_; | 56 string16 message_; |
| 57 int title_width_; | 57 int title_width_; |
| 58 | 58 |
| 59 TabContents* tab_contents_; | 59 TabContents* tab_contents_; |
| 60 views::Link* learn_more_link_; | 60 views::Link* learn_more_link_; |
| 61 views::Link* feedback_link_; |
| 61 | 62 |
| 62 // Regions within the display for different components, populated by | 63 // Regions within the display for different components, populated by |
| 63 // Layout(). | 64 // Layout(). |
| 64 gfx::Rect icon_bounds_; | 65 gfx::Rect icon_bounds_; |
| 65 gfx::Rect title_bounds_; | 66 gfx::Rect title_bounds_; |
| 66 gfx::Rect message_bounds_; | 67 gfx::Rect message_bounds_; |
| 67 gfx::Rect link_bounds_; | 68 gfx::Rect learn_more_bounds_; |
| 69 gfx::Rect feedback_bounds_; |
| 68 | 70 |
| 69 Kind kind_; | 71 Kind kind_; |
| 70 bool painted_; | 72 bool painted_; |
| 71 | 73 |
| 72 DISALLOW_COPY_AND_ASSIGN(SadTabView); | 74 DISALLOW_COPY_AND_ASSIGN(SadTabView); |
| 73 }; | 75 }; |
| 74 | 76 |
| 75 #endif // CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H__ | 77 #endif // CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H__ |
| OLD | NEW |