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

Unified Diff: utils/apidoc/html_diff_dump.dart

Issue 10389097: Move dart:dom to dart:dom_deprecated (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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: utils/apidoc/html_diff_dump.dart
diff --git a/utils/apidoc/html_diff_dump.dart b/utils/apidoc/html_diff_dump.dart
index 68de909dffad42fe938f73fb9effb422ac4bbac9..bb41e7ca3c30c3ab99c2c9749e99ca95b89365c9 100644
--- a/utils/apidoc/html_diff_dump.dart
+++ b/utils/apidoc/html_diff_dump.dart
@@ -4,10 +4,10 @@
/**
* A script for printing a JSON dump of HTML diff data. In particular, this
- * lists a map of `dart:dom` methods that have been renamed to `dart:html`
- * methods without changing their semantics, and `dart:dom` methods that have
+ * lists a map of `dart:dom_deprecated` methods that have been renamed to `dart:html`
+ * methods without changing their semantics, and `dart:dom_deprecated` methods that have
* been removed in `dart:html`. As a heuristic, a `dart:html` method doesn't
- * change the semantics of the corresponding `dart:dom` method if it's the only
+ * change the semantics of the corresponding `dart:dom_deprecated` method if it's the only
* corresponding HTML method and it has the corresponding return type.
*
* The format of the output is as follows:
@@ -52,7 +52,7 @@ String memberDesc(Member m, [Type type = null]) {
}
/**
- * Same as [memberDesc], but if [m] is a `dart:dom` type its `dart:html`
+ * Same as [memberDesc], but if [m] is a `dart:dom_deprecated` type its `dart:html`
* typename is used instead.
*/
String htmlishMemberDesc(Member m) {
@@ -68,7 +68,7 @@ bool isGetter(Member member) => member.name.startsWith('get:');
bool isSetter(Member member) => member.name.startsWith('set:');
/**
- * Add an entry to the map of `dart:dom` names to `dart:html` names if
+ * Add an entry to the map of `dart:dom_deprecated` names to `dart:html` names if
* [domMember] was renamed to [htmlMembers] with the same semantics.
*/
void maybeAddRename(Map<String, String> renamed, Member domMember,
@@ -106,7 +106,7 @@ void main() {
});
final removed = <Set>[];
- for (final type in world.libraries['dart:dom'].types.getValues()) {
+ for (final type in world.libraries['dart:dom_deprecated'].types.getValues()) {
if (type.members.getValues().every((m) =>
!diff.domToHtml.containsKey(m))) {
removed.add('${type.name}.*');

Powered by Google App Engine
This is Rietveld 408576698