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

Unified Diff: Source/bindings/core/v8/ModuleProxy.h

Issue 389903002: Split V8RecursionScope into core and modules. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | Source/bindings/core/v8/ModuleProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ModuleProxy.h
diff --git a/Source/bindings/core/v8/ModuleProxy.h b/Source/bindings/core/v8/ModuleProxy.h
index 598fc85420b0ab18e94421929d9ed6d385d5f260..7525e460d7c6150baf31f7c41a93a95953079d55 100644
--- a/Source/bindings/core/v8/ModuleProxy.h
+++ b/Source/bindings/core/v8/ModuleProxy.h
@@ -11,6 +11,7 @@ namespace WebCore {
class Event;
class EventTarget;
+class ExecutionContext;
// A proxy class to invoke functions implemented in bindings/modules
// from bindings/core.
@@ -24,11 +25,15 @@ public:
v8::Handle<v8::Value> toV8ForEventTarget(EventTarget*, v8::Handle<v8::Object>, v8::Isolate*);
void registerToV8ForEventTarget(v8::Handle<v8::Value> (*toV8ForEventTarget)(EventTarget*, v8::Handle<v8::Object>, v8::Isolate*));
+ void didLeaveScriptContextForRecursionScope(ExecutionContext&);
+ void registerDidLeaveScriptContextForRecursionScope(void (*didLeaveScriptContext)(ExecutionContext&));
+
private:
ModuleProxy() : m_wrapForEvent(0) { }
v8::Handle<v8::Object> (*m_wrapForEvent)(Event*, v8::Handle<v8::Object>, v8::Isolate*);
v8::Handle<v8::Value> (*m_toV8ForEventTarget)(EventTarget*, v8::Handle<v8::Object>, v8::Isolate*);
+ void (*m_didLeaveScriptContextForRecursionScope)(ExecutionContext&);
};
} // namespace WebCore
« no previous file with comments | « no previous file | Source/bindings/core/v8/ModuleProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698