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

Unified Diff: sky/tests/raw/render_flex.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/rendering/node.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/raw/render_flex.dart
diff --git a/sky/tests/raw/render_flex.dart b/sky/tests/raw/render_flex.dart
index 2713b150e97729337eb160106670767b2d1fa65a..47a1b0c481a18fc71eff990402783fefb5e865b6 100644
--- a/sky/tests/raw/render_flex.dart
+++ b/sky/tests/raw/render_flex.dart
@@ -28,7 +28,7 @@ class RenderSolidColor extends RenderDecoratedBox {
size = constraints.constrain(desiredSize);
}
- void handlePointer(sky.PointerEvent event) {
+ void handleEvent(sky.Event event) {
if (event.type == 'pointerdown')
decoration = new BoxDecoration(backgroundColor: const sky.Color(0xFFFF0000));
else if (event.type == 'pointerup')
« no previous file with comments | « sky/sdk/lib/framework/rendering/node.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698