platform/framework/web/chromium-efl.git
22 months agoFix build warnings due to unsupported cflags for clang 75/286675/1
Chandan Padhi [Tue, 10 Jan 2023 13:15:41 +0000 (18:45 +0530)]
Fix build warnings due to unsupported cflags for clang

This commit removes following cflags from tizen build that
are not supported for clang.
-Wno-unused-but-set-variable
-Wno-null-pointer-subtraction

Change-Id: Idde981cf2bc247de0a60aca8b2c6c215baf0caa9
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
22 months ago[M108 Migration] Enable proper functionality for ewk_cookie_manager_* APIs. 54/286654/4
Ayush Kumar [Wed, 11 Jan 2023 07:58:52 +0000 (13:28 +0530)]
[M108 Migration] Enable proper functionality for ewk_cookie_manager_* APIs.

This patch enables the proper functionality of ewk_cookies_manager_* APIs.

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

Change-Id: I8a9f23a0cf017d57e80d57e052eba46973a099ae
Signed-off-by: Ayush Kumar<ayush.k123@samsung.com>
22 months ago[IME] Enable Text Composition logic 97/286597/4
Gajendra N [Tue, 10 Jan 2023 09:06:28 +0000 (14:36 +0530)]
[IME] Enable Text Composition logic

This patch adds necessary changes to enable text composition flow
for English and Korean key down and up inputs from HW:KB and IME.

IMContextEfl is notified after a keyevent is processed at the Blink
side, after which |ui::Event| is created and composition is confirmed.

References:
https://review.tizen.org/gerrit/281341
https://review.tizen.org/gerrit/281934
https://review.tizen.org/gerrit/286244

Change-Id: I640aa403ba5d9fd003ce06d0d08f0a792b909686
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
22 months agoRemove gl_current_context_efl.cc 25/286625/2
Chandan Padhi [Fri, 6 Jan 2023 13:14:54 +0000 (18:44 +0530)]
Remove gl_current_context_efl.cc

GetTextureIdFromTexture is no longer used as SharedMailboxManager has been
removed. This commit moves GLGetCurentContext to gl_shared_context_efl.cc
and removes gl_current_context_efl.cc.

Change-Id: I5495ef311b0fa1e707fe6cd273d8206871e2f4c4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
22 months ago[M108 Migration] Migrate process title related patches 39/286539/5
Koyyani Maheswari [Mon, 9 Jan 2023 10:16:59 +0000 (15:46 +0530)]
[M108 Migration] Migrate process title related patches

1. In Chromium upstream, child process's title has been set by adding all
command line switch. But it is not actually useful and causes some
problems. For instance, crash manager cannot create a file because a title
is too long and it has illegal characters. So, this patch sets process'
title by adding only process type and service type.
2. This change corrects the originally migrated patch to store the process
path in arg[0] and rest of flags in arg[1] properly.
3. As we use setenv to update certain environment vars in chromium-efl,
comparing the memory location of process environment vars with default
|environ| would fail. So this change removes the check for efl port.

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

Change-Id: I7531a9b033b303fa9777fe59606a57a86b4b5b4b
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
22 months ago[M108 Migration] Migrate patches related to contents size and page scale factor 41/286641/2
ayush.k123 [Tue, 10 Jan 2023 10:07:41 +0000 (15:37 +0530)]
[M108 Migration] Migrate patches related to contents size and page scale factor

This patch enables proper functionality for below ewk apis:
ewk_view_contents_size_*
ewk_view_scale_*
ewk_view_scroll_*

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

Change-Id: Id50aaf1abfa970288be3e6953c92a057927ef934
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
22 months ago[M108 Migration][API] Implement Intercept Request EWK APIs 87/286587/4
ayush.k123 [Tue, 10 Jan 2023 03:51:29 +0000 (09:21 +0530)]
[M108 Migration][API] Implement Intercept Request EWK APIs

This patch implements Intercept Request EWK APIs.

Reference:
1. https://review.tizen.org/gerrit/273043/
2. https://review.tizen.org/gerrit/273467/
3. https://review.tizen.org/gerrit/279298/

Change-Id: I9bee738d055289644ec3f78c1fc633bca7ed500f
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
22 months ago[M108 Migration][API] Fix ewk_view_text_selection_text_get API 68/286568/2
Bakka Uday Kiran [Tue, 10 Jan 2023 04:10:48 +0000 (09:40 +0530)]
[M108 Migration][API] Fix ewk_view_text_selection_text_get API

It enables sync for text selected by javascript
and proper functionality of ewk_view_text_selection_text_get API.

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

Change-Id: Iec4996ec1f6adb79cb12bacb7863f30d7c34f15a
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
22 months ago[M108 Migration] Add public EWK APIs for multimedia and refactor TizenExtensibleAPI 30/286530/3
ayush.k123 [Mon, 9 Jan 2023 04:09:46 +0000 (09:39 +0530)]
[M108 Migration] Add public EWK APIs for multimedia and refactor TizenExtensibleAPI

Define public APIs
- Public API request for BackgroundMusic
- Public API reuqest for BlockMultimediaOnCall
- Public API request for EnableManualVideoRotation
- Public API reuqest for SoundMode

This patch also refactors TIzenExtensibleAPI.

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

Change-Id: I0b92aeb1900d69be7773e20b409f15fd481447d6
Signed-off-by: ayush.k123 <ayush.k123@samsung.com>
22 months ago[M108 Migration] Fix EnteredDOMWindow function return null 49/286449/4
Koyyani Maheswari [Fri, 6 Jan 2023 10:21:49 +0000 (15:51 +0530)]
[M108 Migration] Fix EnteredDOMWindow function return null

With some webapp, there was app crash issue when EnteredDOMWindow
object is null. Now when EnteredDOMWindow object is null, function
returns CurrentDOMWindow object instead of null.

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

Change-Id: Ia79dc1c31770c4d670cb7a1f82a0c13254dc27b1
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
22 months ago[M108 Migration][Callback] Bring up ewk callbacks which are related with page loading 70/286470/4
v-saha [Fri, 6 Jan 2023 10:53:35 +0000 (16:23 +0530)]
[M108 Migration][Callback] Bring up ewk callbacks which are related with page loading

Below functions were removed from upstream.
WebContentsObserver::DidStartProvisionalLoadForFrame
WebContentsObserver::DidCommitProvisionalLoadForFrame
WebContentsObserver::DidFailProvisionalLoad
WebContentsObserver::DidNavigateMainFrame
WebContentsObserver::DidNavigateAnyFrame

So this patch implements callbacks for page loading using newly added
fucntions:
WebContentsObserver::DidStartNavigation
WebContentsObserver::DidRedirectNavigation
WebContentsObserver::DidFinishNavigation

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

Change-Id: Ib998156f39155b6e334dedeec50249613fd9711d
Signed-off-by: v-saha <v.saha@samsung.com>
22 months ago[M108 Migration] Fix crashes related to shared memory. 08/286508/6
Bakka Uday Kiran [Mon, 9 Jan 2023 05:56:10 +0000 (11:26 +0530)]
[M108 Migration] Fix crashes related to shared memory.

This change supresses couple of checks related to shared memory to
avoid crashes during app exit scenario and adds logs for the same.

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

Change-Id: I1466ec87f91b76fe6989a1d40c17e4cf5f496ab5
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
22 months ago[M108 Migration][API] Add PWA APIs as public API 95/286495/2
ayush.k123 [Fri, 6 Jan 2023 09:06:24 +0000 (14:36 +0530)]
[M108 Migration][API] Add PWA APIs as public API

This patch adds below PWA APIs as public API.

- Ewk_View_Request_Manifest_Callback
- ewk_view_request_manifest
- Ewk_View_Request_Manifest
- Ewk_View_Orientation_Type
- Ewk_View_Web_Display_Mode
- ewk_manifest_short_name_get
- ewk_manifest_name_get
- ewk_manifest_start_url_get
- ewk_manifest_orientation_type_get
- ewk_manifest_web_display_mode_get
- ewk_manifest_theme_color_get
- ewk_manifest_background_color_get
- ewk_manifest_icons_count_get
- ewk_manifest_icons_src_get
- ewk_manifest_icons_type_get
- ewk_manifest_icons_sizes_count_get
- ewk_manifest_icons_width_get
- ewk_manifest_icons_height_get

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

