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

Unified Diff: chrome/browser/chromeos/options/wimax_config_view.cc

Issue 15682004: Remove the network config dialog extra border. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also fix the network config view titles. Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/options/wimax_config_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/options/wimax_config_view.cc
diff --git a/chrome/browser/chromeos/options/wimax_config_view.cc b/chrome/browser/chromeos/options/wimax_config_view.cc
index 524c6fbf21e7eea0084642b19b28870beebf281c..3a78e50b217f227888c34f2ea1ec7198898acda5 100644
--- a/chrome/browser/chromeos/options/wimax_config_view.cc
+++ b/chrome/browser/chromeos/options/wimax_config_view.cc
@@ -49,6 +49,10 @@ WimaxConfigView::WimaxConfigView(NetworkConfigView* parent, WimaxNetwork* wimax)
WimaxConfigView::~WimaxConfigView() {
}
+string16 WimaxConfigView::GetTitle() const {
+ return l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_JOIN_WIMAX_NETWORKS);
+}
+
views::View* WimaxConfigView::GetInitiallyFocusedView() {
if (identity_textfield_ && identity_textfield_->enabled())
return identity_textfield_;
@@ -208,16 +212,7 @@ void WimaxConfigView::Init(WimaxNetwork* wimax) {
column_set->AddColumn(views::GridLayout::CENTER, views::GridLayout::FILL, 1,
views::GridLayout::USE_PREF, 0, kPasswordVisibleWidth);
- // Title
- layout->StartRow(0, column_view_set_id);
- views::Label* title = new views::Label(l10n_util::GetStringUTF16(
- IDS_OPTIONS_SETTINGS_JOIN_WIMAX_NETWORKS));
- ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
- title->SetFont(rb.GetFont(ui::ResourceBundle::MediumFont));
- layout->AddView(title, 5, 1);
- layout->AddPaddingRow(0, views::kUnrelatedControlVerticalSpacing);
-
- // Netowrk name
+ // Network name
layout->StartRow(0, column_view_set_id);
layout->AddView(new views::Label(l10n_util::GetStringUTF16(
IDS_OPTIONS_SETTINGS_INTERNET_TAB_NETWORK)));
« no previous file with comments | « chrome/browser/chromeos/options/wimax_config_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698