platform/framework/web/chromium-efl.git
4 years ago[SVACE] Fix SVACE issues 86/226786/1
Chandan Padhi [Mon, 2 Mar 2020 10:59:07 +0000 (16:29 +0530)]
[SVACE] Fix SVACE issues

This commit also includes changes from
https://review.tizen.org/gerrit/#/c/212346/.

Change-Id: I7dc953af267b09c31106dd146f6f40da7aa17c12
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M76 Migration] Handle fling gesture events in the browser process for EFL port 21/223321/1
suyambu.rm [Tue, 28 Jan 2020 12:38:38 +0000 (04:38 -0800)]
[M76 Migration] Handle fling gesture events in the browser process for EFL port

Fling events handling has been moved from renderer to browser in
upstream chromium as per [1]. Fling scroll was not working in M69
as fling events were not handled in the browser for chromium-efl.

With this change, DidStopFlinging gets called naturally when fling
ends which fixes hidden contextmenu not shown issue in [2].

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

Change-Id: Ie601be59ab05ef51c762c9ebd1cdc20dd67ce36e
Signed-off-by: suyambu.rm <suyambu.rm@samsung.com>
4 years agoCleanup old device_sensors code 61/222361/1
Gajendra N [Tue, 31 Dec 2019 06:04:04 +0000 (11:34 +0530)]
Cleanup old device_sensors code

After M63, DataFetcher* classes were removed and replaced by generic_sensor.
Hence, code related to device_sensors can be removed. This patch does the same.

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

4 years agoRemove EWK_BRINGUP in gpu_info_collector_efl.cc 97/222297/1
Chandan Padhi [Mon, 13 Jan 2020 09:07:19 +0000 (14:37 +0530)]
Remove EWK_BRINGUP in gpu_info_collector_efl.cc

This patch removes unused code in gpu_info_collector_efl.cc.

Change-Id: I77c094db81919ca5025eaadcfbb21c7defca4bcb
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M76 Migration] Replace elm naviframe with elm layout 81/222181/1
Chandan Padhi [Fri, 10 Jan 2020 05:35:34 +0000 (11:05 +0530)]
[M76 Migration] Replace elm naviframe with elm layout

A naviframe is an element which holds and manages views.
It allows to create special effects when one view is being
changed to another one. But chromium-efl does not use such
special effects because naviframe contains only one view at
a time and the transition between views does not occur.

This patch replaces elm naviframe with elm layout.

3D Memory for google.com on TM1 target:
With Patch : 1644
Without Patch : 5372

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

Change-Id: I236adc97ec98059b96c660765090d0d4096d7c74
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M76 Migration] Enable MSAA sample count for Canvas2D. 69/222169/1
suyambu.rm [Mon, 30 Dec 2019 06:24:31 +0000 (22:24 -0800)]
[M76 Migration] Enable MSAA sample count for Canvas2D.

This helps skia to use accelerated rendering for canvas2d.
This change also removes unwanted canvas command line flags.

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

Change-Id: I8ef938f68b77a1e72ac7eb57e12679da633fa8dc
Signed-off-by: suyambu.rm <suyambu.rm@samsung.com>
(cherry picked from commit fe15cb8a166b69b9d74e9a210310d37c32357a3a)

4 years agoMove GetUserAgent() from ContentClientEfl to ContentBrowserClientEfl. 92/222092/2
suyambu.rm [Mon, 6 Jan 2020 10:32:03 +0000 (02:32 -0800)]
Move GetUserAgent() from ContentClientEfl to ContentBrowserClientEfl.

This change moves overriden methods GetUserAgent, GetProduct to
ContentBrowserClientEfl, as per M76 upstream.
This helps setting useragent properly in chromium-efl.

Change-Id: I2a66ca3f4dc356203ae2c0c199d06fbb261e4fe0
Signed-off-by: suyambu.rm <suyambu.rm@samsung.com>
4 years ago[M76 Migration] Fix crash during destruction of EvasGLDelegatedFrameHost 67/222067/2
Chandan Padhi [Thu, 26 Dec 2019 06:17:58 +0000 (11:47 +0530)]
[M76 Migration] Fix crash during destruction of EvasGLDelegatedFrameHost

This change ensures that EvasGLDelegatedFrameHost member variables
are accessed only when its initialization is done.

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

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

4 years ago[M76 Migration] Set default DIP scale as 1.0 66/222066/2
Chandan Padhi [Thu, 26 Dec 2019 06:07:21 +0000 (11:37 +0530)]
[M76 Migration] Set default DIP scale as 1.0

DIP scale value can not be 0 and if this value is used before
initialization from |RWHVEfl::InitializeDeviceDisplayInfo|,
it causes layout error.

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

Change-Id: I62d2f79542470fb3e3fdde8a542c61f5fd992e29
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit 6ce2eead7fe78dfab9ced4a4673ccbd5436dd7e8)
(cherry picked from commit 391156033f20840a83b5f999cb9f89b850a725f9)

4 years ago[M76 Migration] Remove pixmap related files 65/222065/2
Chandan Padhi [Fri, 20 Dec 2019 08:44:38 +0000 (14:14 +0530)]
[M76 Migration] Remove pixmap related files

This commit removes pixmap related files as we no longer use X11.

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

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

4 years ago[M76 Migration][Rendering] Fix scale factor for wearable 64/222064/2
Chandan Padhi [Fri, 20 Dec 2019 08:50:51 +0000 (14:20 +0530)]
[M76 Migration][Rendering] Fix scale factor for wearable

Currently, device scale factor for wearable profile is calculated
similar to that for mobile profile. But in case of wearable profile,
device scale factor should be "1.0".

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

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

4 years ago[M76 Migration] Fix Pinch Zoom 63/222063/2
Chandan Padhi [Fri, 20 Dec 2019 06:38:48 +0000 (12:08 +0530)]
[M76 Migration] Fix Pinch Zoom

id is missed in ui::TouchEvent object. This patch fills
ui::PointerDetails with id and POINTER_TYPE_TOUCH.

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

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

4 years ago[M76 Migration] Remove redundant glGetIntegerv call 62/222062/2
Chandan Padhi [Mon, 16 Dec 2019 13:03:48 +0000 (18:33 +0530)]
[M76 Migration] Remove redundant glGetIntegerv call

glGetIntegerv call is expensive and its usage is generally not
recommended. As we already know the value of |current_program|,
glGetIntegerv call becomes redundant and can be avoided.

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

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

4 years ago[M76 Migration] Remove EvasGLOutputSurfaceClient 61/222061/2
Chandan Padhi [Mon, 16 Dec 2019 10:23:27 +0000 (15:53 +0530)]
[M76 Migration] Remove EvasGLOutputSurfaceClient

