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

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

Issue 846783003: Add PointerEvent interface to Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/core.gni ('k') | sky/engine/core/events/Event.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/Event.h
diff --git a/sky/engine/core/events/Event.h b/sky/engine/core/events/Event.h
index bc36d4b767aa3910302699f87a1237aef921d1ed..931919c33354e570b7a07a57e9997b0606256453 100644
--- a/sky/engine/core/events/Event.h
+++ b/sky/engine/core/events/Event.h
@@ -38,12 +38,11 @@ class EventDispatcher;
class ExecutionContext;
struct EventInit {
- STACK_ALLOCATED();
-public:
- EventInit();
+ bool bubbles = false;
+ bool cancelable = false;
- bool bubbles;
- bool cancelable;
+private:
+ STACK_ALLOCATED();
};
class Event : public RefCounted<Event>, public ScriptWrappable {
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/events/Event.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698