| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/file_util.h" | 11 #include "base/file_util.h" |
| 12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/gfx/native_theme.h" | 13 #include "base/gfx/native_theme.h" |
| 14 #include "base/gfx/skia_utils.h" | |
| 15 #include "base/string_util.h" | 14 #include "base/string_util.h" |
| 16 #include "chrome/app/theme/theme_resources.h" | 15 #include "chrome/app/theme/theme_resources.h" |
| 17 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
| 18 #include "chrome/browser/shell_dialogs.h" | 17 #include "chrome/browser/shell_dialogs.h" |
| 19 #include "chrome/browser/views/options/language_combobox_model.h" | 18 #include "chrome/browser/views/options/language_combobox_model.h" |
| 20 #include "chrome/browser/views/password_manager_view.h" | 19 #include "chrome/browser/views/password_manager_view.h" |
| 21 #include "chrome/browser/views/restart_message_box.h" | 20 #include "chrome/browser/views/restart_message_box.h" |
| 22 #include "chrome/browser/views/standard_layout.h" | 21 #include "chrome/browser/views/standard_layout.h" |
| 23 #include "chrome/common/gfx/chrome_canvas.h" | 22 #include "chrome/common/gfx/chrome_canvas.h" |
| 24 #include "chrome/common/gfx/chrome_font.h" | 23 #include "chrome/common/gfx/chrome_font.h" |
| (...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 GetLocaleFromIndex(ui_language_index_selected_)); | 800 GetLocaleFromIndex(ui_language_index_selected_)); |
| 802 } | 801 } |
| 803 | 802 |
| 804 if (spellcheck_language_index_selected_ != -1) { | 803 if (spellcheck_language_index_selected_ != -1) { |
| 805 UserMetricsRecordAction(L"Options_DictionaryLanguage", | 804 UserMetricsRecordAction(L"Options_DictionaryLanguage", |
| 806 profile()->GetPrefs()); | 805 profile()->GetPrefs()); |
| 807 dictionary_language_.SetValue(dictionary_language_model_-> | 806 dictionary_language_.SetValue(dictionary_language_model_-> |
| 808 GetLocaleFromIndex(spellcheck_language_index_selected_)); | 807 GetLocaleFromIndex(spellcheck_language_index_selected_)); |
| 809 } | 808 } |
| 810 } | 809 } |
| OLD | NEW |