Change-Id: Ie4fc7a2e90ca0a5d21b16863e7469e90f4b5d2e7
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
22 months ago[M108 Migration] Use third party libevent instead of system library 56/286456/2
ayush.k123 [Thu, 5 Jan 2023 08:38:20 +0000 (14:08 +0530)]
[M108 Migration] Use third party libevent instead of system library

This patch makes changes to use Chromium third party libevent
for all profiles. This fixes following error occurring on the
device with new platform binary.

>> error while loading shared libraries: libevent-2.1.so.7:

Applying this patch does not change the size of libchromium-ewk.so

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

Change-Id: I684e6c735ddc13ba6126b0ba2539747b9580ef7a
Signed-off-by: ayush.k123 <ayush.k123@samsung.com>
22 months ago[MM] Implement MMPlayer(CAPI) path to support HBBTV. 15/286315/4
Venugopal S M [Tue, 3 Jan 2023 14:01:12 +0000 (19:31 +0530)]
[MM] Implement MMPlayer(CAPI) path to support HBBTV.

Many of functions for HBBTV contents are implemented in MMPlayer side. To reuse
these implementations, MMPlayer will be used for playing HBBTV contents. Others
will be played by ESPP API.

Reference:
https://review.tizen.org/gerrit/276142
https://review.tizen.org/gerrit/276755
https://review.tizen.org/gerrit/276965

Change-Id: I4618e6e9f9a820bff4ada655aa22cb537bccd96b
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
22 months agofixup! Remove InProcessGpuThreadEfl and GpuChildThreadEfl 13/286313/2
Chandan Padhi [Tue, 3 Jan 2023 12:33:13 +0000 (18:03 +0530)]
fixup! Remove InProcessGpuThreadEfl and GpuChildThreadEfl

In GpuChildThread, GpuChannelManager's shared context will be
overriden with the one created by EFL. Therefore, we can avoid
creation of default shared context in GpuChannelManager.

Change-Id: Id32b42bbf68cc9fc77a85614d5681bd9df293881
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
22 months agofixup! Add build switch to separate onscreen and offscreen targets 58/286358/2
ayush.k123 [Wed, 4 Jan 2023 11:09:31 +0000 (16:39 +0530)]
fixup! Add build switch to separate onscreen and offscreen targets

This patch fixes the path error of pak files during build and
packaging of rpm when out directory does not exist yet.

Change-Id: I77fe89c4a10175b4f1b4ea28f21cba92b5e007a7
Signed-off-by: Ayush Kumar <ayush.k@samsung.com>
22 months agoRemove EWK_BRINGUP for code disabled during M108 build bring up 13/285213/4
Chandan Padhi [Wed, 7 Dec 2022 13:58:55 +0000 (19:28 +0530)]
Remove EWK_BRINGUP for code disabled during M108 build bring up

This commit enables code that was disabled during M108 build bring up.

Change-Id: I73290609db730754af2e9dd55f6eacc0d880197a
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
22 months agoAdd build switch to separate onscreen and offscreen targets 84/285984/10
ayush.k123 [Fri, 23 Dec 2022 11:07:31 +0000 (16:37 +0530)]
Add build switch to separate onscreen and offscreen targets

The RPM size of the normal build is about 200MB. This size is due to
packaging of onscreen targets, chrome and content_shell, in the rpm.
This patch separates chrome and content_shell, and other targets
through a build switch.

Command line for onscreen build:
TV: ./tizen_src/build/build_tv.sh --nodebug --build-chrome
Desktop: ./tizen_src/build/build_desktop.sh --build-chrome

Reference:
1. https://review.tizen.org/gerrit/274726/
2. https://review.tizen.org/gerrit/274898/
3. https://review.tizen.org/gerrit/275228/
4. https://review.tizen.org/gerrit/276006/

Change-Id: I77fe89c4a10175b4f1b4ea28f21cba92b5e001f0
Signed-off-by: Ayush Kumar <ayush.k@samsung.com>
22 months ago[MM] Handle buffering and playback 99/285999/4
Venugopal S M [Fri, 23 Dec 2022 13:21:58 +0000 (18:51 +0530)]
[MM] Handle buffering and playback

- Add queue for handling the decoder buffers
- Handle EOS frame arriving before ESPP buffer gets full
- Handle pending play, buffer level update
- Release ESPP resources on EOS and error
- Pass "kNeedBuffer" from chunkdumxer to ESPP
- Use timebased buffering for playback on TV

Reference:
https://review.tizen.org/gerrit/274860
https://review.tizen.org/gerrit/275104
https://review.tizen.org/gerrit/274698 (partial)
https://review.tizen.org/gerrit/275420
https://review.tizen.org/gerrit/276113
https://review.tizen.org/gerrit/276374
https://review.tizen.org/gerrit/276419
https://review.tizen.org/gerrit/276487
https://review.tizen.org/gerrit/280222

Change-Id: I079096c9a82f502bf72803f9563c618375e21a3e
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
22 months ago[MM] Use ESPP for media rendering 99/285499/6
Venugopal S M [Mon, 21 Mar 2022 07:45:30 +0000 (13:15 +0530)]
[MM] Use ESPP for media rendering

- Use ESPP for media rendering.
- Handling of playback from browser process.
- Added support for software rendering.

- Also, changes are made to suit 108 upversion.
- Alignment is corrected.

Reference:
- https://review.tizen.org/gerrit/271043
- https://review.tizen.org/gerrit/272693
- https://review.tizen.org/gerrit/271947
- https://review.tizen.org/gerrit/273637
- https://review.tizen.org/gerrit/279293

Change-Id: Ic9b9aa396834431b75deee2b41921f261eff2581
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
22 months ago[M108 Migration][WebGL] Disable |CommandBufferHelper| auto flushing. 01/285901/7
suyambu.rm [Fri, 15 Oct 2021 09:48:42 +0000 (17:48 +0800)]
[M108 Migration][WebGL] Disable |CommandBufferHelper| auto flushing.

If |automatic_flushes| is true, buffer of |CommandBufferHelper| is flushed
automatically and it causes sync message calls. Due to this main thread is
blocked and performance degradation is observed.

+--------------------+--------+--------+
|      KPI           | Before | After  |
+--------------------+--------+--------+
| 3D/Aquarium        | 35~60  | ~60    |
+--------------------+--------+--------+
| 3D/100 Objects     | 35~60  | ~60    |
+--------------------+--------+--------+
(Target : TV)

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

Change-Id: If287b3b4d12e29c159a70361d251b871377c6818
Signed-off-by: uzair <uzair.jaleel@samsung.com>
22 months ago[M108 Migration] Support GLES 3.0 properly 83/285983/6
uzair [Fri, 23 Dec 2022 11:09:41 +0000 (16:39 +0530)]
[M108 Migration] Support GLES 3.0 properly

This patch enables support for gles 3.0 on evas gl for tizen profiles.
In addition, evas_gl_api_get is changed to evas_gl_context_api_get.

The gles3 support has been disabled for desktop due to crash in
evasgl_make_current(). Hence once crash is resolved it will be enabled
for desktop as well.

Reference Patch:
https://review.tizen.org/gerrit/c/267378

Change-Id: I395c2f9a00c0a3c6ead0a379a35352a86084fb75
Signed-off-by: uzair <uzair.jaleel@samsung.com>
22 months agoRemove DISALLOW_COPY_AND_ASSIGN macros from tizen_src directory 35/286035/5
v-saha [Mon, 26 Dec 2022 12:07:22 +0000 (17:37 +0530)]
Remove DISALLOW_COPY_AND_ASSIGN macros from tizen_src directory

As per upstream changes [1], this patch replaces all occurances of
DISALLOW_COPY_AND_ASSIGN macros with deleted copy and move constructors
inside tizen_src/.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1010217

