Revert "fix logic for OnWebPageShowRequested()"
authorSeongjun Yim <se201.yim@samsung.com>
Fri, 12 Jul 2013 11:27:37 +0000 (11:27 +0000)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Fri, 12 Jul 2013 11:27:37 +0000 (11:27 +0000)
This reverts commit 1036ae1e8c389084bfd68e1bb92aee98d0d5e436

Change-Id: Ia07fd492f05cd42f3e1ed6d5a78e7ff91eeb910c

src/controls/FWebCtrl_WebImpl.cpp

index c9661e9..d3f8135 100755 (executable)
@@ -3626,8 +3626,7 @@ _WebImpl::SetEventListenerCallback(void) const
 
                evas_object_smart_callback_add(pWebNativeNode, "policy,response,decide", OnWebDataReceived, this);
 
-               evas_object_smart_callback_add(pWebNativeNode, "frame,rendered", OnWebPageShowRequested, this);
-//             evas_object_smart_callback_add(pWebNativeNode, "load,nonemptylayout,finished", OnWebPageShowRequested, this);
+               evas_object_smart_callback_add(pWebNativeNode, "load,nonemptylayout,finished", OnWebPageShowRequested, this);
                evas_object_smart_callback_add(pWebNativeNode, "request,certificate,confirm", OnCertificateRequested, this);
                evas_object_smart_callback_add(pWebNativeNode, "usermedia,permission,request", OnGetUserMediaPermissionRequsted, this);
 
@@ -3711,8 +3710,7 @@ _WebImpl::RemoveEventListenerCallback(void) const
 
                evas_object_smart_callback_del(pWebNativeNode, "policy,response,decide", OnWebDataReceived);
 
-               evas_object_smart_callback_add(pWebNativeNode, "frame,rendered", OnWebPageShowRequested, this);
-//             evas_object_smart_callback_del(pWebNativeNode, "load,nonemptylayout,finished", OnWebPageShowRequested);
+               evas_object_smart_callback_del(pWebNativeNode, "load,nonemptylayout,finished", OnWebPageShowRequested);
                evas_object_smart_callback_del(pWebNativeNode, "request,certificate,confirm", OnCertificateRequested);
                evas_object_smart_callback_del(pWebNativeNode, "usermedia,permission,request", OnGetUserMediaPermissionRequsted);