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

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

Issue 1894713002: Strong html (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: ptal Created 4 years, 8 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 @DocsEditable() 7 @DocsEditable()
8 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME extends Node 8 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME extends Node
9 { 9 {
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 [int whatToShow, NodeFilter filter]) 108 [int whatToShow, NodeFilter filter])
109 => JS('NodeIterator', '#.createNodeIterator(#, #, #, false)', 109 => JS('NodeIterator', '#.createNodeIterator(#, #, #, false)',
110 this, root, whatToShow, filter); 110 this, root, whatToShow, filter);
111 111
112 @DomName('Document.createTreeWalker') 112 @DomName('Document.createTreeWalker')
113 TreeWalker _createTreeWalker(Node root, 113 TreeWalker _createTreeWalker(Node root,
114 [int whatToShow, NodeFilter filter]) 114 [int whatToShow, NodeFilter filter])
115 => JS('TreeWalker', '#.createTreeWalker(#, #, #, false)', 115 => JS('TreeWalker', '#.createTreeWalker(#, #, #, false)',
116 this, root, whatToShow, filter); 116 this, root, whatToShow, filter);
117 $endif 117 $endif
118
119 @DomName('Document.visibilityState')
120 @SupportedBrowser(SupportedBrowser.CHROME)
121 @SupportedBrowser(SupportedBrowser.FIREFOX)
122 @SupportedBrowser(SupportedBrowser.IE, '10')
123 @Experimental()
124 $if DART2JS
125 String get visibilityState => JS('String',
126 '(#.visibilityState || #.mozVisibilityState || #.msVisibilityState ||'
127 '#.webkitVisibilityState)', this, this, this, this);
128 $else
129 String get visibilityState => _visibilityState;
130 $endif
118 } 131 }
OLDNEW
« no previous file with comments | « tools/dom/src/shared_html.dart ('k') | tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698