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

Side by Side Diff: sdk/lib/_internal/libraries.dart

Issue 11419300: Dartifying dart:html type names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 libraries; 5 library libraries;
6 6
7 /** 7 /**
8 * A bit flag used by [LibraryInfo] indicating that a library is used by dart2js 8 * A bit flag used by [LibraryInfo] indicating that a library is used by dart2js
9 */ 9 */
10 const int DART2JS_PLATFORM = 1; 10 const int DART2JS_PLATFORM = 1;
(...skipping 27 matching lines...) Expand all
38 category: "Client", 38 category: "Client",
39 dart2jsPath: "html/dart2js/html_dart2js.dart"), 39 dart2jsPath: "html/dart2js/html_dart2js.dart"),
40 40
41 "html_common": const LibraryInfo( 41 "html_common": const LibraryInfo(
42 "html/html_common/html_common.dart", 42 "html/html_common/html_common.dart",
43 category: "Client", 43 category: "Client",
44 dart2jsPath: "html/html_common/html_common_dart2js.dart", 44 dart2jsPath: "html/html_common/html_common_dart2js.dart",
45 documented: false, 45 documented: false,
46 implementation: true), 46 implementation: true),
47 47
48 "indexed_db": const LibraryInfo(
49 "indexed_db/dartium/indexed_db_dartium.dart",
50 category: "Client",
51 dart2jsPath: "indexed_db/dart2js/indexed_db_dart2js.dart"),
52
48 "io": const LibraryInfo( 53 "io": const LibraryInfo(
49 "io/io.dart", 54 "io/io.dart",
50 category: "Server", 55 category: "Server",
51 dart2jsPatchPath: "_internal/compiler/implementation/lib/io_patch.dart"), 56 dart2jsPatchPath: "_internal/compiler/implementation/lib/io_patch.dart"),
52 57
53 "isolate": const LibraryInfo( 58 "isolate": const LibraryInfo(
54 "isolate/isolate.dart", 59 "isolate/isolate.dart",
55 dart2jsPatchPath: "_internal/compiler/implementation/lib/isolate_patch.dar t"), 60 dart2jsPatchPath: "_internal/compiler/implementation/lib/isolate_patch.dar t"),
56 61
57 "json": const LibraryInfo( 62 "json": const LibraryInfo(
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 this.category: "Shared", 165 this.category: "Shared",
161 this.dart2jsPath, 166 this.dart2jsPath,
162 this.dart2jsPatchPath, 167 this.dart2jsPatchPath,
163 this.implementation: false, 168 this.implementation: false,
164 this.documented: true, 169 this.documented: true,
165 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); 170 this.platforms: DART2JS_PLATFORM | VM_PLATFORM});
166 171
167 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; 172 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
168 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; 173 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0;
169 } 174 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698