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

Unified Diff: pkg/custom_element/lib/custom_element.dart

Issue 25808002: Move Rectangle and Point into dart:math. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | samples/solar/web/solar.dart » ('j') | sdk/lib/math/rectangle.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/custom_element/lib/custom_element.dart
diff --git a/pkg/custom_element/lib/custom_element.dart b/pkg/custom_element/lib/custom_element.dart
index 19824cf840c6c1172deda42ff1263dddb37cbbec..a91ff698d64768ea42f4d31ce471fc8e39e98409 100644
--- a/pkg/custom_element/lib/custom_element.dart
+++ b/pkg/custom_element/lib/custom_element.dart
@@ -481,7 +481,7 @@ class CustomElement implements Element {
@deprecated
int get clientWidth => client.width;
- Rect get client => host.client;
+ Rectangle get client => host.client;
@deprecated
int get offsetHeight => offset.height;
@@ -495,7 +495,7 @@ class CustomElement implements Element {
@deprecated
int get offsetWidth => offset.width;
- Rect get offset => host.offset;
+ Rectangle get offset => host.offset;
int get scrollHeight => host.scrollHeight;
@@ -509,9 +509,9 @@ class CustomElement implements Element {
int get scrollWidth => host.scrollWidth;
- Rect getBoundingClientRect() => host.getBoundingClientRect();
+ Rectangle getBoundingClientRect() => host.getBoundingClientRect();
- List<Rect> getClientRects() => host.getClientRects();
+ List<Rectangle> getClientRects() => host.getClientRects();
List<Node> getElementsByClassName(String name) =>
host.getElementsByClassName(name);
« no previous file with comments | « no previous file | samples/solar/web/solar.dart » ('j') | sdk/lib/math/rectangle.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698