platform/framework/web/chromium-efl.git
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>
4 years ago[M85 Migration][Rotation] Adjust screen orienation for landscape mode 65/245365/2
Suneel Kota [Wed, 2 May 2018 13:18:03 +0000 (18:48 +0530)]
[M85 Migration][Rotation] Adjust screen orienation for landscape mode

Currently, screen is reversed on landscape mode.
In order to fix it, this patch migrates below patches which are related
with screen orientation. The below patch also contains changes of
context menu, which will be migrated along with context menu patches

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

Change-Id: Id642a5144656550105065cbea8059fad109742f2
Signed-off-by: Suneel Kota <suneel.kota@samsung.com>
4 years ago[M85 Migration][API] Adds ewk_view_original_url_get 69/245369/2
yh106.jung [Tue, 13 Jun 2017 07:28:45 +0000 (16:28 +0900)]
[M85 Migration][API] Adds ewk_view_original_url_get

There is no way to get original URL of current webview.
Android webview is supporting it. [1]
So this patch adds ewk_view_original_url_get which can get original URL
of given webview.

[1] https://developer.android.com/reference/android/webkit/WebView.html#getOriginalUrl()

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

Change-Id: I1d20b5549e28bd6fd4a2f5cb4321f037ecb5d620
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
4 years ago[M85 Migration] Initialize sqlite3 before openning the database 74/245374/2
yh106.jung [Tue, 22 Jan 2019 00:36:43 +0000 (16:36 -0800)]
[M85 Migration] Initialize sqlite3 before openning the database

Since m69, sqlite3 is compiled with SQLITE_OMIT_AUTOINIT option.
So the application must call sqlite3_initialize() directly.
This patch ensures that sqlite3 is initialized before openning the
database.

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

Change-Id: Ib74c0290f6fb8de354672e74adc9a63ff2922c4c
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
4 years ago[M85 Migration][API] Implement EWK APIs for clipboard 13/245313/2
yh106.jung [Tue, 1 Aug 2017 04:52:46 +0000 (13:52 +0900)]
[M85 Migration][API] Implement EWK APIs for clipboard

This patch implements below internal EWK APIs for clipboard.

* ewk_settings_javascript_can_access_clipboard_{get,set}
  - These APIs get/set the permission to access clipboard from javascript.
* ewk_settings_dom_paste_allowed_{get,set}
  - These APIs get/set the permission for DOM paste.

Added also a unit tests for these APIs.

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

Change-Id: I60349ef902f15bb39cda0a3fb5608b4e477dd62b
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
4 years ago[M85 Dev] Fix crash at webview launch for TV profile 57/245357/4
Chandan Padhi [Wed, 7 Oct 2020 13:17:58 +0000 (18:47 +0530)]
[M85 Dev] Fix crash at webview launch for TV profile

This commit ensures that a list of display::Display is maintained
locally to fix crash during webview launch.

Change-Id: I36caf3eca6b442be4a5d01fb4539df3efd264c33
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M85 Dev] Add CompositorFrame handling support. 93/245093/4
venu.musham [Mon, 5 Oct 2020 06:06:09 +0000 (11:36 +0530)]
[M85 Dev] Add CompositorFrame handling support.

Receive CompositorFrames and submit them to the EvasGL renderer
running on the browser UI thread.

upstream compositor implementation is moved to VizDisplayCompositor,
hence old path was not supported.
https://chromium-review.googlesource.com/c/chromium/src/+/1978997
https://chromium-review.googlesource.com/c/chromium/src/+/1986784

Change-Id: Ic8e23266d0edd90feb47428e0b1211e997cf9b9b
Signed-off-by: venu.musham <venu.musham@samsung.com>
4 years agofixup! [M85 Dev] Remove unused files from git status 22/245222/2
Youngsoo Choi [Mon, 5 Oct 2020 13:56:16 +0000 (06:56 -0700)]
fixup! [M85 Dev] Remove unused files from git status

This recovers third_party/icu/common/icudtl.dat.