Based on upstream changes, an OutputSurfaceClient is no longer
mandatory for an OutputSurface. EvasGLRenderer doesn't need one.
Hence, removing the same.

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

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

4 years ago[M76 Migration] Remove EWK_BRINGUP in client_native_pixmap_factory_efl.cc 60/222060/2
Chandan Padhi [Wed, 11 Dec 2019 10:29:06 +0000 (15:59 +0530)]
[M76 Migration] Remove EWK_BRINGUP in client_native_pixmap_factory_efl.cc

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

Change-Id: Icf7bc9d89650fa842331a15828a0b2acddf03f03
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit 4c0b4519a409ef83204cd5803176d609d316823d)
(cherry picked from commit 449ee01c7ee49893b6b79a67bc719d3396c7f425)

4 years ago[M76 Migration] Install ScreenEfl after CommandLine has been initialized. 59/222059/2
Chandan Padhi [Mon, 16 Dec 2019 10:04:09 +0000 (15:34 +0530)]
[M76 Migration] Install ScreenEfl after CommandLine has been initialized.

After changes in [1], CommandLine is getting accessed from
ScreenEfl::UpdateDisplays. However, CommandLine is not yet
initialized at this point of time that results in crash.

This commit ensures that ScreenEfl is installed only after
CommandLine has been initialized.

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

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

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

4 years ago[M76 Migration] Add GetScreenInfo for efl port 58/222058/2
Chandan Padhi [Mon, 16 Dec 2019 09:39:51 +0000 (15:09 +0530)]
[M76 Migration] Add GetScreenInfo for efl port

GetScreenInfo is not implemented for efl port. This commit
adds the same and removes related code under EWK_BRINGUP flag.

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

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

4 years ago[M76 Migration] Initialize DeviceDisplayInfoEfl in renderer 57/222057/2
Chandan Padhi [Mon, 16 Dec 2019 08:59:13 +0000 (14:29 +0530)]
[M76 Migration] Initialize DeviceDisplayInfoEfl in renderer

This commit sends DeviceDisplayInfoEfl values to renderer
via mojom::CreateViewParams.

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

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

4 years agoRemove unused content_main_runner.cc 56/222056/1
Chandan Padhi [Wed, 11 Dec 2019 10:40:18 +0000 (16:10 +0530)]
Remove unused content_main_runner.cc

This file has been removed from upstream chromium
and is not part of the build. Removing the same.

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

4 years ago[M76 Dev][API] Add the ewk_view_page_close API 65/220165/1
DongJun Kim [Thu, 16 Feb 2017 07:10:48 +0000 (16:10 +0900)]
[M76 Dev][API] Add the ewk_view_page_close API

This patch is migrated from m47 beta:
[1] https://review.tizen.org/gerrit/#/c/101956/
[2] https://review.tizen.org/gerrit/#/c/106742/
[3] https://review.tizen.org/gerrit/#/c/98056/
[4] https://review.tizen.org/gerrit/#/c/110060/

Implement the API to close the web page forcibly.

Change-Id: Ib54974d181a07ab67e54e8454fc839624aab560c
Signed-off-by: DongJun Kim <djmix.kim@samsung.com>
4 years ago[M76 Dev][Tizen][TV] Fix compilation and linker errors 36/218836/2
uzair [Thu, 28 Nov 2019 11:51:58 +0000 (17:21 +0530)]
[M76 Dev][Tizen][TV] Fix compilation and linker errors

This commit resolves compiler and linker errors for
tizen tv profile build.

Change-Id: I51ce0c4dbbfeb6fe2e29e3b504154eb0fcb6cce5
Signed-off-by: uzair <uzair.jaleel@samsung.com>
4 years ago[M76 Dev][Tizen] Fix linker errors 37/218837/1
Chandan Padhi [Thu, 28 Nov 2019 05:12:00 +0000 (10:42 +0530)]
[M76 Dev][Tizen] Fix linker errors

This commit resolves linker errors for tizen standard profile build.

Change-Id: Ib9f14861602b279635ef22fbd154b9477a0b15c9
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M76 Dev][Tizen] Generate ninja files and fix compilation errors 77/217977/4
Chandan Padhi [Mon, 18 Nov 2019 07:00:07 +0000 (12:30 +0530)]
[M76 Dev][Tizen] Generate ninja files and fix compilation errors

This commit generates ninja files and resolves compiler errors
for tizen standard profile build.

Change-Id: I4fd12a230861da759017628ebaa11046430611fc
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M76 Dev][EFL] Fix black/white screen at webview launch 29/218629/1
Chandan Padhi [Thu, 21 Nov 2019 05:04:03 +0000 (10:34 +0530)]
[M76 Dev][EFL] Fix black/white screen at webview launch

This commit does the following to fix black/white screen at webview launch.

1. Initializes FieldTrialList.
2. Disables SurfaceSynchronization.
3. Disables SharedImages.

Change-Id: I70d9e59f1db30fa47e3f1dca739fbbc87e0340b6
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years agofixup! [M73 Dev][EFL] Attach MessagePump::Delegate to MessagePumpForUIEfl 46/217546/1
Chandan Padhi [Tue, 12 Nov 2019 09:19:42 +0000 (14:49 +0530)]
fixup! [M73 Dev][EFL] Attach MessagePump::Delegate to MessagePumpForUIEfl

Move AttachToMessagePump method for EFL port from MessageLoop
to SequenceManagerImpl as per changes in chromium upstream code.

This change helps fixing the crash at webview launch.

Change-Id: I9bd395b587fd09d1b734ae1d3d55a15d2615a471
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M76 Dev][EFL] Fix compilation and linker errors for desktop build 91/216191/3
Chandan Padhi [Tue, 22 Oct 2019 06:17:50 +0000 (11:47 +0530)]
[M76 Dev][EFL] Fix compilation and linker errors for desktop build

This commit resolves compiler and linker errors to enable EFL port.

Change-Id: Iae7948bd4bb256b7ac54cb3dab2ba0a4ccdf3c6f
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M76 Dev][EFL] Fix errors to generate ninja files 82/215582/4
Chandan Padhi [Fri, 11 Oct 2019 06:41:54 +0000 (23:41 -0700)]
[M76 Dev][EFL] Fix errors to generate ninja files

This commit fixes gn files to generate ninja files for desktop build.

Change-Id: Ifd3c87d9745eaee7d7aeeb5b241112db5ab87d97
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years agofixup! Upload upstream chromium 76.0.3809.146 25/215825/1
Chandan Padhi [Wed, 16 Oct 2019 05:51:26 +0000 (11:21 +0530)]
fixup! Upload upstream chromium 76.0.3809.146

Some of the //third_party repos were not synced to 76.0.3809.146
in the original patch. This commit  ensures that all //third_party
repos are synced properly.

