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

Side by Side Diff: chrome/browser/ui/views/uninstall_view.cc

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
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 #include "chrome/browser/ui/views/uninstall_view.h" 5 #include "chrome/browser/ui/views/uninstall_view.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/process_util.h" 8 #include "base/process_util.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/shell_integration.h" 11 #include "chrome/browser/shell_integration.h"
12 #include "chrome/common/result_codes.h"
13 #include "chrome/installer/util/browser_distribution.h" 12 #include "chrome/installer/util/browser_distribution.h"
14 #include "chrome/installer/util/shell_util.h" 13 #include "chrome/installer/util/shell_util.h"
14 #include "content/common/result_codes.h"
15 #include "grit/chromium_strings.h" 15 #include "grit/chromium_strings.h"
16 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
17 #include "views/controls/button/checkbox.h" 17 #include "views/controls/button/checkbox.h"
18 #include "views/controls/label.h" 18 #include "views/controls/label.h"
19 #include "views/layout/grid_layout.h" 19 #include "views/layout/grid_layout.h"
20 #include "views/layout/layout_constants.h" 20 #include "views/layout/layout_constants.h"
21 21
22 UninstallView::UninstallView(int& user_selection) 22 UninstallView::UninstallView(int& user_selection)
23 : confirm_label_(NULL), 23 : confirm_label_(NULL),
24 delete_profile_(NULL), 24 delete_profile_(NULL),
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 DCHECK(!browsers_->empty()); 145 DCHECK(!browsers_->empty());
146 return browsers_->size(); 146 return browsers_->size();
147 } 147 }
148 148
149 string16 UninstallView::GetItemAt(int index) { 149 string16 UninstallView::GetItemAt(int index) {
150 DCHECK(index < (int) browsers_->size()); 150 DCHECK(index < (int) browsers_->size());
151 BrowsersMap::const_iterator it = browsers_->begin(); 151 BrowsersMap::const_iterator it = browsers_->begin();
152 std::advance(it, index); 152 std::advance(it, index);
153 return WideToUTF16Hack((*it).first); 153 return WideToUTF16Hack((*it).first);
154 } 154 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698