[M108 Migration][WRTjs][VD] Merge splash screen feature 19/290519/3
authorzhaosy <shiyusy.zhao@samsung.com>
Tue, 28 Mar 2023 05:19:19 +0000 (13:19 +0800)
committerBot Blink <blinkbot@samsung.com>
Wed, 29 Mar 2023 01:21:30 +0000 (01:21 +0000)
commit97073588bebc860eb9fdb7136ee44ed673f8c3e1
tree08c7ae9a0f61b778a436ac4dd27f82393d26f378
parentbe1236f5aa3b5dbb33cb1ac0b6cb443147ef90cb
[M108 Migration][WRTjs][VD] Merge splash screen feature

1.Support landscape/portrait splash screen
landscape/portrait splash screen should be supported.
https://docs.tizen.org/application/tizen-studio/web-tools/config-editor/#tizen-launch-screen-2
<tizen:launch_screen ready_when="custom">
  <tizen:ls_default background_color="#00ff00" image="images/default.png" image_border="0px stretch"/>
  <tizen:ls_landscape background_color="#ff0000" image="images/landscape.png" image_border="0px stretch"/>
  <tizen:ls_portrait background_color="#0000ff" image="images/portrait.png" image_border="0px stretch"/>
</tizen:launch_screen>

2.splash screen image support SHARE path
LYNKCloud app need to download splash screen image from server.
They save image to SHARE path(/opt/usr/home/owner/share),
WRT set this image as splash screen image.

Reference:
https://review.tizen.org/gerrit/289862/
https://review.tizen.org/gerrit/289246/

Change-Id: I4cf8d770e2698af9c40a6e8242da109d048098e1
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
wrt/src/browser/splash_screen.cc