Index: Source/core/editing/PlainTextRange.h |
diff --git a/Source/core/editing/PlainTextRange.h b/Source/core/editing/PlainTextRange.h |
index d3e2617a66612dadab714aefd13d5a02dc60bc19..ba583ce06dd410d4fda647bfea0687392e99229b 100644 |
--- a/Source/core/editing/PlainTextRange.h |
+++ b/Source/core/editing/PlainTextRange.h |
@@ -51,13 +51,14 @@ public: |
PassRefPtrWillBeRawPtr<Range> createRange(const ContainerNode& scope) const; |
PassRefPtrWillBeRawPtr<Range> createRangeForSelection(const ContainerNode& scope) const; |
+ PassRefPtrWillBeRawPtr<Range> createRangeForInputMethod(const ContainerNode& scope) const; |
static PlainTextRange create(const Node& scope, const Range&); |
private: |
PlainTextRange& operator=(const PlainTextRange&) WTF_DELETED_FUNCTION; |
- enum GetRangeFor { ForGeneric, ForSelection }; |
+ enum GetRangeFor { ForGeneric, ForSelection, ForInputMethod }; |
PassRefPtrWillBeRawPtr<Range> createRangeFor(const ContainerNode& scope, GetRangeFor) const; |
const size_t m_start; |