Change-Id: Ice2f7b8b227b6ae9409aae4277fe18b00fd65501
Signed-off-by: v-saha <v.saha@samsung.com>
22 months agoRemove InProcessGpuThreadEfl and GpuChildThreadEfl 98/285998/3
Chandan Padhi [Fri, 23 Dec 2022 11:06:51 +0000 (16:36 +0530)]
Remove InProcessGpuThreadEfl and GpuChildThreadEfl

With SharedMailboxManager removed in [1], shared context can be now set
directly in GpuChildThread itself. Therefore, chromium-efl no longer has
to override GpuChildThread and InProcessGpuThread.

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

Change-Id: I2e062c9da159b38877f1311988cdc100109ff02d
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
22 months agoMerge WebContentsViewEflDelegate to WebContentsEflDelegate 78/285978/6
Bakka Uday Kiran [Fri, 23 Dec 2022 09:49:09 +0000 (15:19 +0530)]
Merge WebContentsViewEflDelegate to WebContentsEflDelegate

For AURA, WebContentsViewEfl is not used as it is replaced by WebContentsViewAura,
hence its delegate WebContentsViewEflDelegate cannot be instantiated without it.
So this patch moves the interfaces from WebContentsViewEflDelegate to WebContentsEflDelegate,
and called via WebContentsImplEfl::GetDelegate().

As there are many delegate classes under tizen_src causing confusion sometimes;
removing WebContentsViewEflDelegate improves code structure and understandability.

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

Change-Id: I0f8e2220ece36594a710d179a4706878b14a9ab4
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
22 months agoRemove SharedMailboxManager 75/285975/4
Chandan Padhi [Fri, 23 Dec 2022 08:16:29 +0000 (13:46 +0530)]
Remove SharedMailboxManager

SharedMailboxManager is no longer required as SkiaRenderer
is enabled by default for Aura port for M108.

Change-Id: Idd912817427a854e2473b588531eb621e1a5293b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
22 months agoUse BUILDFLAG(IS_XXX) for OS checking 56/285956/4
v-saha [Tue, 20 Dec 2022 05:07:31 +0000 (10:37 +0530)]
Use BUILDFLAG(IS_XXX) for OS checking

This patch replaces all occurances of defined(OS_XXX) with
BUILDFLAG(IS_XXX) as per upstream changes mentioned in [1].

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1234043

Below efl/tizen build flags are replaced:

USE_EFL -> IS_EFL
OS_TIZEN -> IS_TIZEN
OS_TIZEN_TV_PRODUCT -> IS_TIZEN_TV

Change-Id: I55e85cf953fa855e97e608ca22be2bf2e2599d27
Signed-off-by: v-saha <v.saha@samsung.com>
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
22 months agoBringup new window functionality 40/285940/3
Gajendra N [Wed, 21 Dec 2022 06:01:06 +0000 (11:31 +0530)]
Bringup new window functionality

Changes:
1) Update overriden interfaces and callbacks as per upstream changes.
2) Remove duplicated upstream code in WebContentsImplEfl and clean up
   unnecessary code.
3) Use WebContentsImpl::CreateWithOpener to support both offscreen
   and onscreen flow.
4) Fixes crashes while exiting browser when new window is opened.
5) Fixes efl_webview_app new window displayed in smaller size.

With this patch, window.open() opens new window on ubrowser.

References:
https://review.tizen.org/gerrit/270768
https://review.tizen.org/gerrit/271690
https://review.tizen.org/gerrit/271801
https://review.tizen.org/gerrit/277423
https://review.tizen.org/gerrit/277789
https://review.tizen.org/gerrit/279009

Change-Id: I2ec856782e7df77161b005b5da00a0858b8a80aa
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
22 months agoEnable IME support for Ozone Efl 30/285730/5 tizen.dev_m108
Gajendra N [Mon, 19 Dec 2022 05:25:04 +0000 (10:55 +0530)]
Enable IME support for Ozone Efl

Functionalities:
1) IME show/hide panel on text input client's focus/blur respectively
2) IME focus/unfocus based on aura window's focus state
3) IME key filtering for HW KB input
4) Migrates text composition related base code

Change-Id: I9ad84780c70ac6a9aedb6d52e9d1cd1dce5db3a3
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
22 months agoEnable event handling for Ozone EFL 89/285489/5
Gajendra N [Tue, 13 Dec 2022 09:45:16 +0000 (15:15 +0530)]
Enable event handling for Ozone EFL

Functionalities:
1) Bringup mouse, touch and HW-KB key input event capturing and forwarding.
2) Enable focus handling and keep browser and engine's focus in sync.
3) Unification of event handling code for both onscreen and offscreen.
4) ubrowser white screen and EWA window size issues are also fixed.

Reference base patch : https://review.tizen.org/gerrit/269026
(Also includes many other fixups and patch changes partially)

Change-Id: Id97fbdc94df8a77f659d7176d6dd4c15c40de43b
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
22 months agoUse skia gl backend texture to draw on evasgl surface 28/284828/9
uzair [Mon, 28 Nov 2022 10:45:21 +0000 (16:15 +0530)]
Use skia gl backend texture to draw on evasgl surface

On browser side evasgl expects gl texture for drawing the final
composited webview onto the evasgl surface, hence below change gets
the gl texture from skia and forwards the same to browser side.

References:
https://review.tizen.org/gerrit/c/263250
https://review.tizen.org/gerrit/c/270830

Change-Id: Id3481672fee751934929295c0f34ed8bda5beefd
Signed-off-by: uzair <uzair.jaleel@samsung.com>
22 months ago[M108 Aura Migration] Merge duration related patch 95/285295/6
lokeshmeena [Thu, 8 Dec 2022 18:22:54 +0000 (23:52 +0530)]
[M108 Aura Migration] Merge duration related patch

Issue: mmplayer return duration = 0 for some normal
       stream. Media will set duration = max and
       now = max for this case. And media element
       will keep playing status and cannot start
       to load next source.

Fixed: Playback complete for this special case

Migrate from:
https://review.tizen.org/gerrit/280132

Change-Id: I5fcbc1e536a56c647508adfbb9cf938ef0375076
Signed-off-by: lokeshmeena <lokesh.meena@samsung.com>
22 months ago[M108 Aura Migration] Fix video webtct 4 failures 93/285293/3
lokeshmeena [Thu, 8 Dec 2022 15:45:43 +0000 (21:15 +0530)]
[M108 Aura Migration] Fix video webtct 4 failures

This patch fix below 4 video webtct issues
1. video_canPlayType_codecs_mp4-avc-mp4a
2. video_canPlayType_codecs_mp4-avc-mp4v
3. video_play_3gp_mpeg4_amr
4. video_pause_3gp_mpeg4_amr

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

Change-Id: I9df6edd13ad32e1f1dc4319175e5558430d9736d
Signed-off-by: lokeshmeena <lokesh.meena@samsung.com>
23 months agoOffsreen Rendering support based on Ozone EFL 15/284815/9
Gajendra N [Thu, 24 Nov 2022 04:54:13 +0000 (10:24 +0530)]
Offsreen Rendering support based on Ozone EFL

Major changes:
1) Gets evas smart object created from ewk api and sets the same to
   GLSharedContextEfl to initialize evas gl context and surface.
2) Instantiates WindowTreeHost (Platform Window Delegate) in efl layer
   for adding webcontents native view as child of aura root window.
3) Initializes ScreenOzone in EwkGlobalData.
4) Adds runtime flag --enable-offscreen-rendering to enable offscreen flow.
5) Adds necessary command line flags to CommandLineEfl.
6) Fixes exit/shutdown crash while closing browsers (ewa/ubrowser).

Launch commands:
Desktop EFL : ./out.x64/efl_webview_app.sh
TM1 / TV    : /usr/apps/org.tizen.chromium-efl/bin/ubrowser

References:
1) [M94 Migration] Offscreen rendering with ozone-platform=efl
   https://review.tizen.org/gerrit/269556

2) Move ownership of aura::ScreenOzone to EwkGlobalData
   https://review.tizen.org/gerrit/277890

3) Avoid crash during cleanup and memory exceed
   https://review.tizen.org/gerrit/274512

