Refactor implementation of ewk_geolocation_permission* API
authorWojciech Bielawski <w.bielawski@samsung.com>
Mon, 26 Jan 2015 08:48:56 +0000 (09:48 +0100)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commit6eda2171a8895cdef6464aec156a60f3a871b38c
tree13dc9c1bb0071f753192e7f4007012946e6422bb
parentc7bc33d36dfc20f02a11e5502c2e17ebe9e1414d
Refactor implementation of ewk_geolocation_permission* API

Corrected behaviour of
GeolocationPermissionContextEfl::RequestPermissionOnUIThread. Previously it
wrongly called SendGeolocationPermissionResponse callback even when the API
embeder made a decision in his callback.
Geolocation private implementation refactored to use common
Ewk_Suspendable_Object implementation.
In addition unit test implementation refactor.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9524
Reviewed by: Piotr Tworek, arno renevier

Change-Id: Ib1674d06f3c2f48ddea009c842e30643cdf1c64c
Signed-off-by: Wojciech Bielawski <w.bielawski@samsung.com>
tizen_src/ewk/efl_integration/public/ewk_geolocation.cc
tizen_src/ewk/unittest/utc_blink_ewk_geolocation_permission_request_origin_get_func.cpp
tizen_src/ewk/unittest/utc_blink_ewk_geolocation_permission_request_set_func.cpp
tizen_src/impl/API/ewk_geolocation_private.cc
tizen_src/impl/API/ewk_geolocation_private.h
tizen_src/impl/API/ewk_suspendable_object.cc
tizen_src/impl/browser/geolocation/geolocation_permission_context_efl.cc