Change-Id: I3fd12aecfea826a7a5b5e4f7f5b5a82bb3c62220
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years agoUpload upstream chromium 76.0.3809.146 45/215245/1
Chandan Padhi [Thu, 19 Sep 2019 09:44:02 +0000 (15:14 +0530)]
Upload upstream chromium 76.0.3809.146

This is a patch for upstream m76 - m73 which has
been migrated from tizen.upstream branch.

Note that cherry-pick conflicts have been resolved
but this does not guarentee build success.

* chromium
91f08db83c2ce8c722ddf0911ead8f7c473bedfa
Publish DEPS for 76.0.3809.146

* v8
f1aa36df853b9956b46f3d792b59255c3b6fff46
Version 7.9.68

* skia
18531cde2ab757d82d3934fbac6c698e7b53cb3b
Roll third_party/externals/angle2 a7003d5fc306..bf4268a3963b

Change-Id: Ib47212e09886e2de1eef5ff3e72f90f50c8b245d
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M73 Dev][Tizen] Fix compilation errors for TV profile 45/207645/1 tizen.dev_m73
Chandan Padhi [Mon, 10 Jun 2019 11:29:40 +0000 (04:29 -0700)]
[M73 Dev][Tizen] Fix compilation errors for TV profile

This commit resolves compiler errors for TV build.

Change-Id: I9c5946101a02b9f72b8608cb1dcaabe6540dd319
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M73 Migration][Product TV] Enable tizen 5.5 musem build by default 29/207529/3
Chandan Padhi [Thu, 6 Jun 2019 10:54:18 +0000 (16:24 +0530)]
[M73 Migration][Product TV] Enable tizen 5.5 musem build by default

This commit enables tizen 5.5 musem build for tv profile by default.

Reference:
https://review.tizen.org/gerrit/#/c/202310/
https://review.tizen.org/gerrit/#/c/205921/

Change-Id: I1ba41efc7295c8a99f0d5c25868b872fe0a68b45
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years agofixup! [M73 Dev][EFL] Attach MessagePump::Delegate to MessagePumpForUIEfl 75/207375/1
Chandan Padhi [Tue, 4 Jun 2019 05:11:56 +0000 (10:41 +0530)]
fixup! [M73 Dev][EFL] Attach MessagePump::Delegate to MessagePumpForUIEfl

This commit fixes below compilation warning introduced by the parent patch.

In file included from ../base/message_loop/message_loop_impl.cc:33:
../tizen_src/chromium_impl/base/message_loop/message_pump_for_ui_efl.h:25:25:
warning: [chromium-style] Overriding method must be marked with 'override' or
'final'.  ~MessagePumpForUIEfl();
                    ^
                     override

Change-Id: I1969f20267e0facdc43661926562fdb7060828d4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M73 Dev][Tizen] Fix linker errors 33/206333/2
Chandan Padhi [Thu, 16 May 2019 11:46:10 +0000 (04:46 -0700)]
[M73 Dev][Tizen] Fix linker errors

This commit resolves linker errors for tizen standard profile.

Change-Id: I99c097699e7f5476022d3d5cc01a1a8e84fc85d7
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M73 Dev][Tizen] Generate ninja files and fix compilation errors 73/206073/2
Chandan Padhi [Mon, 13 May 2019 11:11:40 +0000 (04:11 -0700)]
[M73 Dev][Tizen] Generate ninja files and fix compilation errors

This commit generates ninja files and resolves compiler errors
for tizen standard profile.

Change-Id: I18d7d59905aa98c3a8cd3c9bb8d681a0ea866266
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M73 Dev][EFL] Disable VizDisplayCompositor for EFL port 62/205662/2
Chandan Padhi [Wed, 8 May 2019 08:40:03 +0000 (14:10 +0530)]
[M73 Dev][EFL] Disable VizDisplayCompositor for EFL port

Chromium-efl does not support the display compositor as it
uses evasgl delegated renderer for rendering.

Change-Id: I7d43718c6adc4aa179fd51ba38d2f8d97b5a9ceb
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M73 Dev][EFL] Attach MessagePump::Delegate to MessagePumpForUIEfl 42/205642/1
Chandan Padhi [Wed, 8 May 2019 06:06:40 +0000 (11:36 +0530)]
[M73 Dev][EFL] Attach MessagePump::Delegate to MessagePumpForUIEfl

Due to changes in chromium upstream, MessageLoop is no longer
a MessagePump::Delegate. Therefore, below piece of code becomes
invalid and had to be removed.

Delegate* delegate = MessageLoopForUI::current();

Due to this, calls to Delegate methods are not made which breaks
the loop and ecore_pipe_write() does not get executed resulting
in white screen at webview launch.

This commit attaches MessagePump::Delegate to MessagePumpForUIEfl.

Change-Id: I674dac8ca736a5c6ff2172c5f5938325b706b5ab
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M73 Dev][EFL] Move MessagePumpForUIEfl from efl_integration to chromium_impl 27/205627/1
Chandan Padhi [Wed, 8 May 2019 05:31:54 +0000 (11:01 +0530)]
[M73 Dev][EFL] Move MessagePumpForUIEfl from efl_integration to chromium_impl

This commit moves message_pump_for_ui_efl.cc|h files to
chromium_impl/base/message_loop/ to align with upstream folder structure.

Change-Id: I94badba3b7efd6387cf96d9af1d231ad4cc720ab
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M73 Dev][EFL] Use unique pointers instead of raw pointers in EwkGlobalData 67/204767/1
Chandan Padhi [Thu, 25 Apr 2019 10:31:48 +0000 (03:31 -0700)]
[M73 Dev][EFL] Use unique pointers instead of raw pointers in EwkGlobalData

As per changes in chromium upstream code, BrowserMainRunner::Create()
now returns a unique pointer. This commit adapts code in EwkGlobalData
accordingly to fix crash at webview launch.

Change-Id: I325d5cc8a7294eee9e40cdce711533f20601ef84
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M73 Dev][EFL] Fix compilation and linker errors for desktop build 54/204254/2
Chandan Padhi [Mon, 22 Apr 2019 09:21:06 +0000 (02:21 -0700)]
[M73 Dev][EFL] Fix compilation and linker errors for desktop build

This commit resolves compiler and linker errors to enable EFL port.

Change-Id: Ic83ff065fadee8e83b2d4b81b851457982571462
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M73 Dev] Remove *.pyc files from git repositories 30/203530/3
Chandan Padhi [Mon, 15 Apr 2019 13:01:54 +0000 (06:01 -0700)]
[M73 Dev] Remove *.pyc files from git repositories

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

Change-Id: I977c52770829d362d2d89a54a77d84b8fccd6dfa
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M73 Dev][EFL] Fix errors to generate ninja files 55/203655/2
Chandan Padhi [Tue, 16 Apr 2019 13:27:13 +0000 (06:27 -0700)]
[M73 Dev][EFL] Fix errors to generate ninja files

This commit fixes gn files to generate ninja files for desktop build.

Change-Id: Ie27e41a3eca53cdc6ac4d4a814a3bd73a7d02623
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years agoUpload upstream chromium 73.0.3683.0 64/203464/1
Youngsoo Choi [Thu, 11 Apr 2019 07:09:36 +0000 (16:09 +0900)]
Upload upstream chromium 73.0.3683.0

This is a patch for upstream m73 - m71
which is migrated from tizen.upstream branch.

The //BUILD.gn is removed to use build/secondary/BUILD.gn for EFL port.
In this way, conflict can be avoided whenever chromium-efl is upgraded.

Note that cherry-pick conflicts have been resolved
but this does not guarentee build success.

* chromium
73818f5fc6786b395bc593531734bf70efdd6579
Publish DEPS for 73.0.3683.0

* v8
9df9418edf64d6a080ba569ef43cd5ca0171a820
Version 7.3.492.1 (cherry-pick)

* skia
094ab18b457e0a5c79c2159231dea2b7252e8275
Update go_deps asset

Change-Id: I169ba4d25fead09c87d169240d598528f7c93f3e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years ago[M71 Migration] Fix crash issue during exit 79/201979/1
Chandan Padhi [Thu, 21 Mar 2019 09:59:31 +0000 (02:59 -0700)]
[M71 Migration] Fix crash issue during exit

Sometimes, mailbox manager is destroyed before cleanup of gpu
thread resource. (static variable is destroyed in main thread)
So, move mailbox manager destruction to gpu thread cleanup.

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

Change-Id: Ib91fbdfa7c157c2a5c2dd85a607b962bb312cf52
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years agoRemove unused duplicate shared_mailbox_manager.cc|h files 07/201607/1
Chandan Padhi [Fri, 15 Mar 2019 12:27:52 +0000 (17:57 +0530)]
Remove unused duplicate shared_mailbox_manager.cc|h files

Change-Id: I711a0e2c20ee4f41c65ba715aa8acd1939795152
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M71 Dev][Tizen] Upgrade chromium-efl rpm version
Youngsoo Choi [Mon, 11 Feb 2019 01:25:45 +0000 (17:25 -0800)]
[M71 Dev][Tizen] Upgrade chromium-efl rpm version

This updates the chromium-efl rpm version.

Change-Id: I551564f4f10d47ee4bf52005ee54a5554da4508b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years ago[M71 Dev][Tizen] Fix linker errors
Chandan Padhi [Fri, 1 Feb 2019 10:55:37 +0000 (16:25 +0530)]
[M71 Dev][Tizen] Fix linker errors

This commit resolves linker errors for tizen standard profile.

Change-Id: Ia643157d723491b55bcf5f768abf97ff6fe70173
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M71 Dev][Tizen] Fix compiler errors
Chandan Padhi [Thu, 17 Jan 2019 10:08:45 +0000 (02:08 -0800)]
[M71 Dev][Tizen] Fix compiler errors

This commit resolves compiler errors for tizen standard profile.

Change-Id: Ic754d6b00c071144515c010d28803d376fa9efb9
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M71 Dev][Tizen] Fix errors to generate ninja files
Chandan Padhi [Mon, 14 Jan 2019 10:08:19 +0000 (15:38 +0530)]
[M71 Dev][Tizen] Fix errors to generate ninja files

This commit fixes gn files to generate ninja files for tizen.

Change-Id: I5f7ede34d5290dff914b12e31bfe4516c812420b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M71 Dev][EFL] Fix crashes at webview launch
Chandan Padhi [Fri, 11 Jan 2019 06:20:40 +0000 (22:20 -0800)]
[M71 Dev][EFL] Fix crashes at webview launch

This commit fixes the crashes/hangs at webview launch.

Change-Id: I9f29b148a44cbe885b4287562ba91b4ca4fc0db0
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M71 Dev][EFL] Fix linker errors for desktop build
Chandan Padhi [Mon, 7 Jan 2019 12:09:11 +0000 (04:09 -0800)]
[M71 Dev][EFL] Fix linker errors for desktop build

This resolves linker errors to enable EFL port.

Change-Id: Iedf872c27420885f2e466ef4b9845c5eea28ceac
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M71 Dev][EFL] Fix compilation errors for desktop build
Chandan Padhi [Thu, 3 Jan 2019 13:16:31 +0000 (05:16 -0800)]
[M71 Dev][EFL] Fix compilation errors for desktop build

This commit resolves compiler errors to enable EFL port.

Change-Id: I52dad48542d849560d6a1b702fc2daf2603c1b52
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M71 Dev][EFL] Fix errors to generate ninja files
Youngsoo Choi [Mon, 31 Dec 2018 04:46:05 +0000 (04:46 +0000)]
[M71 Dev][EFL] Fix errors to generate ninja files

This removes BUILD.gn to use build/secondary/BUILD.gn for tizen port.
In this way, conflict can be avoided whenever chromium-efl is upgraded.

Also, this sets testonly to true for using shell:pak or shell:resources
which already sets the option to true.

Change-Id: Ia88262d4a18467a45286dacde8604dce006b6a40
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years ago[M71 Dev] Remove *.pyc
Youngsoo Choi [Mon, 31 Dec 2018 04:49:28 +0000 (04:49 +0000)]
[M71 Dev] Remove *.pyc

This removes *.pyc not to be shown in git status.

Change-Id: I5eb64448d015dde307f5d66b8938ae6ff822bce7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years agoUpload upstream chromium 71.0.3578.0
Youngsoo Choi [Mon, 31 Dec 2018 00:18:00 +0000 (09:18 +0900)]
Upload upstream chromium 71.0.3578.0

This is a patch for upstream m71 - m69.

Note that cherry-pick conflicts have been resolved
but this does not guarentee build.

* chromium
0bef18ab2e280536593cb86034abda3e35062293
Publish DEPS for 71.0.3578.0

* v8
f70aaa8ab2e8815505a6145c745e50d8328cd28c
Version 7.1.302

* skia
9c37cd96e4c8158643dbde6fd3eda1b42e267bec
Revert "Fix image info checking for always-opaque color types"

Change-Id: Ic4084710f98919ce4f1f2d3d29d921415a5eb1c2
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years ago[M69 Dev][Product TV] Set default target to MuseM for tv build 82/199682/2
Youngsoo Choi [Thu, 14 Feb 2019 03:37:09 +0000 (19:37 -0800)]
[M69 Dev][Product TV] Set default target to MuseM for tv build

Tizen 5.0 and 5.5 for tv utilize MuseM target by default.

Change-Id: I0ba0fecdfb229a522770ffd5e42b9842f426c856
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years ago[M69 Dev] Let -B option can be used with build script 63/195863/4
Youngsoo Choi [Wed, 19 Dec 2018 01:37:58 +0000 (17:37 -0800)]
[M69 Dev] Let -B option can be used with build script

The user-defined gbs root path with -B option
which is provided by gbs build coommand like below
can be used by this patch.

$ gbs build -h
build env options:
  -B BUILDROOT, --buildroot BUILDROOT
        specify build root to setup chroot environment. By
        default, ~/GBS-ROOT/ will be used. User can specify
        customized build root in gbs.conf with 'buildroot'
        key, which can be set in [general] section for default
        build root, or in [profile.xx] section for profile
        special build root

Usage is like below.
$ ./tizen_src/build/build_tv.sh -B {USER_DEFINED_GBS_ROOT}

Change-Id: I66e02d45b03dc122e51074e3f1a83132b358678f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years ago[M69 Migration][Product TV] Apply CAP-admin capability to efl_webprocess 20/196120/1
ss440 [Fri, 21 Dec 2018 03:34:05 +0000 (19:34 -0800)]
[M69 Migration][Product TV] Apply CAP-admin capability to efl_webprocess

This patch is migrated from m63:
https://review.tizen.org/gerrit/#/c/177876/

The process privilege should be dropped when web app is launched
to support "Process Pool" feature.

In order to drop the privilege, the process should have the
cap_mac_admin capability because we cannot use the "Dyntransition"
feature of security in only product tv environment.

Change-Id: I8601d8f7c306bb333275318bef4ffd1922f1c096
Signed-off-by: ss440 <ss440.han@samsung.com>
5 years ago[M69 Dev][Locale] Repack *.pak files for minimal string resource 70/195470/2
yh106.jung [Mon, 20 Mar 2017 08:06:47 +0000 (17:06 +0900)]
[M69 Dev][Locale] Repack *.pak files for minimal string resource

This patch reimplements repacking minimal string resources on GN
build system, but concept is same with GYP version.
It is expected to reduce the size of rpm about 14.6MB.

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

Change-Id: I35ac7c564b47a6e1fa935a4b8dd7a12727c0075d
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
5 years ago[M69 Dev][Public][Rom Size][Build Speed] Support clang build for chromium-efl 69/195169/5
Chandan Padhi [Tue, 11 Dec 2018 07:01:37 +0000 (23:01 -0800)]
[M69 Dev][Public][Rom Size][Build Speed] Support clang build for chromium-efl

This patch enables support for use of clang compiler and lld linker
to reduce binary size and to improve build speed for public profile
and desktop.

Note that platform llvm v3.8 does NOT support thin lto option and
there's no gain for binary size optimization. So, this utilizes
upgraded home-built llvm v7.0.

Clang is used as default for standard profile and desktop builds.
In case of standard profile, clang build is currently supported
for arm(armv7l) achitecture target only.

Below commands can be used to build with gcc.
$./tizen_src/build/build_standard_armv7l.sh --gcc
$./tizen_src/build/build_desktop.sh --gcc

We have not decided yet on default use of clang for product tv.
Below command can be used to build with clang.
$./tizen_src/build/build_tv.sh --clang

Binary Size of libchromium-ewk.so:

Note that product tv obs does NOT allow to strip section .symtab
and .strtab but public obs allows to strip those sections by default.
That's why released product tv binary size(91 MB) is much larger than
public target binary size(41 MB).

1) Product TV
w/o clang: 104.6 MB
with clang: 91 MB

2) Public Target
w/o clang: 47.6 MB
with clang: 41.7 MB

Also, build speed has been improved by about 10% and no regression has
been found, comparing to gcc built-chromium-efl.

Change-Id: I3318fbb69b441769c3905431e665fbd4ac3aa4c9
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years agoProvide ported llvm 7.0 to tizen 00/193500/4
Youngsoo Choi [Fri, 21 Sep 2018 03:06:18 +0000 (20:06 -0700)]
Provide ported llvm 7.0 to tizen

This adds llvm 7.0 binary set to reduce binary size
and to improve build speed for chromium-efl.

Note that the tizen platform llvm 3.8.1 does not support
thin lto optimization option because the version is too old.

Also, public chromium-efl build is not possible with the llvm 6.0 or 7.0,
included in upstream chromium.

So, this provides ported llvm 7.0 to tizen.

Change-Id: I8d47e8401c803e4d5123db3af75cb9795eb0a575
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years ago[M69 Dev] fixup! [M51_2704] Chromium upversion to m51_2704 branch. 30/194930/2
yh106.jung [Tue, 6 Dec 2016 09:42:03 +0000 (18:42 +0900)]
[M69 Dev] fixup! [M51_2704] Chromium upversion to m51_2704 branch.

It's wrong to dereference a std::unique_ptr after std::move because
the ownership of std::unique_ptr is transferred by std::move.

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

Change-Id: Id6b2521ba70f0247b9df71ca1d6ea90ba52a18a8
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
5 years ago[M69 Dev][Callback] Remove item of IDMap after it is used 42/194742/2
yh106.jung [Wed, 1 Feb 2017 04:49:36 +0000 (13:49 +0900)]
[M69 Dev][Callback] Remove item of IDMap after it is used

This patch remove callback item from it's IDMap after callback is
invoked.

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

Change-Id: I5283d366a46e52c8aa99e52470b3ea1e7b42e71b
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
5 years ago[M69 Dev][API] Change to a lower LOG level (CRIT to ERR) 71/194671/3
yh106.jung [Thu, 9 Feb 2017 11:47:13 +0000 (20:47 +0900)]
[M69 Dev][API] Change to a lower LOG level (CRIT to ERR)

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

Change-Id: Iec34ec3d3899d5e647dde1294259d8ad4e70a6a5
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
5 years agofixup! [M67 Dev][EWK] Classify EWK APIs by public, internal, or product 70/194670/2
yh106.jung [Wed, 28 Mar 2018 00:57:02 +0000 (17:57 -0700)]
fixup! [M67 Dev][EWK] Classify EWK APIs by public, internal, or product

Some header files were missed in gn file.

Change-Id: Id6a67e0411e952fc0e7639ed1c2605302e67ab20
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
5 years ago[M69 Dev][API] Change ewk_cookie_manager_persistent_storage_set to Public API 72/194672/1
yh106.jung [Thu, 6 Dec 2018 04:33:53 +0000 (20:33 -0800)]
[M69 Dev][API] Change ewk_cookie_manager_persistent_storage_set to Public API

This patch just removes the API from internal header.
It has been already added to public header.

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

Change-Id: Ib84774fb4c89a3bdd61dc724ec637b996b3ef6bb
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
5 years ago[M69 Dev] Implements IPC::Sender in WebContentsDelegateEfl 96/193396/1
Uzair [Tue, 20 Nov 2018 06:38:55 +0000 (22:38 -0800)]
[M69 Dev] Implements IPC::Sender in WebContentsDelegateEfl