Change-Id: I1ff270931af8e47011aca37e4f84e68e6d280db4
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
23 months ago[M108 Aura Migration][MM] Enable media auto-playback 19/285119/5
lokeshmeena [Tue, 6 Dec 2022 10:38:05 +0000 (16:08 +0530)]
[M108 Aura Migration][MM] Enable media auto-playback

Chrome has introduced Autoplay Policy and enables playback based on
use guesture. This patch is to allow auto-playback media on tizen based
on attributes only and Removed volume checks.

W3C spec:
https://www.w3.org/TR/2011/WD-html5-20110113/video.html#attr-media-autoplay

Reference:
https://review.tizen.org/gerrit/270035
https://review.tizen.org/gerrit/268636

Change-Id: If9a47d5f108192dc9f75386cbf9434f030bea03f
Signed-off-by: lokeshmeena <lokesh.meena@samsung.com>
23 months agoAdded TIZEN_MULTIMEDIA flag 17/285017/8
lokeshmeena [Fri, 2 Dec 2022 10:26:43 +0000 (15:56 +0530)]
Added TIZEN_MULTIMEDIA flag

Included only relevant changes. Below given patches are for
reference only.

Reference:
https://review.tizen.org/gerrit/268900
https://review.tizen.org/gerrit/270744
https://review.tizen.org/gerrit/279293

Change-Id: I95941f05875ef087f4671deff997affabcc54d06
Signed-off-by: lokeshmeena <lokesh.meena@samsung.com>
23 months agofixup! Add libatomic to fix runtime error for clang build 52/284952/4
ayush.k123 [Thu, 1 Dec 2022 12:54:52 +0000 (18:24 +0530)]
fixup! Add libatomic to fix runtime error for clang build

This change links the shared library path for libatomic.so.1
for chrome and content_shell to /usr/local/lib/. This fixes
the following error while launching chrome:

>> error while loading shared libraries: libatomic.so.1:

Change-Id: I734569dcabef6c9005189c0f81526f21195b0b84
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
23 months agoAdd libatomic to fix runtime error for clang build 19/284819/2
ayush.k123 [Mon, 28 Nov 2022 08:06:35 +0000 (13:36 +0530)]
Add libatomic to fix runtime error for clang build

This adds libatomic to fix following runtime error due to lack of
libatomic which is needed by clang-built chromium-efl.

>> dlopen error : libatomic.so.1: cannot open shared object file

Note that the libatomic is provided by rpm repository but it's not
included in platform image.

Reference:
1. https://review.tizen.org/gerrit/277412/
2. https://review.tizen.org/gerrit/277651/

Change-Id: I54aa9b83400ef8710127fdab2d236b9191261e83
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
23 months agoEnable tizen dlogutil for chromium 17/284817/3
uzair [Mon, 28 Nov 2022 07:32:42 +0000 (13:02 +0530)]
Enable tizen dlogutil for chromium

Below change partially migrates [1] to enable dlogutil for tizen

[1]https://review.tizen.org/gerrit/c/174185

Change-Id: Ic96fa861ea304bcecacc46a84304ffb7f4f2cb89
Signed-off-by: uzair <uzair.jaleel@samsung.com>
23 months agoEnable chrome with aura for tizen 99/284599/12
ayush.k123 [Mon, 21 Nov 2022 12:26:17 +0000 (17:56 +0530)]
Enable chrome with aura for tizen

This change fixes compilation and linkers errors to enable chrome in
tizen.
This also migrates certain changes from [4].

Build command:
TM1:./tizen_src/build/build_standard_armv7l.sh --nodebug
TV: ./tizen_src/build/build_tv.sh --nodebug

Launch command:
TM1:/usr/lib/chromium-efl/chrome --no-sandbox --ignore-gpu-blocklist
    --window-size=720,1280
TV: /usr/lib/chromium-efl/chrome --no-sandbox --ignore-gpu-blocklist
    --window-size=1920,1080

Reference:
1. https://review.tizen.org/gerrit/c/268840
2. https://review.tizen.org/gerrit/c/268979
3. https://review.tizen.org/gerrit/c/269125
4. https://chromium-review.googlesource.com/c/chromium/src/+/4042669

Change-Id: Iad4ee415584bdf3e6455a721981a97cec6db89ad
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
23 months agoOnscreen Rendering support based on Ozone EFL 02/284602/3
Chandan Padhi [Mon, 21 Nov 2022 11:41:20 +0000 (17:11 +0530)]
Onscreen Rendering support based on Ozone EFL

This commit enables onscreen rendering with OzonePlatform for
EFL and brings up content shell/chrome for desktop and tizen.

Launch on Desktop:
a. export EVAS_GL_NO_BLACKLIST=1
b. cd out.x64/Dependencies/Root/lib64/
c. export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH
$ ./out.x64/content_shell --no-sandbox --ignore-gpu-blocklist
  --use-gl=egl --ozone-platform=efl
$ ./out.x64/chrome --no-sandbox --ignore-gpu-blocklist --use-gl=egl
  --ozone-platform=efl --window-size=800,600

Launch on TV:
$ /usr/lib/chromium-efl/chrome --no-sandbox --ozone-platform=efl
  --window-size=1920,1080 --in-process-gpu
$ /usr/lib/chromium-efl/content_shell --no-sandbox --ozone-platform=efl
  --content-shell-host-window-size=1920x1080 --in-process-gpu

References:
https://review.tizen.org/gerrit/268952/
https://review.tizen.org/gerrit/268957/
https://review.tizen.org/gerrit/269004/

Change-Id: Ia6448ab7ee939e53829873311f2ce0285390a617
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
23 months agoEnable content shell on Tizen(TM1/TV) profile 21/284321/11
uzair [Tue, 15 Nov 2022 13:21:02 +0000 (18:51 +0530)]
Enable content shell on Tizen(TM1/TV) profile

Below change fixes all related gn, compiler and linker errors
for successfull generation for chromium-efl rpm for tizen profile.

Also migrates [1],[2] and [3]. [2] and [3] are needed for successfull compilation
with enable_vulkan=false.

[1] https://review.tizen.org/gerrit/c/268880
[2] https://chromium-review.googlesource.com/c/chromium/src/+/4004619
[3] https://chromium-review.googlesource.com/c/chromium/src/+/4013439

Build: $ ./tizen_src/build/build_standard_armv7l.sh
Launch: $  /usr/lib/chromium-efl/content_shell --no-sandbox
  --content-shell-host-window-size=720x1280 --ignore-gpu-blocklist

Build: $ ./tizen_src/build/build_tv.sh
Launch: $  /usr/lib/chromium-efl/content_shell --no-sandbox
  --content-shell-host-window-size=1920x1080 --ignore-gpu-blocklist

References:
https://review.tizen.org/gerrit/c/268810

Change-Id: I55d3b43fd4a612f40efc06bf307e662b4c9b9635
Signed-off-by: uzair <uzair.jaleel@samsung.com>
23 months agoEnable clang in local and release builds for TV profile 09/284509/3
uzair [Fri, 18 Nov 2022 08:10:27 +0000 (13:40 +0530)]
Enable clang in local and release builds for TV profile

This commit enables clang in both local and release
builds for TV profile.

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

Change-Id: Icbabb3b2d567d218d3b7864bc6365836d345344f
Signed-off-by: uzair <uzair.jaleel@samsung.com>
23 months agoSupport TV build for 7.0 PontusM profile 83/284483/3
Chandan Padhi [Wed, 13 Apr 2022 09:04:21 +0000 (14:34 +0530)]
Support TV build for 7.0 PontusM profile

This commit adds support to build for 7.0 PontusM Tv profile.

Change-Id: If8ccb1ef021301e444ad4f849a2fe10f5c003fad
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: uzair <uzair.jaleel@samsung.com>
23 months agoEnable chrome with aura for desktop 39/284439/2
Chandan Padhi [Thu, 17 Nov 2022 05:57:14 +0000 (11:27 +0530)]
Enable chrome with aura for desktop

This commit fixes build errors to bring up default chrome with
aura for desktop.

