[M108 Migration][VD] Implement mixed contents EWK interfaces 80/289680/5
authorjingjieli <jingjie.li@samsung.com>
Mon, 13 Mar 2023 09:13:31 +0000 (17:13 +0800)
committerBot Blink <blinkbot@samsung.com>
Mon, 20 Mar 2023 02:57:39 +0000 (02:57 +0000)
commitdc00cebe84295b47ba1981569f24b7d1a239d857
tree3c815611ddc77f260d628d5f62a165443b0d4f9a
parent960c4b3a5263439b3e975047d765cfa7c9bb4ea9
[M108 Migration][VD] Implement mixed contents EWK interfaces

1. When the page was loaded over https, but attemped to connect to
   the insecure http resource. The callback will be invoked to ask
   browser to confirm it.
2. Add new EWK interfaces:
   Send "did,block,insecure,content" to notify browser.
   ewk_settings_mixed_contents_reply_set to set "allow/deny" to blink
3. Implement ewk_settings_default_mixed_contents_policy_set

Refrences:
https://review.tizen.org/gerrit/#/c/279551/
https://review.tizen.org/gerrit/#/c/289527/
https://review.tizen.org/gerrit/#/c/289413/

Change-Id: Ic512e076c71a9909ac91bb67add2a3606d0c9d8a
Signed-off-by: jingjieli <jingjie.li@samsung.com>
15 files changed:
content/browser/web_contents/web_contents_impl.cc
content/browser/web_contents/web_contents_impl.h [changed mode: 0755->0644]
content/public/browser/web_contents.h [changed mode: 0755->0644]
content/public/browser/web_contents_user_data.h
tizen_src/ewk/efl_integration/BUILD.gn [changed mode: 0755->0644]
tizen_src/ewk/efl_integration/browser/mixed_content_observer.cc [new file with mode: 0644]
tizen_src/ewk/efl_integration/browser/mixed_content_observer.h [new file with mode: 0644]
tizen_src/ewk/efl_integration/common/render_messages_ewk.h
tizen_src/ewk/efl_integration/content_browser_client_efl.cc
tizen_src/ewk/efl_integration/eweb_view.cc
tizen_src/ewk/efl_integration/eweb_view_callbacks.h
tizen_src/ewk/efl_integration/public/ewk_settings.cc
tizen_src/ewk/efl_integration/renderer/content_settings_client_efl.cc
tizen_src/ewk/efl_integration/renderer/content_settings_client_efl.h
tizen_src/ewk/efl_integration/web_contents_delegate_efl.cc