| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |