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

Side by Side Diff: chrome/browser/ui/views/options/options_group_view.cc

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <vsstyle.h> 5 #include <vsstyle.h>
6 #include <vssym32.h> 6 #include <vssym32.h>
7 7
8 #include "chrome/browser/ui/views/options/options_group_view.h" 8 #include "chrome/browser/ui/views/options/options_group_view.h"
9 9
10 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
11 #include "app/resource_bundle.h"
12 #include "base/string_number_conversions.h" 11 #include "base/string_number_conversions.h"
13 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
14 #include "gfx/canvas.h" 13 #include "gfx/canvas.h"
15 #include "gfx/font.h" 14 #include "gfx/font.h"
16 #include "gfx/native_theme_win.h" 15 #include "gfx/native_theme_win.h"
17 #include "grit/locale_settings.h" 16 #include "grit/locale_settings.h"
18 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
18 #include "ui/base/resource/resource_bundle.h"
19 #include "views/grid_layout.h" 19 #include "views/grid_layout.h"
20 #include "views/controls/label.h" 20 #include "views/controls/label.h"
21 #include "views/controls/separator.h" 21 #include "views/controls/separator.h"
22 #include "views/standard_layout.h" 22 #include "views/standard_layout.h"
23 23
24 static const int kLeftColumnWidthChars = 20; 24 static const int kLeftColumnWidthChars = 20;
25 static const int kOptionsGroupViewColumnSpacing = 30; 25 static const int kOptionsGroupViewColumnSpacing = 30;
26 26
27 /////////////////////////////////////////////////////////////////////////////// 27 ///////////////////////////////////////////////////////////////////////////////
28 // OptionsGroupView, public: 28 // OptionsGroupView, public:
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 const int single_column_layout_id = 1; 135 const int single_column_layout_id = 1;
136 column_set = layout->AddColumnSet(single_column_layout_id); 136 column_set = layout->AddColumnSet(single_column_layout_id);
137 column_set->AddColumn(GridLayout::FILL, GridLayout::CENTER, 1, 137 column_set->AddColumn(GridLayout::FILL, GridLayout::CENTER, 1,
138 GridLayout::USE_PREF, 0, 0); 138 GridLayout::USE_PREF, 0, 0);
139 139
140 separator_ = new views::Separator; 140 separator_ = new views::Separator;
141 layout->StartRow(0, single_column_layout_id); 141 layout->StartRow(0, single_column_layout_id);
142 layout->AddView(separator_); 142 layout->AddView(separator_);
143 } 143 }
144 } 144 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/options/managed_prefs_banner_view.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698