| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _CSSMediaRuleWrappingImplementation extends _CSSRuleWrappingImplementation
implements CSSMediaRule { | 7 class _CSSMediaRuleWrappingImplementation extends _CSSRuleWrappingImplementation
implements CSSMediaRule { |
| 8 _CSSMediaRuleWrappingImplementation() : super() {} | 8 _CSSMediaRuleWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__CSSMediaRuleWrappingImplementation() native { | 10 static create__CSSMediaRuleWrappingImplementation() native { |
| 11 return new _CSSMediaRuleWrappingImplementation(); | 11 return new _CSSMediaRuleWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 CSSRuleList get cssRules() { return _get__CSSMediaRule_cssRules(this); } | 14 CSSRuleList get cssRules() { return _get_cssRules(this); } |
| 15 static CSSRuleList _get__CSSMediaRule_cssRules(var _this) native; | 15 static CSSRuleList _get_cssRules(var _this) native; |
| 16 | 16 |
| 17 MediaList get media() { return _get__CSSMediaRule_media(this); } | 17 MediaList get media() { return _get_media(this); } |
| 18 static MediaList _get__CSSMediaRule_media(var _this) native; | 18 static MediaList _get_media(var _this) native; |
| 19 | 19 |
| 20 void deleteRule(int index) { | 20 void deleteRule(int index) { |
| 21 _deleteRule(this, index); | 21 _deleteRule(this, index); |
| 22 return; | 22 return; |
| 23 } | 23 } |
| 24 static void _deleteRule(receiver, index) native; | 24 static void _deleteRule(receiver, index) native; |
| 25 | 25 |
| 26 int insertRule(String rule, int index) { | 26 int insertRule(String rule, int index) { |
| 27 return _insertRule(this, rule, index); | 27 return _insertRule(this, rule, index); |
| 28 } | 28 } |
| 29 static int _insertRule(receiver, rule, index) native; | 29 static int _insertRule(receiver, rule, index) native; |
| 30 | 30 |
| 31 String get typeName() { return "CSSMediaRule"; } | 31 String get typeName() { return "CSSMediaRule"; } |
| 32 } | 32 } |
| OLD | NEW |