fixup! Implement Fullscreen API accepted/tizen/unified/20170510.183533 submit/tizen/20170510.090339
authorYoungcheol Kang <ychul.kang@samsung.com>
Wed, 10 May 2017 08:10:21 +0000 (17:10 +0900)
committerjaekuk, lee <juku1999@samsung.com>
Wed, 10 May 2017 09:03:17 +0000 (18:03 +0900)
commit5e05dbc54d0ca08d81136936c8410af41a349bde
tree7f060f44f79599cb32382d686274c889305c27fb
parent05e10fc455b2863ac79512c8d24e267bec6eca0c
fixup! Implement Fullscreen API

In tizen 2.4 environment, WRT calls the ewk_view_fullscreen_exit()
API and exits the event handler when pressing hardware back key
if it's fullscreen mode in only "Software key" mode or "windowed"
view mode.

However above two conditions(software key and windowed view modes)
were omitted in tizen 3.0, so the ewk_view_fullscreen_exit() API
was always called when pressing hardware back key in fullscreen mode.

This CL fixes these problem.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-3201

Change-Id: I4dda2d78be7af8cf75df72875aa2d7e94bbe2da9
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
runtime/browser/web_application.cc
runtime/browser/web_view_impl.cc