IPC::Sender of WebContentsObserver was removed in the upstream [1].
Implemented IPC::Sender to send a reply message through current
RenderViewHost by the received message as before.

[1] https://chromium-review.googlesource.com/630416

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

Change-Id: I9dcf9625544ae410831f26b726425360e40303e1
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
5 years ago[M69 Dev][TV] Support URL parsing for web app 53/191053/6
Uzair [Thu, 11 Oct 2018 05:05:15 +0000 (22:05 -0700)]
[M69 Dev][TV] Support URL parsing for web app

Below patch adds web app url parsing functionality
needed to display basic web app on TV.

Change-Id: I8375fc7768e0bb3ac8d0effe73620ad41deb2f7e
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
5 years ago[M69 Dev][Hotfix] Do not listen to cookie changes 98/193298/1
Chandan Padhi [Mon, 19 Nov 2018 05:40:16 +0000 (21:40 -0800)]
[M69 Dev][Hotfix] Do not listen to cookie changes

This is a hotfix provided for crash during browser shutdown.

Change-Id: If9877e9f0efdd8d96ad5f54cc51396ac4b0f4827
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M69 Dev][TV][hotfix] Set the default geometry for webview when size is invalid 74/189974/8
Sha Yuhong [Fri, 1 Jun 2018 13:09:55 +0000 (21:09 +0800)]
[M69 Dev][TV][hotfix] Set the default geometry for webview when size is invalid

In Tizen 5.0 on engine side we get invalid size(84*24)
in resize callback as a result web app is not displayed on TV.
We suspect this issue to be vd crosswalk or efl platform side.
This is a hotfix to display webapp on TV.

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

Change-Id: Ica3e434be6c995a25e7c2062143ae06b6118b0ae
Signed-off-by: Sha Yuhong <yuhong.sha@samsung.com>
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
5 years ago[M69 Dev][API] Add mockup EWK APIs 91/193091/6
Youngsoo Choi [Thu, 9 Mar 2017 06:27:45 +0000 (15:27 +0900)]
[M69 Dev][API] Add mockup EWK APIs

This adds mockup EWK APIs to bring up m69.

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

Change-Id: Ic04f032723e70a7e6764e903cdab175c668f9d6f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years ago[M69 Dev][Tizen] Enable touch events for mobile/wearable profile 46/193146/2
Chandan Padhi [Wed, 14 Nov 2018 13:23:44 +0000 (18:53 +0530)]
[M69 Dev][Tizen] Enable touch events for mobile/wearable profile

This commit enables touch and gestures handling.

Change-Id: I1a1602502f22452d583357d772fd3a829ac9074f
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M69 Dev] Enable EdjePath for EdgeEffect 94/193094/1
Chandan Padhi [Wed, 14 Nov 2018 10:43:17 +0000 (02:43 -0800)]
[M69 Dev] Enable EdjePath for EdgeEffect

This change is necessary to avoid CHECK failure during gesture handling.

Change-Id: Icfddb71d6fd8cb8284f33135784b8221e76413c4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M69 Dev][Tizen] Use mobile user agent for mobile/wearable profile 92/193092/1
Chandan Padhi [Wed, 14 Nov 2018 10:31:56 +0000 (02:31 -0800)]
[M69 Dev][Tizen] Use mobile user agent for mobile/wearable profile

Without this change, we get a desktop layout on TM1 which is not desirable.

Change-Id: Ia7cb6f58027b6c3fec841c7181faf073b7fb4ada
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M69 Dev] Update version information 79/192979/2
Youngsoo Choi [Tue, 13 Nov 2018 10:08:58 +0000 (10:08 +0000)]
[M69 Dev] Update version information

This updates the version information with 69.0.3497.106.

Change-Id: I532bf2b770517db0edf766a36efa68787650b581
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years ago[M69 Dev][TV] Support cursor of mini browser and efl_web_view. 78/192978/3
Youngsoo Choi [Mon, 16 Apr 2018 12:38:13 +0000 (20:38 +0800)]
[M69 Dev][TV] Support cursor of mini browser and efl_web_view.

This patch is migrated from m56 beta:
https://review.tizen.org/gerrit/#/c/122123/

Mouse doesn't work in the TV Product Mini Browser
and efl_webview_app.
Wayland API calls related to the mouse when the TV Product.

guide: http://goo.gl/PqaFI1

Change-Id: I38c742198207afa80d3d848b6fb2c3bde02f7714
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years ago[M69 Dev][TV] Replace TIZEN_PRODUCT_TV as per platform requirements 43/192843/3
ss440 [Mon, 12 Nov 2018 02:03:36 +0000 (18:03 -0800)]
[M69 Dev][TV] Replace TIZEN_PRODUCT_TV as per platform requirements

The TIZEN_PRODUCT_TV is no longer used as per build infra policy.
This replaces TIZEN_PRODUCT_TV with tizen_profile_name
by platform requirements.

Change-Id: I8c8f43d8dcad850af479b3372f232e0f6a64b25d
Signed-off-by: ss440 <ss440.han@samsung.com>
5 years ago[M69 Dev][Tizen] Fix linker errors 75/192575/4
Chandan Padhi [Tue, 6 Nov 2018 13:22:28 +0000 (05:22 -0800)]
[M69 Dev][Tizen] Fix linker errors

This fixes linker errors for tizen port.

Change-Id: Ifa61b2772545aba50261fb4db17579ec1a4e8994
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M69 Dev][Tizen] Fix compiler errors 37/192137/4
Youngsoo Choi [Tue, 30 Oct 2018 06:32:25 +0000 (23:32 -0700)]
[M69 Dev][Tizen] Fix compiler errors

Change-Id: I7c2785cc527f0ae84f5afe491aa5d100adf408b7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 years ago[M69 Dev][Tizen] Fix errors to generate ninja files 36/192136/2
Youngsoo Choi [Thu, 25 Oct 2018 04:02:10 +0000 (21:02 -0700)]
[M69 Dev][Tizen] Fix errors to generate ninja files

This fixes gn files to generate ninja files for tizen.

Change-Id: I309b1f458456b4c7dc149ba388d8d44b561ecbb8
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years ago[M69 Dev] Do not trace automatically changed files 35/192135/2
Youngsoo Choi [Tue, 30 Oct 2018 06:32:25 +0000 (23:32 -0700)]
[M69 Dev] Do not trace automatically changed files

This removes automatically changed files.

Change-Id: Ib523ad7097544c105170d3c6bb1b8cdead59d622
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M69 Dev][EFL] Fix crashes/white screen at webview launch 13/191813/4 tizen.dev_m69
Chandan Padhi [Wed, 24 Oct 2018 05:55:11 +0000 (22:55 -0700)]
[M69 Dev][EFL] Fix crashes/white screen at webview launch