Change-Id: Ida986c42d62ae07dda190d0611a27b0f9a9601c0
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years ago[M85 Dev] Remove unused files from git status 20/245220/2
Youngsoo Choi [Mon, 5 Oct 2020 12:26:28 +0000 (05:26 -0700)]
[M85 Dev] Remove unused files from git status

This removes unused files from git status.

Change-Id: Iab5eaf937bd30bb3b2e71b10bc2b1e901a68fa45
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years ago[M85 Dev] Add Page load callbacks on browser side 00/244900/7
uzair [Fri, 25 Sep 2020 12:57:43 +0000 (18:27 +0530)]
[M85 Dev] Add Page load callbacks on browser side

Below change adds missing implementations needed to inform
browser process about load progress sent from renderer side.

Change-Id: Ib0512734c57e15c9169fe4adc204b7520fe4d25c
Signed-off-by: uzair <uzair.jaleel@samsung.com>
4 years ago[M85 Dev][EFL] Fix for white screen on launch 63/245063/5
uzair [Wed, 30 Sep 2020 07:30:22 +0000 (13:00 +0530)]
[M85 Dev][EFL] Fix for white screen on launch

Below change fixes white screen issue on launch
on efl port and google.com renders fine.

Change-Id: I5da0e18d5c429c8246b5f9a46fe58f26b099b0b6
Signed-off-by: uzair <uzair.jaleel@samsung.com>
4 years ago[M85 Dev] Fix mojo deserialization failure 08/245008/1
Chandan Padhi [Mon, 28 Sep 2020 15:35:57 +0000 (21:05 +0530)]
[M85 Dev] Fix mojo deserialization failure

WebInputEvent::Type was not initalized that resulted in below
mojo deserialization error during DispatchEvent(Event event)
mojo ipc call from browser to renderer at webview launch.

[0924/172253.752494:ERROR:validation_errors.cc(87)] Invalid
message: VALIDATION_ERROR_DESERIALIZATION_FAILED

Change-Id: I6e9f7ebe4563e0fc2c79b7bc74aa2aa5c7bc97c4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M85 Dev] Enable MessagePump::Delegate::DoWork() in MessagePumpForUIEfl 64/244864/1
Chandan Padhi [Fri, 25 Sep 2020 07:39:33 +0000 (13:09 +0530)]
[M85 Dev] Enable MessagePump::Delegate::DoWork() in MessagePumpForUIEfl

Due to upstream code changes, calls to MessagePump::Delegate::DoWork()
were disabled during compilation bringup. This commit adds necessary
changes to enable these calls.

Change-Id: I9a19329457ff08762bfbed0bc1aa1441d11d0704
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M85 Dev][Tizen] Fix compiler errors for TV 61/244661/2
uzair [Wed, 23 Sep 2020 04:37:05 +0000 (10:07 +0530)]
[M85 Dev][Tizen] Fix compiler errors for TV

Below change fixes compiler errors for tizen tv profile
and also enables gcc builds to use system libjpeg library
due to [1].

[1]https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93022

Change-Id: I60e40eec93f7e2f9e3cbea2736c4a4c0ea4c5ecc
Signed-off-by: uzair <uzair.jaleel@samsung.com>
4 years agofixup! [M85 Dev][Tizen]Fix for compilation errors 94/244594/1
uzair [Tue, 22 Sep 2020 06:58:42 +0000 (12:28 +0530)]
fixup! [M85 Dev][Tizen]Fix for compilation errors

Below change fixes crash during browser launch

Change-Id: I9641668966cd484f0f8dd3325e4564ab3096c1c3
Signed-off-by: uzair <uzair.jaleel@samsung.com>
4 years ago[M85 Dev][Tizen] Fix for linker errors 56/244356/8
uzair [Thu, 17 Sep 2020 13:17:09 +0000 (18:47 +0530)]
[M85 Dev][Tizen] Fix for linker errors

Below change fixes linker error for standard
profile

