diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 01:36:50 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 01:36:50 +0000 |
commit | 4e1c76f34b910c6e9a832cbac2e2bcce8acc9f52 (patch) | |
tree | c92007614f63d5eee9d1a7c85a5834f9603000fe /chrome/renderer/spellchecker/spellcheck.h | |
parent | 3c5ed2c5747de75351c18fbf1e969eccc263d1d5 (diff) | |
download | chromium_src-4e1c76f34b910c6e9a832cbac2e2bcce8acc9f52.zip chromium_src-4e1c76f34b910c6e9a832cbac2e2bcce8acc9f52.tar.gz chromium_src-4e1c76f34b910c6e9a832cbac2e2bcce8acc9f52.tar.bz2 |
Use renderer spellchecker for windows.
BUG=25677
Review URL: http://codereview.chromium.org/372075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31875 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/spellchecker/spellcheck.h')
-rw-r--r-- | chrome/renderer/spellchecker/spellcheck.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/chrome/renderer/spellchecker/spellcheck.h b/chrome/renderer/spellchecker/spellcheck.h index 3b2e19d..eb3ad82 100644 --- a/chrome/renderer/spellchecker/spellcheck.h +++ b/chrome/renderer/spellchecker/spellcheck.h @@ -10,7 +10,7 @@ #include <vector> #include "app/l10n_util.h" -#include "base/file_descriptor_posix.h" +#include "base/platform_file.h" #include "base/string16.h" #include "base/time.h" #include "chrome/renderer/spellchecker/spellcheck_worditerator.h" @@ -18,10 +18,6 @@ class Hunspell; -namespace base { -class FileDescriptor; -} - namespace file_util { class MemoryMappedFile; } @@ -32,7 +28,7 @@ class SpellCheck { ~SpellCheck(); - void Init(const base::FileDescriptor& bdict_fd, + void Init(base::PlatformFile file, const std::vector<std::string>& custom_words, const std::string language); @@ -101,7 +97,7 @@ class SpellCheck { // The hunspell dictionary in use. scoped_ptr<Hunspell> hunspell_; - base::FileDescriptor fd_; + base::PlatformFile file_; std::vector<std::string> custom_words_; // Represents character attributes used for filtering out characters which |