Build: $ ./tizen_src/build/build_desktop.sh
Launch: $ ./out.x64/chrome --no-sandbox --ignore-gpu-blocklist
          --in-process-gpu --use-gl=egl

Change-Id: Ic65a5142060a6d86737113f3e30e406f810ef781
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
23 months agofixup! Use upstream clang 14 for desktop 72/284372/3
Chandan Padhi [Wed, 16 Nov 2022 09:25:34 +0000 (14:55 +0530)]
fixup! Use upstream clang 14 for desktop

Some of the changes got missed during rebase of the main patch.

Change-Id: Ia249e2dd01728c34c7042d8aefb8b0cf35438497
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
23 months agoEnable content shell with aura for desktop 16/284216/5
Chandan Padhi [Fri, 11 Nov 2022 15:12:21 +0000 (20:42 +0530)]
Enable content shell with aura for desktop

This commit does the following,
1. Enables aura for chromium-efl
2. Updates chromium-efl code as per upstream changes
3. Removes EFL port specific code
4. Enables onscreen Rendering based on Ozone X11(desktop)
   and brings up content_shell.

References:
https://review.tizen.org/gerrit/268664/
https://review.tizen.org/gerrit/280651/
https://review.tizen.org/gerrit/281414/

Build: $ ./tizen_src/build/build_desktop.sh
Launch: $ ./out.x64/content_shell --no-sandbox --ignore-gpu-blocklist
        --in-process-gpu --use-gl=egl

Change-Id: Iab7fa54c0cb7896bceee2a443707d603d67886fe
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
23 months agoUse upstream clang 14 for desktop 12/284312/3
Chandan Padhi [Tue, 15 Nov 2022 08:28:34 +0000 (13:58 +0530)]
Use upstream clang 14 for desktop

In upstream code, clang has been updated to version 16 for chromium
M108. However, this causes linker errors in case of desktop build as
the EFL libraries used are outdated. To fix these errors, we'll be
using clang14 for desktop build untill we upgrade the EFL libraries.

Change-Id: Ibb191ddfcb1fdf50f5e69890f0dd4dcf687bc046
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
2 years agoUpload upstream chromium 108.0.5359.1 38/283438/1
Chandan Padhi [Mon, 17 Oct 2022 13:34:21 +0000 (19:04 +0530)]
Upload upstream chromium 108.0.5359.1

This is a patch for upstream m108 - m94.

* chromium
eeb55441366d6363a31352b0b94af12b968a6b70
Publish DEPS for 108.0.5359.1

* v8
f1bc03fd6b4c201abd9f0fd9d51fb989150f97b9
Version 10.8.168

* skia
3a990bac0bd53e13f105914a7ab0f657398719aa
[infra] Hard-code Kitchen to new version

Change-Id: Ia34325c6aed6f6672364838e77a61f1807c29209
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
2 years ago[M94 Migration] Refactor JavaScriptModalDialog for EWK and WRT 26/271926/2 tizen.dev_m94_forked
liwei [Thu, 3 Mar 2022 07:24:01 +0000 (15:24 +0800)]
[M94 Migration] Refactor JavaScriptModalDialog for EWK and WRT

JavaScriptModalDialog implementation is pretty much the same both
EWK and WRT.
 - WRTJavaScriptModalDialog and JavaScriptModalDialogEfl

This patch will refactor 2 almost identical classes by common code
and be able to improve maintainability.

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

And for compile, upload some logic from
https://review.tizen.org/gerrit/267646/.

Change-Id: I10ce6e4e2de9575d869c33d6089cc5694c94a83a
Signed-off-by: liwei <wei90727.li@samsung.com>
2 years agoClean up interstitial page usage in web_contents_view_efl 91/270391/2
uzair [Fri, 8 Jan 2021 10:51:05 +0000 (16:21 +0530)]
Clean up interstitial page usage in web_contents_view_efl

Interstitial page is completely removed in chromium upstream [1]
and [2],hence removing its usage which was under EWK_BRINGUP macro.

[1]https://chromium-review.googlesource.com/c/chromium/src/+/2146137
[2]https://chromium-review.googlesource.com/c/chromium/src/+/2147921

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

Change-Id: If1a8487e09c4f221ef527d4e7bc986fc2ca3c789
Signed-off-by: uzair <uzair.jaleel@samsung.com>
(cherry picked from commit db43b00a85b61498b0719dc82827827f725f0626)

2 years ago[M94 Migration] Bringup notification and migrate related patches from M85 37/268837/3
Surya Kumar [Mon, 3 Jan 2022 16:36:55 +0000 (22:06 +0530)]
[M94 Migration] Bringup notification and migrate related patches from M85

Notification related changes have been migrated from M85

Cherry-picked from:
https://review.tizen.org/gerrit/266990
https://review.tizen.org/gerrit/267758

Change-Id: I098541a7a0782abd92d123ca5d2abac236fe62d8
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
2 years ago[M94 Migration] Remove EWK_BRINGUP for WebContentsDelegateEfl::DidAddMessageToConsole() 25/268825/1
Gajendra N [Mon, 3 Jan 2022 07:56:33 +0000 (13:26 +0530)]
[M94 Migration] Remove EWK_BRINGUP for WebContentsDelegateEfl::DidAddMessageToConsole()

WebContentsDelegateEfl::DidAddMessageToConsole() is required
majorly for debugging purposes.
This patch enables printing console messages to terminal.

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

Change-Id: Ia80c73a03a2d007e8f25d8b93e4692f138d68284
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
(cherry picked from commit aa4911baeaa2d91706df1ea2e8bb1fd1ac9268e9)

2 years ago[M94 Migration] Add overscrolled related callbacks 08/268808/1
Surya Kumar [Wed, 8 Dec 2021 12:20:08 +0000 (17:50 +0530)]
[M94 Migration] Add overscrolled related callbacks

This patch adds overscrolled callbacks:
- overscrolled,left
- overscrolled,right
- overscrolled,top
- overscrolled,bottom

They will be invoked when overscroll occurs for specific element.

Cherry-picked from: https://review.tizen.org/gerrit/267677

Change-Id: Ia468853088a7068601d7d9672b29370b8dbeab04
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
2 years ago[M94 Migration] Fixed unintended tap gesture after scrolling 82/268682/2
Surya Kumar [Wed, 8 Dec 2021 11:57:49 +0000 (17:27 +0530)]
[M94 Migration] Fixed unintended tap gesture after scrolling

Sometimes scroll gesture is recognized to tap incorrectly while loading.
Touchmove events are stored and processed in |EventResampler|.
The problem is that touchmove events which occurred between last ecore
animator callback and touchend event are unused to detect gesture.

This patch processes pending touchmove events when touchend occurred

Cherry-picked from:
https://review.tizen.org/gerrit/267676
https://review.tizen.org/gerrit/267723

Change-Id: I20fdbf55d1b02e14cb1f8014f111a82dd47a71fe
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
2 years ago[M94 Migration] Introduce event resampler 55/268255/1
Surya Kumar [Tue, 7 Dec 2021 08:34:04 +0000 (14:04 +0530)]
[M94 Migration] Introduce event resampler

1. Event resampler changes interval of touchmove, scroll, pinch event to
vsync and recalculates touchmove position to improve smoothness
2. This change fixes touch event does not work issue. When a problem
occurs, touch up event is handled by event_resampler. Because of this,
for statement was returned without processing the next up event. It
should be "continue" instead of "return"

Cherry-picked from: https://review.tizen.org/gerrit/267576

Change-Id: Id20a585160b499d347cc9ad77af04d19a37ba633
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
2 years ago[M94 Migration] Create |net::CertVerifier| on UI thread. 70/267870/1
Gajendra N [Fri, 10 Dec 2021 17:36:17 +0000 (23:06 +0530)]
[M94 Migration] Create |net::CertVerifier| on UI thread.

|net::CertVerifier::CreateDefault()| invokes |getenv| which
is not thread safe function [1].
Previously, |net::CertVerifier::CreateDefault()| was called in
|GetURLRequestContext()| which is running on |BrowserThread::IO|.
So sometime it has crash because of accessing invalid address.

