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

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

Issue 2760793002: Use v8::Context::NewRemoteContext in RemoteWindowProxy. (Closed)
Patch Set: Clean up association logic Created 3 years, 9 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/WindowProxy.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
index 8bd716c21477d258305623160aaa41ba90e54eb8..03ce52f737ed9b74e0528a603ca1e59eeea6bcb9 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h
@@ -40,6 +40,7 @@
namespace blink {
+class DOMWindow;
class Frame;
class ScriptController;
@@ -163,6 +164,11 @@ class WindowProxy : public GarbageCollectedFinalized<WindowProxy> {
enum GlobalDetachmentBehavior { DoNotDetachGlobal, DetachGlobal };
virtual void disposeContext(GlobalDetachmentBehavior) = 0;
+ WARN_UNUSED_RESULT v8::Local<v8::Object> associateWithWrapper(
+ DOMWindow*,
+ const WrapperTypeInfo*,
+ v8::Local<v8::Object> wrapper);
+
v8::Isolate* isolate() const { return m_isolate; }
Frame* frame() const { return m_frame.get(); }

Powered by Google App Engine
This is Rietveld 408576698