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

Side by Side Diff: lib/web_ui.dart

Issue 18581007: Address comments directly in master, adjust for new sdk html fields. (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 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 /** 5 /**
6 * This library exports all of the commonly used functions and types for 6 * This library exports all of the commonly used functions and types for
7 * building UI's. It is equivalent to the following imports: 7 * building UI's. It is equivalent to the following imports:
8 * 8 *
9 * import 'package:web_ui/observe.dart'; 9 * import 'package:web_ui/observe.dart';
10 * import 'package:web_ui/safe_html.dart'; 10 * import 'package:web_ui/safe_html.dart';
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 void $dom_removeAttribute(String name) => 610 void $dom_removeAttribute(String name) =>
611 host.$dom_removeAttribute(name); 611 host.$dom_removeAttribute(name);
612 612
613 void $dom_setAttribute(String name, String value) => 613 void $dom_setAttribute(String name, String value) =>
614 host.$dom_setAttribute(name, value); 614 host.$dom_setAttribute(name, value);
615 615
616 get $dom_attributes => host.$dom_attributes; 616 get $dom_attributes => host.$dom_attributes;
617 617
618 List<Node> get $dom_childNodes => host.$dom_childNodes; 618 List<Node> get $dom_childNodes => host.$dom_childNodes;
619 619
620 Node get $dom_firstChild => host.$dom_firstChild; 620 Node get firstChild => host.firstChild;
621 621
622 Node get $dom_lastChild => host.$dom_lastChild; 622 Node get lastChild => host.lastChild;
623 623
624 String get localName => host.localName; 624 String get localName => host.localName;
625 String get $dom_localName => host.$dom_localName; 625 String get $dom_localName => host.$dom_localName;
626 626
627 String get namespaceUri => host.namespaceUri; 627 String get namespaceUri => host.namespaceUri;
628 String get $dom_namespaceUri => host.$dom_namespaceUri; 628 String get $dom_namespaceUri => host.$dom_namespaceUri;
629 629
630 int get nodeType => host.nodeType; 630 int get nodeType => host.nodeType;
631 631
632 void $dom_addEventListener(String type, EventListener listener, 632 void $dom_addEventListener(String type, EventListener listener,
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 } 758 }
759 759
760 /** 760 /**
761 * Set this to true to use native Shadow DOM if it is supported. 761 * Set this to true to use native Shadow DOM if it is supported.
762 * Note that this will change behavior of [WebComponent] APIs for tree 762 * Note that this will change behavior of [WebComponent] APIs for tree
763 * traversal. 763 * traversal.
764 */ 764 */
765 bool useShadowDom = false; 765 bool useShadowDom = false;
766 766
767 bool get _realShadowRoot => useShadowDom && ShadowRoot.supported; 767 bool get _realShadowRoot => useShadowDom && ShadowRoot.supported;
OLDNEW
« no previous file with comments | « lib/testing/render_test.dart ('k') | test/data/input/css_compile/index_apply_shadow_dom_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698