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

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

Issue 2838933003: [not-for-commit] kitsune changes + pending kouhei changes (Closed)
Patch Set: 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 v8::Isolate*); 108 v8::Isolate*);
109 static v8::MaybeLocal<v8::Value> CallFunction(v8::Local<v8::Function>, 109 static v8::MaybeLocal<v8::Value> CallFunction(v8::Local<v8::Function>,
110 ExecutionContext*, 110 ExecutionContext*,
111 v8::Local<v8::Value> receiver, 111 v8::Local<v8::Value> receiver,
112 int argc, 112 int argc,
113 v8::Local<v8::Value> info[], 113 v8::Local<v8::Value> info[],
114 v8::Isolate*); 114 v8::Isolate*);
115 static v8::MaybeLocal<v8::Value> EvaluateModule(v8::Local<v8::Module>, 115 static v8::MaybeLocal<v8::Value> EvaluateModule(v8::Local<v8::Module>,
116 v8::Local<v8::Context>, 116 v8::Local<v8::Context>,
117 v8::Isolate*); 117 v8::Isolate*);
118 static void ReportExceptionForModule(v8::Isolate*,
119 v8::Local<v8::Value> exception,
120 const String& file_name);
118 121
119 static uint32_t TagForParserCache(CachedMetadataHandler*); 122 static uint32_t TagForParserCache(CachedMetadataHandler*);
120 static uint32_t TagForCodeCache(CachedMetadataHandler*); 123 static uint32_t TagForCodeCache(CachedMetadataHandler*);
121 static void SetCacheTimeStamp(CachedMetadataHandler*); 124 static void SetCacheTimeStamp(CachedMetadataHandler*);
122 125
123 // Utilities for calling functions added to the V8 extras binding object. 126 // Utilities for calling functions added to the V8 extras binding object.
124 127
125 template <size_t N> 128 template <size_t N>
126 static v8::MaybeLocal<v8::Value> CallExtra(ScriptState* script_state, 129 static v8::MaybeLocal<v8::Value> CallExtra(ScriptState* script_state,
127 const char* name, 130 const char* name,
(...skipping 17 matching lines...) Expand all
145 private: 148 private:
146 static v8::MaybeLocal<v8::Value> CallExtraHelper(ScriptState*, 149 static v8::MaybeLocal<v8::Value> CallExtraHelper(ScriptState*,
147 const char* name, 150 const char* name,
148 size_t num_args, 151 size_t num_args,
149 v8::Local<v8::Value>* args); 152 v8::Local<v8::Value>* args);
150 }; 153 };
151 154
152 } // namespace blink 155 } // namespace blink
153 156
154 #endif // V8ScriptRunner_h 157 #endif // V8ScriptRunner_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698