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

Unified Diff: sky/engine/core/events/EventListener.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/Event.idl ('k') | sky/engine/core/events/EventListenerMap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/EventListener.h
diff --git a/sky/engine/core/events/EventListener.h b/sky/engine/core/events/EventListener.h
index e32a17a1de389bfafdc3d5b2fddefa66013c4188..38c55aefe308a36d080e17f0cfab6d825b30b8ac 100644
--- a/sky/engine/core/events/EventListener.h
+++ b/sky/engine/core/events/EventListener.h
@@ -23,8 +23,10 @@
#include "sky/engine/wtf/RefCounted.h"
-namespace blink {
+typedef struct _Dart_WeakReferenceSet* Dart_WeakReferenceSet;
+namespace blink {
+class DartGCVisitor;
class Event;
class ExecutionContext;
@@ -34,6 +36,9 @@ public:
virtual bool operator==(const EventListener&) = 0;
virtual void handleEvent(ExecutionContext*, Event*) = 0;
+ virtual void AcceptDartGCVisitor(DartGCVisitor& visitor) const = 0;
+
+
protected:
explicit EventListener()
{
« no previous file with comments | « sky/engine/core/events/Event.idl ('k') | sky/engine/core/events/EventListenerMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698