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

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

Issue 2636043002: Revert of [EditCommandSource] Pass source to |CompositEditCommand| and |TypingCommand| (3/3) (Closed)
Patch Set: Remove command source in ApplyStyleCommandTest.cpp Created 3 years, 11 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 49242a6bc4405b9ea382348852ab1b920c6dc62f..437980a51dff5c2ea4705dba5428aa8813a8091e 100644
--- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
@@ -58,33 +58,28 @@ class CORE_EXPORT TypingCommand final : public CompositeEditCommand {
};
typedef unsigned Options;
- static void deleteSelection(Document&, EditCommandSource, Options = 0);
+ static void deleteSelection(Document&, Options = 0);
static void deleteKeyPressed(Document&,
- EditCommandSource,
Options,
TextGranularity = CharacterGranularity);
static void forwardDeleteKeyPressed(Document&,
- EditCommandSource,
EditingState*,
Options = 0,
TextGranularity = CharacterGranularity);
static void insertText(Document&,
- EditCommandSource,
const String&,
Options,
TextCompositionType = TextCompositionNone,
const bool isIncrementalInsertion = false);
static void insertText(Document&,
- EditCommandSource,
const String&,
const VisibleSelection&,
Options,
TextCompositionType = TextCompositionNone,
const bool isIncrementalInsertion = false);
- static bool insertLineBreak(Document&, EditCommandSource);
- static bool insertParagraphSeparator(Document&, EditCommandSource);
- static bool insertParagraphSeparatorInQuotedContent(Document&,
- EditCommandSource);
+ static bool insertLineBreak(Document&);
+ static bool insertParagraphSeparator(Document&);
+ static bool insertParagraphSeparatorInQuotedContent(Document&);
static void closeTyping(LocalFrame*);
void insertText(const String& text, bool selectInsertedText, EditingState*);

Powered by Google App Engine
This is Rietveld 408576698