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

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

Issue 11887006: Changed @domName annotation in comment to full fledge @DomName annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 7 years, 11 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
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 html; 5 part of html;
6 6 $ANNOTATIONS
7 /// @domName $DOMNAME
8 @SupportedBrowser(SupportedBrowser.CHROME) 7 @SupportedBrowser(SupportedBrowser.CHROME)
9 @SupportedBrowser(SupportedBrowser.FIREFOX) 8 @SupportedBrowser(SupportedBrowser.FIREFOX)
10 @SupportedBrowser(SupportedBrowser.SAFARI) 9 @SupportedBrowser(SupportedBrowser.SAFARI)
11 @Experimental() 10 @Experimental()
12 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 11 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
13 $!MEMBERS 12 $!MEMBERS
14 /** 13 /**
15 * Checks to see if the mutation observer API is supported on the current 14 * Checks to see if the mutation observer API is supported on the current
16 * platform. 15 * platform.
17 */ 16 */
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // Dummy statement to mark types as instantiated. 99 // Dummy statement to mark types as instantiated.
101 JS('MutationObserver|MutationRecord', '0'); 100 JS('MutationObserver|MutationRecord', '0');
102 101
103 return JS('MutationObserver', 102 return JS('MutationObserver',
104 'new(window.MutationObserver||window.WebKitMutationObserver||' 103 'new(window.MutationObserver||window.WebKitMutationObserver||'
105 'window.MozMutationObserver)(#)', 104 'window.MozMutationObserver)(#)',
106 convertDartClosureToJS(callback, 2)); 105 convertDartClosureToJS(callback, 2));
107 } 106 }
108 $endif 107 $endif
109 } 108 }
OLDNEW
« no previous file with comments | « tools/dom/templates/html/impl/impl_IDBKeyRange.darttemplate ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698