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/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
9 #include "components/favicon/content/content_favicon_driver.h" | 10 #include "components/favicon/content/content_favicon_driver.h" |
10 #include "content/public/browser/web_contents_observer.h" | 11 #include "content/public/browser/web_contents_observer.h" |
11 #include "ui/base/models/table_model.h" | 12 #include "ui/base/models/table_model.h" |
12 #include "ui/views/controls/button/button.h" | 13 #include "ui/views/controls/button/button.h" |
13 #include "ui/views/controls/table/table_grouper.h" | 14 #include "ui/views/controls/table/table_grouper.h" |
14 #include "ui/views/controls/table/table_view.h" | 15 #include "ui/views/controls/table/table_view.h" |
15 #include "ui/views/window/dialog_delegate.h" | 16 #include "ui/views/window/dialog_delegate.h" |
16 | 17 |
17 namespace content { | 18 namespace content { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 // pages affected by the hang. | 167 // pages affected by the hang. |
167 scoped_ptr<HungPagesTableModel> hung_pages_table_model_; | 168 scoped_ptr<HungPagesTableModel> hung_pages_table_model_; |
168 | 169 |
169 // Whether or not we've created controls for ourself. | 170 // Whether or not we've created controls for ourself. |
170 bool initialized_; | 171 bool initialized_; |
171 | 172 |
172 DISALLOW_COPY_AND_ASSIGN(HungRendererDialogView); | 173 DISALLOW_COPY_AND_ASSIGN(HungRendererDialogView); |
173 }; | 174 }; |
174 | 175 |
175 #endif // CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_ | 176 #endif // CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_ |
OLD | NEW |