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

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

Issue 211033008: Fix static warnings in custom_element package (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/pkg.status » ('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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 Element get nextElementSibling => host.nextElementSibling; 297 Element get nextElementSibling => host.nextElementSibling;
298 298
299 Element get offsetParent => host.offsetParent; 299 Element get offsetParent => host.offsetParent;
300 300
301 Element get previousElementSibling => host.previousElementSibling; 301 Element get previousElementSibling => host.previousElementSibling;
302 302
303 CssStyleDeclaration get style => host.style; 303 CssStyleDeclaration get style => host.style;
304 304
305 String get tagName => host.tagName; 305 String get tagName => host.tagName;
306 306
307 String get pseudo => host.pseudo;
308
309 void set pseudo(String value) {
310 host.pseudo = value;
311 }
312
313 // Note: we are not polyfilling the shadow root here. This will be fixed when 307 // Note: we are not polyfilling the shadow root here. This will be fixed when
314 // we migrate to the JS Shadow DOM polyfills. You can still use getShadowRoot 308 // we migrate to the JS Shadow DOM polyfills. You can still use getShadowRoot
315 // to retrieve a node that behaves as the shadow root when Shadow DOM is not 309 // to retrieve a node that behaves as the shadow root when Shadow DOM is not
316 // enabled. 310 // enabled.
317 ShadowRoot get shadowRoot => host.shadowRoot; 311 ShadowRoot get shadowRoot => host.shadowRoot;
318 312
319 void blur() { host.blur(); } 313 void blur() { host.blur(); }
320 314
321 void focus() { host.focus(); } 315 void focus() { host.focus(); }
322 316
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 get xtag => host.xtag; 424 get xtag => host.xtag;
431 425
432 set xtag(value) { host.xtag = value; } 426 set xtag(value) { host.xtag = value; }
433 427
434 Node append(Node e) => host.append(e); 428 Node append(Node e) => host.append(e);
435 429
436 void appendText(String text) => host.appendText(text); 430 void appendText(String text) => host.appendText(text);
437 431
438 void appendHtml(String html) => host.appendHtml(html); 432 void appendHtml(String html) => host.appendHtml(html);
439 433
440 String get regionOverset => host.regionOverset; 434 Animation animate(List<Map> keyframes, [num duration]) =>
441
442 List<Range> getRegionFlowRanges() => host.getRegionFlowRanges();
443
444 void animate(List<Map> keyframes, [num duration]) =>
445 host.animate(keyframes, duration); 435 host.animate(keyframes, duration);
446 436
447 // TODO(jmesserly): rename "created" to "onCreated". 437 // TODO(jmesserly): rename "created" to "onCreated".
448 void onCreated() => created(); 438 void onCreated() => created();
449 439
450 Stream<Event> get onAbort => host.onAbort; 440 Stream<Event> get onAbort => host.onAbort;
451 Stream<Event> get onBeforeCopy => host.onBeforeCopy; 441 Stream<Event> get onBeforeCopy => host.onBeforeCopy;
452 Stream<Event> get onBeforeCut => host.onBeforeCut; 442 Stream<Event> get onBeforeCut => host.onBeforeCut;
453 Stream<Event> get onBeforePaste => host.onBeforePaste; 443 Stream<Event> get onBeforePaste => host.onBeforePaste;
454 Stream<Event> get onBlur => host.onBlur; 444 Stream<Event> get onBlur => host.onBlur;
(...skipping 19 matching lines...) Expand all
474 Stream<KeyboardEvent> get onKeyUp => host.onKeyUp; 464 Stream<KeyboardEvent> get onKeyUp => host.onKeyUp;
475 Stream<Event> get onLoad => host.onLoad; 465 Stream<Event> get onLoad => host.onLoad;
476 Stream<MouseEvent> get onMouseDown => host.onMouseDown; 466 Stream<MouseEvent> get onMouseDown => host.onMouseDown;
477 Stream<MouseEvent> get onMouseEnter => host.onMouseEnter; 467 Stream<MouseEvent> get onMouseEnter => host.onMouseEnter;
478 Stream<MouseEvent> get onMouseLeave => host.onMouseLeave; 468 Stream<MouseEvent> get onMouseLeave => host.onMouseLeave;
479 Stream<MouseEvent> get onMouseMove => host.onMouseMove; 469 Stream<MouseEvent> get onMouseMove => host.onMouseMove;
480 Stream<Event> get onFullscreenChange => host.onFullscreenChange; 470 Stream<Event> get onFullscreenChange => host.onFullscreenChange;
481 Stream<Event> get onFullscreenError => host.onFullscreenError; 471 Stream<Event> get onFullscreenError => host.onFullscreenError;
482 Stream<Event> get onPaste => host.onPaste; 472 Stream<Event> get onPaste => host.onPaste;
483 Stream<Event> get onReset => host.onReset; 473 Stream<Event> get onReset => host.onReset;
474 Stream<Event> get onResize => host.onResize;
484 Stream<Event> get onScroll => host.onScroll; 475 Stream<Event> get onScroll => host.onScroll;
485 Stream<Event> get onSearch => host.onSearch; 476 Stream<Event> get onSearch => host.onSearch;
486 Stream<Event> get onSelect => host.onSelect; 477 Stream<Event> get onSelect => host.onSelect;
487 Stream<Event> get onSelectStart => host.onSelectStart; 478 Stream<Event> get onSelectStart => host.onSelectStart;
488 Stream<Event> get onSubmit => host.onSubmit; 479 Stream<Event> get onSubmit => host.onSubmit;
489 Stream<MouseEvent> get onMouseOut => host.onMouseOut; 480 Stream<MouseEvent> get onMouseOut => host.onMouseOut;
490 Stream<MouseEvent> get onMouseOver => host.onMouseOver; 481 Stream<MouseEvent> get onMouseOver => host.onMouseOver;
491 Stream<MouseEvent> get onMouseUp => host.onMouseUp; 482 Stream<MouseEvent> get onMouseUp => host.onMouseUp;
492 Stream<TouchEvent> get onTouchCancel => host.onTouchCancel; 483 Stream<TouchEvent> get onTouchCancel => host.onTouchCancel;
493 Stream<TouchEvent> get onTouchEnd => host.onTouchEnd; 484 Stream<TouchEvent> get onTouchEnd => host.onTouchEnd;
494 Stream<TouchEvent> get onTouchEnter => host.onTouchEnter; 485 Stream<TouchEvent> get onTouchEnter => host.onTouchEnter;
495 Stream<TouchEvent> get onTouchLeave => host.onTouchLeave; 486 Stream<TouchEvent> get onTouchLeave => host.onTouchLeave;
496 Stream<TouchEvent> get onTouchMove => host.onTouchMove; 487 Stream<TouchEvent> get onTouchMove => host.onTouchMove;
497 Stream<TouchEvent> get onTouchStart => host.onTouchStart; 488 Stream<TouchEvent> get onTouchStart => host.onTouchStart;
498 Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd; 489 Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd;
499 490
500 // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed. 491 // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed.
501 Stream<WheelEvent> get onMouseWheel { 492 Stream<WheelEvent> get onMouseWheel {
502 throw new UnsupportedError('onMouseWheel is not supported'); 493 throw new UnsupportedError('onMouseWheel is not supported');
503 } 494 }
504 } 495 }
OLDNEW
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698