Remove js_overlay_addEventListener
[platform/framework/web/wrt-plugins-common.git] / src / plugin-loading / explorer.cpp
index 3a76b3a..1ecad15 100644 (file)
 // JS overlay
 #include <js_overlay_support.h>
 #include <js_overlay_types.h>
-#include <js_overlay_addEventListener.h>
-#include <TizenServiceEvent/ITizenServiceEvent.h>
-#include <TizenServiceEvent/TizenServiceEvent.h>
-#include <SoftKeyboardChangeEvent/ISoftKeyboardChangeEvent.h>
-#include <SoftKeyboardChangeEvent/SoftKeyboardChangeEvent.h>
-#include <JSClass/JSTizenServiceEvent.h>
-#include <JSClass/JSSoftKeyboardChangeEvent.h>
 
 namespace {
 //const char* SEPARATOR = ".";
@@ -342,7 +335,6 @@ void Explorer::unloadFrame(JSGlobalContextRef context)
     JSObjectPtr frameObject =
         JavaScriptInterfaceSingleton::Instance().getGlobalObject(context);
 
-    AddEventListenerSupport::RemoveIFrame(frameObject);
     m_iframeSupport.unregisterIframe(frameObject);
 }
 
@@ -379,6 +371,7 @@ void Explorer::cleanIframesData()
 
 void Explorer::callEventListeners(CustomEventType eventType, void* data)
 {
+#if 0 // deprecated
     using namespace WrtPlugins::Tizen;
     // get iframe objects from javascript global context
     JavaScriptInterface::ObjectsListPtr frameLists =
@@ -450,6 +443,7 @@ void Explorer::callEventListeners(CustomEventType eventType, void* data)
         LogInfo("Not supported custom event type");
         return;
     }
+#endif
 }
 
 WindowPropertySupport* Explorer::getWindowPropertySupport()