| 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/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/combobox_model.h" | 14 #include "app/combobox_model.h" |
| 15 #include "app/gfx/canvas.h" | |
| 16 #include "app/gfx/font.h" | |
| 17 #include "app/l10n_util.h" | 15 #include "app/l10n_util.h" |
| 18 #include "app/l10n_util_collator.h" | 16 #include "app/l10n_util_collator.h" |
| 19 #include "app/resource_bundle.h" | 17 #include "app/resource_bundle.h" |
| 20 #include "base/file_util.h" | 18 #include "base/file_util.h" |
| 21 #include "base/string_util.h" | 19 #include "base/string_util.h" |
| 22 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
| 23 #include "chrome/browser/character_encoding.h" | 21 #include "chrome/browser/character_encoding.h" |
| 24 #include "chrome/browser/pref_service.h" | 22 #include "chrome/browser/pref_service.h" |
| 25 #include "chrome/browser/profile.h" | 23 #include "chrome/browser/profile.h" |
| 26 #include "chrome/browser/shell_dialogs.h" | 24 #include "chrome/browser/shell_dialogs.h" |
| 27 #include "chrome/common/pref_names.h" | 25 #include "chrome/common/pref_names.h" |
| 26 #include "gfx/canvas.h" |
| 27 #include "gfx/font.h" |
| 28 #include "gfx/native_theme_win.h" | 28 #include "gfx/native_theme_win.h" |
| 29 #include "grit/generated_resources.h" | 29 #include "grit/generated_resources.h" |
| 30 #include "grit/theme_resources.h" | 30 #include "grit/theme_resources.h" |
| 31 #include "grit/locale_settings.h" | 31 #include "grit/locale_settings.h" |
| 32 #include "third_party/skia/include/core/SkBitmap.h" | 32 #include "third_party/skia/include/core/SkBitmap.h" |
| 33 #include "views/controls/button/native_button.h" | 33 #include "views/controls/button/native_button.h" |
| 34 #include "views/grid_layout.h" | 34 #include "views/grid_layout.h" |
| 35 #include "views/standard_layout.h" | 35 #include "views/standard_layout.h" |
| 36 #include "views/widget/widget.h" | 36 #include "views/widget/widget.h" |
| 37 | 37 |
| (...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 column_set->AddPaddingColumn(0, kRelatedControlHorizontalSpacing); | 486 column_set->AddPaddingColumn(0, kRelatedControlHorizontalSpacing); |
| 487 column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1, | 487 column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1, |
| 488 GridLayout::USE_PREF, 0, 0); | 488 GridLayout::USE_PREF, 0, 0); |
| 489 | 489 |
| 490 // Add Encoding Combobox. | 490 // Add Encoding Combobox. |
| 491 layout->StartRow(0, double_column_view_set_id); | 491 layout->StartRow(0, double_column_view_set_id); |
| 492 layout->AddView(default_encoding_combobox_label_); | 492 layout->AddView(default_encoding_combobox_label_); |
| 493 layout->AddView(default_encoding_combobox_, 1, 1, GridLayout::FILL, | 493 layout->AddView(default_encoding_combobox_, 1, 1, GridLayout::FILL, |
| 494 GridLayout::CENTER); | 494 GridLayout::CENTER); |
| 495 } | 495 } |
| OLD | NEW |