summaryrefslogtreecommitdiff
path: root/chromium/components/spellcheck/renderer/spellcheck_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/spellcheck/renderer/spellcheck_provider.h')
-rw-r--r--chromium/components/spellcheck/renderer/spellcheck_provider.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/chromium/components/spellcheck/renderer/spellcheck_provider.h b/chromium/components/spellcheck/renderer/spellcheck_provider.h
index a473f476198..f6542262fab 100644
--- a/chromium/components/spellcheck/renderer/spellcheck_provider.h
+++ b/chromium/components/spellcheck/renderer/spellcheck_provider.h
@@ -13,7 +13,6 @@
#include "components/spellcheck/common/spellcheck.mojom.h"
#include "components/spellcheck/spellcheck_buildflags.h"
#include "content/public/renderer/render_frame_observer.h"
-#include "content/public/renderer/render_frame_observer_tracker.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "third_party/blink/public/web/web_text_check_client.h"
@@ -32,10 +31,8 @@ class LocalInterfaceProvider;
// This class deals with asynchronously invoking text spelling and grammar
// checking services provided by the browser process (host).
-class SpellCheckProvider
- : public content::RenderFrameObserver,
- public content::RenderFrameObserverTracker<SpellCheckProvider>,
- public blink::WebTextCheckClient {
+class SpellCheckProvider : public content::RenderFrameObserver,
+ public blink::WebTextCheckClient {
public:
using WebTextCheckCompletions =
base::IDMap<std::unique_ptr<blink::WebTextCheckingCompletion>>;
@@ -119,6 +116,13 @@ class SpellCheckProvider
const std::vector<SpellCheckResult>& results);
#endif
+#if BUILDFLAG(USE_WIN_HYBRID_SPELLCHECKER)
+ void HybridSpellCheckParagraphComplete(
+ const base::string16& text,
+ const int request_id,
+ std::vector<SpellCheckResult> renderer_results);
+#endif // BUILDFLAG(USE_WIN_HYBRID_SPELLCHECKER)
+
// Holds ongoing spellchecking operations.
WebTextCheckCompletions text_check_completions_;