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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/html/html_common/metadata.dart
diff --git a/sdk/lib/html/html_common/metadata.dart b/sdk/lib/html/html_common/metadata.dart
index 577d1a189151340b3a9b7ff4b71d4878391e88ad..c4c125ac3f69221a819cd08c26100b32b3ec4d7f 100644
--- a/sdk/lib/html/html_common/metadata.dart
+++ b/sdk/lib/html/html_common/metadata.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-part of html_common;
+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.
/**
* An annotation used to mark a feature as only being supported by a subset
@@ -40,3 +40,10 @@ class SupportedBrowser {
class Experimental {
const Experimental();
}
+
+
+/// 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.
+class DomName {
+ final name;
+ const DomName(this.name);
+}

Powered by Google App Engine
This is Rietveld 408576698