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

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

Issue 2639483002: Add sequence number to undo steps (Closed)
Patch Set: 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/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..73c27813d1f0635372d6ef1963d49b887b25f41b 100644
--- a/third_party/WebKit/Source/core/editing/commands/UndoStep.h
+++ b/third_party/WebKit/Source/core/editing/commands/UndoStep.h
@@ -47,6 +47,8 @@ class UndoStep : public GarbageCollectedFinalized<UndoStep> {
virtual void unapply() = 0;
virtual void reapply() = 0;
virtual InputEvent::InputType inputType() const = 0;
+ virtual int sequence() const = 0;
yosin_UTC9 2017/01/17 08:13:29 Do we really want to keep |UndoStep| as interface?
Xiaocheng 2017/01/17 09:04:02 Do you mean removing |UndoStep| and using |EditCom
+ virtual void setSequence(int) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698