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

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

Issue 65043014: Fix for broken undo functionality (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removing old pixel test Created 7 years, 1 month 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: Source/core/editing/TypingCommand.h
diff --git a/Source/core/editing/TypingCommand.h b/Source/core/editing/TypingCommand.h
index 90a86b906c70d2dd639d6032e3c88a7aa19c6113..67857fda1157103c1e9a5d7ff3296168abd749d5 100644
--- a/Source/core/editing/TypingCommand.h
+++ b/Source/core/editing/TypingCommand.h
@@ -117,6 +117,9 @@ private:
void typingAddedToOpenCommand(ETypingCommand);
bool makeEditableRootEmpty();
+ void updateCommandTypeOfOpenCommand(ETypingCommand typingCommand) { m_commandType = typingCommand; }
+ ETypingCommand commandTypeOfOpenCommand() { return m_commandType; }
yosin_UTC9 2013/11/15 10:22:22 nit: Should be have |const| qualifier.
+
ETypingCommand m_commandType;
String m_textToInsert;
bool m_openForMoreTyping;

Powered by Google App Engine
This is Rietveld 408576698