This commit fixes the crashes at webview launch.
It also fixes the white screen observed later.

Basic page rendering works fine on desktop.

Change-Id: I3ff01e893e53241ebdb7c5951f57c4fe89ebdbcd
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M69 Dev][EFL] Fix linker errors for desktop build 28/191428/4
Chandan Padhi [Wed, 17 Oct 2018 05:08:23 +0000 (22:08 -0700)]
[M69 Dev][EFL] Fix linker errors for desktop build

This resolves linker errors to enable EFL port.

Change-Id: I630683e412e6363732a9e8bd5b5d97cd6645160f
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M69 Dev][EFL] Fix compilation errors for desktop build 72/191372/8
Chandan Padhi [Tue, 16 Oct 2018 09:31:08 +0000 (15:01 +0530)]
[M69 Dev][EFL] Fix compilation errors for desktop build

This resolves compiler errors to enable EFL port.

Change-Id: I63929d560b79a0ef36e085f22c6843088820c619
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M69 Dev][EFL] Fix generating gn errors for desktop build 84/191284/4
Youngsoo Choi [Mon, 15 Oct 2018 05:30:36 +0000 (22:30 -0700)]
[M69 Dev][EFL] Fix generating gn errors for desktop build

This fixes the erros that come from generating gn files.

Change-Id: Ifa7c97cc5518571affd7e62a13859ce6f5876c78
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years agoUpload upstream chromium 69.0.3497.106
Youngsoo Choi [Fri, 26 Oct 2018 07:06:47 +0000 (16:06 +0900)]
Upload upstream chromium 69.0.3497.106

This upgrades patch version of m69.

* chromium
e7075c132b1d96ecbf1ca5c89cbeaae46b430fa2
Publish DEPS for 69.0.3497.106

* v8
e9bbc6b21ab549e480cb6281613e8933b46bee3a
Version 6.9.427.24

* skia
e110fd1ebd2d559838c49a8821ebf18986bd6ec2
Make GrGLInterface great for
Win32 x86 again

Change-Id: Ib53b023d0c1684346e277f3d5c2470780fe1593f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agoUpload upstream chromium 69.0.3497
Youngsoo Choi [Wed, 10 Oct 2018 12:45:34 +0000 (21:45 +0900)]
Upload upstream chromium 69.0.3497

This is a patch for upstream m69 - m67.

Note that only cherry-pick conflicts are resolved
and this does not guarentee build.

* chromium
57fb2d7055db8a2faeba1b0735575c084e1fe12b
Publish DEPS for 69.0.3497.0

* v8
d7b61abe7b48928aed739f02bf7695732d359e7e
Version 6.9.427

* skia
0b0043392bfdf13f74ed64ba729f9c1e0fbae94f
Update markdown files

Change-Id: Ia77f16de156e08093346af2203c6c9f34398ea32
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][WRT][Arch] Enable single process mode for web runtime 51/187851/3
yh106.jung [Tue, 6 Dec 2016 09:37:15 +0000 (18:37 +0900)]
[M67 Dev][WRT][Arch] Enable single process mode for web runtime

Enables single process mode for web runtime.

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

Change-Id: I527d5b051f98e25c70f42fa14e25054ed513d047
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][WRT][Perf] Add process pool feature 50/187850/3
yh106.jung [Tue, 6 Dec 2016 01:41:18 +0000 (10:41 +0900)]
[M67 Dev][WRT][Perf] Add process pool feature

This adds process pool feature for web runtime.

Also, sometimes kZygoteCommandDropProcessPrivileges will be sent
between the operation to sent kZygoteCommandForkRealPID.
Now kZygoteCommandForkRealPID has been locked by |control_lock_|,
add the lock to prevent it from being interrupted.

Reference:
https://review.tizen.org/gerrit/#/c/173439
https://review.tizen.org/gerrit/#/c/189532

Change-Id: Ic0b23425a3c336d6fd65711532c9cc3f46f021e6
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][WRT] Support WRT for public targets 52/187852/2
Aron Kim [Thu, 30 Mar 2017 02:12:07 +0000 (11:12 +0900)]
[M67 Dev][WRT] Support WRT for public targets

This applies the wrt codes from m63,
but the codes which related to tv product features were dropped in here.
The dropped features will be merged by additional patch.

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

Change-Id: Ia973ba33276022bddf34a7ce6d4d3ac36f7d8932
Signed-off-by: Aron Kim<aron.kim@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][WRT][EWK] Deprecate ewk_send_widget_info and add ewk_context_tizen_app_id_set 49/187849/2
yh106.jung [Mon, 5 Dec 2016 23:14:11 +0000 (08:14 +0900)]
[M67 Dev][WRT][EWK] Deprecate ewk_send_widget_info and add ewk_context_tizen_app_id_set

Original patch: http://165.213.202.130/gerrit/#/c/98860/
Original author: Marcin Niesluchowski <m.niesluchow@samsung.com>

ewk_context_tizen_app_id_set() does the same as ewk_send_widget_info()
but with removal of unnecessary parameters, which are not used in
plugins. Also name has been changed due its inconsistency with
implementation and usage. ewk_send_widget_info() was marked as
deprecated. Fix
utc_blink_ewk_context_new_with_injected_bundle_path_func.POS_TEST1
failing due to ewk_send_widget_info() api called after loading url.
Now ewk_context_tizen_app_id_set() is called before loading url
instead.

To complete api change following steps should be taken:
1) After this commit is merged all plugin libraries should add [1]
and [2] api and remove [3]. [1] api should return current plugin
verison - 1. [2] should act the same as [3] api.
ewk_context_tizen_app_id_set should be used instead of
ewk_send_widget_info.
2) After that ewk_send_widget_info deprecated api should be removed
in different commit.

For proper usage see following test file:
ewk/unittest/resources/ewk_context/injected_bundle/chromium/bundle_sample.cc

[1] unsigned int DynamicPluginVersion();

[2] void DynamicPluginStartSession(const char* tizen_app_id,
                                   v8::Handle<v8::Context> context,
                                   int routing_handle,
                                   const char* base_url);

[3] void DynamicPluginStartSession(const char* tizen_id,
                                   v8::Handle<v8::Context> context,
                                   int routing_handle,
                                   double scale,
                                   const char* encoded_bundle,
                                   const char* theme,
                                   const char* base_url);

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

Change-Id: I6acd741bd41dd4c68d1ca8e7e6022ce7a01e5cba
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][EWK] Classify EWK APIs by public, internal, or product 55/187855/2
sihoons.yang [Wed, 1 Feb 2017 11:59:21 +0000 (20:59 +0900)]
[M67 Dev][EWK] Classify EWK APIs by public, internal, or product

This classifies EWK APIs as follows.

