summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/dom/TextEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/TextEvent.h')
-rw-r--r--Source/WebCore/dom/TextEvent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/dom/TextEvent.h b/Source/WebCore/dom/TextEvent.h
index d770d38..26c8b93 100644
--- a/Source/WebCore/dom/TextEvent.h
+++ b/Source/WebCore/dom/TextEvent.h
@@ -51,6 +51,7 @@ namespace WebCore {
virtual bool isTextEvent() const;
bool isLineBreak() const { return m_inputType == TextEventInputLineBreak; }
+ bool isComposition() const { return m_inputType == TextEventInputComposition; }
bool isBackTab() const { return m_inputType == TextEventInputBackTab; }
bool isPaste() const { return m_inputType == TextEventInputPaste; }
bool isDrop() const { return m_inputType == TextEventInputDrop; }