Index: Source/core/editing/PlainTextRange.h |
diff --git a/Source/core/editing/PlainTextRange.h b/Source/core/editing/PlainTextRange.h |
index d3e2617a66612dadab714aefd13d5a02dc60bc19..f7969feec8ce293def82af81bd118912b48757d3 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> createRangeForInput(const ContainerNode& scope) const; |
Yuta Kitamura
2014/05/28 07:36:07
"ForInput" sounds vague and too generic for this c
guohui
2014/05/28 13:19:12
Changed to createRangeForInputMethod.
|
static PlainTextRange create(const Node& scope, const Range&); |
private: |
PlainTextRange& operator=(const PlainTextRange&) WTF_DELETED_FUNCTION; |
- enum GetRangeFor { ForGeneric, ForSelection }; |
+ enum GetRangeFor { ForGeneric, ForSelection, ForInput }; |
PassRefPtrWillBeRawPtr<Range> createRangeFor(const ContainerNode& scope, GetRangeFor) const; |
const size_t m_start; |