[M94 Migration] Refactor JavaScriptModalDialog for EWK and WRT
JavaScriptModalDialog implementation is pretty much the same both
EWK and WRT.
- WRTJavaScriptModalDialog and JavaScriptModalDialogEfl
This patch will refactor 2 almost identical classes by common code
and be able to improve maintainability.
Reference:
https://review.tizen.org/gerrit/248006/
And for compile, upload some logic from
https://review.tizen.org/gerrit/267646/.
Change-Id: I10ce6e4e2de9575d869c33d6089cc5694c94a83a
Signed-off-by: liwei <wei90727.li@samsung.com>