platform/framework/web/chromium-efl.git
16 months ago[M108 Migration][MM] Fix crash when the browser is terminated when playing video. 34/289234/5
Suhaspoornachandra [Fri, 3 Mar 2023 03:52:37 +0000 (09:22 +0530)]
[M108 Migration][MM] Fix crash when the browser is terminated when playing video.

1. MediaPlayerESPlusPlayer should be released before destroyed.
2. WebContents is sometimes destroyed before TizenRendererImpl is destroyed.
   It causes TizenRendererImpl accesses dangling pointer.
3. buffering_callback_ in BufferObserverImpl should be null-checked.

Reference:
https://review.tizen.org/gerrit/276393/

Change-Id: I772c80ce9a0f96c5cdc6db6c31aff3465a54eb88
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
16 months ago[M108 Migration] Initialize DeviceDisplayInfoEfl in renderer. 47/289247/3
v-saha [Fri, 3 Mar 2023 07:01:00 +0000 (12:31 +0530)]
[M108 Migration] Initialize DeviceDisplayInfoEfl in renderer.

Display info should be updated only when webview is created by
browser.

Reference: https://review.tizen.org/gerrit/279778

Change-Id: I421e59068125018e5c2d51b60fc8af420a657381
Signed-off-by: v-saha <v.saha@samsung.com>
16 months ago[M108 Migration][MM][CAPI] Support Video Hole in the onscreen rendering mode. 43/289243/3
Sun-woo Nam [Thu, 2 Mar 2023 04:51:10 +0000 (20:51 -0800)]
[M108 Migration][MM][CAPI] Support Video Hole in the onscreen rendering mode.

Ecore_Wl2_Window is used as the main window handle in the onscreen rendering
mode.
Previously, |player_set_display| was used to use video hole in CAPI MMPlayer.
However, |player_set_display| could only receive evas objects, including
elm window, as a parameter.
Threrefore, this patch uses |player_set_display_webapp| api to hand over
the wayland surface id for the TV profile. In case of the public profile,
use |player_set_ecore_wl_display| instead of |player_set_display_webapp|.

Reference: https://review.tizen.org/gerrit/#/c/289148/

Change-Id: I0eb011c20a6584e581b151fec35468cd58073cfa
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
16 months ago[M108 Migration][Autofill] Introduce autofill fw interface 35/289135/5
Ayush Kumar [Fri, 24 Feb 2023 05:04:43 +0000 (10:34 +0530)]
[M108 Migration][Autofill] Introduce autofill fw interface

This change
1. Introduces interface for autofill fw in tizen.
2. Supports mockup for callbacks and APIs for SPASS feature for TV.
3. Refactors, enhances and fixes issue related to tizen autofill.

References : https://review.tizen.org/gerrit/269462

Change-Id: Ia91806470622bc4a1c2c5a2d917bf1babdb1e675
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[WRTjs][VD] Remove prefetching xwalk extension feature 55/289255/5 submit/tizen/20230305.160307
DongHyun Song [Fri, 3 Mar 2023 07:36:31 +0000 (16:36 +0900)]
[WRTjs][VD] Remove prefetching xwalk extension feature

Prefetching is almost ineffective to load webapp, compared to its
complicated logic and heavy performing of DB file.

Change-Id: I1d0cd3130054e68d6b67e7035be2112c7e3365cb
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
16 months ago[Offscreen] Fix for black screen on static pages 72/288672/4
uzair [Tue, 21 Feb 2023 09:11:24 +0000 (14:41 +0530)]
[Offscreen] Fix for black screen on static pages

Below change makes sure ensure all drawing to the context
has been flushed and submitted to graphics driver before
shown on screen.

Change-Id: Ia4b751b211bd66c9be04328b947e355b0c274c6b
Signed-off-by: uzair <uzair.jaleel@samsung.com>
16 months agofixup! Shorten NotifySwap path for offscreen rendering 06/289206/7
YongGeol Jung [Thu, 2 Mar 2023 11:40:14 +0000 (03:40 -0800)]
fixup! Shorten NotifySwap path for offscreen rendering

Create |CompositorObserverEfl| to get |NotifySwap| message for WRT offscreen
mode.

Change-Id: Ie2b75929e2d5c386f13838352bdaf859aae04ce7

16 months agoMap blink::WebNavigationType to Ewk_Policy_Navigation_Type 23/289223/6
yh106.jung [Fri, 3 Mar 2023 01:38:18 +0000 (17:38 -0800)]
Map blink::WebNavigationType to Ewk_Policy_Navigation_Type

Ewk_Policy_Navigation_Type is no longer exactly matched with
blink::WebNavigationType.
So, this patch internally maps blink::WebNavigationType to
Ewk_Policy_Navigation_Type.

Change-Id: I4fee4701455da6bf71030f7fb0d569198b9a4f53
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
16 months agoRevert "fixup! [M108 Migration] Enable proper functionality for ewk_policy_decision_... 28/289228/3
Ayush Kumar [Fri, 3 Mar 2023 02:44:49 +0000 (08:14 +0530)]
Revert "fixup! [M108 Migration] Enable proper functionality for ewk_policy_decision_* APIs."

This reverts commit 1fddb3c6b1010c0d18af692ccf12cdf772c08cb3.

Change-Id: Ia1d105c83c5677971889817933aa59221211b9bf
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months agoAdd libscl-common to fix runtime error 07/289207/6
Ayush Kumar [Fri, 3 Mar 2023 03:19:54 +0000 (08:49 +0530)]
Add libscl-common to fix runtime error

This adds libscl-common to fix following runtime error due to lack of
libscl-common which is needed for standard profile.

>> error : libscl-common.so: cannot open shared object file:

Change-Id: I4ca9d951b6142416bcc919d090ac5346c1ced7ec
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[M108 Migration] Support standard build for armv7hl architecture 83/289083/6
Chandan Padhi [Mon, 28 Feb 2022 11:41:14 +0000 (17:11 +0530)]
[M108 Migration] Support standard build for armv7hl architecture

This commit adds support to build standard profile for armv7hl
architecture. This also adds clang-format binary built for armv7hl.

Build command:
$ ./tizen_src/build/build_standard_armv7hl.sh

References:
https://review.tizen.org/gerrit/c/271778
https://review.tizen.org/gerrit/c/274635

Change-Id: Iddef3f406ba56ee9982a65a6c2e676bb44150c2d
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: uzair <uzair.jaleel@samsung.com>
16 months ago[WRTjs] Fix webapp launching issue in onscreen rendering 52/289152/5
SangYong Park [Thu, 2 Mar 2023 06:46:35 +0000 (15:46 +0900)]
[WRTjs] Fix webapp launching issue in onscreen rendering

. Set view of web contents properly, and register electron's
  RenderFrameHost mojo interface for onscreen rendering.

Change-Id: Ie66dc2f9cca81f6f8b48b2074712355fcce49f7d
Signed-off-by: SangYong Park <sy302.park@samsung.com>
16 months ago[M108 Migration][VD] Add schemes for Tizen TV product 82/289082/5
fang fengrong [Wed, 1 Mar 2023 10:12:48 +0000 (18:12 +0800)]
[M108 Migration][VD] Add schemes for Tizen TV product

This patch add schemes for Tizen TV product: "mmf", "dvb", "tvkey-apps",
"hbbtv-package", "hbbtv-carousel", "ci".

1. Support mmf scheme for GingaNCL team.

2. DVB scheme is not supported by chromium. Allow EWK API client
   to handle DVB requests via intercept request API.

3. This change adds the "tvkey-apps:" scheme for the Tizen TV products.

4. hbbtv-package://<app_id>.<org_id>/[<path>]

e.g. hbbtv-package://1.F1/index.html

The files for these packages are installed on the TV
filesystem, and the installation of the files is
controlled by the HbbTV engine.

Operator application files are considered a 'secure' location,
so the protocol is passed to the 'RegisterURLSchemeAsSecure' API.

5. The HbbTV 2.0.1 Specification (errata 2) section 6.3.2 adds a new URI
format. This URI format is used for loading hbbtv applications from the
DSMCC carousel. This patch adds the scheme that this format requires to
chromium.

