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/string_util.h" | 14 #include "base/string_util.h" |
15 #include "chrome/app/theme/theme_resources.h" | 15 #include "grit/theme_resources.h" |
16 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
17 #include "chrome/browser/shell_dialogs.h" | 17 #include "chrome/browser/shell_dialogs.h" |
18 #include "chrome/browser/spellchecker.h" | 18 #include "chrome/browser/spellchecker.h" |
19 #include "chrome/browser/views/options/language_combobox_model.h" | 19 #include "chrome/browser/views/options/language_combobox_model.h" |
20 #include "chrome/browser/views/password_manager_view.h" | 20 #include "chrome/browser/views/password_manager_view.h" |
21 #include "chrome/browser/views/restart_message_box.h" | 21 #include "chrome/browser/views/restart_message_box.h" |
22 #include "chrome/browser/views/standard_layout.h" | 22 #include "chrome/browser/views/standard_layout.h" |
23 #include "chrome/common/gfx/chrome_canvas.h" | 23 #include "chrome/common/gfx/chrome_canvas.h" |
24 #include "chrome/common/gfx/chrome_font.h" | 24 #include "chrome/common/gfx/chrome_font.h" |
25 #include "chrome/common/l10n_util.h" | 25 #include "chrome/common/l10n_util.h" |
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 GetLocaleFromIndex(ui_language_index_selected_)); | 794 GetLocaleFromIndex(ui_language_index_selected_)); |
795 } | 795 } |
796 | 796 |
797 if (spellcheck_language_index_selected_ != -1) { | 797 if (spellcheck_language_index_selected_ != -1) { |
798 UserMetricsRecordAction(L"Options_DictionaryLanguage", | 798 UserMetricsRecordAction(L"Options_DictionaryLanguage", |
799 profile()->GetPrefs()); | 799 profile()->GetPrefs()); |
800 dictionary_language_.SetValue(dictionary_language_model_-> | 800 dictionary_language_.SetValue(dictionary_language_model_-> |
801 GetLocaleFromIndex(spellcheck_language_index_selected_)); | 801 GetLocaleFromIndex(spellcheck_language_index_selected_)); |
802 } | 802 } |
803 } | 803 } |
OLD | NEW |