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

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

Issue 1156473007: Enables the user to select multiple languages for spellchecking (UI) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Answered comments. Created 5 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
OLDNEW
1 // Copyright (c) 2012 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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 class PrefService;
please use gerrit instead 2015/07/07 01:30:40 Unused. Remove.
Julius 2015/07/07 22:16:25 Done.
12
11 namespace base { 13 namespace base {
12 class FilePath; 14 class FilePath;
13 } 15 }
14 16
15 namespace chrome { 17 namespace chrome {
16 namespace spellcheck_common { 18 namespace spellcheck_common {
17 19
18 // The number of hours that a session of feedback for spelling service lasts. 20 // The number of hours that a session of feedback for spelling service lasts.
19 // After this number of hours passes, all feedback. 21 // After this number of hours passes, all feedback.
20 static const int kSessionHours = 6; 22 static const int kSessionHours = 6;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 std::string* language_code, 57 std::string* language_code,
56 std::string* country_code); 58 std::string* country_code);
57 59
58 // Returns true if multilingual spellchecker is enabled. 60 // Returns true if multilingual spellchecker is enabled.
59 bool IsMultilingualSpellcheckEnabled(); 61 bool IsMultilingualSpellcheckEnabled();
60 62
61 } // namespace spellcheck_common 63 } // namespace spellcheck_common
62 } // namespace chrome 64 } // namespace chrome
63 65
64 #endif // CHROME_COMMON_SPELLCHECK_COMMON_H_ 66 #endif // CHROME_COMMON_SPELLCHECK_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698