| OLD | NEW | 
|---|
| 1 // Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 /** | 5 /** | 
| 6  * Custom DOM elements. | 6  * Custom DOM elements. | 
| 7  * | 7  * | 
| 8  * This library provides access to the Polymer project's | 8  * This library provides access to the Polymer project's | 
| 9  * [Custom Elements] | 9  * [Custom Elements] | 
| 10  * (http://www.polymer-project.org/platform/custom-elements.html) | 10  * (http://www.polymer-project.org/platform/custom-elements.html) | 
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 242   void setInnerHtml(String html, | 242   void setInnerHtml(String html, | 
| 243     {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { | 243     {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { | 
| 244     host.setInnerHtml(html, validator: validator, treeSanitizer: treeSanitizer); | 244     host.setInnerHtml(html, validator: validator, treeSanitizer: treeSanitizer); | 
| 245   } | 245   } | 
| 246 | 246 | 
| 247   DocumentFragment createFragment(String html, | 247   DocumentFragment createFragment(String html, | 
| 248       {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) => | 248       {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) => | 
| 249     host.createFragment(html, | 249     host.createFragment(html, | 
| 250         validator: validator, treeSanitizer: treeSanitizer); | 250         validator: validator, treeSanitizer: treeSanitizer); | 
| 251 | 251 | 
| 252   InputMethodContext get inputMethodContext => host.inputMethodContext; |  | 
| 253 |  | 
| 254   bool get isContentEditable => host.isContentEditable; | 252   bool get isContentEditable => host.isContentEditable; | 
| 255 | 253 | 
| 256   String get lang => host.lang; | 254   String get lang => host.lang; | 
| 257   set lang(String v) { host.lang = v; } | 255   set lang(String v) { host.lang = v; } | 
| 258 | 256 | 
| 259   String get outerHtml => host.outerHtml; | 257   String get outerHtml => host.outerHtml; | 
| 260 | 258 | 
| 261   bool get spellcheck => host.spellcheck; | 259   bool get spellcheck => host.spellcheck; | 
| 262   set spellcheck(bool v) { host.spellcheck = v; } | 260   set spellcheck(bool v) { host.spellcheck = v; } | 
| 263 | 261 | 
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 497   Stream<TouchEvent> get onTouchLeave => host.onTouchLeave; | 495   Stream<TouchEvent> get onTouchLeave => host.onTouchLeave; | 
| 498   Stream<TouchEvent> get onTouchMove => host.onTouchMove; | 496   Stream<TouchEvent> get onTouchMove => host.onTouchMove; | 
| 499   Stream<TouchEvent> get onTouchStart => host.onTouchStart; | 497   Stream<TouchEvent> get onTouchStart => host.onTouchStart; | 
| 500   Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd; | 498   Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd; | 
| 501 | 499 | 
| 502   // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed. | 500   // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed. | 
| 503   Stream<WheelEvent> get onMouseWheel { | 501   Stream<WheelEvent> get onMouseWheel { | 
| 504     throw new UnsupportedError('onMouseWheel is not supported'); | 502     throw new UnsupportedError('onMouseWheel is not supported'); | 
| 505   } | 503   } | 
| 506 } | 504 } | 
| OLD | NEW | 
|---|