Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / renderer / spellchecker / platform_spelling_engine.h
blob5cb0b23d4846d5ca15f71c9be054de324c5856b5
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
3 // found in the LICENSE file.
5 #ifndef CHROME_RENDERER_SPELLCHECKER_PLATFORM_SPELLING_ENGINE_H_
6 #define CHROME_RENDERER_SPELLCHECKER_PLATFORM_SPELLING_ENGINE_H_
8 #include "base/compiler_specific.h"
9 #include "chrome/renderer/spellchecker/spelling_engine.h"
11 class PlatformSpellingEngine : public SpellingEngine {
12 public:
13 void Init(base::File bdict_file) override;
14 bool InitializeIfNeeded() override;
15 bool IsEnabled() override;
16 bool CheckSpelling(const base::string16& word_to_check, int tag) override;
17 void FillSuggestionList(
18 const base::string16& wrong_word,
19 std::vector<base::string16>* optional_suggestions) override;
22 #endif // CHROME_RENDERER_SPELLCHECKER_PLATFORM_SPELLING_ENGINE_H_