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

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

Issue 2642643002: Remove CallWith=ScriptState from window/self/frames getters on Window.
Patch Set: Created 3 years, 11 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 2495d769c709f6673e5e6f9ebe18f44bd7527aaa..b84c14d14691dc603a559f1527677ee0802208be 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ToV8.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ToV8.h
@@ -25,6 +25,7 @@ namespace blink {
class DOMWindow;
class Dictionary;
class EventTarget;
+class WindowProxyManagerBase;
// ScriptWrappable
@@ -61,10 +62,18 @@ inline v8::Local<v8::Value> ToV8(Node* impl,
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*);
+// Special version for DOMWindow when it needs to return a value even when
+// detached.
+
+CORE_EXPORT v8::Local<v8::Value> ToV8(WindowProxyManagerBase*,
+ v8::Local<v8::Object> creationContext,
+ v8::Isolate*);
+
// Primitives
inline v8::Local<v8::Value> ToV8(const String& value,

Powered by Google App Engine
This is Rietveld 408576698