| Index: Source/core/editing/Caret.h
|
| diff --git a/Source/core/editing/Caret.h b/Source/core/editing/Caret.h
|
| index 4331e54b6b613db145f7e9c449ee19db9bf73e02..3890514c30aec4efd6f6ba59baf42d56bbe053c2 100644
|
| --- a/Source/core/editing/Caret.h
|
| +++ b/Source/core/editing/Caret.h
|
| @@ -74,34 +74,6 @@ private:
|
| CaretVisibility m_caretVisibility;
|
| };
|
|
|
| -class DragCaretController final : public NoBaseWillBeGarbageCollected<DragCaretController>, private CaretBase {
|
| - WTF_MAKE_NONCOPYABLE(DragCaretController);
|
| - WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(DragCaretController);
|
| -public:
|
| - static PassOwnPtrWillBeRawPtr<DragCaretController> create();
|
| -
|
| - LayoutBlock* caretLayoutObject() const { return CaretBase::caretPainter(); }
|
| - void paintDragCaret(LocalFrame*, GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect) const;
|
| -
|
| - bool isContentEditable() const { return m_position.rootEditableElement(); }
|
| - bool isContentRichlyEditable() const;
|
| -
|
| - bool hasCaret() const { return m_position.isNotNull(); }
|
| - const VisiblePosition& caretPosition() { return m_position; }
|
| - void setCaretPosition(const VisiblePosition&);
|
| - void clear() { setCaretPosition(VisiblePosition()); }
|
| -
|
| - void nodeWillBeRemoved(Node&);
|
| -
|
| - DECLARE_TRACE();
|
| -
|
| -private:
|
| - DragCaretController();
|
| -
|
| - VisiblePosition m_position;
|
| -};
|
| -
|
| } // namespace blink
|
|
|
| -
|
| #endif // Caret_h
|
|
|