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

Side by Side Diff: sdk/lib/html/html_common/metadata.dart

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: Merged and stuff.' 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_common; 5 library metadata;
blois 2013/01/12 01:21:29 Any specific reasons for this? I'd recommend break
Andrei Mouravski 2013/01/14 22:56:46 Done.
6 6
7 /** 7 /**
8 * An annotation used to mark a feature as only being supported by a subset 8 * An annotation used to mark a feature as only being supported by a subset
9 * of the browsers that Dart supports by default. 9 * of the browsers that Dart supports by default.
10 * 10 *
11 * If an API is not annotated with [SupportedBrowser] then it is assumed to 11 * If an API is not annotated with [SupportedBrowser] then it is assumed to
12 * work on all browsers Dart supports. 12 * work on all browsers Dart supports.
13 */ 13 */
14 class SupportedBrowser { 14 class SupportedBrowser {
15 static const String CHROME = "Chrome"; 15 static const String CHROME = "Chrome";
(...skipping 17 matching lines...) Expand all
33 * An API is considered to be experimental if it is still going through the 33 * An API is considered to be experimental if it is still going through the
34 * process of stabilizing and is subject to change or removal. 34 * process of stabilizing and is subject to change or removal.
35 * 35 *
36 * See also: 36 * See also:
37 * 37 *
38 * * [W3C recommendation](http://en.wikipedia.org/wiki/W3C_recommendation) 38 * * [W3C recommendation](http://en.wikipedia.org/wiki/W3C_recommendation)
39 */ 39 */
40 class Experimental { 40 class Experimental {
41 const Experimental(); 41 const Experimental();
42 } 42 }
43
44
45 /// Metadata that specifies the DOM name associated with the element.
blois 2013/01/12 01:21:29 Would add something to the extent that this is int
Andrei Mouravski 2013/01/14 22:56:46 Done.
46 class DomName {
47 final name;
48 const DomName(this.name);
49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698