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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 12964003: Allowing renaming on DOM members on a per-method basis (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index f3719d3094736dc51ca1f3766032d4742d90e9ba..b066bcfeac913a81010e7c95ddbb8f845e3e45c7 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -1502,23 +1502,13 @@ class CanvasRenderingContext2D extends CanvasRenderingContext {
@DocsEditable
void closePath() native "CanvasRenderingContext2D_closePath_Callback";
- ImageData createImageData(imagedata_OR_sw, [num sh]) {
- if ((imagedata_OR_sw is ImageData || imagedata_OR_sw == null) && !?sh) {
- return _createImageData_1(imagedata_OR_sw);
- }
- if ((imagedata_OR_sw is num || imagedata_OR_sw == null) && (sh is num || sh == null)) {
- return _createImageData_2(imagedata_OR_sw, sh);
- }
- throw new ArgumentError("Incorrect number or type of arguments");
- }
-
- @DomName('CanvasRenderingContext2D._createImageData_1')
+ @DomName('CanvasRenderingContext2D.createImageData')
@DocsEditable
- ImageData _createImageData_1(imagedata_OR_sw) native "CanvasRenderingContext2D__createImageData_1_Callback";
+ ImageData createImageData(num sw, num sh) native "CanvasRenderingContext2D_createImageData_Callback";
- @DomName('CanvasRenderingContext2D._createImageData_2')
+ @DomName('CanvasRenderingContext2D.createImageDataFromImageData')
@DocsEditable
- ImageData _createImageData_2(imagedata_OR_sw, sh) native "CanvasRenderingContext2D__createImageData_2_Callback";
+ ImageData createImageDataFromImageData(ImageData imagedata) native "CanvasRenderingContext2D_createImageDataFromImageData_Callback";
@DomName('CanvasRenderingContext2D.createLinearGradient')
@DocsEditable
@@ -3078,6 +3068,10 @@ class CssStyleDeclaration extends NativeFieldWrapperClass1 {
@DocsEditable
CssRule get parentRule native "CSSStyleDeclaration_parentRule_Getter";
+ @DomName('CSSStyleDeclaration._getPropertyValue')
+ @DocsEditable
+ String _getPropertyValue(String propertyName) native "CSSStyleDeclaration__getPropertyValue_Callback";
+
@DomName('CSSStyleDeclaration.getPropertyCSSValue')
@DocsEditable
CssValue getPropertyCssValue(String propertyName) native "CSSStyleDeclaration_getPropertyCSSValue_Callback";
@@ -3090,10 +3084,6 @@ class CssStyleDeclaration extends NativeFieldWrapperClass1 {
@DocsEditable
String getPropertyShorthand(String propertyName) native "CSSStyleDeclaration_getPropertyShorthand_Callback";
- @DomName('CSSStyleDeclaration._getPropertyValue')
- @DocsEditable
- String _getPropertyValue(String propertyName) native "CSSStyleDeclaration__getPropertyValue_Callback";
-
@DomName('CSSStyleDeclaration.isPropertyImplicit')
@DocsEditable
bool isPropertyImplicit(String propertyName) native "CSSStyleDeclaration_isPropertyImplicit_Callback";
@@ -18763,14 +18753,14 @@ class MutationObserver extends NativeFieldWrapperClass1 {
@DocsEditable
static MutationObserver _create(callback) native "MutationObserver_constructorCallback";
- @DomName('MutationObserver.disconnect')
- @DocsEditable
- void disconnect() native "MutationObserver_disconnect_Callback";
-
@DomName('MutationObserver._observe')
@DocsEditable
void _observe(Node target, Map options) native "MutationObserver__observe_Callback";
+ @DomName('MutationObserver.disconnect')
+ @DocsEditable
+ void disconnect() native "MutationObserver_disconnect_Callback";
+
@DomName('MutationObserver.takeRecords')
@DocsEditable
List<MutationRecord> takeRecords() native "MutationObserver_takeRecords_Callback";
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698