Home | History | Annotate | Download | only in events

Lines Matching refs:TextEvent

28 #include "core/events/TextEvent.h"
34 PassRefPtrWillBeRawPtr<TextEvent> TextEvent::create()
36 return adoptRefWillBeNoop(new TextEvent);
39 PassRefPtrWillBeRawPtr<TextEvent> TextEvent::create(PassRefPtrWillBeRawPtr<AbstractView> view, const String& data, TextEventInputType inputType)
41 return adoptRefWillBeNoop(new TextEvent(view, data, inputType));
44 PassRefPtrWillBeRawPtr<TextEvent> TextEvent::createForPlainTextPaste(PassRefPtrWillBeRawPtr<AbstractView> view, const String& data, bool shouldSmartReplace)
46 return adoptRefWillBeNoop(new TextEvent(view, data, nullptr, shouldSmartReplace, false));
49 PassRefPtrWillBeRawPtr<TextEvent> TextEvent::createForFragmentPaste(PassRefPtrWillBeRawPtr<AbstractView> view, PassRefPtrWillBeRawPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle)
51 return adoptRefWillBeNoop(new TextEvent(view, "", data, shouldSmartReplace, shouldMatchStyle));
54 PassRefPtrWillBeRawPtr<TextEvent> TextEvent::createForDrop(PassRefPtrWillBeRawPtr<AbstractView> view, const String& data)
56 return adoptRefWillBeNoop(new TextEvent(view, data, TextEventInputDrop));
59 TextEvent::TextEvent()
67 TextEvent::TextEvent(PassRefPtrWillBeRawPtr<AbstractView> view, const String& data, TextEventInputType inputType)
78 TextEvent::TextEvent(PassRefPtrWillBeRawPtr<AbstractView> view, const String& data, PassRefPtrWillBeRawPtr<DocumentFragment> pastingFragment,
90 TextEvent::~TextEvent()
94 void TextEvent::initTextEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, const String& data)
104 const AtomicString& TextEvent::interfaceName() const
106 return EventNames::TextEvent;
109 void TextEvent::trace(Visitor* visitor)