| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include "chrome/browser/ui/sad_tab.h" | 8 #include "chrome/browser/ui/sad_tab.h" |
| 9 #include "ui/views/controls/button/button.h" | 9 #include "ui/views/controls/button/button.h" |
| 10 #include "ui/views/controls/link_listener.h" | 10 #include "ui/views/controls/link_listener.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 // Overridden from views::ButtonListener: | 46 // Overridden from views::ButtonListener: |
| 47 void ButtonPressed(views::Button* source, const ui::Event& event) override; | 47 void ButtonPressed(views::Button* source, const ui::Event& event) override; |
| 48 | 48 |
| 49 protected: | 49 protected: |
| 50 // Overridden from views::View: | 50 // Overridden from views::View: |
| 51 void OnPaint(gfx::Canvas* canvas) override; | 51 void OnPaint(gfx::Canvas* canvas) override; |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 bool painted_ = false; | 54 bool painted_ = false; |
| 55 views::Label* message_; | 55 views::Label* message_; |
| 56 std::vector<views::Label*> bullet_labels_; |
| 56 views::Link* help_link_; | 57 views::Link* help_link_; |
| 57 views::LabelButton* action_button_; | 58 views::LabelButton* action_button_; |
| 58 views::Label* title_; | 59 views::Label* title_; |
| 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(SadTabView); |
| 59 }; | 62 }; |
| 60 | 63 |
| 61 #endif // CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H__ | 64 #endif // CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H__ |
| OLD | NEW |