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

Side by Side Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 1239653003: Fixed a few more things to make Dartium build w/o --gen-interop (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Re-enable analyzer tests - now pass. Created 5 years, 5 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of $LIBRARYNAME; 5 part of $LIBRARYNAME;
6 6
7 class _ChildrenElementList extends ListBase<Element> 7 class _ChildrenElementList extends ListBase<Element>
8 implements NodeListWrapper { 8 implements NodeListWrapper {
9 // Raw Element. 9 // Raw Element.
10 final Element _element; 10 final Element _element;
(...skipping 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after
1559 @DomName('Element.scrollTop') 1559 @DomName('Element.scrollTop')
1560 @DocsEditable() 1560 @DocsEditable()
1561 void set scrollTop(int value) => _blink.BlinkElement.instance.scrollTop_Setter _(unwrap_jso(this), value.round()); 1561 void set scrollTop(int value) => _blink.BlinkElement.instance.scrollTop_Setter _(unwrap_jso(this), value.round());
1562 1562
1563 @DomName('Element.scrollWidth') 1563 @DomName('Element.scrollWidth')
1564 @DocsEditable() 1564 @DocsEditable()
1565 int get scrollWidth => _blink.BlinkElement.instance.scrollWidth_Getter_(unwrap _jso(this)).round(); 1565 int get scrollWidth => _blink.BlinkElement.instance.scrollWidth_Getter_(unwrap _jso(this)).round();
1566 $else 1566 $else
1567 @DomName('Element.offsetHeight') 1567 @DomName('Element.offsetHeight')
1568 @DocsEditable() 1568 @DocsEditable()
1569 int get offsetHeight => _blink.BlinkElement.offsetHeight_Getter_(this).round() ; 1569 int get offsetHeight => _blink.BlinkElement.offsetHeight_Getter(this).round();
1570 1570
1571 @DomName('Element.offsetLeft') 1571 @DomName('Element.offsetLeft')
1572 @DocsEditable() 1572 @DocsEditable()
1573 int get offsetLeft => _blink.BlinkElement.offsetLeft_Getter_(this).round(); 1573 int get offsetLeft => _blink.BlinkElement.offsetLeft_Getter(this).round();
1574 1574
1575 @DomName('Element.offsetTop') 1575 @DomName('Element.offsetTop')
1576 @DocsEditable() 1576 @DocsEditable()
1577 int get offsetTop => _blink.BlinkElement.offsetTop_Getter_(this).round(); 1577 int get offsetTop => _blink.BlinkElement.offsetTop_Getter(this).round();
1578 1578
1579 @DomName('Element.offsetWidth') 1579 @DomName('Element.offsetWidth')
1580 @DocsEditable() 1580 @DocsEditable()
1581 int get offsetWidth => _blink.BlinkElement.offsetWidth_Getter_(this).round(); 1581 int get offsetWidth => _blink.BlinkElement.offsetWidth_Getter(this).round();
1582 1582
1583 @DomName('Element.clientHeight') 1583 @DomName('Element.clientHeight')
1584 @DocsEditable() 1584 @DocsEditable()
1585 int get clientHeight => _blink.BlinkElement.clientHeight_Getter_(this).round() ; 1585 int get clientHeight => _blink.BlinkElement.clientHeight_Getter(this).round();
1586 1586
1587 @DomName('Element.clientLeft') 1587 @DomName('Element.clientLeft')
1588 @DocsEditable() 1588 @DocsEditable()
1589 int get clientLeft => _blink.BlinkElement.clientLeft_Getter_(this).round(); 1589 int get clientLeft => _blink.BlinkElement.clientLeft_Getter(this).round();
1590 1590
1591 @DomName('Element.clientTop') 1591 @DomName('Element.clientTop')
1592 @DocsEditable() 1592 @DocsEditable()
1593 int get clientTop => _blink.BlinkElement.clientTop_Getter_(this).round(); 1593 int get clientTop => _blink.BlinkElement.clientTop_Getter(this).round();
1594 1594
1595 @DomName('Element.clientWidth') 1595 @DomName('Element.clientWidth')
1596 @DocsEditable() 1596 @DocsEditable()
1597 int get clientWidth => _blink.BlinkElement.clientWidth_Getter_(this).round(); 1597 int get clientWidth => _blink.BlinkElement.clientWidth_Getter(this).round();
1598 1598
1599 @DomName('Element.scrollHeight') 1599 @DomName('Element.scrollHeight')
1600 @DocsEditable() 1600 @DocsEditable()
1601 int get scrollHeight => _blink.BlinkElement.scrollHeight_Getter_(this).round() ; 1601 int get scrollHeight => _blink.BlinkElement.scrollHeight_Getter(this).round();
1602 1602
1603 @DomName('Element.scrollLeft') 1603 @DomName('Element.scrollLeft')
1604 @DocsEditable() 1604 @DocsEditable()
1605 int get scrollLeft => _blink.BlinkElement.scrollLeft_Getter_(this).round(); 1605 int get scrollLeft => _blink.BlinkElement.scrollLeft_Getter(this).round();
1606 1606
1607 @DomName('Element.scrollLeft') 1607 @DomName('Element.scrollLeft')
1608 @DocsEditable() 1608 @DocsEditable()
1609 void set scrollLeft(int value) => _blink.BlinkElement.scrollLeft_Setter_(this, value.round()); 1609 void set scrollLeft(int value) => _blink.BlinkElement.scrollLeft_Setter(this, value.round());
1610 1610
1611 @DomName('Element.scrollTop') 1611 @DomName('Element.scrollTop')
1612 @DocsEditable() 1612 @DocsEditable()
1613 int get scrollTop => _blink.BlinkElement.scrollTop_Getter_(this).round(); 1613 int get scrollTop => _blink.BlinkElement.scrollTop_Getter(this).round();
1614 1614
1615 @DomName('Element.scrollTop') 1615 @DomName('Element.scrollTop')
1616 @DocsEditable() 1616 @DocsEditable()
1617 void set scrollTop(int value) => _blink.BlinkElement.scrollTop_Setter_(this, v alue.round()); 1617 void set scrollTop(int value) => _blink.BlinkElement.scrollTop_Setter(this, va lue.round());
1618 1618
1619 @DomName('Element.scrollWidth') 1619 @DomName('Element.scrollWidth')
1620 @DocsEditable() 1620 @DocsEditable()
1621 int get scrollWidth => _blink.BlinkElement.scrollWidth_Getter_(this).round(); 1621 int get scrollWidth => _blink.BlinkElement.scrollWidth_Getter(this).round();
1622 $endif 1622 $endif
1623 $endif 1623 $endif
1624 1624
1625 $!MEMBERS 1625 $!MEMBERS
1626 } 1626 }
1627 1627
1628 1628
1629 class _ElementFactoryProvider { 1629 class _ElementFactoryProvider {
1630 1630
1631 @DomName('Document.createElement') 1631 @DomName('Document.createElement')
(...skipping 28 matching lines...) Expand all
1660 const ScrollAlignment._internal(this._value); 1660 const ScrollAlignment._internal(this._value);
1661 toString() => 'ScrollAlignment.$_value'; 1661 toString() => 'ScrollAlignment.$_value';
1662 1662
1663 /// Attempt to align the element to the top of the scrollable area. 1663 /// Attempt to align the element to the top of the scrollable area.
1664 static const TOP = const ScrollAlignment._internal('TOP'); 1664 static const TOP = const ScrollAlignment._internal('TOP');
1665 /// Attempt to center the element in the scrollable area. 1665 /// Attempt to center the element in the scrollable area.
1666 static const CENTER = const ScrollAlignment._internal('CENTER'); 1666 static const CENTER = const ScrollAlignment._internal('CENTER');
1667 /// Attempt to align the element to the bottom of the scrollable area. 1667 /// Attempt to align the element to the bottom of the scrollable area.
1668 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); 1668 static const BOTTOM = const ScrollAlignment._internal('BOTTOM');
1669 } 1669 }
OLDNEW
« no previous file with comments | « tools/dom/src/native_DOMImplementation.dart ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698