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 #include <windows.h> | 4 #include <windows.h> |
5 #include <shlobj.h> | 5 #include <shlobj.h> |
6 #include <vsstyle.h> | 6 #include <vsstyle.h> |
7 #include <vssym32.h> | 7 #include <vssym32.h> |
8 | 8 |
9 #include "chrome/browser/views/options/languages_page_view.h" | 9 #include "chrome/browser/views/options/languages_page_view.h" |
10 | 10 |
11 #include "app/gfx/canvas.h" | 11 #include "app/gfx/canvas.h" |
12 #include "app/gfx/font.h" | 12 #include "app/gfx/font.h" |
| 13 #include "app/gfx/native_theme_win.h" |
13 #include "app/l10n_util.h" | 14 #include "app/l10n_util.h" |
14 #include "app/resource_bundle.h" | 15 #include "app/resource_bundle.h" |
15 #include "base/command_line.h" | 16 #include "base/command_line.h" |
16 #include "base/file_util.h" | 17 #include "base/file_util.h" |
17 #include "base/string_util.h" | 18 #include "base/string_util.h" |
18 #include "base/gfx/native_theme.h" | |
19 #include "base/string_util.h" | 19 #include "base/string_util.h" |
20 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
21 #include "chrome/browser/language_combobox_model.h" | 21 #include "chrome/browser/language_combobox_model.h" |
22 #include "chrome/browser/language_order_table_model.h" | 22 #include "chrome/browser/language_order_table_model.h" |
23 #include "chrome/browser/shell_dialogs.h" | 23 #include "chrome/browser/shell_dialogs.h" |
24 #include "chrome/browser/spellchecker.h" | 24 #include "chrome/browser/spellchecker.h" |
25 #include "chrome/browser/views/restart_message_box.h" | 25 #include "chrome/browser/views/restart_message_box.h" |
26 #include "chrome/common/chrome_switches.h" | 26 #include "chrome/common/chrome_switches.h" |
27 #include "chrome/common/pref_names.h" | 27 #include "chrome/common/pref_names.h" |
28 #include "chrome/common/pref_service.h" | 28 #include "chrome/common/pref_service.h" |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 } | 569 } |
570 | 570 |
571 if (enable_spellcheck_checkbox_clicked_) | 571 if (enable_spellcheck_checkbox_clicked_) |
572 enable_spellcheck_.SetValue(enable_spellchecking_checkbox_->checked()); | 572 enable_spellcheck_.SetValue(enable_spellchecking_checkbox_->checked()); |
573 | 573 |
574 if (enable_autospellcorrect_checkbox_clicked_) { | 574 if (enable_autospellcorrect_checkbox_clicked_) { |
575 enable_autospellcorrect_.SetValue( | 575 enable_autospellcorrect_.SetValue( |
576 enable_autospellcorrect_checkbox_->checked()); | 576 enable_autospellcorrect_checkbox_->checked()); |
577 } | 577 } |
578 } | 578 } |
OLD | NEW |