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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h

Issue 2885203006: [DevTools] inline modules should have correct text offset (Closed)
Patch Set: a Created 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const TextPosition&, 75 const TextPosition&,
76 v8::Isolate*, 76 v8::Isolate*,
77 ScriptResource*, 77 ScriptResource*,
78 ScriptStreamer*, 78 ScriptStreamer*,
79 CachedMetadataHandler*, 79 CachedMetadataHandler*,
80 AccessControlStatus, 80 AccessControlStatus,
81 V8CacheOptions); 81 V8CacheOptions);
82 static v8::MaybeLocal<v8::Module> CompileModule(v8::Isolate*, 82 static v8::MaybeLocal<v8::Module> CompileModule(v8::Isolate*,
83 const String& source, 83 const String& source,
84 const String& file_name, 84 const String& file_name,
85 AccessControlStatus); 85 AccessControlStatus,
86 const TextPosition&);
86 static v8::MaybeLocal<v8::Value> RunCompiledScript(v8::Isolate*, 87 static v8::MaybeLocal<v8::Value> RunCompiledScript(v8::Isolate*,
87 v8::Local<v8::Script>, 88 v8::Local<v8::Script>,
88 ExecutionContext*); 89 ExecutionContext*);
89 static v8::MaybeLocal<v8::Value> CompileAndRunInternalScript( 90 static v8::MaybeLocal<v8::Value> CompileAndRunInternalScript(
90 v8::Local<v8::String>, 91 v8::Local<v8::String>,
91 v8::Isolate*, 92 v8::Isolate*,
92 const String& = String(), 93 const String& = String(),
93 const TextPosition& = TextPosition()); 94 const TextPosition& = TextPosition());
94 static v8::MaybeLocal<v8::Value> RunCompiledInternalScript( 95 static v8::MaybeLocal<v8::Value> RunCompiledInternalScript(
95 v8::Isolate*, 96 v8::Isolate*,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 private: 151 private:
151 static v8::MaybeLocal<v8::Value> CallExtraHelper(ScriptState*, 152 static v8::MaybeLocal<v8::Value> CallExtraHelper(ScriptState*,
152 const char* name, 153 const char* name,
153 size_t num_args, 154 size_t num_args,
154 v8::Local<v8::Value>* args); 155 v8::Local<v8::Value>* args);
155 }; 156 };
156 157
157 } // namespace blink 158 } // namespace blink
158 159
159 #endif // V8ScriptRunner_h 160 #endif // V8ScriptRunner_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698