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

Unified Diff: sky/engine/core/events/EventTarget.h

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months 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 | « sky/engine/core/events/EventListenerMap.cpp ('k') | sky/engine/core/events/EventTarget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/EventTarget.h
diff --git a/sky/engine/core/events/EventTarget.h b/sky/engine/core/events/EventTarget.h
index 9299861cb0b3623d6e0d9373fbb85909312d9733..79134b5ecb123d92b42030478546801bb7adbb51 100644
--- a/sky/engine/core/events/EventTarget.h
+++ b/sky/engine/core/events/EventTarget.h
@@ -37,7 +37,7 @@
#include "gen/sky/core/EventTargetInterfaces.h"
#include "gen/sky/core/EventTargetNames.h"
#include "gen/sky/core/EventTypeNames.h"
-#include "sky/engine/bindings/core/v8/ScriptWrappable.h"
+#include "sky/engine/tonic/dart_wrappable.h"
#include "sky/engine/core/events/EventListenerMap.h"
#include "sky/engine/platform/heap/Handle.h"
#include "sky/engine/wtf/text/AtomicString.h"
@@ -89,7 +89,7 @@ public:
//
// Optionally, add a FooEvent.idl class, but that's outside the scope of this
// comment (and much more straightforward).
-class EventTarget : public ScriptWrappable {
+class EventTarget : public DartWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
#if !ENABLE(OILPAN)
@@ -97,6 +97,8 @@ public:
void deref() { derefEventTarget(); }
#endif
+ void AcceptDartGCVisitor(DartGCVisitor& visitor) const override;
+
virtual const AtomicString& interfaceName() const = 0;
virtual ExecutionContext* executionContext() const = 0;
« no previous file with comments | « sky/engine/core/events/EventListenerMap.cpp ('k') | sky/engine/core/events/EventTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698