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 <windows.h> | 5 #include <windows.h> |
6 #include <shlobj.h> | 6 #include <shlobj.h> |
7 #include <vsstyle.h> | 7 #include <vsstyle.h> |
8 #include <vssym32.h> | 8 #include <vssym32.h> |
9 | 9 |
10 #include "chrome/browser/views/options/languages_page_view.h" | 10 #include "chrome/browser/views/options/languages_page_view.h" |
11 | 11 |
12 #include "app/gfx/canvas.h" | |
13 #include "app/gfx/font.h" | |
14 #include "app/l10n_util.h" | 12 #include "app/l10n_util.h" |
15 #include "app/resource_bundle.h" | 13 #include "app/resource_bundle.h" |
16 #include "base/command_line.h" | 14 #include "base/command_line.h" |
17 #include "base/file_util.h" | 15 #include "base/file_util.h" |
18 #include "base/string_util.h" | 16 #include "base/string_util.h" |
19 #include "base/string_util.h" | 17 #include "base/string_util.h" |
20 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
21 #include "chrome/browser/language_combobox_model.h" | 19 #include "chrome/browser/language_combobox_model.h" |
22 #include "chrome/browser/language_order_table_model.h" | 20 #include "chrome/browser/language_order_table_model.h" |
23 #include "chrome/browser/pref_service.h" | 21 #include "chrome/browser/pref_service.h" |
24 #include "chrome/browser/shell_dialogs.h" | 22 #include "chrome/browser/shell_dialogs.h" |
25 #include "chrome/browser/views/restart_message_box.h" | 23 #include "chrome/browser/views/restart_message_box.h" |
26 #include "chrome/common/chrome_switches.h" | 24 #include "chrome/common/chrome_switches.h" |
27 #include "chrome/common/pref_names.h" | 25 #include "chrome/common/pref_names.h" |
28 #include "chrome/common/spellcheck_common.h" | 26 #include "chrome/common/spellcheck_common.h" |
| 27 #include "gfx/canvas.h" |
| 28 #include "gfx/font.h" |
29 #include "gfx/native_theme_win.h" | 29 #include "gfx/native_theme_win.h" |
30 #include "grit/chromium_strings.h" | 30 #include "grit/chromium_strings.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 "third_party/skia/include/core/SkBitmap.h" | 33 #include "third_party/skia/include/core/SkBitmap.h" |
34 #include "unicode/uloc.h" | 34 #include "unicode/uloc.h" |
35 #include "views/controls/button/radio_button.h" | 35 #include "views/controls/button/radio_button.h" |
36 #include "views/controls/tabbed_pane/tabbed_pane.h" | 36 #include "views/controls/tabbed_pane/tabbed_pane.h" |
37 #include "views/controls/table/table_view.h" | 37 #include "views/controls/table/table_view.h" |
38 #include "views/grid_layout.h" | 38 #include "views/grid_layout.h" |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 } | 570 } |
571 | 571 |
572 if (enable_spellcheck_checkbox_clicked_) | 572 if (enable_spellcheck_checkbox_clicked_) |
573 enable_spellcheck_.SetValue(enable_spellchecking_checkbox_->checked()); | 573 enable_spellcheck_.SetValue(enable_spellchecking_checkbox_->checked()); |
574 | 574 |
575 if (enable_autospellcorrect_checkbox_clicked_) { | 575 if (enable_autospellcorrect_checkbox_clicked_) { |
576 enable_autospellcorrect_.SetValue( | 576 enable_autospellcorrect_.SetValue( |
577 enable_autospellcorrect_checkbox_->checked()); | 577 enable_autospellcorrect_checkbox_->checked()); |
578 } | 578 } |
579 } | 579 } |
OLD | NEW |