This patch creates |net::CertVerifier| on constructor which is
running on |BrowserThread::UI| and uses when it necessary.

[1] : https://rachelbythebay.com/w/2017/01/30/env/

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

Change-Id: I587f7377d64cfaaf57a258af2c8914c28787cf3b
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
2 years ago[M94 Migration] Bringup Authentication popup 19/267719/1
Surya Kumar [Mon, 6 Dec 2021 12:51:05 +0000 (18:21 +0530)]
[M94 Migration] Bringup Authentication popup

Migrated Authentication popup code from M85

Cherry-picked from: https://review.tizen.org/gerrit/267205

Test site: https://the-internet.herokuapp.com/basic_auth

Change-Id: I9d130b6962f44905fd5c0acf731c830846059c59
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
2 years ago[M94 Migration] Add internalization of login_popup(Authentication) 82/267582/3
Surya Kumar [Wed, 1 Dec 2021 08:20:02 +0000 (13:50 +0530)]
[M94 Migration] Add internalization of login_popup(Authentication)

In current implementation, we just call signal of authentication.
But we need to offer default popup about authentication.
If application developer wants to customize authentication,
use "ewk_view_authentication_callback_set".

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

Change-Id: Ie637aaf65a49c24a126167fed4fc98a74fff7acd
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
2 years ago[M94 Migration] Load ErrorPage for HTTP Error 404 47/267547/1
Gajendra N [Fri, 28 May 2021 07:33:28 +0000 (13:03 +0530)]
[M94 Migration] Load ErrorPage for HTTP Error 404

When an URL fails to load with HTTP Error 404, no error page
was displayed; only blank page was seen. This patch overrides
necessary functions to display the required error page.

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

Change-Id: I24f42ebd37e33e48a3998afdc891d329d34db831
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
(cherry picked from commit 5877ed199a4a3e3185b935f5ced45581c2313781)

2 years ago[M94 Migration] Fix AssertNoURLRequests crash issue 72/267372/1
Gajendra N [Fri, 6 Nov 2020 10:56:42 +0000 (16:26 +0530)]
[M94 Migration] Fix AssertNoURLRequests crash issue

This patch fixes the crash by AssertNoURLRequests().

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

Change-Id: Ibe1ab1c7b2360dd795211fe991cd6be2dd9f1409
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
2 years ago[M94 Migration] Add event handler for EVAS_CALLBACK_MOUSE_OUT 44/267044/1
fr.fang [Wed, 2 Dec 2020 05:58:43 +0000 (13:58 +0800)]
[M94 Migration] Add event handler for EVAS_CALLBACK_MOUSE_OUT

Currently, webview can not detect whether the mouse is moved
out of webview. The problem is when moving mouse to the edge
of webview, the node under the cursor will stay in hover
state event when the mouse moved out. The hover state will
not be invalidated until the mouse move into webview.

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

Change-Id: Iea67174faf8c3f5dcc0706bd05fad2ec2025e741
Signed-off-by: fr.fang <fr.fang@samsung.com>
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
2 years agofixup! Create AggregatedRenderPassList from CompositorRenderPassList 89/266889/1
Chandan Padhi [Mon, 22 Nov 2021 06:30:52 +0000 (12:00 +0530)]
fixup! Create AggregatedRenderPassList from CompositorRenderPassList

CSS filters were not getting applied due to missing
AggregatedRenderPassDrawQuad in AggregatedRenderPass.

Change-Id: I94327fe7a01c25e4f349b3e23a76ff9b359118ef
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
2 years agoFix for crash when new window is opened from ubrowser UI 85/266685/2
Chandan Padhi [Wed, 17 Nov 2021 07:04:45 +0000 (12:34 +0530)]
Fix for crash when new window is opened from ubrowser UI

Currently, |create_new_window_web_contents_cb_| is static and
therefore can be run multiple times during new window launch.
However, it being of type OnceCallback results in crash when
run more than once. This commit changes this callback to type
RepeatingCallback to fix the crash issue.

Change-Id: Ifa4e07a1df5a974de98bf81d18944c00ee7227e1
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
2 years ago[M94 Migration] Remove gstreamer and related packages for desktop. 66/266766/2
Aron Kim [Mon, 1 Apr 2019 01:41:10 +0000 (01:41 +0000)]
[M94 Migration] Remove gstreamer and related packages for desktop.

Gstreamer was used by multimedia on desktop. But multimedia support
for desktop is removed long back. So there is no need to build the
packages.

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

Change-Id: I1e88fa9967d58d294594cf5aeb0b72d5af337d69
Signed-off-by: Aron Kim <aron.kim@samsung.com>
Signed-off-by: uzair <uzair.jaleel@samsung.com>
(cherry picked from commit 4d06eb3bbf064c8318039674776eb3cb03c5a13e)

2 years agoDisable multiprocessing in mojom_parser 81/266681/1
Chandan Padhi [Wed, 17 Nov 2021 06:47:25 +0000 (12:17 +0530)]
Disable multiprocessing in mojom_parser

Standard build gets stuck/hangs while executing mojom_parser.py
with python3. This commit disables multiprocessing in mojom_parser
to fix the hang issue.

Change-Id: Ifaebdc0f4f9410f11105ab2d75841e3bc23b5b6a
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 years agofixup! [M94 Dev][Tizen] Fix for compiler and linker errors 28/266128/2 tizen.dev_m94
Chandan Padhi [Mon, 8 Nov 2021 06:42:43 +0000 (12:12 +0530)]
fixup! [M94 Dev][Tizen] Fix for compiler and linker errors

This commit removes multiple compilation warnings during tizen build.

Change-Id: I15ac1e5cd36c5a6f70f8dd3f48341a710af52e10
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 years ago[M94][Tizen] Fix compilation and linker errors for TV 37/266137/2
Chandan Padhi [Mon, 8 Nov 2021 06:58:46 +0000 (12:28 +0530)]
[M94][Tizen] Fix compilation and linker errors for TV

This commit fixes compilation and linker errors for TV build.

Change-Id: Ib461c8c5a3d7426154f3b681d31400041100c7f7
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 years ago[M94 Dev][Tizen] Fix for compiler and linker errors 07/265707/8
uzair [Wed, 27 Oct 2021 09:45:22 +0000 (15:15 +0530)]
[M94 Dev][Tizen] Fix for compiler and linker errors

Below change fixes compilation and linker errors for standard
profile.

Change-Id: I883074dbbd9ade5cc872145d5271cef22474f702
Signed-off-by: uzair <uzair.jaleel@samsung.com>
3 years agoRemove "#define private public" hack in in_process_gpu_thread_efl.cc 95/265995/1
Chandan Padhi [Wed, 3 Nov 2021 12:01:29 +0000 (17:31 +0530)]
Remove "#define private public" hack in in_process_gpu_thread_efl.cc

This hack causes compilation errors for tizen builds, hence removing it.

Change-Id: I58eddedcf5e86fecd35d595a2597f0577f009a42
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 years agoAdd tizen 6.5 product TV profiles to gbs.conf 66/265966/1
Chandan Padhi [Tue, 2 Nov 2021 13:29:40 +0000 (18:59 +0530)]
Add tizen 6.5 product TV profiles to gbs.conf

This is required to support tizen 6.5 TV build

Change-Id: Id06c0a47b32f313374de9014adc0f5cb85bb03ec
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 years ago[M94 Dev][Tizen] Fix for errors for generating ninja files 70/265470/2
uzair [Wed, 20 Oct 2021 06:55:48 +0000 (12:25 +0530)]
[M94 Dev][Tizen] Fix for errors for generating ninja files

This commit fixes gn related errors for generating
ninja files for compilation to begin for tizen port

Change-Id: I3f426149b283136124fcedeb80a4fec8b8296aaf
Signed-off-by: uzair <uzair.jaleel@samsung.com>
3 years agoCreate AggregatedRenderPassList from CompositorRenderPassList 07/265407/4
Chandan Padhi [Mon, 18 Oct 2021 14:40:39 +0000 (20:10 +0530)]
Create AggregatedRenderPassList from CompositorRenderPassList

