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

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

Issue 9662010: Don't put private members in dart:html interfaces. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 8 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 | « client/dom/scripts/systemhtml.py ('k') | client/dom/templates/html/impl/impl_Node.darttemplate » ('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) 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 // TODO(jacobr): use _Lists.dart to remove some of the duplicated 5 // TODO(jacobr): use _Lists.dart to remove some of the duplicated
6 // functionality. 6 // functionality.
7 class _ChildrenElementList implements ElementList { 7 class _ChildrenElementList implements ElementList {
8 // Raw Element. 8 // Raw Element.
9 final _ElementImpl _element; 9 final _ElementImpl _element;
10 final _HTMLCollectionImpl _childElements; 10 final _HTMLCollectionImpl _childElements;
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 () => new _ElementRectImpl(this), 526 () => new _ElementRectImpl(this),
527 new Completer<ElementRect>()); 527 new Completer<ElementRect>());
528 } 528 }
529 529
530 Future<CSSStyleDeclaration> get computedStyle() { 530 Future<CSSStyleDeclaration> get computedStyle() {
531 // TODO(jacobr): last param should be null, see b/5045788 531 // TODO(jacobr): last param should be null, see b/5045788
532 return getComputedStyle(''); 532 return getComputedStyle('');
533 } 533 }
534 534
535 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) { 535 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) {
536 return _createMeasurementFuture(() => 536 return _createMeasurementFuture(
537 window._getComputedStyle(this, pseudoElement), 537 () => _window._getComputedStyle(this, pseudoElement),
538 new Completer<CSSStyleDeclaration>()); 538 new Completer<CSSStyleDeclaration>());
539 } 539 }
540 $!MEMBERS 540 $!MEMBERS
541 } 541 }
OLDNEW
« no previous file with comments | « client/dom/scripts/systemhtml.py ('k') | client/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698