NaCl: Update revision in DEPS, r12770 -> r12773
[chromium-blink-merge.git] / chrome / renderer / spellchecker / cocoa_spelling_engine_mac.h
blob53b5cb748cc025d9bf4b30d09d3bc48c88f04b51
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_NSSPELLCHECKER_ENGINE_H_
6 #define CHROME_RENDERER_SPELLCHECKER_NSSPELLCHECKER_ENGINE_H_
8 #include "base/compiler_specific.h"
9 #include "chrome/renderer/spellchecker/spelling_engine.h"
11 class CocoaSpellingEngine : public SpellingEngine {
12 public:
13 virtual void Init(base::PlatformFile bdict_file) OVERRIDE;
14 virtual bool InitializeIfNeeded() OVERRIDE;
15 virtual bool IsEnabled() OVERRIDE;
16 virtual bool CheckSpelling(const base::string16& word_to_check,
17 int tag) OVERRIDE;
18 virtual void FillSuggestionList(
19 const base::string16& wrong_word,
20 std::vector<base::string16>* optional_suggestions) OVERRIDE;
23 #endif // CHROME_RENDERER_SPELLCHECKER_NSSPELLCHECKER_ENGINE_H_