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

Side by Side Diff: chrome/browser/spellchecker_win.cc

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 // If windows ever gains a platform specific spellchecker, it will be 5 // If windows ever gains a platform specific spellchecker, it will be
6 // implemented here. 6 // implemented here.
7 7
8 #include "chrome/browser/spellchecker_common.h" 8 #include "chrome/browser/spellchecker_common.h"
9 9
10 namespace SpellCheckerPlatform { 10 namespace SpellCheckerPlatform {
11 11
12 bool SpellCheckerAvailable() { 12 bool SpellCheckerAvailable() {
13 // No current version of Windows (as of Summer 2009) has a common spellchecker 13 // No current version of Windows (as of Summer 2009) has a common spellchecker
14 // so we'll return false here. 14 // so we'll return false here.
15 return false; 15 return false;
16 } 16 }
17 17
18 // The following methods are just stubs to keep the linker happy. 18 // The following methods are just stubs to keep the linker happy.
19 bool PlatformSupportsLanguage(const Language& current_language) { 19 bool PlatformSupportsLanguage(const std::string& current_language) {
20 return false; 20 return false;
21 } 21 }
22 22
23 void Init() { 23 void Init() {
24 } 24 }
25 25
26 void SetLanguage(const Language& lang_to_set) { 26 void SetLanguage(const std::string& lang_to_set) {
27 } 27 }
28 28
29 bool CheckSpelling(const std::string& word_to_check) { 29 bool CheckSpelling(const std::string& word_to_check) {
30 return false; 30 return false;
31 } 31 }
32 32
33 void FillSuggestionList(const std::string& wrong_word, 33 void FillSuggestionList(const std::string& wrong_word,
34 std::vector<std::wstring>* optional_suggestions) { 34 std::vector<std::wstring>* optional_suggestions) {
35 } 35 }
36 36
37 void AddWord(const std::wstring& word) { 37 void AddWord(const std::wstring& word) {
38 } 38 }
39 39
40 void RemoveWord(const std::wstring& word) { 40 void RemoveWord(const std::wstring& word) {
41 } 41 }
42 42
43 } // namespace SpellCheckerPlatform 43 } // namespace SpellCheckerPlatform
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698