Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: chrome/browser/ui/views/hung_renderer_view.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/global_error_bubble_view.h ('k') | chrome/browser/ui/views/ime/ime_window_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698