| Index: runtime/bin/builtin.h
|
| diff --git a/runtime/bin/builtin.h b/runtime/bin/builtin.h
|
| index ab871af350041f321347ce3f5f45d66da04665b9..ec249a91a23e57fbc3b9dd4f5ac52249b27c8570 100644
|
| --- a/runtime/bin/builtin.h
|
| +++ b/runtime/bin/builtin.h
|
| @@ -30,6 +30,17 @@ class Builtin {
|
| enum BuiltinLibraryId {
|
| kBuiltinLibrary = 0,
|
| kIOLibrary,
|
| + kHTMLLibrary,
|
| + kHTMLCommonLibrary,
|
| + kJSLibrary,
|
| + kBlinkLibrary,
|
| + kIndexedDbLibrary,
|
| + kCachedPatchesLibrary,
|
| + kWebGlLibrary,
|
| + kMetaDataLibrary,
|
| + kWebSqlLibrary,
|
| + kSvgLibrary,
|
| + kWebAudioLibrary,
|
|
|
| kInvalidLibrary,
|
| };
|
| @@ -44,6 +55,7 @@ class Builtin {
|
| static void SetNativeResolver(BuiltinLibraryId id);
|
|
|
| static Dart_Handle LoadLibrary(Dart_Handle url, BuiltinLibraryId id);
|
| + static BuiltinLibraryId FindId(const char* url_string);
|
|
|
| // Check if built in library specified in 'id' is already loaded, if not
|
| // load it.
|
| @@ -66,6 +78,18 @@ class Builtin {
|
| static const char* _builtin_source_paths_[];
|
| static const char* io_source_paths_[];
|
| static const char* io_patch_paths_[];
|
| + static const char* html_source_paths_[];
|
| + static const char* html_common_source_paths_[];
|
| + static const char* js_source_paths_[];
|
| + static const char* blink_source_paths_[];
|
| + static const char* indexeddb_source_paths_[];
|
| + static const char* cached_patches_source_paths_[];
|
| + static const char* web_gl_source_paths_[];
|
| + static const char* metadata_source_paths_[];
|
| + static const char* websql_source_paths_[];
|
| + static const char* svg_source_paths_[];
|
| + static const char* webaudio_source_paths_[];
|
| +
|
| static Dart_Port load_port_;
|
|
|
| typedef struct {
|
|
|