format "hbbtv-carousel://OOOO:CCCC/"
Where OOOO = organisation ID (max 16bit).
      CCCC = carousel ID (max 64bit).

6. Add ci scheme to standard schemes list.
So WebEngine can distinguish it.

Now, the  standard url will convert the host part to lower case.
But the CI address don't need convert it to lower case.

format: ci:// type
eg:     ci://HbbTVEngineProfile1/aux/APPLAUNCH-0020/eurofins_logo_0020.cehtml

References:
https://review.tizen.org/gerrit/#/c/282079
https://review.tizen.org/gerrit/#/c/287652/

Change-Id: I2d06f91056515621f00b2f60c9992b4b2ae88744
Signed-off-by: fang fengrong <fr.fang@samsung.com>
16 months ago[M108 Migration] Support builds for aarch64 and emulator 39/289039/11
uzair [Wed, 21 Oct 2020 05:20:40 +0000 (10:50 +0530)]
[M108 Migration] Support builds for aarch64 and emulator

Below change adds clang_format binary built for i586 platform and
also fixes compiler, linker errors to support builds for
aarch64 and emulator platforms.

Also disables libyuv neon for aarch64 platform due to incompatibility
with gcc.

Build command:
./tizen_src/build/build_standard_aarch64.sh
./tizen_src/build/build_emulator_ix86.sh
./tizen_src/build/build_emulator_x86_64.sh

Reference:
https://review.tizen.org/gerrit/c/245973

Change-Id: Ia3bfa4f4437f7b6d1f552c6a12ab93c667d6c2a3
Signed-off-by: uzair <uzair.jaleel@samsung.com>
16 months ago[M108 Migration][Onscreen][Memory] Enable evas manual rendering to prevent additional... 69/289169/5
YongGeol Jung [Thu, 17 Nov 2022 05:01:39 +0000 (21:01 -0800)]
[M108 Migration][Onscreen][Memory] Enable evas manual rendering to prevent additional memory creation.

Evas engine creates it's own egl window and egl surface to render. Eventually
additional GEM memory is created for rendering. Enable evas manual rendering to
prevent this symptom.

Reference: https://review.tizen.org/gerrit/#/c/284435/

Change-Id: Ia5b72d0f528cb5526da29bba32df37e2b433af95
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
16 months ago[M108 Migration] Bringup Upgradable Web Engine (UWE) 01/287601/8
ayush.k123 [Wed, 1 Feb 2023 07:00:18 +0000 (12:30 +0530)]
[M108 Migration] Bringup Upgradable Web Engine (UWE)

References:
https://review.tizen.org/gerrit/278476
https://review.tizen.org/gerrit/279250

Change-Id: Iee4bb2bd30a8bcde52772bde9a0d1c7492287ac7
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months agoDummy Implementation for EWK APIs 66/289166/3
feifei08.liu [Thu, 2 Mar 2023 07:37:24 +0000 (15:37 +0800)]
Dummy Implementation for EWK APIs

ewk_view_suspend_network_loading
ewk_view_resume_network_loading
ewk_wait_chromium_ready

Change-Id: I30068380261b203eba8df2953dab7e6aed0ec208
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
16 months ago[M108 Migration][WRTjs][VD] Migrates recent performance patches 42/288942/7
DongHyun Song [Mon, 27 Feb 2023 00:19:44 +0000 (09:19 +0900)]
[M108 Migration][WRTjs][VD] Migrates recent performance patches

Reference:
https://review.tizen.org/gerrit/#/c/286009/
https://review.tizen.org/gerrit/#/c/286443/
https://review.tizen.org/gerrit/#/c/286525/
https://review.tizen.org/gerrit/#/c/286567/
https://review.tizen.org/gerrit/#/c/286620/
https://review.tizen.org/gerrit/#/c/287796/
https://review.tizen.org/gerrit/#/c/288066/
https://review.tizen.org/gerrit/#/c/289065/

Change-Id: Iaead7c4e7d19c0a4f9d89d746f5761335bc140c9
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
16 months ago[M108 Migration][VD] Handle "Up","Select" and "Cancel" key 79/288779/5
liuxd [Thu, 23 Feb 2023 01:33:58 +0000 (09:33 +0800)]
[M108 Migration][VD] Handle "Up","Select" and "Cancel" key

1.Handle Up key on top of IME as same as Return Back
key
2.For TV IME "Select" and "Cancel" key, handle as hide IME
3.[VD][Remote Access] Block "Cancel" key event in non webapp scene

Refer:
https://review.tizen.org/gerrit/#/c/280444

Change-Id: I8e924d2c55ce3d1a765c7b5baf8687caed77a020
Signed-off-by: liuxd <xd123.liu@samsung.com>
16 months ago[M108 Aura Migration] Fix crash with memory sanitizer 26/289126/2
zhaosy [Thu, 2 Mar 2023 02:07:53 +0000 (10:07 +0800)]
[M108 Aura Migration] Fix crash with memory sanitizer

With memory sanitizer or some utility, there can be another thread,
which is created for their purpose.

i.e.)
With VD duma, libduma makes an agent thread as static variable
before ZygoteMain() is called.

  efl_webprocess(5483)---{duma_comm}(5497)

Referenece:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/252992/

Change-Id: I5da2bf0e8eaa8632790d9f0bcb2b6f426d0f621c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
16 months ago[M108 Migration] Support callback for customer app error page. 98/288898/13
feifei08.liu [Fri, 24 Feb 2023 07:11:33 +0000 (15:11 +0800)]
[M108 Migration] Support callback for customer app error page.

Currently WebBrowser load customer error page with below apis:
  callback "load,error"
  ewk_view_html_string_load
  ewk_view_html_string_override_current_entry_load
With these, it cannot meet all case in WebBrowser.
Customer Error Page will be stored as an independent entry.
It will cause issues related with navigation back/forward or reload.

Implement ewk_view_error_page_load_callback_set for app.
Interpose on the stage of NavigationThrottleEfl::WillFailRequest.
And pass customer error page in here.

For this implementation, customer error page will not store in navigation entry.

Currently, this change is supported for WebBrowser.

Reference:
- https://review.tizen.org/gerrit/279699/

Change-Id: I5dd1ac7bbac95b2c3456c35dbe569cf231aafef4
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
16 months ago[M108 Migration][VD][AX] Support ewk_view_atk_deactivation_by_app API 59/289059/2
xiafeng [Wed, 1 Mar 2023 03:52:01 +0000 (11:52 +0800)]
[M108 Migration][VD][AX] Support ewk_view_atk_deactivation_by_app API

Migrate support patch for ewk_view_atk_deactivation_by_app and
unify logic of InitATK.

Related patch:
https://review.tizen.org/gerrit/281173/

Change-Id: I7c19e049297b0d82c2140d12ad1e2a26f7ebfdb2
Signed-off-by: xiafeng <feng.xia@samsung.com>
16 months ago[M108 Migration][VD] Add "hover,over,link" and "hover,out,link" 90/288790/10
feifei08.liu [Thu, 23 Feb 2023 05:31:57 +0000 (13:31 +0800)]
[M108 Migration][VD] Add "hover,over,link" and "hover,out,link"

Implementation of "hover,over,link" and "hover,out,link" callbacks,
notify to client when the mouse hovers over or out a link.

Reference:
- https://review.tizen.org/gerrit/281388/

Change-Id: I490232596f714abd53e8490ce5c0359f4c80bce4
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
16 months ago[M108 Migration][MM] getUserMedia bringup patch. 72/287872/7
Suhaspoornachandra [Tue, 7 Feb 2023 07:00:16 +0000 (12:30 +0530)]
[M108 Migration][MM] getUserMedia bringup patch.

 - Enable Tizen port to use camera api.
 - Fix device orientation issue.
 - Use sw path to rendering camera preview.

References:
https://review.tizen.org/gerrit/279607
https://review.tizen.org/gerrit/280370
https://review.tizen.org/gerrit/280507

