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

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

Issue 12041090: Changed how Experimental annotation works. No longer is a constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 library metadata; 5 library metadata;
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 *
(...skipping 20 matching lines...) Expand all
31 /** 31 /**
32 * An annotation used to mark an API as being experimental. 32 * An annotation used to mark an API as being experimental.
33 * 33 *
34 * An API is considered to be experimental if it is still going through the 34 * An API is considered to be experimental if it is still going through the
35 * process of stabilizing and is subject to change or removal. 35 * process of stabilizing and is subject to change or removal.
36 * 36 *
37 * See also: 37 * See also:
38 * 38 *
39 * * [W3C recommendation](http://en.wikipedia.org/wiki/W3C_recommendation) 39 * * [W3C recommendation](http://en.wikipedia.org/wiki/W3C_recommendation)
40 */ 40 */
41 class Experimental { 41 class Experimental {}
42 const Experimental();
43 }
44 42
45 43
46 /** 44 /**
47 * Metadata that specifies the DOM name associated with the element. 45 * Metadata that specifies the DOM name associated with the element.
48 * 46 *
49 * This is used for API generation. 47 * This is used for API generation.
50 * 48 *
51 * [name] should be formatted as `interface.member`. 49 * [name] should be formatted as `interface.member`.
52 */ 50 */
53 class DomName { 51 class DomName {
54 final String name; 52 final String name;
55 const DomName(this.name); 53 const DomName(this.name);
56 } 54 }
57 55
58 56
59 /// Metadata that specifies that that member is editable through generated 57 /// Metadata that specifies that that member is editable through generated
60 /// files. 58 /// files.
61 class DocsEditable {} 59 class DocsEditable {}
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698