| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/ui/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/profiles/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/ui/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" |
| 33 #include "grit/theme_resources.h" | 33 #include "grit/theme_resources.h" |
| 34 #include "third_party/skia/include/core/SkBitmap.h" | 34 #include "third_party/skia/include/core/SkBitmap.h" |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 } | 579 } |
| 580 | 580 |
| 581 if (enable_spellcheck_checkbox_clicked_) | 581 if (enable_spellcheck_checkbox_clicked_) |
| 582 enable_spellcheck_.SetValue(enable_spellchecking_checkbox_->checked()); | 582 enable_spellcheck_.SetValue(enable_spellchecking_checkbox_->checked()); |
| 583 | 583 |
| 584 if (enable_autospellcorrect_checkbox_clicked_) { | 584 if (enable_autospellcorrect_checkbox_clicked_) { |
| 585 enable_autospellcorrect_.SetValue( | 585 enable_autospellcorrect_.SetValue( |
| 586 enable_autospellcorrect_checkbox_->checked()); | 586 enable_autospellcorrect_checkbox_->checked()); |
| 587 } | 587 } |
| 588 } | 588 } |
| OLD | NEW |