| OLD | NEW |
| 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 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1370 @DocsEditable() | 1370 @DocsEditable() |
| 1371 num scrollTop; | 1371 num scrollTop; |
| 1372 | 1372 |
| 1373 @DomName('Element.scrollWidth') | 1373 @DomName('Element.scrollWidth') |
| 1374 @DocsEditable() | 1374 @DocsEditable() |
| 1375 final num scrollWidth; | 1375 final num scrollWidth; |
| 1376 | 1376 |
| 1377 $else | 1377 $else |
| 1378 @DomName('Element.offsetHeight') | 1378 @DomName('Element.offsetHeight') |
| 1379 @DocsEditable() | 1379 @DocsEditable() |
| 1380 num get offsetHeight => Native_Element_offsetHeight_Getter(this); | 1380 num get offsetHeight => _blink.Native_Element_offsetHeight_Getter(this); |
| 1381 | 1381 |
| 1382 @DomName('Element.offsetLeft') | 1382 @DomName('Element.offsetLeft') |
| 1383 @DocsEditable() | 1383 @DocsEditable() |
| 1384 num get offsetLeft => Native_Element_offsetLeft_Getter(this); | 1384 num get offsetLeft => _blink.Native_Element_offsetLeft_Getter(this); |
| 1385 | 1385 |
| 1386 @DomName('Element.offsetTop') | 1386 @DomName('Element.offsetTop') |
| 1387 @DocsEditable() | 1387 @DocsEditable() |
| 1388 num get offsetTop => Native_Element_offsetTop_Getter(this); | 1388 num get offsetTop => _blink.Native_Element_offsetTop_Getter(this); |
| 1389 | 1389 |
| 1390 @DomName('Element.offsetWidth') | 1390 @DomName('Element.offsetWidth') |
| 1391 @DocsEditable() | 1391 @DocsEditable() |
| 1392 num get offsetWidth => Native_Element_offsetWidth_Getter(this); | 1392 num get offsetWidth => _blink.Native_Element_offsetWidth_Getter(this); |
| 1393 | 1393 |
| 1394 @DomName('Element.clientHeight') | 1394 @DomName('Element.clientHeight') |
| 1395 @DocsEditable() | 1395 @DocsEditable() |
| 1396 num get clientHeight => Native_Element_clientHeight_Getter(this); | 1396 num get clientHeight => _blink.Native_Element_clientHeight_Getter(this); |
| 1397 | 1397 |
| 1398 @DomName('Element.clientLeft') | 1398 @DomName('Element.clientLeft') |
| 1399 @DocsEditable() | 1399 @DocsEditable() |
| 1400 num get clientLeft => Native_Element_clientLeft_Getter(this); | 1400 num get clientLeft => _blink.Native_Element_clientLeft_Getter(this); |
| 1401 | 1401 |
| 1402 @DomName('Element.clientTop') | 1402 @DomName('Element.clientTop') |
| 1403 @DocsEditable() | 1403 @DocsEditable() |
| 1404 num get clientTop => Native_Element_clientTop_Getter(this); | 1404 num get clientTop => _blink.Native_Element_clientTop_Getter(this); |
| 1405 | 1405 |
| 1406 @DomName('Element.clientWidth') | 1406 @DomName('Element.clientWidth') |
| 1407 @DocsEditable() | 1407 @DocsEditable() |
| 1408 num get clientWidth => Native_Element_clientWidth_Getter(this); | 1408 num get clientWidth => _blink.Native_Element_clientWidth_Getter(this); |
| 1409 | 1409 |
| 1410 @DomName('Element.scrollHeight') | 1410 @DomName('Element.scrollHeight') |
| 1411 @DocsEditable() | 1411 @DocsEditable() |
| 1412 num get scrollHeight => Native_Element_scrollHeight_Getter(this); | 1412 num get scrollHeight => _blink.Native_Element_scrollHeight_Getter(this); |
| 1413 | 1413 |
| 1414 @DomName('Element.scrollLeft') | 1414 @DomName('Element.scrollLeft') |
| 1415 @DocsEditable() | 1415 @DocsEditable() |
| 1416 num get scrollLeft => Native_Element_scrollLeft_Getter(this); | 1416 num get scrollLeft => _blink.Native_Element_scrollLeft_Getter(this); |
| 1417 | 1417 |
| 1418 @DomName('Element.scrollLeft') | 1418 @DomName('Element.scrollLeft') |
| 1419 @DocsEditable() | 1419 @DocsEditable() |
| 1420 void set scrollLeft(num value) => Native_Element_scrollLeft_Setter(this, value
); | 1420 void set scrollLeft(num value) => _blink.Native_Element_scrollLeft_Setter(this
, value); |
| 1421 | 1421 |
| 1422 @DomName('Element.scrollTop') | 1422 @DomName('Element.scrollTop') |
| 1423 @DocsEditable() | 1423 @DocsEditable() |
| 1424 num get scrollTop => Native_Element_scrollTop_Getter(this); | 1424 num get scrollTop => _blink.Native_Element_scrollTop_Getter(this); |
| 1425 | 1425 |
| 1426 @DomName('Element.scrollTop') | 1426 @DomName('Element.scrollTop') |
| 1427 @DocsEditable() | 1427 @DocsEditable() |
| 1428 void set scrollTop(num value) => Native_Element_scrollTop_Setter(this, value); | 1428 void set scrollTop(num value) => _blink.Native_Element_scrollTop_Setter(this,
value); |
| 1429 | 1429 |
| 1430 @DomName('Element.scrollWidth') | 1430 @DomName('Element.scrollWidth') |
| 1431 @DocsEditable() | 1431 @DocsEditable() |
| 1432 num get scrollWidth => Native_Element_scrollWidth_Getter(this); | 1432 num get scrollWidth => _blink.Native_Element_scrollWidth_Getter(this); |
| 1433 $endif | 1433 $endif |
| 1434 | 1434 |
| 1435 $!MEMBERS | 1435 $!MEMBERS |
| 1436 } | 1436 } |
| 1437 | 1437 |
| 1438 | 1438 |
| 1439 class _ElementFactoryProvider { | 1439 class _ElementFactoryProvider { |
| 1440 | 1440 |
| 1441 @DomName('Document.createElement') | 1441 @DomName('Document.createElement') |
| 1442 $if DART2JS | 1442 $if DART2JS |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1470 const ScrollAlignment._internal(this._value); | 1470 const ScrollAlignment._internal(this._value); |
| 1471 toString() => 'ScrollAlignment.$_value'; | 1471 toString() => 'ScrollAlignment.$_value'; |
| 1472 | 1472 |
| 1473 /// Attempt to align the element to the top of the scrollable area. | 1473 /// Attempt to align the element to the top of the scrollable area. |
| 1474 static const TOP = const ScrollAlignment._internal('TOP'); | 1474 static const TOP = const ScrollAlignment._internal('TOP'); |
| 1475 /// Attempt to center the element in the scrollable area. | 1475 /// Attempt to center the element in the scrollable area. |
| 1476 static const CENTER = const ScrollAlignment._internal('CENTER'); | 1476 static const CENTER = const ScrollAlignment._internal('CENTER'); |
| 1477 /// Attempt to align the element to the bottom of the scrollable area. | 1477 /// Attempt to align the element to the bottom of the scrollable area. |
| 1478 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); | 1478 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); |
| 1479 } | 1479 } |
| OLD | NEW |