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

Unified Diff: sky/sdk/lib/framework/rendering/node.dart

Issue 1146923005: Fix gesture events in fn2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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/sdk/lib/framework/fn2.dart ('k') | sky/tests/raw/render_flex.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/rendering/node.dart
diff --git a/sky/sdk/lib/framework/rendering/node.dart b/sky/sdk/lib/framework/rendering/node.dart
index cfeec1599ddcfe35ef32316a6f407fd5990a3e7d..c6a4ef3f37b59fc54ad39262adb80d32827176aa 100644
--- a/sky/sdk/lib/framework/rendering/node.dart
+++ b/sky/sdk/lib/framework/rendering/node.dart
@@ -179,13 +179,16 @@ abstract class RenderNode extends AbstractNode {
void paint(RenderNodeDisplayList canvas) { }
- // HIT TESTING
+ // EVENTS
- void handlePointer(sky.PointerEvent event) {
+ void handleEvent(sky.Event event) {
// override this if you have a client, to hand it to the client
- // override this if you want to do anything with the pointer event
+ // override this if you want to do anything with the event
}
+
+ // HIT TESTING
+
// RenderNode subclasses are expected to have a method like the
// following (with the signature being whatever passes for coordinates
// for this particular class):
« no previous file with comments | « sky/sdk/lib/framework/fn2.dart ('k') | sky/tests/raw/render_flex.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698