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

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

Issue 2581073003: [Editing] Introduce |EditCommandComposition::willUn/Reapply()| in prepare for 'beforeinput' (2/3) (Closed)
Patch Set: xiaocheng's review: Add TODO for implementation Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/core/editing/commands/UndoStack.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/commands/UndoStep.h
diff --git a/third_party/WebKit/Source/core/editing/commands/UndoStep.h b/third_party/WebKit/Source/core/editing/commands/UndoStep.h
index 4aa768978e4bf149ce539dc85ebfd7fdee6d256e..08011f069750dd2089baff2d92563093ac1a74c6 100644
--- a/third_party/WebKit/Source/core/editing/commands/UndoStep.h
+++ b/third_party/WebKit/Source/core/editing/commands/UndoStep.h
@@ -36,6 +36,7 @@
namespace blink {
+enum class EditCommandSource;
class LocalFrame;
class UndoStep : public GarbageCollectedFinalized<UndoStep> {
@@ -44,8 +45,8 @@ class UndoStep : public GarbageCollectedFinalized<UndoStep> {
DEFINE_INLINE_VIRTUAL_TRACE() {}
virtual bool belongsTo(const LocalFrame&) const = 0;
- virtual void unapply() = 0;
- virtual void reapply() = 0;
+ virtual void unapply(EditCommandSource) = 0;
+ virtual void reapply(EditCommandSource) = 0;
virtual InputEvent::InputType inputType() const = 0;
};
« no previous file with comments | « third_party/WebKit/Source/core/editing/commands/UndoStack.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698