Change-Id: I3655507ac09d2d3183bacfbdfbc14387b53b109f
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
16 months ago[M108 Migration][VD] Add Notifications for Popup Menu show and hide 98/289098/2
jiangyuwei [Wed, 1 Mar 2023 06:44:39 +0000 (14:44 +0800)]
[M108 Migration][VD] Add Notifications for Popup Menu show and hide

For the requirement from Tizen TV WebBrowser team,
to add notifications for Popup Menu show and hide.

In WebBrowser side, need to know that there is date picker,
then can have normal mouse move on it, not hybrid movement.

Reference:
https://review.tizen.org/gerrit/#/c/282721/

Change-Id: Iae39c8fc26db93fd497e7e4313669c3e0f16ddcf
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
16 months ago[M108 Migration] Set default behavior of common profile as mobile profile 03/289103/2
Surya Kumar [Wed, 1 Mar 2023 11:53:55 +0000 (17:23 +0530)]
[M108 Migration] Set default behavior of common profile as mobile profile

WRT disables onscreen mode for |MobileProfile|. This patch equates
|MobileProfile| with |CommonProfile| forcing WRT to run in offscreen
mode in RPi4, just like M94 AURA and fixes web app errors
encountered from wayland module.

Reference: https://review.tizen.org/gerrit/280440

Change-Id: I4e75c16fac97a9ad2a90a4f9bf9bf0a58e5fe4a8
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
16 months ago[M108 Migration][HBBTV] Implement ewk_context_register_jsplugin_mime_types API 84/289084/5
fr.fang [Tue, 28 Feb 2023 12:20:54 +0000 (20:20 +0800)]
[M108 Migration][HBBTV] Implement ewk_context_register_jsplugin_mime_types API

This is required to prevent the renderer from creating frames to handle JS
plugins mimetypes, if those mime types are supported by the renderer by default.

Reference:
https://review.tizen.org/gerrit/#/c/282683

Change-Id: I4ffbcccac84b5dc0ec531fbbcf67de18bef9e569
Signed-off-by: fr.fang <fr.fang@samsung.com>
16 months agofixup! [M108 Migration] Enable video hole feature 94/288794/3
Venugopal S M [Mon, 27 Feb 2023 13:25:02 +0000 (18:55 +0530)]
fixup! [M108 Migration] Enable video hole feature

Call decode unset method in IDLE state.

Reference: https://review.tizen.org/gerrit/283277

Change-Id: Ice0d1ad64e65aca47275df01ad550c73748a22c6
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
16 months agofixup! [M108 Aura Migration] Add media playback ewk api 96/289096/4
xiaofang [Wed, 1 Mar 2023 05:20:13 +0000 (13:20 +0800)]
fixup! [M108 Aura Migration] Add media playback ewk api

add ewk_view_stop_video impl

Change-Id: Ie02d39d39c43089b9a78c34b2696fde2816b7527
Signed-off-by: xiaofang <fang.xiao@samsung.com>
16 months agofixup! fixup! Enable content shell with aura for desktop 95/289095/2
Gajendra N [Wed, 1 Mar 2023 04:57:36 +0000 (10:27 +0530)]
fixup! fixup! Enable content shell with aura for desktop

The fixup commit 6ec053 caused linker error on desktop build.
It seems for deskop version, tls_model type 'initial-exec' is
suitable. This patch makes necessary changes to handle both profiles.

Change-Id: I2de65051f01a2c9d9444450fa0a5bb301ea85a71
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
16 months ago[M108 Migration] Add an ewk api logs for debugging 50/289050/3
jiangyuwei [Tue, 28 Feb 2023 03:14:01 +0000 (11:14 +0800)]
[M108 Migration] Add an ewk api logs for debugging

Important and frequently used ewk api logs are lacking,
add logs for debugging.

Reference:
https://review.tizen.org/gerrit/#/c/283987/

Change-Id: I661b4cf68f037a96b5b60cf2e72567815f100ea4
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
16 months ago[WRTJS] Fix a gcc build error caused by function/class ambiguity 81/289081/4
Surya Kumar [Tue, 28 Feb 2023 11:09:39 +0000 (16:39 +0530)]
[WRTJS] Fix a gcc build error caused by function/class ambiguity

1. Existing function name had the same signature as a class's constructor
leading to gcc causing build break. Made changes to resolve
the confusion.
2. Added a missing function definition that otherwise made a class
incomplete.

Reference:
https://github.com/electron/electron/pull/36096/commits/e50ab4a4db4042cbc007cd8d832f61b9c8bc0449

Change-Id: I3e6c27b8bbb450ab3ac908b9c985153e73526ff0
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
16 months agofixup! Enable content shell with aura for desktop 79/289079/2
Gajendra N [Tue, 28 Feb 2023 09:49:32 +0000 (15:19 +0530)]
fixup! Enable content shell with aura for desktop

This patch reverts a change related to ThreadLocalStorage 'tls_model'
done in patch [1], as the change was causing error [2] when our
chromium-efl library is being loaded with dlopen from another library.

As per the comment description mentioned in file
third_party/blink/renderer/platform/heap/thread_local.h, it is suggested
to use "local-exec" type for Linux platform, hence reverting back to
original type, which avoids the error [2].

[1] https://review.tizen.org/gerrit/284216

[2] "cannot allocate memory in static tls block"

Change-Id: I683859fff133217eec91e285a09d9430e6c4d4e7
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
16 months agofixup! [M108 Migration][API] Bring up autofill 77/288777/5
Chandan Padhi [Wed, 22 Feb 2023 15:49:24 +0000 (21:19 +0530)]
fixup! [M108 Migration][API] Bring up autofill

This commit fixes webview crash at launch when autofill is enabled.

Reverts commit fe2ff5b.

Change-Id: I187180dd09bd1595e94a0b33d02fdf3299182938
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
16 months ago[M108 Migration][VD][HBBTV][API] Support DVB scheme for HBBTV 46/289046/2
fr.fang [Tue, 28 Feb 2023 01:15:08 +0000 (09:15 +0800)]
[M108 Migration][VD][HBBTV][API] Support DVB scheme for HBBTV

1.This CL implement api ewk_context_register_url_schemes_as_cors_enabled.
With this CL, WebEngine can parse dvb url host as CORS.
2.Remove WRT dependency of injected bundle, only HbbTV uses it.
3.Fix the loss of IPC message caused by multithreading.

This patch includes :
1) Added protection for NULL message in IPC.
   There was no exception handling for the NULL message
   in low memory situation.
2) Fix the issue the deleted message is used again.
   When multiple render process exit ,the message is deleted
   after it send to one render process.
   Copy the message before it is sent to render process.

References:
https://review.tizen.org/gerrit/#/c/251270/
https://review.tizen.org/gerrit/#/c/250990
https://review.tizen.org/gerrit/#/c/255829

Change-Id: Iaf0084a385649fda71d2c0856398b0c26458c919
Signed-off-by: fr.fang <fr.fang@samsung.com>
16 months ago[M108 Migration][WRTjs][VD] define lib_dir_path 63/289063/4
zhaosy [Tue, 28 Feb 2023 05:25:55 +0000 (13:25 +0800)]
[M108 Migration][WRTjs][VD] define lib_dir_path

lib_dir_path is not defined, so mount app is fail.

Reference:
https://review.tizen.org/gerrit/281394/

Change-Id: I2835bf83f2498615db3a5f728fd0979fca1225b1
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
16 months ago[M108 Migration] Implement ewk_settings_do_not_track_set() API 87/288887/3
Jie Zhang [Fri, 24 Feb 2023 05:44:45 +0000 (13:44 +0800)]
[M108 Migration] Implement ewk_settings_do_not_track_set() API

Set to add http head DNT(do not track).

Reference:
- https://review.tizen.org/gerrit/#/c/279422/

Change-Id: Iee5403811413d091d53aa14b8ab4033ac576be0a
Signed-off-by: Jie Zhang <jie137.zhang@samsung.com>
16 months ago[M108 Migration] Selection & Context menu controller. 15/288515/4
v-saha [Fri, 17 Feb 2023 12:34:31 +0000 (18:04 +0530)]
[M108 Migration] Selection & Context menu controller.

