| 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;
|
|
|
| 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;
|
|
|