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

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

Issue 266793004: [custom_element] fix warning caused by new dart:html methods (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 | no next file » | 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 */ 91 */
92 void created() {} 92 void created() {}
93 // Added for analyzer warnings 93 // Added for analyzer warnings
94 @deprecated 94 @deprecated
95 void createdCallback() {} 95 void createdCallback() {}
96 96
97 /** Invoked when this component gets inserted in the DOM tree. */ 97 /** Invoked when this component gets inserted in the DOM tree. */
98 void inserted() {} 98 void inserted() {}
99 @deprecated 99 @deprecated
100 void enteredView() {} 100 void enteredView() {}
101 @deprecated
102 void attached() {}
101 103
102 /** Invoked when this component is removed from the DOM tree. */ 104 /** Invoked when this component is removed from the DOM tree. */
103 void removed() {} 105 void removed() {}
104 @deprecated 106 @deprecated
105 void leftView() {} 107 void leftView() {}
108 @deprecated
109 void detached() {}
106 110
107 /** Invoked when any attribute of the component is modified. */ 111 /** Invoked when any attribute of the component is modified. */
108 void attributeChanged(String name, String oldValue, String newValue) => 112 void attributeChanged(String name, String oldValue, String newValue) =>
109 host.attributeChanged(name, oldValue, newValue); 113 host.attributeChanged(name, oldValue, newValue);
110 114
111 // TODO(efortuna): Update these when we decide what to do with these 115 // TODO(efortuna): Update these when we decide what to do with these
112 // properties. 116 // properties.
113 @deprecated 117 @deprecated
114 String getAttribute(String name) => 118 String getAttribute(String name) =>
115 host.getAttribute(name); 119 host.getAttribute(name);
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 Stream<TouchEvent> get onTouchLeave => host.onTouchLeave; 491 Stream<TouchEvent> get onTouchLeave => host.onTouchLeave;
488 Stream<TouchEvent> get onTouchMove => host.onTouchMove; 492 Stream<TouchEvent> get onTouchMove => host.onTouchMove;
489 Stream<TouchEvent> get onTouchStart => host.onTouchStart; 493 Stream<TouchEvent> get onTouchStart => host.onTouchStart;
490 Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd; 494 Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd;
491 495
492 // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed. 496 // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed.
493 Stream<WheelEvent> get onMouseWheel { 497 Stream<WheelEvent> get onMouseWheel {
494 throw new UnsupportedError('onMouseWheel is not supported'); 498 throw new UnsupportedError('onMouseWheel is not supported');
495 } 499 }
496 } 500 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698