[M85 Migration][API] Implement EWK APIs for clipboard 13/245313/2
authoryh106.jung <yh106.jung@samsung.com>
Tue, 1 Aug 2017 04:52:46 +0000 (13:52 +0900)
committerBot Blink <blinkbot@samsung.com>
Mon, 12 Oct 2020 05:46:32 +0000 (05:46 +0000)
commit40a1cd79359c14741e1e25d4b2ae977d01ad05a3
treed1c52c4a87fec6117df7f1a2f535b99ef4e4a06d
parente19f4416a55007dabbd34990dafbd67998bb9249
[M85 Migration][API] Implement EWK APIs for clipboard

This patch implements below internal EWK APIs for clipboard.

* ewk_settings_javascript_can_access_clipboard_{get,set}
  - These APIs get/set the permission to access clipboard from javascript.
* ewk_settings_dom_paste_allowed_{get,set}
  - These APIs get/set the permission for DOM paste.

Added also a unit tests for these APIs.

References:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/220050

Change-Id: I60349ef902f15bb39cda0a3fb5608b4e477dd62b
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
tizen_src/ewk/efl_integration/public/ewk_settings.cc
tizen_src/ewk/unittest/BUILD.gn
tizen_src/ewk/unittest/utc_blink_ewk_settings_dom_paste_allowed_get_func.cpp [new file with mode: 0644]
tizen_src/ewk/unittest/utc_blink_ewk_settings_dom_paste_allowed_set_func.cpp [new file with mode: 0644]
tizen_src/ewk/unittest/utc_blink_ewk_settings_javascript_can_access_clipboard_get_func.cpp [new file with mode: 0644]
tizen_src/ewk/unittest/utc_blink_ewk_settings_javascript_can_access_clipboard_set_func.cpp [new file with mode: 0644]