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

Side by Side Diff: chrome/browser/chromeos/options/cellular_config_view.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/chromeos/options/cellular_config_view.h" 5 #include "chrome/browser/chromeos/options/cellular_config_view.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/chromeos/cros/cros_library.h" 9 #include "chrome/browser/chromeos/cros/cros_library.h"
9 #include "chrome/browser/chromeos/options/network_config_view.h" 10 #include "chrome/browser/chromeos/options/network_config_view.h"
10 #include "grit/generated_resources.h" 11 #include "grit/generated_resources.h"
11 #include "views/controls/label.h" 12 #include "views/controls/label.h"
12 #include "views/grid_layout.h" 13 #include "views/grid_layout.h"
13 #include "views/standard_layout.h" 14 #include "views/standard_layout.h"
14 15
15 namespace chromeos { 16 namespace chromeos {
16 17
17 CellularConfigView::CellularConfigView(NetworkConfigView* parent, 18 CellularConfigView::CellularConfigView(NetworkConfigView* parent,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Autoconnect checkbox 55 // Autoconnect checkbox
55 autoconnect_checkbox_ = new views::Checkbox( 56 autoconnect_checkbox_ = new views::Checkbox(
56 l10n_util::GetString(IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_AUTO_CONNECT)); 57 l10n_util::GetString(IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_AUTO_CONNECT));
57 autoconnect_checkbox_->SetChecked(cellular_.auto_connect()); 58 autoconnect_checkbox_->SetChecked(cellular_.auto_connect());
58 layout->StartRow(0, column_view_set_id); 59 layout->StartRow(0, column_view_set_id);
59 layout->AddView(autoconnect_checkbox_, 2, 1); 60 layout->AddView(autoconnect_checkbox_, 2, 1);
60 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 61 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
61 } 62 }
62 63
63 } // namespace chromeos 64 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698