CompositorFrame received on the browser/gpu process contains
CompositorRenderPassList. However, GLRenderer now expects
AggregatedRenderPassList due to upstream changes[1].
Therefore, it is necessary to create AggregatedRenderPassList
from CompositorRenderPassList for GLRenderer to draw the frames.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/2321397

Change-Id: If59f45be60fc25eb2d4f3a54ed870ae1c8751d99
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 years ago[M94 Dev][EFL] Fix crashes at webview launch 80/265180/1
Chandan Padhi [Tue, 12 Oct 2021 13:32:23 +0000 (19:02 +0530)]
[M94 Dev][EFL] Fix crashes at webview launch

This commit fixes the crashes at webview launch.

Change-Id: Id76e889485509ae84555f2903a7f0e01d99529c7
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 years ago[M94 Dev][EFL] Fix linker errors for desktop build 61/264961/1
Chandan Padhi [Wed, 6 Oct 2021 06:11:44 +0000 (11:41 +0530)]
[M94 Dev][EFL] Fix linker errors for desktop build

This commit resolves linker errors to enable EFL port.

Change-Id: Ie8d9c6ac675128a2e4a90e1401f6ee3df7129266
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 years ago[M94 Dev][EFL] Fix compilation errors for desktop build 41/264641/6
Chandan Padhi [Mon, 27 Sep 2021 11:59:45 +0000 (17:29 +0530)]
[M94 Dev][EFL] Fix compilation errors for desktop build

This commit resolves compilation errors to enable EFL port.

Change-Id: Iafe4812f27e82f9737e1364269debdac44437011
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 years ago[M94 Dev][EFL] Fix gn errors to generate ninja files 95/264495/1
Chandan Padhi [Thu, 23 Sep 2021 07:09:03 +0000 (12:39 +0530)]
[M94 Dev][EFL] Fix gn errors to generate ninja files

This commit fixes gn related errors to generate ninja
files for compilation to begin in desktop build.

Change-Id: I068d53933fc2a460d1bbfb2721a921d69b30e4c7
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 years ago[M94 Dev] Remove *.pyc files from git repositories 94/264494/1
Chandan Padhi [Mon, 20 Sep 2021 08:13:18 +0000 (13:43 +0530)]
[M94 Dev] Remove *.pyc files from git repositories

This commit removes *.pyc files so that they are not shown in git status.

Change-Id: Iadc8f012a293baca7023ceb1ead7d54834d81250
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 years agoUpload upstream chromium 94.0.4606.31 49/264449/1
Chandan Padhi [Wed, 15 Sep 2021 16:44:50 +0000 (22:14 +0530)]
Upload upstream chromium 94.0.4606.31

This is a patch for upstream m94 - m85.

* chromium
daf0a5f1e9577d2b51c6041052e4f059a7645601
Publish DEPS for 94.0.4606.31

* v8
ad9caf871c763f8f87c303ee804be1c98b14d81c
Version 9.4.146.10

* skia
917add76678d71cb4878dad087ae3d5d6d493129
[infra] Add wildcard OWNERS

Change-Id: I043fae5820196009621e211b74d90028f88fbbbb
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 years agoSquash 2 commits and apply to dev branch 47/248647/1
Gajendra N [Tue, 1 Dec 2020 06:47:54 +0000 (12:17 +0530)]
Squash 2 commits and apply to dev branch

1) Trigger "url,changed" callback only on actual url change
   https://review.tizen.org/gerrit/248352

2) Remove EWK_BRINGUP in URLRequestContextGetterEfl
   https://review.tizen.org/gerrit/248600

Change-Id: Id75cc238cb2db474ee28343dfb0354c69a52359f
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
3 years ago[M85 Migration] Support PrepareErrorPage 44/247644/4
Gajendra N [Fri, 6 Nov 2020 13:28:52 +0000 (18:58 +0530)]
[M85 Migration] Support PrepareErrorPage

1)When if an app is faced to show an error page (i.e. CORS deny),
This supports error markup page.

2)Adding new files is used for common layer for EWK/WRTjs
CommonRenderClient class can be extended as common layer for both

References:
https://review.tizen.org/gerrit/233022
https://review.tizen.org/gerrit/233228

Change-Id: Ia3e44f2dab3564846e1291ba1c61ab3502924890
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
3 years ago[M85 Migration] Support ServiceWorker Background Sync 79/247879/1
Insoon Kim [Wed, 8 Apr 2020 12:56:38 +0000 (18:26 +0530)]
[M85 Migration] Support ServiceWorker Background Sync

This patch treats a permission for background sync as
notification permission.

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

Change-Id: I72930b95fce8ba0f2d5a06ea455456c3b43bd027
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
3 years agoRemove EWK_BRINGUP related to WebCursor 54/247654/2
Chandan Padhi [Tue, 3 Nov 2020 13:48:34 +0000 (19:18 +0530)]
Remove EWK_BRINGUP related to WebCursor

This commit enables WebCursor related code under EWK_BRINGUP
after making changes as per chromium upstream.

Change-Id: I2c0b364c0155086d9d63a4894bad5436baa61838
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit e756d39b2e6a4e1d7b1575f18d1dbd107e309e4e)

3 years ago[M85 Migration] Remove EWK_BRINGUP related to ViewMsg_UpdateRotationDegrees 53/247653/1
Chandan Padhi [Fri, 30 Oct 2020 13:02:09 +0000 (18:32 +0530)]
[M85 Migration] Remove EWK_BRINGUP related to ViewMsg_UpdateRotationDegrees

This IPC is not currently required as DeviceDisplayInfoEfl's
rotation degrees is not used in the renderer process.

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

Change-Id: Ia65c0da48c056126a3c3d914c7577b47f9dfe317
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit af43c246080b463e555fa2c6072e7da78f61461a)

4 years ago[M85 Migration] Update Accept-Language field on platform language change 73/247373/1
Gajendra N [Mon, 2 Nov 2020 16:54:35 +0000 (22:24 +0530)]
[M85 Migration] Update Accept-Language field on platform language change

The original patch[1] updated accept languages only for http header.
However we should update it for RendererPreferences as well, because
it can be required by JS script, such as navigator.language.

This patch moves listener for accept languages from
HttpUserAgentSettingsEfl to ContentBrowserClientEfl and stores it.

Plus, sychronizes with renderer whenever accept language or preferred
language is changed.

[1]: https://review.tizen.org/gerrit/#/c/95478/

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

(Cherry-picked from 21f645fc7510973ce8b636f9e9f597c877281ad2)

Change-Id: I509663a5bfb398ca7797426bfd277ae03738695c
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
4 years agoReplace PermissionManagerEfl with PermissionControllerDelegateEfl 63/246963/1
Gajendra N [Wed, 4 Nov 2020 14:08:52 +0000 (19:38 +0530)]
Replace PermissionManagerEfl with PermissionControllerDelegateEfl

This patch applies necessary changes to Permissions related code,
so that it can be permanently applied to tizen.dev branch.
Also does some cleanup related to obsolete AccessTokerStoreEfl class.

(Cherry-picked from b1465410ee517f6badae82fa072d4b449df411e7)

Change-Id: Icf257bb843fb9e73c366c8ece040551e830cc132
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
4 years agoRemove EWK_BRINGUP at few places in tizen_src 24/246824/1
Gajendra N [Wed, 28 Oct 2020 12:42:51 +0000 (18:12 +0530)]
Remove EWK_BRINGUP at few places in tizen_src

This patch removes EWK_BRINGUP only in tizen_src directory so
that the changes can be permanently merged to tizen.dev branch

Change-Id: I7a7728fe9563d6855a338af1c64d0da295060d99
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
(cherry picked from commit 3d11ad70ca0335ce8905522d3d6fe8e8bc6e68a5)

4 years ago[M85 Migration][Ubrowser] Ubrowser migration. 01/246501/2
suyambu.rm [Fri, 31 Mar 2017 07:59:45 +0000 (16:59 +0900)]
[M85 Migration][Ubrowser] Ubrowser migration.

