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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/ToV8ForModules.h

Issue 1535943005: Initial implementation of bindings and basic classes for worklets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 12 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/modules/v8/ToV8ForModules.h
diff --git a/third_party/WebKit/Source/bindings/modules/v8/ToV8ForModules.h b/third_party/WebKit/Source/bindings/modules/v8/ToV8ForModules.h
index add72570410223f61978db96396d7487db789567..a30909f08d6ddbb8c2c060066e4efc856212bd3c 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/ToV8ForModules.h
+++ b/third_party/WebKit/Source/bindings/modules/v8/ToV8ForModules.h
@@ -14,6 +14,7 @@ namespace blink {
class IDBAny;
class IDBKey;
class IDBKeyPath;
+class WorkletGlobalScope;
inline v8::Local<v8::Value> toV8(const SQLValue& sqlValue, v8::Local<v8::Object> creationContext, v8::Isolate* isolate)
{
@@ -32,6 +33,7 @@ inline v8::Local<v8::Value> toV8(const SQLValue& sqlValue, v8::Local<v8::Object>
v8::Local<v8::Value> toV8(const IDBKeyPath&, v8::Local<v8::Object> creationContext, v8::Isolate*);
MODULES_EXPORT v8::Local<v8::Value> toV8(const IDBKey*, v8::Local<v8::Object> creationContext, v8::Isolate*);
v8::Local<v8::Value> toV8(const IDBAny*, v8::Local<v8::Object> creationContext, v8::Isolate*);
+v8::Local<v8::Value> toV8(WorkletGlobalScope*, v8::Local<v8::Object> creationContext, v8::Isolate*);
haraken 2016/01/05 06:08:06 Can we remove this method by changing toV8(WorkerG
ikilpatrick 2016/01/07 22:47:35 Currently WorkerGlobalScope and WorkletGlobalScope
haraken 2016/01/08 04:59:07 Yeah, I think it's better to introduce WorkerOrWor
ikilpatrick 2016/01/11 04:13:19 Done.
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698