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

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

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 | « Source/bindings/core/v8/ModuleProxy.h ('k') | Source/bindings/core/v8/V8Binding.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ModuleProxy.cpp
diff --git a/Source/bindings/core/v8/ModuleProxy.cpp b/Source/bindings/core/v8/ModuleProxy.cpp
index dd969a800ce9c096c6f09ecd4934c48ccfaf213c..cb74e1199610deaa053c2b7956621ba8e13ac62b 100644
--- a/Source/bindings/core/v8/ModuleProxy.cpp
+++ b/Source/bindings/core/v8/ModuleProxy.cpp
@@ -5,7 +5,7 @@
#include "config.h"
#include "bindings/core/v8/ModuleProxy.h"
-#include "bindings/core/v8/V8Binding.h"
+#include "wtf/StdLibExtras.h"
namespace blink {
@@ -15,28 +15,6 @@ ModuleProxy& ModuleProxy::moduleProxy()
return moduleProxy;
}
-v8::Handle<v8::Object> ModuleProxy::wrapForEvent(Event* event, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
-{
- RELEASE_ASSERT(m_wrapForEvent);
- return (*m_wrapForEvent)(event, creationContext, isolate);
-}
-
-void ModuleProxy::registerWrapForEvent(v8::Handle<v8::Object> (*wrapForEvent)(Event*, v8::Handle<v8::Object>, v8::Isolate*))
-{
- m_wrapForEvent = wrapForEvent;
-}
-
-v8::Handle<v8::Value> ModuleProxy::toV8ForEventTarget(EventTarget* eventTarget, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
-{
- RELEASE_ASSERT(m_toV8ForEventTarget);
- return (*m_toV8ForEventTarget)(eventTarget, creationContext, isolate);
-}
-
-void ModuleProxy::registerToV8ForEventTarget(v8::Handle<v8::Value> (*toV8ForEventTarget)(EventTarget*, v8::Handle<v8::Object>, v8::Isolate*))
-{
- m_toV8ForEventTarget = toV8ForEventTarget;
-}
-
void ModuleProxy::didLeaveScriptContextForRecursionScope(ExecutionContext& executionContext)
{
RELEASE_ASSERT(m_didLeaveScriptContextForRecursionScope);
« no previous file with comments | « Source/bindings/core/v8/ModuleProxy.h ('k') | Source/bindings/core/v8/V8Binding.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698