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

Unified Diff: third_party/WebKit/Source/web/SpellCheckerClientImpl.h

Issue 2795113002: Move ownership of TextCheckerClientImpl to WebLocalFrameImpl (Closed)
Patch Set: Mon Apr 3 18:57:07 PDT 2017 Created 3 years, 9 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
Index: third_party/WebKit/Source/web/SpellCheckerClientImpl.h
diff --git a/third_party/WebKit/Source/web/SpellCheckerClientImpl.h b/third_party/WebKit/Source/web/SpellCheckerClientImpl.h
index ca4f090c3484741cf9dfef51204b92cb6d570e0e..c771b7c56c694125c343047bfbec22e55164563a 100644
--- a/third_party/WebKit/Source/web/SpellCheckerClientImpl.h
+++ b/third_party/WebKit/Source/web/SpellCheckerClientImpl.h
@@ -35,12 +35,11 @@
namespace blink {
-class TextCheckerClient;
class WebViewImpl;
class SpellCheckerClientImpl final : public SpellCheckerClient {
public:
- explicit SpellCheckerClientImpl(WebViewImpl*, TextCheckerClient*);
+ explicit SpellCheckerClientImpl(WebViewImpl*);
~SpellCheckerClientImpl() override;
@@ -50,8 +49,6 @@ class SpellCheckerClientImpl final : public SpellCheckerClient {
void showSpellingUI(bool show) override;
bool spellingUIIsShowing() override;
- TextCheckerClient& textChecker() override { return *m_textCheckerClient; }
-
private:
// Returns whether or not the focused control needs spell-checking.
// Currently, this function just retrieves the focused node and determines
@@ -63,7 +60,6 @@ class SpellCheckerClientImpl final : public SpellCheckerClient {
bool shouldSpellcheckByDefault();
WebViewImpl* m_webView;
- TextCheckerClient* m_textCheckerClient;
// This flag is set to false if spell check for this editor is manually
// turned off. The default setting is SpellCheckAutomatic.

Powered by Google App Engine
This is Rietveld 408576698