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

Unified Diff: third_party/WebKit/Source/core/editing/commands/TypingCommand.h

Issue 2720193002: Implement hot mode invocation for idle time spell checker (Closed)
Patch Set: Wed Mar 1 16:02:57 PST 2017 Created 3 years, 10 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/commands/TypingCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
index d17c8dc2e2c4ad3d78f90828a07c986d8a02d5d4..5e3e9bd9a80561d3e8200f167adcbfdf5bc94fc8 100644
--- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
@@ -82,6 +82,8 @@ class CORE_EXPORT TypingCommand final : public CompositeEditCommand {
static bool insertParagraphSeparatorInQuotedContent(Document&);
static void closeTyping(LocalFrame*);
+ static TypingCommand* lastTypingCommandIfStillOpenForTyping(LocalFrame*);
yosin_UTC9 2017/03/02 03:38:40 It seems we want to move this function to |Editor|
Xiaocheng 2017/03/02 04:34:59 Hmm, agreed that Editor is a better place for this
+
void insertText(const String& text, bool selectInsertedText, EditingState*);
void insertTextRunWithoutNewlines(const String& text,
bool selectInsertedText,
@@ -135,8 +137,6 @@ class CORE_EXPORT TypingCommand final : public CompositeEditCommand {
bool isOpenForMoreTyping() const { return m_openForMoreTyping; }
void closeTyping() { m_openForMoreTyping = false; }
- static TypingCommand* lastTypingCommandIfStillOpenForTyping(LocalFrame*);
-
void doApply(EditingState*) override;
InputEvent::InputType inputType() const override;
bool isTypingCommand() const override;

Powered by Google App Engine
This is Rietveld 408576698