Change-Id: If83c094064957b25a7325299be409433d0a577fd
Signed-off-by: uzair <uzair.jaleel@samsung.com>
4 years ago[M85 Dev][EFL] Fix crashes at webview launch 68/244468/2
Chandan Padhi [Fri, 18 Sep 2020 13:13:32 +0000 (18:43 +0530)]
[M85 Dev][EFL] Fix crashes at webview launch

This commit fixes the crashes at webview launch.

Change-Id: Idf73057001eaeca191550a5f3b29745e1c65767e
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M85 Dev][Tizen]Fix for compilation errors 53/244253/5
uzair [Wed, 16 Sep 2020 09:05:19 +0000 (14:35 +0530)]
[M85 Dev][Tizen]Fix for compilation errors

Below change fixes compilation errors for standard
profile.

Change-Id: Ib4700b671030346140149827d4172764fb9f36b7
Signed-off-by: uzair <uzair.jaleel@samsung.com>
4 years ago[M85 Dev][EFL] Fix linker errors for desktop build 18/244218/2
Chandan Padhi [Tue, 15 Sep 2020 06:50:14 +0000 (12:20 +0530)]
[M85 Dev][EFL] Fix linker errors for desktop build

This commit resolves linker errors to enable EFL port.

Change-Id: I2571b71f2614283ef31df236e78f042995cc7f42
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M85 Dev][Tizen] Fix for errors for generating ninja files 99/243799/5
uzair [Thu, 10 Sep 2020 06:35:40 +0000 (12:05 +0530)]
[M85 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: I40f369bde2282948d7c09a12df12233d4aaa9f87
Signed-off-by: uzair <uzair.jaleel@samsung.com>
4 years ago[M85 Dev][EFL] Fix compilation errors for desktop build 80/243980/1
Chandan Padhi [Fri, 11 Sep 2020 13:17:36 +0000 (18:47 +0530)]
[M85 Dev][EFL] Fix compilation errors for desktop build

This commit resolves compilation errors to enable EFL port.

Change-Id: I8fb3a119a3ab2d5971b880e17fe8bb304befd3a4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M85 Migration][Clang] Upgrade llvm 7.0 to a higher version(11.0) 36/243836/5
Chandan Padhi [Fri, 14 Aug 2020 14:21:38 +0000 (19:51 +0530)]
[M85 Migration][Clang] Upgrade llvm 7.0 to a higher version(11.0)

Open source llvm 11.0 is built and accelerated for tizen to generate
clang, lld and llvm binaries that are required for clang build for
standard profile. This commit replaces 7.0 headers and binaries with
the ones built for 11.0.

Due to recent platform toolchain changes, clang7 build failed with
linker errors. This upgrade is necessary to fix [1] like build errors.

[1]ld.lld: error: zlib is not available

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

Change-Id: Id35062da46451158a336145124e373b37f63f3b2
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: uzair <uzair.jaleel@samsung.com>
4 years ago[M85 Dev]Add upgraded gn binary for tizen 94/243694/5
uzair [Wed, 9 Sep 2020 07:09:58 +0000 (12:39 +0530)]
[M85 Dev]Add upgraded gn binary for tizen

GN  binary is upgraded to support newly added functions
such as 'string_replace'.

Change-Id: Iceeb1f1d02e3f0c2de6b577c17800eba7c8e3158
Signed-off-by: uzair <uzair.jaleel@samsung.com>
4 years ago[M85 Dev][EFL] Fix errors to generate ninja files 50/243750/1
Chandan Padhi [Wed, 9 Sep 2020 13:48:17 +0000 (19:18 +0530)]
[M85 Dev][EFL] Fix errors to generate ninja files

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

Change-Id: Ia58c355976b52ba2a8a8bef8172b68298780a47b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years agofixup! Upload upstream chromium 85.0.4183.93 47/243747/1
Chandan Padhi [Wed, 9 Sep 2020 13:28:14 +0000 (18:58 +0530)]
fixup! Upload upstream chromium 85.0.4183.93

