Index: third_party/WebKit/Source/core/editing/commands/TypingCommand.h |
diff --git a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h |
index 675a3045dedeb2cedd5eeb08262c4def943713c4..5a3ffe49dc5a14613e3517bcebb425dc5963ff15 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h |
+++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h |
@@ -77,6 +77,9 @@ public: |
void deleteSelection(bool smartDelete, EditingState*); |
void setCompositionType(TextCompositionType type) { m_compositionType = type; } |
+ ETypingCommand commandTypeOfOpenCommand() const { return m_commandType; } |
+ TextCompositionType compositionType() const { return m_compositionType; } |
+ |
private: |
static TypingCommand* create(Document& document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity) |
{ |
@@ -112,7 +115,6 @@ private: |
bool makeEditableRootEmpty(EditingState*); |
void updateCommandTypeOfOpenCommand(ETypingCommand typingCommand) { m_commandType = typingCommand; } |
- ETypingCommand commandTypeOfOpenCommand() const { return m_commandType; } |
ETypingCommand m_commandType; |
String m_textToInsert; |