In order to perform the browser test in m56 beta, we decided to
overwrite the Ubrowser codes to m56 beta from m47 beta.

This CL applies the Ubrowser source codes to m56 beta from
latest m47 beta source codes. However the source codes which related
to "TIZEN_VIDEO_MANUAL_ROTATION_SUPPORT" and "TIZEN_VD_TOMATO" flag
for specific product target were dropped in this CL. The dropped
features will be merged in migration of m47 patches.

ewk_view_widget_get API was introduced to help us with focusing issue.
However, it didn't resolve the issue, so our clients (email,
browser, crosswalk) decided to use the old solution aka "dummy button".

The only application that still uses ewk_view_widget_get API
is ubrowser. As the API has many side effects (e.g. select picker
and context menu do not display), we made a decision to remove
it from ubrowser too.

Refeirence:
https://review.tizen.org/gerrit/224961

Change-Id: I703969fb10ef90d94be95da4477823a5da403ee3
Signed-off-by: suyambu.rm <suyambu.rm@samsung.com>
4 years ago[M85 Migration] Implement SharedURLLoaderFactoryEfl 17/246217/2
Gajendra N [Thu, 15 Oct 2020 10:58:13 +0000 (16:28 +0530)]
[M85 Migration] Implement SharedURLLoaderFactoryEfl

On upstream Chromium, geolocation is refactored to use URLLoaderFactory.
GeolocationProviderImpl now dependant on SharedURLLoaderFactory, this
patch ports the same to EFL.

Added files :
shared_url_loader_factory_efl.cc
shared_url_loader_factory_efl.h

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

Change-Id: Ic447a551bf857044627bdfff30976684241ee421
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
(cherry picked from commit 1117d88a3afebe21fa6b830d7b668895ef31b440)

4 years ago[M85 Migration] Remove EWK_BRINGUP to set source device for WebGestureEvent 04/246504/2
Chandan Padhi [Tue, 27 Oct 2020 13:09:11 +0000 (18:39 +0530)]
[M85 Migration] Remove EWK_BRINGUP to set source device for WebGestureEvent

This commit removes EWK_BRINGUP to set source device for WebGestureEvent.

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

Change-Id: I8e6aca3363b0906b3f3ef5645fc6ece4ea1cd754
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit 47d06f19122018224bbc1ce0e3f7c6e550244ca7)

4 years ago[M85 Migration] Remove EWK_BRINGUP related to LatencyInfo 05/246505/1
Chandan Padhi [Tue, 27 Oct 2020 12:04:35 +0000 (17:34 +0530)]
[M85 Migration] Remove EWK_BRINGUP related to LatencyInfo

This commits removes EWK_BRINGUP to provide LatencyInfo
with original timestamp.

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

Change-Id: I3f883a6f9b56c0a8ad40c3630af189c5a3f64147
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit c4f85976cea0ae4d9c2f0aee520690ae2ed21ecd)

4 years ago[M85 Migration] Refactor ScreenEfl. 75/246275/1
suyambu.rm [Thu, 22 Oct 2020 19:01:34 +0000 (00:31 +0530)]
[M85 Migration] Refactor ScreenEfl.

Added features (AddObserver, RemoveObserver and NotifyDevice) in
DeviceDisplayInfoEflImpl.

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

Change-Id: Ifdf1c7d4b05259c4933af0731122aba455471716
Signed-off-by: ayushi.arya <ayushi.arya@partner.samsung.com>
Signed-off-by: suyambu.rm <suyambu.rm@samsung.com>
(cherry picked from commit 1961110af787ad4b73eb7a99e859962933ef47b7)

4 years ago[M85 Migration][Rendering] Force gpu acceleration 80/245880/2
Chandan Padhi [Fri, 16 Oct 2020 11:13:33 +0000 (16:43 +0530)]
[M85 Migration][Rendering] Force gpu acceleration

Chromium-efl port does not support s/w mode. So we need to set h/w
mode before creating elm_window. To do this, make constructor function
which is called at library loading time and set "ELM_ACCEL=hw" here.
If not, native app which does not call elm_config_accel_preference_set()
function will fail to execute.

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

Change-Id: I0f7bb1b53b95dcd5390ca1b4c8b578ac67a6afbf
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit af5cbc2f38633fbe818fd6421e2fbe5525076970)

4 years ago[M85 Migration] Add an evas gl option for rotation 81/245881/1
Chandan Padhi [Fri, 16 Oct 2020 11:37:20 +0000 (17:07 +0530)]
[M85 Migration] Add an evas gl option for rotation

Adding EVAS_GL_OPTIONS_CLIENT_SIDE_ROTATION would enforce direct
rendering even if the canvas is rotated. In that case, it is the
application's role to rotate the contents of the Evas_GL view.

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

Change-Id: I3b04548919db3a4f8a23cca9a5924e083aad30bb
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M85 Dev] Fix crashes during page load/navigation and webview shutdown 54/245454/4
Chandan Padhi [Fri, 9 Oct 2020 04:41:18 +0000 (10:11 +0530)]
[M85 Dev] Fix crashes during page load/navigation and webview shutdown

This commit does the following to fix the crashes.

1. Creates viz::HostFrameSinkManager and viz::FrameSinkManagerImpl
2. Sets up a connection between viz::HostFrameSinkManager and
   viz::FrameSinkManagerImpl without using Mojo
3. Makes RWHVEfl a viz::HostFrameSinkClient and registers its
   viz::FrameSinkId

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

Change-Id: I6c69ea29a151186f71c55b08818c4036db3c0a4d
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M85 Migration] Ensure ProduceTexture is executed before ConsumeTexture 84/245384/4
Chandan Padhi [Tue, 10 Dec 2019 05:42:48 +0000 (11:12 +0530)]
[M85 Migration] Ensure ProduceTexture is executed before ConsumeTexture

Black patches are seen occasionally while navigating back and
forth between pages. This is a sync issue where ConsumeTexture
gets executed before ProduceTexture's execution is completed.

To fix this issue, we add glFlush and glError before renderer
submits a frame to the browser. This will ensure that execution
of ProduceTexture is completed before ConsumeTexture is called.

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

Change-Id: I6882269588d257da3c455c2aa575b43c26e1d958
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: uzair <uzair.jaleel@samsung.com>
4 years ago[M85 Migration][Callback] Implement new smart callback, 'did,not,allow,script' 12/245312/4
yh106.jung [Wed, 1 Feb 2017 04:40:18 +0000 (13:40 +0900)]
[M85 Migration][Callback] Implement new smart callback, 'did,not,allow,script'

This patch makes new smart callback that is called when javascript is
disabled while page is loading.

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

Change-Id: Ibcd48d4f7332c81b223cf58a29d6194673584ba1
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
4 years ago[M85 Migration][API] Add ewk APIs to allow cookies for file scheme URLs 71/245371/2
yh106.jung [Tue, 28 Mar 2017 04:35:50 +0000 (13:35 +0900)]
[M85 Migration][API] Add ewk APIs to allow cookies for file scheme URLs

This patch adds below two APIs.
- ewk_cookie_manager_file_scheme_cookies_allow_get:
  Queries if the cookie manager allows cookies for file scheme URLs.
- ewk_cookie_manager_file_scheme_cookies_allow_set:
  Sets whether cookie manager to accept cookies for file scheme URLs.

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

Change-Id: Ieedc2b1374f65c77765809dad2abd39f80c3a909
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
4 years ago[M85 Migration][API] Change unit for ewk_view_scroll_* APIs from dip to device pixel 18/245318/2
yh106.jung [Tue, 1 Aug 2017 06:19:17 +0000 (15:19 +0900)]
[M85 Migration][API] Change unit for ewk_view_scroll_* APIs from dip to device pixel

Below APIs had used device pixel as their unit on Tizen 2.4.
So, this patch changes unit from dip to device pixel for them.
- ewk_view_scroll_pos_get
- ewk_view_scroll_set
- ewk_view_scroll_size_get

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

Change-Id: I19d23aa93da0e5efb96d3fd07da11eaa8026974c
Signed-off-by: yh106.jung <yh106.jung@samsung.com>