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

Unified Diff: sky/engine/core/painting/Point.dart

Issue 1158843002: Sky: Add a Point class. (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
Index: sky/engine/core/painting/Point.dart
diff --git a/build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java b/sky/engine/core/painting/Point.dart
similarity index 66%
copy from build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java
copy to sky/engine/core/painting/Point.dart
index 1281b39586e399c3103b5f2ab3ca1f3fab26d182..9fc7082e707bb0c3dc50d944b3848430d42b1c39 100644
--- a/build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java
+++ b/sky/engine/core/painting/Point.dart
@@ -2,8 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.dummy;
+part of dart.sky;
-/** Does nothing. */
-class Dummy {}
+class Point {
+ double x;
+ double y;
abarth-chromium 2015/05/27 02:17:36 final?
Matt Perry 2015/05/27 17:55:43 I was envisioning adding methods like offset(x,y)
+
+ Point(this.x, this.y);
abarth-chromium 2015/05/27 02:17:36 const ?
+}

Powered by Google App Engine
This is Rietveld 408576698