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

Side by Side Diff: pkg/custom_element/lib/custom_element.dart

Issue 160963004: Revert all html warning changes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
252 bool get isContentEditable => host.isContentEditable; 254 bool get isContentEditable => host.isContentEditable;
253 255
254 String get lang => host.lang; 256 String get lang => host.lang;
255 set lang(String v) { host.lang = v; } 257 set lang(String v) { host.lang = v; }
256 258
257 String get outerHtml => host.outerHtml; 259 String get outerHtml => host.outerHtml;
258 260
259 bool get spellcheck => host.spellcheck; 261 bool get spellcheck => host.spellcheck;
260 set spellcheck(bool v) { host.spellcheck = v; } 262 set spellcheck(bool v) { host.spellcheck = v; }
261 263
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 Stream<TouchEvent> get onTouchLeave => host.onTouchLeave; 497 Stream<TouchEvent> get onTouchLeave => host.onTouchLeave;
496 Stream<TouchEvent> get onTouchMove => host.onTouchMove; 498 Stream<TouchEvent> get onTouchMove => host.onTouchMove;
497 Stream<TouchEvent> get onTouchStart => host.onTouchStart; 499 Stream<TouchEvent> get onTouchStart => host.onTouchStart;
498 Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd; 500 Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd;
499 501
500 // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed. 502 // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed.
501 Stream<WheelEvent> get onMouseWheel { 503 Stream<WheelEvent> get onMouseWheel {
502 throw new UnsupportedError('onMouseWheel is not supported'); 504 throw new UnsupportedError('onMouseWheel is not supported');
503 } 505 }
504 } 506 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698