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

Unified Diff: third_party/WebKit/Source/core/editing/commands/UndoStack.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
Index: third_party/WebKit/Source/core/editing/commands/UndoStack.h
diff --git a/third_party/WebKit/Source/core/editing/commands/UndoStack.h b/third_party/WebKit/Source/core/editing/commands/UndoStack.h
index 8f7e3c837d17fa4cdb9c5a298650be0ea64925d0..2ed2a5847c0a56d9f3c87bd0c70244d01ed7014a 100644
--- a/third_party/WebKit/Source/core/editing/commands/UndoStack.h
+++ b/third_party/WebKit/Source/core/editing/commands/UndoStack.h
@@ -37,6 +37,7 @@
namespace blink {
+enum class EditCommandSource;
class LocalFrame;
class UndoStep;
@@ -52,8 +53,8 @@ class UndoStack final : public GarbageCollected<UndoStack> {
void registerRedoStep(UndoStep*);
bool canUndo() const;
bool canRedo() const;
- void undo();
- void redo();
+ void undo(EditCommandSource);
+ void redo(EditCommandSource);
void clear();
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698