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

Side by Side Diff: sky/examples/fn2/container.dart

Issue 1153343004: Mark fn2's EventListenerNode work for PointerEvent (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | sky/sdk/lib/framework/app.dart » ('j') | sky/sdk/lib/framework/fn2.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 import 'dart:sky' as sky;
6 import 'package:sky/framework/fn2.dart';
7
8 class ContainerApp extends App {
9 UINode build() {
10 return new EventListenerNode(
11 new Rectangle(0xFF00FFFF),
12 onPointerDown: _handlePointerDown);
13 }
14
15 void _handlePointerDown(sky.PointerEvent event) {
16 print("_handlePointerDown");
17 }
18 }
19
20 void main() {
21 new ContainerApp();
22 }
OLDNEW
« no previous file with comments | « no previous file | sky/sdk/lib/framework/app.dart » ('j') | sky/sdk/lib/framework/fn2.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698