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

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

Issue 551003002: bindings: Removes unnecessary Event-related code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Pushed V8EventTargetCustom.cpp back with modification. Created 6 years, 3 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 c4bf25d8792f0711250b74a904fec6818372fbfe..c3049292af620b758b95a478439cb250f021bb2b 100644
--- a/Source/bindings/core/v8/ModuleProxy.h
+++ b/Source/bindings/core/v8/ModuleProxy.h
@@ -5,12 +5,8 @@
#ifndef ModuleProxy_h
#define ModuleProxy_h
-#include <v8.h>
-
namespace blink {
-class Event;
-class EventTarget;
class ExecutionContext;
// A proxy class to invoke functions implemented in bindings/modules
@@ -19,20 +15,12 @@ class ModuleProxy {
public:
static ModuleProxy& moduleProxy();
- v8::Handle<v8::Object> wrapForEvent(Event*, v8::Handle<v8::Object>, v8::Isolate*);
- void registerWrapForEvent(v8::Handle<v8::Object> (*wrapForEvent)(Event*, v8::Handle<v8::Object>, v8::Isolate*));
-
- 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) { }
+ ModuleProxy() : m_didLeaveScriptContextForRecursionScope(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&);
};
« 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