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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ToV8.h

Issue 2690943002: Revert of binding: Changes the association among global-proxy/global/window-instance. (Closed)
Patch Set: Created 3 years, 10 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/core/v8/ToV8.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ToV8.h b/third_party/WebKit/Source/bindings/core/v8/ToV8.h
index c3530fe8f848084746d1b40428d2e125f90d2788..3e1503a676aaa3c898bc22ef452a562ab255a9a7 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ToV8.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ToV8.h
@@ -22,7 +22,9 @@
namespace blink {
+class DOMWindow;
class Dictionary;
+class EventTarget;
// ScriptWrappable
@@ -53,6 +55,15 @@
DCHECK(!wrapper.IsEmpty());
return wrapper;
}
+
+// Special versions for DOMWindow and EventTarget
+
+CORE_EXPORT v8::Local<v8::Value> ToV8(DOMWindow*,
+ v8::Local<v8::Object> creationContext,
+ v8::Isolate*);
+CORE_EXPORT v8::Local<v8::Value> ToV8(EventTarget*,
+ v8::Local<v8::Object> creationContext,
+ v8::Isolate*);
// Primitives
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h ('k') | third_party/WebKit/Source/bindings/core/v8/ToV8.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698