Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: chrome/browser/views/options/languages_page_view.h

Issue 40145: [chromium-reviews] Fix the bug: Scrolling the Spell-checker drop-down box adds add the languages... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/views/options/languages_page_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/options/languages_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698