This change migrates below fixes related to context menu/text selection.
1. Uses GetSelectedText in RWHVA.
2. Avoid hiding context menu during potrait to landscape and vice versa.
3. Do not restore context popup when in caret mode.

Reference: https://review.tizen.org/gerrit/282457

Change-Id: Iadc9cb3c5bb9948b867c24ba825e658260908a8c
Signed-off-by: v-saha <v.saha@samsung.com>
16 months agoDummy Implementation for EWK APIs 50/288950/12
feifei08.liu [Mon, 27 Feb 2023 02:03:46 +0000 (10:03 +0800)]
Dummy Implementation for EWK APIs

ewk_settings_mixed_contents_set
ewk_context_time_offset_set, ewk_context_timezone_offset_set
ewk_check_chromium_ready
ewk_view_run_mixed_content_confirm_callback_set
ewk_settings_mixed_contents_set
ewk_view_error_page_load_callback_set
ewk_view_add_item_to_back_forward_list
ewk_view_poweroff_suspend : empy implement, need check history
ewk_view_set_cursor_by_client
ewk_settings_ime_handle_key_event_enabled_get/set

Change-Id: Ib75af16280c2389be7c22cd9b84e637f54d30d3c
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
16 months ago[M108 Aura Migration] Add media playback ewk api 51/288951/6
xiaofang [Mon, 27 Feb 2023 02:19:08 +0000 (10:19 +0800)]
[M108 Aura Migration] Add media playback ewk api

ewk api:
ewk_view_stop_video
ewk_view_broadcast_decoder_set
ewk_view_media_device_list_get
ewk_settings_default_audio_input_device_set
ewk_view_is_video_playing

Refer:
https://review.tizen.org/gerrit/#/c/270947/
https://review.tizen.org/gerrit/#/c/271619/
https://review.tizen.org/gerrit/#/c/284880/
https://review.tizen.org/gerrit/#/c/284853/
https://review.tizen.org/gerrit/#/c/276711/
https://review.tizen.org/gerrit/#/c/270211/

Change-Id: I406d049dca2b07ae4f4757c6412f0ceff9509e81
Signed-off-by: xiaofang <fang.xiao@samsung.com>
16 months agofixup! [M108 Migration][clang] set default value for _clang variable 09/289009/1
Gajendra N [Mon, 27 Feb 2023 08:24:52 +0000 (13:54 +0530)]
fixup! [M108 Migration][clang] set default value for _clang variable

This commit enables clang build by default for both VD QB and SR QB.

Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Change-Id: I481464121e0d500829b714f94920db5000e25523

16 months agofixup! [M108 Migration][MM] Migrate Tbm feature for Tizen Multimedia 81/288681/4
Suhaspoornachandra [Tue, 21 Feb 2023 09:20:12 +0000 (14:50 +0530)]
fixup! [M108 Migration][MM] Migrate Tbm feature for Tizen Multimedia

Currently |DestroyMediaPacket| function is called twice(|OnTbmBufferExhausted|
and |GLImageEGL|) per each media packet. Changed to call |DestroyMediaPacket|
function only once per each packet.

Reference: https://review.tizen.org/gerrit/278415

Change-Id: Ife888684dca419a0d9629e1c39594ce1c71238d1
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
16 months ago[M108 Migration][Native Control] JsPopup Migration & Bring up 51/288051/9
Bakka Uday Kiran [Thu, 23 Feb 2023 09:21:28 +0000 (14:51 +0530)]
[M108 Migration][Native Control] JsPopup Migration & Bring up

This patch brings up popup functionality for JavaScript APIs
like window.alert(), window.prompt() etc.

Reference:
https://review.tizen.org/gerrit/c/278533
https://review.tizen.org/gerrit/c/271926

Change-Id: I9f50d76b8f5d8b309eb1749f6cb18a3e2ffccc4c
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
16 months agoAdd dummy implementation for ewk_set_version_policy API 70/288970/3
Gajendra N [Mon, 27 Feb 2023 05:32:46 +0000 (11:02 +0530)]
Add dummy implementation for ewk_set_version_policy API

ewk_set_version_policy api comes from UWE feature. Since UWE patch is
not yet applied to beta branch due to some error, this patch applies
dummy impl for the above api to succeed 7.5 VD QB build.

Change-Id: I2b6cef8e87e3e480a3ae8f49847e8743d9224aed
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
16 months ago[M108 Migration][VD] Provide ewk_settings_clipboard_enabled_set api 54/288654/5
shurong.chen [Tue, 21 Feb 2023 03:07:53 +0000 (11:07 +0800)]
[M108 Migration][VD] Provide ewk_settings_clipboard_enabled_set api

The patch is for the requirement:
Support ewk setting api for handle ctrl+x/c/v(clipboard).
When clipboard enabled, text input can paste from clipboard.

This patch is migrated from M94 Aura:
https://review.tizen.org/gerrit/#/c/282689/

Change-Id: I2de1e97720968c27d5271e63c2afba3935ec30e9
Signed-off-by: shurong.chen <shurong.chen@samsung.com>
16 months ago[M108 Migration][ContextPopup] Bring up Context Popup 2/2 18/288618/8
Bakka Uday Kiran [Mon, 20 Feb 2023 11:12:11 +0000 (16:42 +0530)]
[M108 Migration][ContextPopup] Bring up Context Popup 2/2

This patch migrates changes related to context popup bringup and
Also handles,

1. Displaying context menu(text_selection) when touchevent is consumed.
2. Simplify logic of text selection.
3. Correcting context menu Show/Hide behaviour by maintaining state
   machine.
4. Fix for scrolling not smooth when context menu is shown.
5. Remove focusing codes in ContextMenuControllerEfl.
6. Check the status of context menu just before display.
7. Adjust the position of context menu for text selection

Reference: https://review.tizen.org/gerrit/c/282372

Change-Id: I6d66c9c0ea4f96c602378515434af23a62ca37f6
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
16 months ago[M108 Migration] Add empty impl for tree api to avoid compile error. 43/288943/3
qiang.ji [Mon, 27 Feb 2023 01:16:18 +0000 (09:16 +0800)]
[M108 Migration] Add empty impl for tree api to avoid compile error.

refs:
ewk_view_clear_tiles_on_hide_enabled_set   https://review.tizen.org/gerrit/#/c/279483/
ewk_view_edge_scroll_by https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/271182/
ewk_view_tile_cover_area_multiplier_set  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/271942/

Change-Id: Iaf207739e1029a4c6f87637feb927ff6293a19b9
Signed-off-by: qiang.ji <qiang.ji@samsung.com>
16 months ago[M108 Migration][VD] Fix IME focus issue 72/288872/2
liuxd [Fri, 24 Feb 2023 01:39:34 +0000 (09:39 +0800)]
[M108 Migration][VD] Fix IME focus issue

1. Add WebView focus and Widget show state check
2. Fix WebPage auto focus to input,ime have not focus in issue.

refer:
https://review.tizen.org/gerrit/#/c/282680/

Change-Id: I7c55cf139766af540119d4633a952816e264032d
Signed-off-by: liuxd <xd123.liu@samsung.com>
16 months ago[M108 Migration] Fix WRTJS build errors 08/288908/4
Surya Kumar [Fri, 24 Feb 2023 08:30:23 +0000 (14:00 +0530)]
[M108 Migration] Fix WRTJS build errors

This patch adds necessary changes to resolve dependency
errors occurring during various wrtjs profile builds.

Reference: https://review.tizen.org/gerrit/271777

Change-Id: I2a00b44c4d9b4d4b22d4c94462b3197ce1adf876
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
16 months ago[M108 Migration] Support Url conversion on the multi process model 00/288900/5
fang fengrong [Sat, 25 Feb 2023 07:32:47 +0000 (15:32 +0800)]
[M108 Migration] Support Url conversion on the multi process model

1. Instantiate WrtDynamicPlugin for browser process on multi process.
2. Revise WrtUrlRequestInterceptor.
   Added to Support app scheme.
   If parsed URL is not file scheme, the request will be redirected,
