Index: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
index 2f1d8eb2a0db7e7c77554115639b12df0dfcead9..3d6ba6f5bdde5869ec691ca8e2ee376efd55eff1 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
@@ -84,7 +84,7 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> { |
bool onlyHandleWordsContainingSelection); |
void cancelCheck(); |
- // Exposed for testing only |
+ // Exposed for testing and idle time spell checker |
SpellCheckRequester& spellCheckRequester() const { |
return *m_spellCheckRequester; |
} |
@@ -124,6 +124,9 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> { |
const VisibleSelection& newAdjacentWords); |
Member<LocalFrame> m_frame; |
+ |
+ // TODO(xiaochengh): Move it to IdleSpellCheckCallback after idle time spell |
+ // checking reaches status=stable. |
const Member<SpellCheckRequester> m_spellCheckRequester; |
}; |