Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(932)

Unified Diff: Source/core/events/ClipboardEvent.h

Issue 797583002: [bindings] Avoid using custom bindings for handling clipboardData on Event idl interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed the UsageCounter related stuff. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/events/ClipboardEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
{
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/events/ClipboardEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698