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

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

Issue 10919147: Move dart:web to pkg:htmlescape. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « runtime/bin/builtin_nolib.cc ('k') | runtime/bin/dartutils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DARTUTILS_H_ 5 #ifndef BIN_DARTUTILS_H_
6 #define BIN_DARTUTILS_H_ 6 #define BIN_DARTUTILS_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "bin/utils.h" 9 #include "bin/utils.h"
10 #include "include/dart_api.h" 10 #include "include/dart_api.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 static void SetStringField(Dart_Handle handle, 78 static void SetStringField(Dart_Handle handle,
79 const char* name, 79 const char* name,
80 const char* val); 80 const char* val);
81 static bool IsDartSchemeURL(const char* url_name); 81 static bool IsDartSchemeURL(const char* url_name);
82 static bool IsDartExtensionSchemeURL(const char* url_name); 82 static bool IsDartExtensionSchemeURL(const char* url_name);
83 static bool IsDartCryptoLibURL(const char* url_name); 83 static bool IsDartCryptoLibURL(const char* url_name);
84 static bool IsDartIOLibURL(const char* url_name); 84 static bool IsDartIOLibURL(const char* url_name);
85 static bool IsDartJsonLibURL(const char* url_name); 85 static bool IsDartJsonLibURL(const char* url_name);
86 static bool IsDartUriLibURL(const char* url_name); 86 static bool IsDartUriLibURL(const char* url_name);
87 static bool IsDartUtfLibURL(const char* url_name); 87 static bool IsDartUtfLibURL(const char* url_name);
88 static bool IsDartWebLibURL(const char* url_name);
89 static Dart_Handle CanonicalizeURL(CommandLineOptions* url_mapping, 88 static Dart_Handle CanonicalizeURL(CommandLineOptions* url_mapping,
90 Dart_Handle library, 89 Dart_Handle library,
91 const char* url_str); 90 const char* url_str);
92 static Dart_Handle ReadStringFromFile(const char* filename); 91 static Dart_Handle ReadStringFromFile(const char* filename);
93 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, 92 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag,
94 Dart_Handle library, 93 Dart_Handle library,
95 Dart_Handle url); 94 Dart_Handle url);
96 static Dart_Handle LoadScript(const char* script_uri, 95 static Dart_Handle LoadScript(const char* script_uri,
97 bool resolve_script, 96 bool resolve_script,
98 Dart_Handle builtin_lib); 97 Dart_Handle builtin_lib);
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 void* Peer() const { return cobject_->value.as_external_byte_array.peer; } 362 void* Peer() const { return cobject_->value.as_external_byte_array.peer; }
364 Dart_PeerFinalizer Callback() const { 363 Dart_PeerFinalizer Callback() const {
365 return cobject_->value.as_external_byte_array.callback; 364 return cobject_->value.as_external_byte_array.callback;
366 } 365 }
367 366
368 private: 367 private:
369 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); 368 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array);
370 }; 369 };
371 370
372 #endif // BIN_DARTUTILS_H_ 371 #endif // BIN_DARTUTILS_H_
OLDNEW
« no previous file with comments | « runtime/bin/builtin_nolib.cc ('k') | runtime/bin/dartutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698