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

Side by Side Diff: chrome/browser/chromeos/settings_contents_view.cc

Issue 399094: Remove Network section from options pages for now. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/settings_contents_view.h" 5 #include "chrome/browser/chromeos/settings_contents_view.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 SetLayoutManager(layout); 590 SetLayoutManager(layout);
591 591
592 int single_column_view_set_id = 0; 592 int single_column_view_set_id = 0;
593 ColumnSet* column_set = layout->AddColumnSet(single_column_view_set_id); 593 ColumnSet* column_set = layout->AddColumnSet(single_column_view_set_id);
594 column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1, 594 column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1,
595 GridLayout::USE_PREF, 0, 0); 595 GridLayout::USE_PREF, 0, 0);
596 596
597 layout->StartRow(0, single_column_view_set_id); 597 layout->StartRow(0, single_column_view_set_id);
598 layout->AddView(new DateTimeSection(profile())); 598 layout->AddView(new DateTimeSection(profile()));
599 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 599 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
600 layout->StartRow(0, single_column_view_set_id); 600 // TODO(chocobo): Add NetworkSection back once we have the UI finalized.
601 layout->AddView(new NetworkSection(profile())); 601 // layout->StartRow(0, single_column_view_set_id);
602 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 602 // layout->AddView(new NetworkSection(profile()));
603 // layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
603 layout->StartRow(0, single_column_view_set_id); 604 layout->StartRow(0, single_column_view_set_id);
604 layout->AddView(new TouchpadSection(profile())); 605 layout->AddView(new TouchpadSection(profile()));
605 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 606 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
606 } 607 }
607 608
608 } // namespace chromeos 609 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698