Index: Source/core/events/ClipboardEvent.h |
diff --git a/Source/core/events/ClipboardEvent.h b/Source/core/events/ClipboardEvent.h |
index 28cfa3757dd2d53bd89fb8b21d4f3d8393af6e87..2de1ecc1dd506af8c56bef73cb792ba90fd8bd2a 100644 |
--- a/Source/core/events/ClipboardEvent.h |
+++ b/Source/core/events/ClipboardEvent.h |
@@ -24,15 +24,19 @@ |
#ifndef ClipboardEvent_h |
#define ClipboardEvent_h |
+#include "core/clipboard/DataTransfer.h" |
#include "core/events/Event.h" |
namespace blink { |
-class DataTransfer; |
- |
class ClipboardEvent final : public Event { |
+ DEFINE_WRAPPERTYPEINFO(); |
public: |
virtual ~ClipboardEvent(); |
+ static PassRefPtrWillBeRawPtr<ClipboardEvent> create() |
+ { |
+ return adoptRefWillBeNoop(new ClipboardEvent()); |
+ } |
static PassRefPtrWillBeRawPtr<ClipboardEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer) |
{ |