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

Side by Side Diff: chrome/common/spellcheck_common.h

Issue 10573017: Rename SpellCheckCommon namespace to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COMMON_SPELLCHECK_COMMON_H_ 5 #ifndef CHROME_COMMON_SPELLCHECK_COMMON_H_
6 #define CHROME_COMMON_SPELLCHECK_COMMON_H_ 6 #define CHROME_COMMON_SPELLCHECK_COMMON_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 class FilePath; 12 class FilePath;
13 13
14 namespace SpellCheckCommon { 14 namespace chrome {
15 15
Ben Goodger (Google) 2012/06/19 22:53:59 namespace chrome { namespace spellcheck_common {
tfarina 2012/06/19 23:08:25 Done.
16 // Max number of dictionary suggestions. 16 // Max number of dictionary suggestions.
17 static const int kMaxSuggestions = 5; 17 static const int kMaxSuggestions = 5;
18 18
19 static const int kMaxAutoCorrectWordSize = 8; 19 static const int kMaxAutoCorrectWordSize = 8;
20 20
21 FilePath GetVersionedFileName(const std::string& input_language, 21 FilePath GetVersionedFileName(const std::string& input_language,
22 const FilePath& dict_dir); 22 const FilePath& dict_dir);
23 23
24 std::string GetCorrespondingSpellCheckLanguage(const std::string& language); 24 std::string GetCorrespondingSpellCheckLanguage(const std::string& language);
25 25
26 // Get SpellChecker supported languages. 26 // Get SpellChecker supported languages.
27 void SpellCheckLanguages(std::vector<std::string>* languages); 27 void SpellCheckLanguages(std::vector<std::string>* languages);
28 28
29 } // namespace SpellCheckCommon 29 } // namespace chrome
30 30
31 #endif // CHROME_COMMON_SPELLCHECK_COMMON_H_ 31 #endif // CHROME_COMMON_SPELLCHECK_COMMON_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options2/language_options_handler_common2.cc ('k') | chrome/common/spellcheck_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698