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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 12387106: Renaming CSS primitive types to have CSS prefixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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:
Download patch
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index bcb1269954d934ee56262780569bc69d1e2c7208..0e19acbacf2a8775b0bb9140c744a14328e56b43 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -2226,11 +2226,11 @@ class CssPrimitiveValue extends CssValue native "*CSSPrimitiveValue" {
@JSName('getRGBColorValue')
@DomName('CSSPrimitiveValue.getRGBColorValue')
@DocsEditable
- RgbColor getRgbColorValue() native;
+ CssRgbColor getRgbColorValue() native;
@DomName('CSSPrimitiveValue.getRectValue')
@DocsEditable
- Rect getRectValue() native;
+ CssRect getRectValue() native;
@DomName('CSSPrimitiveValue.getStringValue')
@DocsEditable
@@ -2250,6 +2250,52 @@ class CssPrimitiveValue extends CssValue native "*CSSPrimitiveValue" {
@DocsEditable
+@DomName('Rect')
+class CssRect native "*Rect" {
+
+ @DomName('Rect.bottom')
+ @DocsEditable
+ final CssPrimitiveValue bottom;
+
+ @DomName('Rect.left')
+ @DocsEditable
+ final CssPrimitiveValue left;
+
+ @DomName('Rect.right')
+ @DocsEditable
+ final CssPrimitiveValue right;
+
+ @DomName('Rect.top')
+ @DocsEditable
+ final CssPrimitiveValue top;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
+@DomName('RGBColor')
+class CssRgbColor native "*RGBColor" {
+
+ @DomName('RGBColor.blue')
+ @DocsEditable
+ final CssPrimitiveValue blue;
+
+ @DomName('RGBColor.green')
+ @DocsEditable
+ final CssPrimitiveValue green;
+
+ @DomName('RGBColor.red')
+ @DocsEditable
+ final CssPrimitiveValue red;
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+@DocsEditable
@DomName('CSSRule')
class CssRule native "*CSSRule" {
@@ -18887,31 +18933,6 @@ class RangeException native "*RangeException" {
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-
-@DocsEditable
-@DomName('Rect')
-class Rect native "*Rect" {
-
- @DomName('Rect.bottom')
- @DocsEditable
- final CssPrimitiveValue bottom;
-
- @DomName('Rect.left')
- @DocsEditable
- final CssPrimitiveValue left;
-
- @DomName('Rect.right')
- @DocsEditable
- final CssPrimitiveValue right;
-
- @DomName('Rect.top')
- @DocsEditable
- final CssPrimitiveValue top;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
// WARNING: Do not edit - generated code.
@@ -18922,27 +18943,6 @@ typedef void RequestAnimationFrameCallback(num highResTime);
@DocsEditable
-@DomName('RGBColor')
-class RgbColor native "*RGBColor" {
-
- @DomName('RGBColor.blue')
- @DocsEditable
- final CssPrimitiveValue blue;
-
- @DomName('RGBColor.green')
- @DocsEditable
- final CssPrimitiveValue green;
-
- @DomName('RGBColor.red')
- @DocsEditable
- final CssPrimitiveValue red;
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DocsEditable
@DomName('RTCDataChannel')
class RtcDataChannel extends EventTarget native "*RTCDataChannel" {
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698