not handled directly in WrtUrlRequestInterceptor. The parsed URL will
be exposed to the content side(WebApp) after redirection.
3. Cleanup WrtWidget related codes
Remove duplicated codes and unify codes for TV product and public in
a single interface
4. Remove URLRequestInterceptingJobFactory
5.Fix the crash in EWebContext::SetWidgetInfo
  There is a crash when EWebContext::SetWidgetInfo is invoked
without injected bundle in the single process mode.

References:
https://review.tizen.org/gerrit/#/c/247502/
https://review.tizen.org/gerrit/#/c/250497/

Change-Id: Id057f3c74e4f4168515b15d9a0509a17bde96479
Signed-off-by: fang fengrong <fr.fang@samsung.com>
16 months agoRemove unutilized code 50/288750/3
Koyyani Maheswari [Wed, 22 Feb 2023 05:33:52 +0000 (11:03 +0530)]
Remove unutilized code

Below features are not used. Respective code is removed.
- tizen_multimedia_eme_support
- tizen_multimedia_support

Reference :
https://review.tizen.org/gerrit/279396/
https://review.tizen.org/gerrit/279317/

Change-Id: I989a3873cfe785afcff1f7172419c0646510e95c
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
16 months ago[M108 Migration][API] Provide ewk_context_tizen_app_version_set api 09/288609/5
Jie Zhang [Mon, 20 Feb 2023 07:27:19 +0000 (15:27 +0800)]
[M108 Migration][API] Provide ewk_context_tizen_app_version_set api

This patch is for the requirement:
Provide ewk setting api for widget version which be used for html5 video.

1.Provide ewk_context_tizen_app_version_set api for HBBTV,
  to set the value of widget version.
2.This api must be used after ewk_context_tizen_app_id_set or
  ewk_send_widget_info beacuse need drop the process privillages
  and set dynamic plugin.

Reference:
- https://review.tizen.org/gerrit/283610/

Change-Id: I67f644d3455af3d1ac939bbe316d64ee347a9911
Signed-off-by: Jie Zhang <jie137.zhang@samsung.com>
16 months ago[M108 Migration] Bringup Drag and Drop (DnD) 97/288097/10
Bakka Uday Kiran [Fri, 10 Feb 2023 09:32:59 +0000 (15:02 +0530)]
[M108 Migration] Bringup Drag and Drop (DnD)

This patch brings up DnD feature to M108.
Between M85 and M94, due to upstream refactoring,
the DragEnter notification IPC call is done through
mojom::blink::PageBroadcast (WebViewImpl).

Reference: https://review.tizen.org/gerrit/c/278386

Change-Id: I9aeb92ad80485f28434065c3cd582e9468497991
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
16 months agofixup! [MM] Implement MMPlayer(CAPI) path to support HBBTV. 95/288795/3
Venugopal S M [Mon, 20 Feb 2023 13:04:15 +0000 (18:34 +0530)]
fixup! [MM] Implement MMPlayer(CAPI) path to support HBBTV.

Notify the completion of playback(EOS) to the pipeline

Reference:
https://review.tizen.org/gerrit/288026

Change-Id: I74172a7d406d64b8c0868443acc02428ce040621
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
16 months ago[M108 Migration] Remove EWK_BRINGUP from ewk_settings.cc 74/288674/3
ayush.k123 [Tue, 21 Feb 2023 09:10:32 +0000 (14:40 +0530)]
[M108 Migration] Remove EWK_BRINGUP from ewk_settings.cc

This patch removes EWK_BRINGUP and unused code from ewk_settings.cc.

References: https://review.tizen.org/gerrit/280785/

Change-Id: I7950338a8fb06b8d07e82f991d81f72185227cec
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[M108 Migration] Support encoding property for WRT config.xml 10/288710/4
ayush.k123 [Wed, 22 Feb 2023 03:08:59 +0000 (08:38 +0530)]
[M108 Migration] Support encoding property for WRT config.xml

ewk_settings_default_text_encoding_name_set() was not affected
due to |usesEncodingDetector| in TextResourceDecoder.
If |defaultTextEncodingName| is changed by ewk_settings API,
|usesEncodingDetector| will be disabled.

References: https://review.tizen.org/gerrit/280599/

Change-Id: Ib1295cd52b07cdf5fa6284e706d46a70d10448c8
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months agoCompiler error fixes for supporting VD QB 83/288783/2
uzair [Thu, 23 Feb 2023 03:58:56 +0000 (09:28 +0530)]
Compiler error fixes for supporting VD QB

Below change fixes compiler errors by partially migrating
[1] and [2] for supporting VD QB.

[1] https://review.tizen.org/gerrit/c/271760
[2] https://review.tizen.org/gerrit/c/271757

Change-Id: Iabea727eefc8c7e03fa01a6f529f9b1ed613b931
Signed-off-by: uzair <uzair.jaleel@samsung.com>
16 months ago[M108 Migration][HBBTV] Implement new ewk context api 35/288735/3
fr.fang [Wed, 22 Feb 2023 01:24:18 +0000 (09:24 +0800)]
[M108 Migration][HBBTV] Implement new ewk context api

Support incognito mode in Injected bundle, implement the api of
ewk_context_new_with_injected_bundle_path_in_incognito_mode
for the request from hbbtv.

Reference:
https://review.tizen.org/gerrit/#/c/281230

Change-Id: I4f5153f0a88b2fbd655f8a597ba8d78955b122d4
Signed-off-by: fr.fang <fr.fang@samsung.com>
16 months agoDo not include chromium internal headers in ewk header 84/288784/3
yh106.jung [Thu, 23 Feb 2023 03:29:13 +0000 (19:29 -0800)]
Do not include chromium internal headers in ewk header

This patch does not include build_config.h to ewk headers, but to ewk
sources in order to resolve build breaks that occur in modules that
reference chromium-efl.

Change-Id: Ic683dfce4c3e516a00121e005bdf1bb34516171f
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
16 months agoShorten NotifySwap path for offscreen rendering 52/288452/8
Chandan Padhi [Thu, 16 Feb 2023 15:33:24 +0000 (21:03 +0530)]
Shorten NotifySwap path for offscreen rendering

This commit shortens NotifySwap path by removing some
of the changes in upstream code.

w/o patch:
SkiaOutputSurfaceImpl->Display(OutputSurfaceClient)->
RootCompositorFrameSinkImpl(DisplayClient)->FrameSinkManagerImpl->
HostFrameSinkManager(FrameSinkManagerClient)->
DelegatedFrameHost(HostFrameSinkClient)->
DelegatedFrameHostClientAura(DelegatedFrameHostClient)->
RenderWidgetHostViewAura->RWHVAuraOffscreenHelperEfl

with patch:
SkiaOutputSurfaceImpl->Display(OutputSurfaceClient)->
RootCompositorFrameSinkImpl(DisplayClient)->
HostDisplayClient(mojom::DisplayClient)->Compositor->
CompositorObserverEfl(CompositorObserver)->
RWHVAuraOffscreenHelperEfl

Reference: https://review.tizen.org/gerrit/287806/

Change-Id: I5dbfad3a6bb8460804045c6a8b66bae1f74130ac
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
16 months ago[M108 Migration][VD] Avoid pending frame counter becoming negative 44/288644/2
lizhifan [Tue, 21 Feb 2023 02:38:15 +0000 (10:38 +0800)]
[M108 Migration][VD] Avoid pending frame counter becoming negative

There should be only one frame rendering at one time,
this counter help scheduler accomplish this task.

But sometimes this counter could be notified to decrease
more times than it should be, so it becomes negative,
then scheduler is not working properly,
the FPS will go sky high.

From:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/262951/

Change-Id: Icb7ef4ae0c206a8764581cccb078bb57bbc0c432
Signed-off-by: lizhifan <lizhi.fan@samsung.com>
16 months agoFix multiwindow event handling issue 23/288723/3
Gajendra N [Wed, 22 Feb 2023 05:41:09 +0000 (11:11 +0530)]
Fix multiwindow event handling issue

