summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellcheck_worditerator.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-11 00:34:12 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-11 00:34:12 +0000
commit74c8b421637393234e24b227929b89eba0883e76 (patch)
tree4d24222844a03a330142eb3210604cc4b67c4c4a /chrome/browser/spellcheck_worditerator.h
parent3b166f49b912091f6e45e500d1617fd7609b6fe1 (diff)
downloadchromium_src-74c8b421637393234e24b227929b89eba0883e76.zip
chromium_src-74c8b421637393234e24b227929b89eba0883e76.tar.gz
chromium_src-74c8b421637393234e24b227929b89eba0883e76.tar.bz2
Change SpellChecker::Language to be an ASCII string.
Review URL: http://codereview.chromium.org/41028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11407 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellcheck_worditerator.h')
-rw-r--r--chrome/browser/spellcheck_worditerator.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/spellcheck_worditerator.h b/chrome/browser/spellcheck_worditerator.h
index f9e7830..c0fb8e1 100644
--- a/chrome/browser/spellcheck_worditerator.h
+++ b/chrome/browser/spellcheck_worditerator.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_SPELLCHECK_WORDITERATOR_H__
-#define CHROME_BROWSER_SPELLCHECK_WORDITERATOR_H__
+#ifndef CHROME_BROWSER_SPELLCHECK_WORDITERATOR_H_
+#define CHROME_BROWSER_SPELLCHECK_WORDITERATOR_H_
#include <map>
#include <string>
@@ -25,7 +25,7 @@ class SpellcheckCharAttribute {
// Sets the default language of the spell checker. This controls which
// characters are considered parts of words of the given language.
- void SetDefaultLanguage(const std::wstring& language);
+ void SetDefaultLanguage(const std::string& language);
// Returns whether or not the given character is a character used by the
// selected dictionary.
@@ -73,7 +73,7 @@ class SpellcheckCharAttribute {
// Represents a table of characters used by contractions.
std::map<UChar32, bool> middle_letters_;
- DISALLOW_EVIL_CONSTRUCTORS(SpellcheckCharAttribute);
+ DISALLOW_COPY_AND_ASSIGN(SpellcheckCharAttribute);
};
// A class which implements methods for finding the location of word boundaries
@@ -177,7 +177,7 @@ class SpellcheckWordIterator {
// The character attributes used for filtering out non-word characters.
const SpellcheckCharAttribute* attribute_;
- DISALLOW_EVIL_CONSTRUCTORS(SpellcheckWordIterator);
+ DISALLOW_COPY_AND_ASSIGN(SpellcheckWordIterator);
};
-#endif // CHROME_BROWSER_SPELLCHECK_WORDITERATOR_H__
+#endif // CHROME_BROWSER_SPELLCHECK_WORDITERATOR_H_