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

Unified Diff: sky/examples/fn/lib/fakesky.dart

Issue 987833002: add some more sky api to fakesky stub implementation. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn/lib/fakesky.dart
diff --git a/sky/examples/fn/lib/fakesky.dart b/sky/examples/fn/lib/fakesky.dart
index c2c72315d769bce43e70f0f0c77c094ff1fee57c..408616016aac3701702629f3bd49a269b1d59211 100644
--- a/sky/examples/fn/lib/fakesky.dart
+++ b/sky/examples/fn/lib/fakesky.dart
@@ -122,9 +122,11 @@ class HTMLImageElement extends Element {
Object style = {};
}
-class Event {
- Event();
-}
+class Event {}
+
+class PointerEvent extends Event {}
+class GestureEvent extends Event {}
+class WheelEvent extends Event {}
typedef EventListener(Event event);
@@ -146,3 +148,12 @@ class Window {
Document document = new Document();
Window window = new Window();
+
+class ClientRect {
+ double top
+ double right;
+ double bottomr;
+ double left;
+ double width;
+ double height;
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698