ParentWindowWithContext is used to maintain hierarchy of aura windows, however
it is not suitable for offscreen rendering mode where Native Window is not yet
available at the ozone layer during child aura window creation in case of
'CreateNewWindow'. Enabling ParentWindowWithContext causes event handling issue
during multiple windows (tabs) scenario, hence it disabling for offscreen case.

Change-Id: Iae0f471768b498b1dc1eff5e1e1d15b80f356834
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
16 months ago[M108 Migration][WCS] Bringup contents magnifier 83/288683/4
ayush.k123 [Tue, 21 Feb 2023 09:34:22 +0000 (15:04 +0530)]
[M108 Migration][WCS] Bringup contents magnifier

This patch brings up contents magnifier.

Reference: https://review.tizen.org/gerrit/282646/

Change-Id: Ib4dcd1c5d22083c1a601f201989ce3b66eb262f4
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[M108 Migration] Add "custom,scroll,begin","custom,scroll,end" support 08/288708/4
ayush.k123 [Wed, 22 Feb 2023 02:45:01 +0000 (08:15 +0530)]
[M108 Migration] Add "custom,scroll,begin","custom,scroll,end" support

Handles and context menu should be temporarily hidden durnig scrolling.
But specific applications like email-app uses their own scrolling
mechanism within chromium-efl does not know about this happening.
This breaks chromium-EFL behaviour.

To meet these requirements email-app provided smart callbacks to
notify engine that custom scrolling is started and finished.

The patch is a counterpart of above smart callbacks.

Reference: https://review.tizen.org/gerrit/281741

Change-Id: I5ab6d978b50b4e9ed4302ad28fcc65f1c248453b
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[M108 Migration] Add Overscroll related callbacks & Bringup Edge Effect feature 63/288663/3
ayush.k123 [Mon, 20 Feb 2023 04:26:12 +0000 (09:56 +0530)]
[M108 Migration] Add Overscroll related callbacks & Bringup Edge Effect feature

This patch adds overscroll related callbacks,
- overscrolled,left
- overscrolled,right
- overscrolled,top
- overscrolled,bottom

They will be invoked when overscroll occurs for specific element.

Edge Effect is a glow like effect shown when webpage is overscrolled
horizontally or vertically to give an indication to user that the webpage
contents end at that point. Browser is notified with 'DidOverscroll' and
'DidUpdateMainFrameLayout' to keep track of overscroll and contents size
changes.

References: https://review.tizen.org/gerrit/282151/

Change-Id: I2fcdfd64c68619705f695f6253b00709d7ea903b
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[M108 Migration][MM] MediaSourceExperimental experimental feature 12/288612/2
Venugopal S M [Thu, 9 Jun 2022 13:53:40 +0000 (19:23 +0530)]
[M108 Migration][MM] MediaSourceExperimental experimental feature

Enables TrackDefaultList that SourceBuffer may consult.
It causes MSE webTCT failure.

Reference:
https://review.tizen.org/gerrit/276105

Change-Id: Ic93e9656632e7cc6b920524ac74a620b1db0e471
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
16 months ago[M108 Migration][MM] Handle PlaybackRate. 13/288613/2
Venugopal S M [Tue, 19 Jul 2022 01:10:35 +0000 (18:10 -0700)]
[M108 Migration][MM] Handle PlaybackRate.

- Enable call to setPlaybackRate
- Delay setting playback rate if player is not prepared(HBBTV)

Reference:
https://review.tizen.org/gerrit/278307
https://review.tizen.org/gerrit/278434
https://review.tizen.org/gerrit/281298
https://review.tizen.org/gerrit/288027

Change-Id: Ib82d363fb0c5f8e585a10967a3d913cd2eb181d3
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
16 months ago[M108 Migration][clang] set default value for _clang variable 70/288670/2
Chandan Padhi [Tue, 21 Feb 2023 09:04:27 +0000 (14:34 +0530)]
[M108 Migration][clang] set default value for _clang variable

This commit enables clang build by default for VD QB.

Reference: https://review.tizen.org/gerrit/274246/

Change-Id: I5b5932598d2f3235afefb04a5e62b9fd3f268395
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
16 months ago[M108 Migration][MM] Handle BufferingState for playback 14/288614/2
Sun-woo Nam [Fri, 3 Jun 2022 02:10:48 +0000 (19:10 -0700)]
[M108 Migration][MM] Handle BufferingState for playback

- Fix the issue that time is not changed when video is playing.
- Ignore "underrun" for changing ready state.

Reference:
https://review.tizen.org/gerrit/275855
https://review.tizen.org/gerrit/284178

Change-Id: I57386011655b774f7038685801a6a8622a293c26
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
16 months ago[M108 Migration][VD] Support device 02/288602/3
liuxd [Mon, 20 Feb 2023 07:44:46 +0000 (15:44 +0800)]
[M108 Migration][VD] Support device

1. Allow to show IME by the Enter key in RC device
For TV profile, to support the new requirement that allow to show IME
by the Enter key in Remote Control device.

Now add a parameter in web keyboard event to mark if the key event is from RC;
and use "is_from_rc" and "windows_key_code == ui::VKEY_RETURN" to distinguish
the Enter key in Remote Control device.

Migrated from M94_aura:
https://review.tizen.org/gerrit/#/c/281776

2.Support device name property in keyboard event

There is a requirement from HotelTV product team to support device name
property in keyboard event:
Some 3rd-party want to distinguish by device name when key event fired
between devices.

Refer:
https://review.tizen.org/gerrit/#/c/+/282276

Signed-off-by: liuxd <xd123.liu@samsung.com>
Change-Id: I05d8e28afe2b12ccf1d281c7634bab380a0e5b90

16 months ago[M108 Migration] Add "touch,focus" in ewk_settings_extra_feature_set/get 61/288661/3
ayush.k123 [Tue, 21 Feb 2023 03:59:03 +0000 (09:29 +0530)]
[M108 Migration] Add "touch,focus" in ewk_settings_extra_feature_set/get

This patch enables the capturing of touch and focus activities of the
user when user touches on screen.

Reference: https://review.tizen.org/gerrit/282018/

Change-Id: I09131483b3adef94fa2efea209586034ff7db232
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[M108 Migration][ContextPopup] Bring up Context Popup 1/2 00/288200/11
b.kiran [Wed, 15 Feb 2023 11:27:00 +0000 (16:57 +0530)]
[M108 Migration][ContextPopup] Bring up Context Popup 1/2

This patch migrates changes related to context popup bringup and
refactoring. Also handles,
1. Implementation of SelectClosestWord.
2. Implementation of CurrentSelectionRect.
3. Replacement of legacy IPCs to mojo used for context menu,
   text selection.

Reference: https://review.tizen.org/gerrit/c/282210

Change-Id: If89a3c8ef56bee7dd7db399f674a209d037746c7
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
16 months ago[WRTjs] Enable WRTjs 32/288432/3
SangYong Park [Mon, 16 Jan 2023 02:51:09 +0000 (11:51 +0900)]
[WRTjs] Enable WRTjs

. electron v22.0.0
  + node modules : @types/node, @types/webpack-env, buffer, husky, process,
                   timers-browserify, ts-loader, typescript, webpack,
                   webpack-cli, wrapper-webpack-plugin
  + electron.d.ts : type definitions for electron
. node.js v16.17.1
  + electron's patches
  - benchmark, doc, test, tools/node_modules
  - some deps (brotli, corepack, googletest, icu-small, ngtcp2, npm, openssl, v8, zlib)
. wrt
  : from tizen_7.0 branch (7ecb2e77d908b23a61844e489decd3f15e036dea)
    + aura enabling

Change-Id: I44c715bff439969c34ec6f55f43c81a0bab92894
Signed-off-by: SangYong Park <sy302.park@samsung.com>
16 months ago[M108 Migration] Bring up Selection Controller 06/288206/7
v-saha [Thu, 9 Feb 2023 16:00:12 +0000 (21:30 +0530)]
[M108 Migration] Bring up Selection Controller