Header name        | API kinds                       | Target user
------------------------------------------------------------------------
ewk_XXX.h          | APIs open to tizen.org          | Public
------------------------------------------------------------------------
ewk_XXX_internal.h | APIs for platform modules       | SWC internal
------------------------------------------------------------------------
ewk_XXX_product.h  | APIs for product requirements   | GBM (MCD, VD)
------------------------------------------------------------------------

To avoid explosion of header inclusions with similar names, following
rule is designed:
- ewk_XXX.h is included by ewk_XXX_internal.h.
- ewk_XXX_internal.h is included by ewk_XXX_product.h

Also, we provide following all-in-one headers:
- EWebKit.h          : holds all "Public" EWK headers
- EWebKit_internal.h : holds all "Internal" EWK headers
- EWebKit_product.h  : holds all "Product" EWK headers

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

Change-Id: I4193e357828a7516c23f8e4fef9283367bf8d4e6
Signed-off-by: sihoons.yang <sihoons.yang@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][API] Switch ewk_export.h with tizen.h 53/190953/1
Youngsoo Choi [Thu, 2 Feb 2017 04:46:46 +0000 (13:46 +0900)]
[M67 Dev][API] Switch ewk_export.h with tizen.h

By the request of platform team, the 'ewk_export.h' is not allowed
to export ewk_* APIs. This switches 'ewk_export.h' with 'tizen.h' for that.

Btw, the desktop build can't use 'tizen.h' because it is
only provided by tizen snapshot. So, this contains the 'tizen.h'
and exports the C_INCLUDE_PATH and CPLUS_INCLUDE_PATH in desktop build.

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

Change-Id: I2d20dd2d6cae17517305decf08a80f2a741322bc
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 dev] Hotfix for fixing crashes during web app bringup 68/189668/3
Uzair [Wed, 19 Sep 2018 12:39:01 +0000 (18:09 +0530)]
[M67 dev] Hotfix for fixing crashes during web app bringup

Below changes are needed temporarily for fixing crashes
during web app bringup. This patch will be reverted once
patches related to cookie and chromium shutdown are migrated.

Change-Id: I6ab9155af24f771a285921320052aead013fcf4c
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
6 years ago[Rendering] Allow compositor context to share resources with worker context 19/190119/1
Chandan Padhi [Thu, 27 Sep 2018 05:50:21 +0000 (11:20 +0530)]
[Rendering] Allow compositor context to share resources with worker context

This is necessary to avoid synchronization issues with produce
and consume texture which might result in black/corrupted tiles.

Change-Id: I56029521c5fa19adab9f100d85262d8e0aadfbbd
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years agoModify the gbs.conf to fix the gbs repo error. 26/189926/3
Sha Yuhong [Mon, 17 Sep 2018 08:29:51 +0000 (16:29 +0800)]
Modify the gbs.conf to fix the gbs repo error.

Change-Id: I84a6a46b06b765178a19a78ca1884781fb6759d8
Signed-off-by: Sha Yuhong <yuhong.sha@samsung.com>
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
6 years ago[M67 Migration] [Architecture] Disable zygote process for single process mode in... 66/189666/2
Uzair [Wed, 19 Sep 2018 12:32:25 +0000 (18:02 +0530)]
[M67 Migration] [Architecture] Disable zygote process for single process mode in tizen port

This patch changes the codes to disable the zygote renderer
process and IPC sandbox in single process mode except tizen tv
product profile using OS_TIZEN_TV_PRODUCT flag.

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

Change-Id: I9f0f564c05a0202bd7ae586d1dc9746989cd34a9
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
6 years ago[M67 Migration] Add "frame,rendered" message and DidRenderFrame() callback 12/189512/3
Gajendra N [Wed, 14 Mar 2018 09:36:10 +0000 (15:06 +0530)]
[M67 Migration] Add "frame,rendered" message and DidRenderFrame() callback

Below patches have been migrated from m56 beta:

[1] Add "frame,rendered" message and DidRenderFrame() callback
    https://review.tizen.org/gerrit/#/c/118118

[2] Added a function to send "frame,rendered" SmartCallback
    https://review.tizen.org/gerrit/#/c/143556

[3] Keep frame,rendered can call correctly if page loading fast.
    https://review.tizen.org/gerrit/#/c/145079

[4] Remove FrameRendered callback in LoadProgressChanged
    https://review.tizen.org/gerrit/#/c/163533

Change-Id: I6bee5bd3d299046abca330f0320cacc57935bfe8
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
6 years ago[M67 Migration] Prevent double free of MailboxManager unique pointer 59/189559/3
Uzair [Tue, 18 Sep 2018 13:22:53 +0000 (18:52 +0530)]
[M67 Migration] Prevent double free of MailboxManager unique pointer

Crash is observed at browser shutdown as MaiboxManager is getting
deleted twice, once when GpuChannelManager is destroyed and again
in SharedMailboxManager. Since we already maintain a unique pointer
(static) for MailboxManager in SharedMailboxManager, GpuChannelManager
doesn't necessarily need to have another.

This patch also avoids creation of GLShareGroup and MailboxManager
in GpuChannelManager as they are anyway overriden in GpuChildThreadEfl.

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

Change-Id: I3d4e7e211bb1260ccf28a03da92a94b39f6a16d0
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
6 years ago[M67 Dev][Tizen] Enable dlogutil for chromium and V8 69/188469/2
Youngsoo Choi [Thu, 29 Mar 2018 01:37:13 +0000 (18:37 -0700)]
[M67 Dev][Tizen] Enable dlogutil for chromium and V8

This patch revised the implementation for V8 tag and removed
unused codes.

Following patch set has been migrated from tizen 4.0:

[1] [Debugging] Dlog support on chromium
  https://review.tizen.org/gerrit/#/c/117909/
[2] Add dlog print for V8 module
  https://review.tizen.org/gerrit/#/c/120169/
  https://review.tizen.org/gerrit/#/c/120695/
  https://review.tizen.org/gerrit/#/c/120670/
  https://review.tizen.org/gerrit/#/c/130508/
  https://review.tizen.org/gerrit/#/c/143064/
[3] Print ASSERT error log to Tizen dlogutil
  https://review.tizen.org/gerrit/#/c/123738/

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

Change-Id: I77861f94e8398a1223a16fa0ee2de0c972a461bf
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev] Refactor spec file. 81/189081/1
Aron Kim [Thu, 13 Sep 2018 07:40:11 +0000 (00:40 -0700)]
[M67 Dev] Refactor spec file.

This CL includes the following things for refactoring .spec file.

Reference from M56 :
https://review.tizen.org/gerrit/#/c/120973/

Change-Id: I9d1a512e5ac80f85c9e06fbbe328c3d900293b2c
Signed-off-by: Aron Kim <aron.kim@samsung.com>