| 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_HUNG_RENDERER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
| 10 #include "components/favicon/content/content_favicon_driver.h" | 10 #include "components/favicon/content/content_favicon_driver.h" |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 views::Label* info_label_; | 154 views::Label* info_label_; |
| 155 | 155 |
| 156 // Controls within the dialog box. | 156 // Controls within the dialog box. |
| 157 views::TableView* hung_pages_table_; | 157 views::TableView* hung_pages_table_; |
| 158 | 158 |
| 159 // The extra button inserted into the ClientView to kill the errant process. | 159 // The extra button inserted into the ClientView to kill the errant process. |
| 160 views::LabelButton* kill_button_; | 160 views::LabelButton* kill_button_; |
| 161 | 161 |
| 162 // The model that provides the contents of the table that shows a list of | 162 // The model that provides the contents of the table that shows a list of |
| 163 // pages affected by the hang. | 163 // pages affected by the hang. |
| 164 scoped_ptr<HungPagesTableModel> hung_pages_table_model_; | 164 std::unique_ptr<HungPagesTableModel> hung_pages_table_model_; |
| 165 | 165 |
| 166 // Whether or not we've created controls for ourself. | 166 // Whether or not we've created controls for ourself. |
| 167 bool initialized_; | 167 bool initialized_; |
| 168 | 168 |
| 169 bool kill_button_clicked_; | 169 bool kill_button_clicked_; |
| 170 | 170 |
| 171 DISALLOW_COPY_AND_ASSIGN(HungRendererDialogView); | 171 DISALLOW_COPY_AND_ASSIGN(HungRendererDialogView); |
| 172 }; | 172 }; |
| 173 | 173 |
| 174 #endif // CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_ | 174 #endif // CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_ |
| OLD | NEW |