1. Adjusting selection handle's coordinates to current
orientation for mouse move and other changes.
2. Selected Text shouldn't be removed when H/W back button is pressed.
3. Adding ewk_settings_extra_feature_(set|get).
4. Use LongPressStarted as a reason of selection change after long press.

References:
https://review.tizen.org/gerrit/281503
https://review.tizen.org/gerrit/283776

Change-Id: I865c46a8044cd430bd9d6a982f935e2724594da6
Signed-off-by: v-saha <v.saha@samsung.com>
16 months ago[M108 Migration][VD] Hybrid support use evas RGBA 47/288647/3
qiang.ji [Sun, 29 Nov 2020 05:48:58 +0000 (13:48 +0800)]
[M108 Migration][VD] Hybrid support use evas RGBA

1.Set default font familiy to SamsungOneUI
2. Web Terms need to show app contents behind one evas obj, now
evas set the color format RGB, need to change it to RGBA, to
support alpha.

From Tizen3.0 chromium-efl, Opaque RGB surface has been used
to fix garbage issue.It was a temporary fix and seems to have
been resolved now.

Now some wrt app use RGBA mode show transparent background
have black issue, so need to reset the mode to RGB when it
is the wrt app, hybrid app use ewk function to set app type
so judge it to set it use RGBA mode.

refs:
https://review.tizen.org/gerrit/#/c/271937/

Change-Id: I10cdf5aaaf3e079362821615bd5397695aa49761
Signed-off-by: qiang.ji <qiang.ji@samsung.com>
16 months ago[M108 Migration] Handle settings in WebPreferences and WebViewImpl 26/288426/6
Bakka Uday Kiran [Thu, 16 Feb 2023 07:01:52 +0000 (12:31 +0530)]
[M108 Migration] Handle settings in WebPreferences and WebViewImpl

This patch handled settings in WebPreferences and
WebViewImpl

Reference: https://review.tizen.org/gerrit/c/282203

Change-Id: I2879dec16b3a7dc2490ac2cf63d6659aa2dda1ad
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
16 months ago[M108 Migration] Patches related to focusable or clickable nodes and tap highlights 59/288559/3
ayush.k123 [Mon, 20 Feb 2023 03:22:28 +0000 (08:52 +0530)]
[M108 Migration] Patches related to focusable or clickable nodes and tap highlights

Patch adds below features:
  - Skip chromium default tap highlight style for HTMLElement
  - Add tap highlight to focusable or clickable node
  - Clear active and hover state before handle tap event
  - Do not show tap highlight for document node

Reference: https://review.tizen.org/gerrit/283816/

Change-Id: I8240fab2d8f34eccecbdef1c50c0fa7617d7fc23
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[M108 Migration] Exit fullscreen when the app is suspended. 27/288427/4
Bakka Uday Kiran [Thu, 16 Feb 2023 07:27:31 +0000 (12:57 +0530)]
[M108 Migration] Exit fullscreen when the app is suspended.

This patch exits from fullscreen mode when the app
is suspended.

Reference: https://review.tizen.org/gerrit/c/281108

Change-Id: I5b155bd8f01dcd2c766f7f95d865f42a0d45fb6c
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
16 months ago[M108 Migration][MM] Show permission pop-up to access IO device. 82/287482/6
Koyyani Maheswari [Mon, 30 Jan 2023 12:59:15 +0000 (18:29 +0530)]
[M108 Migration][MM] Show permission pop-up to access IO device.

1) Permission pop-up to access IO device.
2) Fix usage of public ewk api for media permission.

Reference: https://review.tizen.org/gerrit/280529/

Change-Id: I8aa2aed68c0dc4f0c94dd0b5e02e6aa42d8d6d01
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
16 months ago[M108 Migration][VD] Support all TV keys 61/288561/2
shurong.chen [Fri, 17 Feb 2023 07:45:00 +0000 (15:45 +0800)]
[M108 Migration][VD] Support all TV keys

refer:
[M94 AURA][VD] Support all TV keys
https://review.tizen.org/gerrit/#/c/279339/

[M94 Aura Migration][VD] Support XF86LFDSet XF86LFDUnset and XF86LFDScreenLock key
https://review.tizen.org/gerrit/#/c/285597

[M94 Aura Migration][VD] Support KEY_GAMEPAD_HOMEKEY key
https://review.tizen.org/gerrit/#/c/282778/

Change-Id: I6fdbc2e9553ab52bbe9a99b3497309aa30ae6494
Signed-off-by: shurong.chen <shurong.chen@samsung.com>
16 months ago[M108 Migration][VD] Change default certificate path for ubrowser. 79/288579/2
jingjieli [Mon, 20 Feb 2023 06:16:27 +0000 (14:16 +0800)]
[M108 Migration][VD] Change default certificate path for ubrowser.

VD Security part request certificate user change certificate path.

Migrate patch from M94 AURA:
https://review.tizen.org/gerrit/#/c/279390/

Change-Id: I8c525905be0b59ad13b9174f968c22a6bbed771d
Signed-off-by: jingjieli <jingjie.li@samsung.com>
16 months ago[M108 Migration] Remove EWK_BRINGUP from ewk_view_scroll_by code 14/288514/4
ayush.k123 [Fri, 17 Feb 2023 05:52:49 +0000 (11:22 +0530)]
[M108 Migration] Remove EWK_BRINGUP from ewk_view_scroll_by code

This patch sets scroll offset via mojo connection instead of legacy ipc.

Reference: https://review.tizen.org/gerrit/282703/

Change-Id: Ib2607477ab3b4bcc4f2b8524349803ada5661f76
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[M108 Migration][Text Selection] Selection handles & Caret Selection 57/287957/8
v-saha [Mon, 13 Feb 2023 17:44:37 +0000 (23:14 +0530)]
[M108 Migration][Text Selection] Selection handles & Caret Selection

On longpress handles are to be displayed, migrate the handler
and caret related patches.

Expose WebNode::is_text_node in ContextMenuParameters,
add is_caret_mode_forced_ to selection controller.

References:
https://review.tizen.org/gerrit/281232

Change-Id: I8450c9c91745f7000a9b1395ff6999aca878ba05
Signed-off-by: v-saha <v.saha@samsung.com>
16 months ago[M108 Migration] Support a11y tree generation for web browser on TV. 30/288430/6
Bakka Uday Kiran [Thu, 16 Feb 2023 09:12:24 +0000 (14:42 +0530)]
[M108 Migration] Support a11y tree generation for web browser on TV.

Currently a11y frame dump using the command [1] doesn't return the a11y
tree of the loaded web page. The reason we don't attach the root evas
object with atk plug of platform. This change enables the same.

[1] /usr/bin/at_spi2_tool -d org.tizen.browser

Reference: https://review.tizen.org/gerrit/c/280915

Change-Id: Ib08e8479dfd056ee60e30c47be278e25f56139d2
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
16 months ago[M108 Migration] Export more symbol in chromium-ewk.filter to fix HBBTV launch fail 79/288479/2
zhao dan [Fri, 17 Feb 2023 05:51:36 +0000 (13:51 +0800)]
[M108 Migration] Export more symbol in chromium-ewk.filter to fix HBBTV launch fail

Some V8_EXPORT interface have been used from HBBTV side, because without
dynamic shared symbol, HBBTV render process can not launch.

patch form:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/273624/

Change-Id: I30bbf32662c55fe6b205c627adcc51930b2ae980
Signed-off-by: zhao dan <danys.zhao@samsung.com>
16 months ago[M108 Migration] Implement ewk_view_favicon_get() API 93/288493/2
Jie Zhang [Fri, 17 Feb 2023 07:19:22 +0000 (15:19 +0800)]
[M108 Migration] Implement ewk_view_favicon_get() API

This API get the favorite-icon in current webview.

Reference:
 - https://review.tizen.org/gerrit/#/c/280190/

Change-Id: Ib293a7636214b39a4cdc111e8a16bd09d66677bd
Signed-off-by: Jie Zhang <jie137.zhang@samsung.com>
16 months ago[M108 Migration]Use container's height to calculate margin top/bottom 28/288428/4
Bakka Uday Kiran [Thu, 16 Feb 2023 07:55:09 +0000 (13:25 +0530)]
[M108 Migration]Use container's height to calculate margin top/bottom

