| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/views/options/fonts_page_view.h" | 5 #include "chrome/browser/views/options/fonts_page_view.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 #include <shlobj.h> | 8 #include <shlobj.h> |
| 9 #include <vsstyle.h> | 9 #include <vsstyle.h> |
| 10 #include <vssym32.h> | 10 #include <vssym32.h> |
| 11 | 11 |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "app/l10n_util.h" |
| 14 #include "app/resource_bundle.h" | 15 #include "app/resource_bundle.h" |
| 15 #include "base/file_util.h" | 16 #include "base/file_util.h" |
| 16 #include "base/gfx/native_theme.h" | 17 #include "base/gfx/native_theme.h" |
| 17 #include "base/string_util.h" | 18 #include "base/string_util.h" |
| 18 #include "chrome/browser/browser_process.h" | 19 #include "chrome/browser/browser_process.h" |
| 19 #include "chrome/browser/character_encoding.h" | 20 #include "chrome/browser/character_encoding.h" |
| 20 #include "chrome/browser/shell_dialogs.h" | 21 #include "chrome/browser/shell_dialogs.h" |
| 21 #include "chrome/browser/views/standard_layout.h" | 22 #include "chrome/browser/views/standard_layout.h" |
| 22 #include "chrome/common/gfx/chrome_canvas.h" | 23 #include "chrome/common/gfx/chrome_canvas.h" |
| 23 #include "chrome/common/gfx/chrome_font.h" | 24 #include "chrome/common/gfx/chrome_font.h" |
| 24 #include "chrome/common/l10n_util.h" | |
| 25 #include "chrome/common/pref_names.h" | 25 #include "chrome/common/pref_names.h" |
| 26 #include "chrome/common/pref_service.h" | 26 #include "chrome/common/pref_service.h" |
| 27 #include "chrome/views/controls/button/native_button.h" | 27 #include "chrome/views/controls/button/native_button.h" |
| 28 #include "chrome/views/controls/text_field.h" | 28 #include "chrome/views/controls/text_field.h" |
| 29 #include "chrome/views/grid_layout.h" | 29 #include "chrome/views/grid_layout.h" |
| 30 #include "chrome/views/widget/widget.h" | 30 #include "chrome/views/widget/widget.h" |
| 31 #include "grit/generated_resources.h" | 31 #include "grit/generated_resources.h" |
| 32 #include "grit/theme_resources.h" | 32 #include "grit/theme_resources.h" |
| 33 #include "grit/locale_settings.h" | 33 #include "grit/locale_settings.h" |
| 34 #include "skia/include/SkBitmap.h" | 34 #include "skia/include/SkBitmap.h" |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 column_set->AddPaddingColumn(0, kRelatedControlHorizontalSpacing); | 508 column_set->AddPaddingColumn(0, kRelatedControlHorizontalSpacing); |
| 509 column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1, | 509 column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1, |
| 510 GridLayout::USE_PREF, 0, 0); | 510 GridLayout::USE_PREF, 0, 0); |
| 511 | 511 |
| 512 // Add Encoding ComboBox. | 512 // Add Encoding ComboBox. |
| 513 layout->StartRow(0, double_column_view_set_id); | 513 layout->StartRow(0, double_column_view_set_id); |
| 514 layout->AddView(default_encoding_combobox_label_); | 514 layout->AddView(default_encoding_combobox_label_); |
| 515 layout->AddView(default_encoding_combobox_, 1, 1, GridLayout::FILL, | 515 layout->AddView(default_encoding_combobox_, 1, 1, GridLayout::FILL, |
| 516 GridLayout::CENTER); | 516 GridLayout::CENTER); |
| 517 } | 517 } |
| OLD | NEW |