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

Side by Side Diff: chrome/browser/spellchecker_common.h

Issue 150139: [chromium-reviews] Change the use of "Language" in Spell Check files to "SpellCheckLanguage". "L... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_SPELLCHECKER_COMMON_H_ 5 #ifndef CHROME_BROWSER_SPELLCHECKER_COMMON_H_
6 #define CHROME_BROWSER_SPELLCHECKER_COMMON_H_ 6 #define CHROME_BROWSER_SPELLCHECKER_COMMON_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 // Some constants and typedefs that are common to all spellchecker 11 // Some constants and typedefs that are common to all spellchecker
12 // files/classes/backends/platforms/whatever. 12 // files/classes/backends/platforms/whatever.
13 13
14 typedef std::string Language;
15 typedef std::vector<Language> Languages;
16
17 static const int kMaxSuggestions = 5; // Max number of dictionary suggestions. 14 static const int kMaxSuggestions = 5; // Max number of dictionary suggestions.
18 15
19 static const int kMaxAutoCorrectWordSize = 8; 16 static const int kMaxAutoCorrectWordSize = 8;
20 17
21 #endif // CHROME_BROWSER_SPELLCHECKER_COMMON_H_ 18 #endif // CHROME_BROWSER_SPELLCHECKER_COMMON_H_
22 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698