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

Unified Diff: chrome/renderer/spellchecker/spelling_engine.h

Issue 2198143002: Componentize spellcheck [3]: move renderer/ files to component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/spellchecker/spelling_engine.h
diff --git a/chrome/renderer/spellchecker/spelling_engine.h b/chrome/renderer/spellchecker/spelling_engine.h
deleted file mode 100644
index 12e502d8c7f4ab5d92c44e512a885334171ee0b3..0000000000000000000000000000000000000000
--- a/chrome/renderer/spellchecker/spelling_engine.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_RENDERER_SPELLCHECKER_SPELLING_ENGINE_H_
-#define CHROME_RENDERER_SPELLCHECKER_SPELLING_ENGINE_H_
-
-#include <string>
-#include <vector>
-
-#include "base/files/file.h"
-#include "base/strings/string16.h"
-
-// Creates the platform's "native" spelling engine.
-class SpellingEngine* CreateNativeSpellingEngine();
-
-// Interface to different spelling engines.
-class SpellingEngine {
- public:
- virtual ~SpellingEngine() {}
-
- // Initialize spelling engine with browser-side info. Must be called before
- // any other functions are called.
- virtual void Init(base::File bdict_file) = 0;
- virtual bool InitializeIfNeeded() = 0;
- virtual bool IsEnabled() = 0;
- virtual bool CheckSpelling(const base::string16& word_to_check, int tag) = 0;
- virtual void FillSuggestionList(
- const base::string16& wrong_word,
- std::vector<base::string16>* optional_suggestions) = 0;
-};
-
-#endif // CHROME_RENDERER_SPELLCHECKER_SPELLING_ENGINE_H_
-
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698