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

Unified Diff: Source/core/editing/Editor.h

Issue 184103011: Clear undo stack when text control is set programatically Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | Source/core/editing/Editor.cpp » ('j') | Source/core/editing/UndoStack.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/Editor.h
diff --git a/Source/core/editing/Editor.h b/Source/core/editing/Editor.h
index 28d45d5684b2d88b6740b1cc50875c92e2588878..e4f579ec803d0acb195a76a8ade9864a489c680f 100644
--- a/Source/core/editing/Editor.h
+++ b/Source/core/editing/Editor.h
@@ -168,6 +168,7 @@ public:
void undo();
bool canRedo();
void redo();
+ void clearUndoStack();
void setBaseWritingDirection(WritingDirection);
« no previous file with comments | « no previous file | Source/core/editing/Editor.cpp » ('j') | Source/core/editing/UndoStack.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698