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

Unified Diff: sky/sdk/lib/sky/hittest.dart

Issue 1187393002: Cleanup of SkyBinding, and resultant yak shaving. (Closed) Base URL: https://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 side-by-side diff with in-line comments
Download patch
Index: sky/sdk/lib/sky/hittest.dart
diff --git a/sky/sdk/lib/sky/hittest.dart b/sky/sdk/lib/sky/hittest.dart
new file mode 100644
index 0000000000000000000000000000000000000000..ffe092fbfa1f38625fcdc718fd1476f3bee7021f
--- /dev/null
+++ b/sky/sdk/lib/sky/hittest.dart
@@ -0,0 +1,18 @@
+
abarth-chromium 2015/06/18 01:50:49 License block pls.
+import 'dart:sky' as sky;
+
+abstract class HitTestTarget {
+ void handleEvent(sky.Event event, HitTestEntry entry);
+}
+
+class HitTestEntry {
+ const HitTestEntry(this.target);
+ final HitTestTarget target;
+}
+
+class HitTestResult {
+ final List<HitTestEntry> path = new List<HitTestEntry>();
+ void add(HitTestEntry data) {
+ path.add(data);
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698