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 |