Add new usercallbacks for executable to know when new webview created and destroyed.
authorYunchan Cho <yunchan.cho@samsung.com>
Wed, 21 Nov 2012 06:10:00 +0000 (15:10 +0900)
committerYunchan Cho <yunchan.cho@samsung.com>
Thu, 29 Nov 2012 01:43:01 +0000 (10:43 +0900)
commit7934225ea04904848d9f91872792d6b69ac64d09
tree28cb140f7cee3692f50ae9499f5f6f08490d1341
parent9df1795ebb7b47214e380d142d6051ede910a74b
Add new usercallbacks for executable to know when new webview created and destroyed.

[Issue#] executables that use wrt-core lib may need to know when new webview is created or destroyed.
[Bug] N/A
[Cause] Now there is no way for each executable using wrt-core to know that time
[Solution] New two UserDelegates callbacks are added, and they are called in window create, close callback of viewlogic
[Verification] Register new two UserDelegates callbacks in your executable (like wrt-client),
               and let your executable to load specific web contents that executes window.open as '_blank'

Change-Id: I40e81111ad3af115f2684a4957ece921d9a18174
src/api_new/i_runnable_widget_object.h
src/view/webkit/view_logic.cpp
src/view/webkit/view_logic.h
src/wrt-client/wrt-client.cpp
src/wrt-client/wrt-client.h