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

Side by Side Diff: client/html/release/html.dart

Issue 8673005: This class wasn't used anyway. Removing as it causes errors due to recent VM changes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | client/html/src/Element.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 #library('html'); 1 #library('html');
2 2
3 #import('dart:dom', prefix:'dom'); 3 #import('dart:dom', prefix:'dom');
4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5 // for details. All rights reserved. Use of this source code is governed by a 5 // for details. All rights reserved. Use of this source code is governed by a
6 // BSD-style license that can be found in the LICENSE file. 6 // BSD-style license that can be found in the LICENSE file.
7 7
8 // DO NOT EDIT 8 // DO NOT EDIT
9 // Auto-generated Dart HTML library. 9 // Auto-generated Dart HTML library.
10 10
(...skipping 22915 matching lines...) Expand 10 before | Expand all | Expand 10 after
22926 interface ElementList extends List<Element> { 22926 interface ElementList extends List<Element> {
22927 // TODO(jacobr): add element batch manipulation methods. 22927 // TODO(jacobr): add element batch manipulation methods.
22928 Element get first(); 22928 Element get first();
22929 // TODO(jacobr): add insertAt 22929 // TODO(jacobr): add insertAt
22930 } 22930 }
22931 22931
22932 class DeferredElementRect { 22932 class DeferredElementRect {
22933 // TODO(jacobr) 22933 // TODO(jacobr)
22934 } 22934 }
22935 22935
22936 class ScrollOptions {
22937 final int lines;
22938 final int pages;
22939 final bool center;
22940
22941 ScrollOptions([this.lines = 0, this.pages = 0, this.center = false]);
22942 }
22943
22944 interface ElementEvents extends Events { 22936 interface ElementEvents extends Events {
22945 EventListenerList get abort(); 22937 EventListenerList get abort();
22946 EventListenerList get beforeCopy(); 22938 EventListenerList get beforeCopy();
22947 EventListenerList get beforeCut(); 22939 EventListenerList get beforeCut();
22948 EventListenerList get beforePaste(); 22940 EventListenerList get beforePaste();
22949 EventListenerList get blur(); 22941 EventListenerList get blur();
22950 EventListenerList get change(); 22942 EventListenerList get change();
22951 EventListenerList get click(); 22943 EventListenerList get click();
22952 EventListenerList get contextMenu(); 22944 EventListenerList get contextMenu();
22953 EventListenerList get copy(); 22945 EventListenerList get copy();
(...skipping 2373 matching lines...) Expand 10 before | Expand all | Expand 10 after
25327 for(Node element in this) { 25319 for(Node element in this) {
25328 if (f(element)) { 25320 if (f(element)) {
25329 return true; 25321 return true;
25330 } 25322 }
25331 }; 25323 };
25332 return false; 25324 return false;
25333 } 25325 }
25334 25326
25335 /** @domName Node.hasChildNodes */ 25327 /** @domName Node.hasChildNodes */
25336 bool isEmpty() { 25328 bool isEmpty() {
25337 return _node.hasChildNodes(); 25329 return !_node.hasChildNodes();
25338 } 25330 }
25339 25331
25340 int get length() { 25332 int get length() {
25341 return _childNodes.length; 25333 return _childNodes.length;
25342 } 25334 }
25343 25335
25344 Node operator [](int index) { 25336 Node operator [](int index) {
25345 return LevelDom.wrapNode(_childNodes[index]); 25337 return LevelDom.wrapNode(_childNodes[index]);
25346 } 25338 }
25347 25339
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
25466 } 25458 }
25467 25459
25468 Node remove() { 25460 Node remove() {
25469 // TODO(jacobr): should we throw an exception if parent is already null? 25461 // TODO(jacobr): should we throw an exception if parent is already null?
25470 if (_ptr.parentNode !== null) { 25462 if (_ptr.parentNode !== null) {
25471 _ptr.parentNode.removeChild(_ptr); 25463 _ptr.parentNode.removeChild(_ptr);
25472 } 25464 }
25473 return this; 25465 return this;
25474 } 25466 }
25475 25467
25476 /** @domName Node.contains */ 25468 /** @domName contains */
25477 bool contains(Node otherNode) { 25469 bool contains(Node otherNode) {
25478 // TODO: Feature detect and use built in. 25470 // TODO: Feature detect and use built in.
25479 while (otherNode != null && otherNode != this) { 25471 while (otherNode != null && otherNode != this) {
25480 otherNode = otherNode.parent; 25472 otherNode = otherNode.parent;
25481 } 25473 }
25482 return otherNode == this; 25474 return otherNode == this;
25483 } 25475 }
25484 25476
25485 // TODO(jacobr): remove when/if List supports a method similar to 25477 // TODO(jacobr): remove when/if List supports a method similar to
25486 // insertBefore or we switch NodeList to implement LinkedList rather than 25478 // insertBefore or we switch NodeList to implement LinkedList rather than
(...skipping 2195 matching lines...) Expand 10 before | Expand all | Expand 10 after
27682 _ptr.setRequestHeader(header, value); 27674 _ptr.setRequestHeader(header, value);
27683 } 27675 }
27684 27676
27685 XMLHttpRequestEvents get on() { 27677 XMLHttpRequestEvents get on() {
27686 if (_on === null) { 27678 if (_on === null) {
27687 _on = new XMLHttpRequestEventsImplementation._wrap(_ptr); 27679 _on = new XMLHttpRequestEventsImplementation._wrap(_ptr);
27688 } 27680 }
27689 return _on; 27681 return _on;
27690 } 27682 }
27691 } 27683 }
OLDNEW
« no previous file with comments | « no previous file | client/html/src/Element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698