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

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

Issue 2110543008: Move UndoStack from Page to Editor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix layout test Created 4 years, 6 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/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 39615d15d3bac4c46217529dc1f7faf8130ace83..e1d61e2aa977205caaafcb046e7c1de71851661b 100644
--- a/third_party/WebKit/Source/core/editing/commands/UndoStack.h
+++ b/third_party/WebKit/Source/core/editing/commands/UndoStack.h
@@ -47,7 +47,7 @@ public:
void registerUndoStep(UndoStep*);
void registerRedoStep(UndoStep*);
- void didUnloadFrame(const LocalFrame&);
+ void didUnloadFrame();
bool canUndo() const;
bool canRedo() const;
void undo();
@@ -60,8 +60,6 @@ private:
typedef HeapDeque<Member<UndoStep>> UndoStepStack;
- void filterOutUndoSteps(UndoStepStack&, const LocalFrame&);
-
bool m_inRedo;
UndoStepStack m_undoStack;
UndoStepStack m_redoStack;

Powered by Google App Engine
This is Rietveld 408576698