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

Side by Side Diff: runtime/bin/builtin.h

Issue 2150313003: Add JSNative utility class with static methods methods to efficiently manipulate typed JSInterop ob… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix analyzer warnings in js_util_test, skip js_util_test in csp mode and baseline expectations for … Created 4 years, 4 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
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 #ifndef BIN_BUILTIN_H_ 5 #ifndef BIN_BUILTIN_H_
6 #define BIN_BUILTIN_H_ 6 #define BIN_BUILTIN_H_
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 bool* auto_setup_scope); 67 bool* auto_setup_scope);
68 68
69 static const uint8_t* NativeSymbol(Dart_NativeFunction nf); 69 static const uint8_t* NativeSymbol(Dart_NativeFunction nf);
70 70
71 static const char* _builtin_source_paths_[]; 71 static const char* _builtin_source_paths_[];
72 static const char* io_source_paths_[]; 72 static const char* io_source_paths_[];
73 static const char* io_patch_paths_[]; 73 static const char* io_patch_paths_[];
74 static const char* html_source_paths_[]; 74 static const char* html_source_paths_[];
75 static const char* html_common_source_paths_[]; 75 static const char* html_common_source_paths_[];
76 static const char* js_source_paths_[]; 76 static const char* js_source_paths_[];
77 static const char* js_util_source_paths_[];
77 static const char* blink_source_paths_[]; 78 static const char* blink_source_paths_[];
78 static const char* indexeddb_source_paths_[]; 79 static const char* indexeddb_source_paths_[];
79 static const char* cached_patches_source_paths_[]; 80 static const char* cached_patches_source_paths_[];
80 static const char* web_gl_source_paths_[]; 81 static const char* web_gl_source_paths_[];
81 static const char* metadata_source_paths_[]; 82 static const char* metadata_source_paths_[];
82 static const char* websql_source_paths_[]; 83 static const char* websql_source_paths_[];
83 static const char* svg_source_paths_[]; 84 static const char* svg_source_paths_[];
84 static const char* webaudio_source_paths_[]; 85 static const char* webaudio_source_paths_[];
85 86
86 static Dart_Port load_port_; 87 static Dart_Port load_port_;
87 static const int num_libs_; 88 static const int num_libs_;
88 89
89 typedef struct { 90 typedef struct {
90 const char* url_; 91 const char* url_;
91 const char** source_paths_; 92 const char** source_paths_;
92 const char* patch_url_; 93 const char* patch_url_;
93 const char** patch_paths_; 94 const char** patch_paths_;
94 bool has_natives_; 95 bool has_natives_;
95 } builtin_lib_props; 96 } builtin_lib_props;
96 static builtin_lib_props builtin_libraries_[]; 97 static builtin_lib_props builtin_libraries_[];
97 98
98 DISALLOW_ALLOCATION(); 99 DISALLOW_ALLOCATION();
99 DISALLOW_IMPLICIT_CONSTRUCTORS(Builtin); 100 DISALLOW_IMPLICIT_CONSTRUCTORS(Builtin);
100 }; 101 };
101 102
102 } // namespace bin 103 } // namespace bin
103 } // namespace dart 104 } // namespace dart
104 105
105 #endif // BIN_BUILTIN_H_ 106 #endif // BIN_BUILTIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698