Few files were not updated with latest code due to conflicts
during cherry-pick of delta patch from tizen.upstream branch.

This commit updates these files as required.

Change-Id: I82283d1f898d0abee0e45e0a1809f8c32263eec6
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years agoUpload upstream chromium 85.0.4183.93 34/243734/1
Chandan Padhi [Wed, 9 Sep 2020 07:00:04 +0000 (12:30 +0530)]
Upload upstream chromium 85.0.4183.93

This is a patch for upstream m85 - m76.

* chromium
62cbbd3115bfce4e3ab541891d5fde756fed8faf
Publish DEPS for 85.0.4183.93

* v8
4dc61d3cd02f0a2462cc655095db1e99ad9047d2
Version 8.5.210.20

* skia
8ae885386e910cff8c543ae0d952a2c43f46e4ad
Revert "[M85 Cherry-pick] Fix bug(s) in combining and chaining GrTextureOps"

Change-Id: I36265d23849bcd7c963c38558708cc1d5b659af6
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years ago[M85 Dev] Remove *.pyc files from git repositories 14/243114/1
Chandan Padhi [Thu, 3 Sep 2020 07:15:07 +0000 (12:45 +0530)]
[M85 Dev] Remove *.pyc files from git repositories

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

Change-Id: Ic6be799b1a229bf35434f2b0a11666a49aa26bfa
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years agoUpload upstream chromium 85.0.4183.84 28/243028/1
Chandan Padhi [Mon, 31 Aug 2020 10:01:44 +0000 (15:31 +0530)]
Upload upstream chromium 85.0.4183.84

This is a patch for upstream m85 - m76.

* chromium
2639417191878a4e316b815689a833f6e131ffed
Publish DEPS for 85.0.4183.84

* v8
4dc61d3cd02f0a2462cc655095db1e99ad9047d2
Version 8.5.210.20

* skia
8ae885386e910cff8c543ae0d952a2c43f46e4ad
Revert "[M85 Cherry-pick] Fix bug(s) in combining and chaining GrTextureOps"

Change-Id: I5bf3e2f9470070c9a1a729f862f3a2af190f0300
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 years agoSync EWK API headers with Tizen 6.0 84/234284/6
yh106.jung [Mon, 25 May 2020 05:43:27 +0000 (22:43 -0700)]
Sync EWK API headers with Tizen 6.0

This patch syncronizes EWK API headers with Tizen 6.0(M1 release).

Change-Id: Ic9aa91c714bc62f5302735ad1eb5a22f25b16b44
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
4 years ago[Product TV] Update gbs.conf with the official repos 47/235847/2
Youngsoo Choi [Wed, 10 Jun 2020 08:04:51 +0000 (17:04 +0900)]
[Product TV] Update gbs.conf with the official repos

The product gbs repo has been changed with the official repos.

The gbs root folders having regular pattern are using version macros
and the others are using specific tizen version numbers.

Change-Id: I309d06d1e41659d25e01e882714a4c60b7cb2259
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years agoEnable dev build with the latest repo 12/235112/6
Youngsoo Choi [Tue, 2 Jun 2020 07:10:27 +0000 (16:10 +0900)]
Enable dev build with the latest repo

This patch is to support initial build.

- Fix build issue caused by the latest platform ninja
- Provide build option --tizen_5.5 for upgradable web engine
- Refactor common.sh and gn_chromiumefl.sh
- Remove dependency of openssl, print, and pulse
- Update gbs.conf with the latest
- Use costomized job number for ninja build
- Use platform gcc version in build time
- Use system icu for public profile

Change-Id: I2fdb92e074fac3dfec406c159c6184cf7136f59f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years ago[Coverity] Fix coverity defects 66/226866/1
Chandan Padhi [Thu, 5 Mar 2020 09:57:33 +0000 (15:27 +0530)]
[Coverity] Fix coverity defects

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

Change-Id: Iccccadb1cf718bd102ab51e80a656cec87416107
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
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>