diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-10 01:21:50 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-10 01:21:50 +0000 |
commit | 7befb7d892a42d3aded68c9d56ef7880f4d01eba (patch) | |
tree | f79200f9be9a5c1ad211363912c77544b32e2fc5 /chrome/browser/views/options/content_page_view.cc | |
parent | 968102015efeb333bd9b731f3f6b8c117d878eb1 (diff) | |
download | chromium_src-7befb7d892a42d3aded68c9d56ef7880f4d01eba.zip chromium_src-7befb7d892a42d3aded68c9d56ef7880f4d01eba.tar.gz chromium_src-7befb7d892a42d3aded68c9d56ef7880f4d01eba.tar.bz2 |
Remove descriptive text above import settings button. This also removes it for GTK, although GTK has not yet moved the Clear Data button to the third page of the options.
This also eliminates a number of not-referenced strings, and makes the options dialog shorter now that we have the space to do so.
BUG=35085
TEST=Open options dialog, look on second page, Import button should have no text above it.
Review URL: http://codereview.chromium.org/597013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38563 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/options/content_page_view.cc')
-rw-r--r-- | chrome/browser/views/options/content_page_view.cc | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/chrome/browser/views/options/content_page_view.cc b/chrome/browser/views/options/content_page_view.cc index 106f187..e28f6a3 100644 --- a/chrome/browser/views/options/content_page_view.cc +++ b/chrome/browser/views/options/content_page_view.cc @@ -58,7 +58,6 @@ ContentPageView::ContentPageView(Profile* profile) themes_group_(NULL), themes_reset_button_(NULL), themes_gallery_link_(NULL), - browsing_data_label_(NULL), browsing_data_group_(NULL), import_button_(NULL), sync_group_(NULL), @@ -239,8 +238,6 @@ void ContentPageView::Layout() { 0, 0, passwords_group_->GetContentsWidth(), 0); passwords_neversave_radio_->SetBounds( 0, 0, passwords_group_->GetContentsWidth(), 0); - browsing_data_label_->SetBounds( - 0, 0, browsing_data_group_->GetContentsWidth(), 0); if (is_initialized()) { sync_status_label_->SetBounds( 0, 0, sync_group_->GetContentsWidth(), 0); @@ -383,10 +380,6 @@ void ContentPageView::InitThemesGroup() { void ContentPageView::InitBrowsingDataGroup() { import_button_ = new views::NativeButton(this, l10n_util::GetString(IDS_OPTIONS_IMPORT_DATA_BUTTON)); - browsing_data_label_ = new views::Label( - l10n_util::GetString(IDS_OPTIONS_BROWSING_DATA_INFO)); - browsing_data_label_->SetHorizontalAlignment(views::Label::ALIGN_LEFT); - browsing_data_label_->SetMultiLine(true); using views::GridLayout; using views::ColumnSet; @@ -395,18 +388,12 @@ void ContentPageView::InitBrowsingDataGroup() { GridLayout* layout = new GridLayout(contents); contents->SetLayoutManager(layout); - // Add the browsing data label component. + // Add the browsing data import button. const int single_column_view_set_id = 0; ColumnSet* column_set = layout->AddColumnSet(single_column_view_set_id); column_set->AddColumn(GridLayout::LEADING, GridLayout::CENTER, 1, GridLayout::USE_PREF, 0, 0); layout->StartRow(0, single_column_view_set_id); - layout->AddView(browsing_data_label_); - - // Add some padding for not making the next component close together. - layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); - - layout->StartRow(0, single_column_view_set_id); layout->AddView(import_button_); browsing_data_group_ = new OptionsGroupView( |