| OLD | NEW |
| 1 // Copyright (c) 2006-2008 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" | 15 #include "app/gfx/canvas.h" |
| 16 #include "app/gfx/font.h" | 16 #include "app/gfx/font.h" |
| 17 #include "app/gfx/native_theme_win.h" |
| 17 #include "app/l10n_util.h" | 18 #include "app/l10n_util.h" |
| 18 #include "app/resource_bundle.h" | 19 #include "app/resource_bundle.h" |
| 19 #include "base/file_util.h" | 20 #include "base/file_util.h" |
| 20 #include "base/gfx/native_theme.h" | |
| 21 #include "base/string_util.h" | 21 #include "base/string_util.h" |
| 22 #include "chrome/browser/browser_process.h" | 22 #include "chrome/browser/browser_process.h" |
| 23 #include "chrome/browser/character_encoding.h" | 23 #include "chrome/browser/character_encoding.h" |
| 24 #include "chrome/browser/shell_dialogs.h" | 24 #include "chrome/browser/shell_dialogs.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 "grit/generated_resources.h" | 27 #include "grit/generated_resources.h" |
| 28 #include "grit/theme_resources.h" | 28 #include "grit/theme_resources.h" |
| 29 #include "grit/locale_settings.h" | 29 #include "grit/locale_settings.h" |
| 30 #include "third_party/skia/include/core/SkBitmap.h" | 30 #include "third_party/skia/include/core/SkBitmap.h" |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 column_set->AddPaddingColumn(0, kRelatedControlHorizontalSpacing); | 484 column_set->AddPaddingColumn(0, kRelatedControlHorizontalSpacing); |
| 485 column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1, | 485 column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1, |
| 486 GridLayout::USE_PREF, 0, 0); | 486 GridLayout::USE_PREF, 0, 0); |
| 487 | 487 |
| 488 // Add Encoding Combobox. | 488 // Add Encoding Combobox. |
| 489 layout->StartRow(0, double_column_view_set_id); | 489 layout->StartRow(0, double_column_view_set_id); |
| 490 layout->AddView(default_encoding_combobox_label_); | 490 layout->AddView(default_encoding_combobox_label_); |
| 491 layout->AddView(default_encoding_combobox_, 1, 1, GridLayout::FILL, | 491 layout->AddView(default_encoding_combobox_, 1, 1, GridLayout::FILL, |
| 492 GridLayout::CENTER); | 492 GridLayout::CENTER); |
| 493 } | 493 } |
| OLD | NEW |