OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/l10n_util.h" | 12 #include "app/l10n_util.h" |
13 #include "app/resource_bundle.h" | 13 #include "app/resource_bundle.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/file_util.h" | 15 #include "base/file_util.h" |
16 #include "base/string_util.h" | 16 #include "base/string_util.h" |
17 #include "base/utf_string_conversions.h" | 17 #include "base/utf_string_conversions.h" |
18 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
19 #include "chrome/browser/language_combobox_model.h" | 19 #include "chrome/browser/language_combobox_model.h" |
20 #include "chrome/browser/language_order_table_model.h" | 20 #include "chrome/browser/language_order_table_model.h" |
21 #include "chrome/browser/prefs/pref_service.h" | 21 #include "chrome/browser/prefs/pref_service.h" |
22 #include "chrome/browser/profile.h" | 22 #include "chrome/browser/profiles/profile.h" |
23 #include "chrome/browser/shell_dialogs.h" | 23 #include "chrome/browser/shell_dialogs.h" |
24 #include "chrome/browser/views/restart_message_box.h" | 24 #include "chrome/browser/views/restart_message_box.h" |
25 #include "chrome/common/chrome_switches.h" | 25 #include "chrome/common/chrome_switches.h" |
26 #include "chrome/common/pref_names.h" | 26 #include "chrome/common/pref_names.h" |
27 #include "chrome/common/spellcheck_common.h" | 27 #include "chrome/common/spellcheck_common.h" |
28 #include "gfx/canvas.h" | 28 #include "gfx/canvas.h" |
29 #include "gfx/font.h" | 29 #include "gfx/font.h" |
30 #include "gfx/native_theme_win.h" | 30 #include "gfx/native_theme_win.h" |
31 #include "grit/chromium_strings.h" | 31 #include "grit/chromium_strings.h" |
32 #include "grit/generated_resources.h" | 32 #include "grit/generated_resources.h" |
(...skipping 537 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 |