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

Unified Diff: third_party/WebKit/Source/core/editing/Editor.h

Issue 2720193002: Implement hot mode invocation for idle time spell checker (Closed)
Patch Set: style fix 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/core/editing/Editor.h
diff --git a/third_party/WebKit/Source/core/editing/Editor.h b/third_party/WebKit/Source/core/editing/Editor.h
index 3e05912250e162a4f3ba17bce4df5a076241df82..7e39bb99a54ccbbbb6ea46f99d797d6d0840cfea 100644
--- a/third_party/WebKit/Source/core/editing/Editor.h
+++ b/third_party/WebKit/Source/core/editing/Editor.h
@@ -200,6 +200,10 @@ class CORE_EXPORT Editor final : public GarbageCollectedFinalized<Editor> {
bool canRedo();
void redo();
+ // Exposed for IdleSpellCheckCallback only.
+ // Supposed to be used as |const UndoStack&|.
+ UndoStack& undoStack() const { return *m_undoStack; }
+
void setBaseWritingDirection(WritingDirection);
// smartInsertDeleteEnabled and selectTrailingWhitespaceEnabled are

Powered by Google App Engine
This is Rietveld 408576698