diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/dom/ClipboardEvent.cpp | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/dom/ClipboardEvent.cpp')
-rw-r--r-- | Source/WebCore/dom/ClipboardEvent.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/Source/WebCore/dom/ClipboardEvent.cpp b/Source/WebCore/dom/ClipboardEvent.cpp index 421b8876a..bdc4b9a53 100644 --- a/Source/WebCore/dom/ClipboardEvent.cpp +++ b/Source/WebCore/dom/ClipboardEvent.cpp @@ -23,17 +23,13 @@ #include "config.h" #include "ClipboardEvent.h" -#include "Clipboard.h" -#include "EventNames.h" +#include "DataTransfer.h" namespace WebCore { -ClipboardEvent::ClipboardEvent() -{ -} - -ClipboardEvent::ClipboardEvent(const AtomicString& eventType, bool canBubble, bool cancelable, PassRefPtr<Clipboard> clipboard) - : Event(eventType, canBubble, cancelable), m_clipboard(clipboard) +ClipboardEvent::ClipboardEvent(const AtomicString& type, const Init& init, IsTrusted isTrusted) + : Event(type, init, isTrusted) + , m_clipboardData(init.clipboardData) { } @@ -43,8 +39,7 @@ ClipboardEvent::~ClipboardEvent() EventInterface ClipboardEvent::eventInterface() const { - // Notice that there is no ClipboardEvent.idl. - return EventInterfaceType; + return ClipboardEventInterfaceType; } bool ClipboardEvent::isClipboardEvent() const |