| 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 | 4 |
| 5 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_LANGUAGES_PAGE_VIEW_H__ | 5 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_LANGUAGES_PAGE_VIEW_H__ |
| 6 #define CHROME_BROWSER_VIEWS_OPTIONS_LANGUAGES_PAGE_VIEW_H__ | 6 #define CHROME_BROWSER_VIEWS_OPTIONS_LANGUAGES_PAGE_VIEW_H__ |
| 7 | 7 |
| 8 #include "chrome/browser/views/options/options_page_view.h" | 8 #include "chrome/browser/views/options/options_page_view.h" |
| 9 #include "chrome/common/pref_member.h" | 9 #include "chrome/common/pref_member.h" |
| 10 #include "chrome/views/combo_box.h" | 10 #include "chrome/views/combo_box.h" |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 // The contents of the "dictionary language" combobox. | 93 // The contents of the "dictionary language" combobox. |
| 94 scoped_ptr<LanguageComboboxModel> dictionary_language_model_; | 94 scoped_ptr<LanguageComboboxModel> dictionary_language_model_; |
| 95 StringPrefMember dictionary_language_; | 95 StringPrefMember dictionary_language_; |
| 96 | 96 |
| 97 // SpellChecker enable pref. | 97 // SpellChecker enable pref. |
| 98 BooleanPrefMember enable_spellcheck_; | 98 BooleanPrefMember enable_spellcheck_; |
| 99 | 99 |
| 100 // This is assigned the new index of spellcheck language if the language | 100 // This is assigned the new index of spellcheck language if the language |
| 101 // is changed. Otherwise, it remains -1, and pref members are not updated. | 101 // is changed. Otherwise, it remains -1, and pref members are not updated. |
| 102 int spellcheck_language_index_selected_; | 102 int spellcheck_language_index_selected_; |
| 103 std::wstring spellcheck_language_added_; |
| 103 | 104 |
| 104 bool language_table_edited_; | 105 bool language_table_edited_; |
| 105 bool language_warning_shown_; | 106 bool language_warning_shown_; |
| 106 | 107 |
| 107 DISALLOW_EVIL_CONSTRUCTORS(LanguagesPageView); | 108 DISALLOW_EVIL_CONSTRUCTORS(LanguagesPageView); |
| 108 }; | 109 }; |
| 109 | 110 |
| 110 #endif // CHROME_BROWSER_VIEWS_OPTIONS_LANGUAGES_PAGE_VIEW_H__ | 111 #endif // CHROME_BROWSER_VIEWS_OPTIONS_LANGUAGES_PAGE_VIEW_H__ |
| 111 | 112 |
| OLD | NEW |