Some WebKit-based apps expect vertical margins to be calculated
using container's height rather than its width (as stated in
specification). To provide correct layout of those apps, we
allow for non-compliant calculations in compatibility
mode (to be implemented).

Reference: https://review.tizen.org/gerrit/c/282202

Change-Id: I5bffc230b821939c0e89bbb33c7758040ca7bfe9
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
16 months ago[M108 Migration] Enable NetworkServiceInProcess for Tizen 06/288506/2
ayush.k123 [Fri, 17 Feb 2023 06:41:04 +0000 (12:11 +0530)]
[M108 Migration] Enable NetworkServiceInProcess for Tizen

Below change enable network service to run as in-process for Tizen

Reference: https://review.tizen.org/gerrit/278829/

Change-Id: Iabafafcf1d05a13dde85e4777d02d6b151531976
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[M108 Migration] Use snprintf in place of sprintf 07/288507/3
ayush.k123 [Fri, 17 Feb 2023 06:50:55 +0000 (12:20 +0530)]
[M108 Migration] Use snprintf in place of sprintf

For better security, VD recommends using snprintf in place of sprintf.

Reference: https://review.tizen.org/gerrit/c/283371/

Change-Id: If615daf8f65d95f203ed856d8df4a1c87c9a8a7b
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[M108 Migration][Accessibility] Support atk in select picker 78/288478/3
ayush.k123 [Fri, 17 Feb 2023 03:02:59 +0000 (08:32 +0530)]
[M108 Migration][Accessibility] Support atk in select picker

This patch is for supporting atk in select picker.

Reference: https://review.tizen.org/gerrit/280726

Change-Id: I4b8f83a18b6963a5ff8bc6c938d0b3bf2a3f562e
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[M108 Migration] Add ewk_intercept_request_view_get() 76/288476/3
ayush.k123 [Fri, 17 Feb 2023 03:49:05 +0000 (09:19 +0530)]
[M108 Migration] Add ewk_intercept_request_view_get()

This patch adds a new internal API that provides ewk view object
requesting the resource.

Reference: https://review.tizen.org/gerrit/282794

Change-Id: I7c7cc588c5013d6136453d7921625b914d6ae99f
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
16 months ago[M108 Migration][VD][Accessibility] Support ewk_settings_spatial_navigation_enabled_set 81/288481/2
xiafeng [Sat, 18 Feb 2023 06:07:57 +0000 (14:07 +0800)]
[M108 Migration][VD][Accessibility] Support ewk_settings_spatial_navigation_enabled_set

Support ewk_settings_spatial_navigation_enabled_set.

Related M94 Aura patch:
https://review.tizen.org/gerrit/279760/

Change-Id: Ic8b97b41b89d2a3e1766c65636f0ce743dc85d2d
Signed-off-by: xiafeng <feng.xia@samsung.com>
17 months ago[M108 Migration] Enable ATK_STATE_SHOWING for TV platform 29/288429/3
Bakka Uday Kiran [Thu, 16 Feb 2023 08:10:27 +0000 (13:40 +0530)]
[M108 Migration] Enable ATK_STATE_SHOWING for TV platform

Below change enables setting ATK_STATE_SHOWING state for accessibility
nodes on TV platform.

Reference: https://review.tizen.org/gerrit/c/283258

Change-Id: I6fb7ec1d4a28d5b3f65bdcda937691f5af24f8d9
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
17 months ago[M108 Migration] Remove EWK_BRINGUP from ewk APIs and HttpUserAgentSettingsEfl 86/288386/2
ayush.k123 [Thu, 16 Feb 2023 05:00:11 +0000 (10:30 +0530)]
[M108 Migration] Remove EWK_BRINGUP from ewk APIs and HttpUserAgentSettingsEfl

This patch migrates the following changes:
1. Remove EWK_BRINGUP from HttpUserAgentSettingsEfl
2. Remove EWK_BRINGUP for ewk_view_plain_text_get()
3. Remove EWK_BRINGUP from ewk_hit_test_private.cc

It also cleans up code in eweb_view.h

Reference:
https://review.tizen.org/gerrit/283824
https://review.tizen.org/gerrit/282993
https://review.tizen.org/gerrit/281104
https://review.tizen.org/gerrit/280592

Change-Id: If85b186ec8dc30064fd008e74c897064b03fff17
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
17 months ago[M108 Migration][NativeControl] Select Picker 75/288175/9
ayush.k123 [Fri, 10 Feb 2023 03:12:20 +0000 (08:42 +0530)]
[M108 Migration][NativeControl] Select Picker

This CL
1. Includes changes required for select picker feature and
its refactoring.
2. Fixes Backward/Foward buttons in SelectPicker TC.
3. Makes changes to handle popup resize in a better way.
4. Segregates SelectPicker into ewk independant base classes
5. Removes Listbox rendering for Multiple Select for TV

Reference:
https://review.tizen.org/gerrit/280120/
https://review.tizen.org/gerrit/280208/
https://review.tizen.org/gerrit/280225/
https://review.tizen.org/gerrit/280633/
https://review.tizen.org/gerrit/281109/

Change-Id: I104484fe74197e104537c01f53b57dc9e65546e3
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
17 months ago[M108 Migration] Apply device scale factor 39/287839/7
v-saha [Tue, 7 Feb 2023 05:25:22 +0000 (10:55 +0530)]
[M108 Migration] Apply device scale factor

Fix for web page incorrectly displayed on mobile by applying correct
device scale factor.

Reference:
https://review.tizen.org/gerrit/274908
https://review.tizen.org/gerrit/275246

Change-Id: I2aa127a3d5577dcd74507d8fa9e705e88ccb04c8
Signed-off-by: v-saha <v.saha@samsung.com>
17 months agofixup! [M108 Migration] Enable proper functionality for ewk_policy_decision_* APIs. 13/288413/2
ayush.k123 [Thu, 16 Feb 2023 07:30:09 +0000 (13:00 +0530)]
fixup! [M108 Migration] Enable proper functionality for ewk_policy_decision_* APIs.

This change fixes ewk_policy_decision_navigation_type_get_p tct failure by
making changes according to upstream change.

https://chromium-review.googlesource.com/c/3887581/8/third_party/blink/public/web/web_navigation_type.h

Change-Id: Ia1d105c83c5677971889817933aa59221210f9bf
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
17 months ago[M108 Migration] Implement ewk_view_main_frame_scrollbar_visible_set 70/288370/4
ayush.k123 [Wed, 15 Feb 2023 05:58:50 +0000 (11:28 +0530)]
[M108 Migration] Implement ewk_view_main_frame_scrollbar_visible_set

This patch implements ewk_view_main_frame_scrollbar_visible_set
which is at least required by HbbTV. It also implements
ewk_view_main_frame_scrollbar_visible_get and adds a
unit test utc_blink_ewk_view_main_frame_scrollbar_visible_set.

Reference: https://review.tizen.org/gerrit/280384/

Change-Id: I05a4f74e74d2305975d2cca81d246036c61987e8
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
17 months agoPost tasks to proper threads 01/288401/3
yh106.jung [Thu, 16 Feb 2023 05:58:41 +0000 (21:58 -0800)]
Post tasks to proper threads

This patch posts tasks to proper content browser's threads, not
to threadpool.

Change-Id: I59efb81e1ac2f470d1c4cf8e84915b73766faec7
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
17 months ago[M108 Migration] Migrate changes related to touch events 74/288374/2
ayush.k123 [Wed, 15 Feb 2023 03:51:00 +0000 (09:21 +0530)]
[M108 Migration] Migrate changes related to touch events

This patch migrates following changes related to touch events:
1. Add helper function for making ui::TouchEvent
2. Set touch events enable/disable preference from ewk api to
   EflEventHandler

Reference:
1. https://review.tizen.org/gerrit/281666
2. https://review.tizen.org/gerrit/282749

Change-Id: I4df1851be7814316c1800dadca9a908a2c87d75f
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>