platform/framework/web/chromium-efl.git
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>
6 years ago[Rom Size] Refactor tizen GN build 36/187236/3
Chandan Padhi [Tue, 21 Aug 2018 05:45:14 +0000 (22:45 -0700)]
[Rom Size] Refactor tizen GN build

This patch reduces libchromiumewk.so file size by ~17MB.
out.tz_v5.0.standard.armv7l/libchromium-ewk.so size:
w/o patch: 115M
with patch: 98M

It also reduces .text size by ~18MB.
.text size:
w/o patch: 53M
with patch: 35M

Change-Id: I801a7a8904d745593f5f181883a6dbb4d8bc35fe
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][Product TV] Enable Cursor with ecore-wl2 13/187413/1
ss440 [Thu, 23 Aug 2018 04:28:40 +0000 (21:28 -0700)]
[M67 Dev][Product TV] Enable Cursor with ecore-wl2

Enable VD Cursor for simple browsers

reference:
https://review.tizen.org/gerrit/#/c/180842

Change-Id: I5fa2f692b52930d58a784454fea888c494a8a0f1
Signed-off-by: ss440 <ss440.han@samsung.com>
6 years agoProvide tizen branch and chromium version in gbs root folder 09/187309/1
Youngsoo Choi [Fri, 23 Mar 2018 11:03:25 +0000 (16:33 +0530)]
Provide tizen branch and chromium version in gbs root folder

This provides gbs root folder name to have
tizen branch, and chromium version information like below:
> GBS-ROOT-{PROFILE}-{ARCHITECTURE}-{TIZEN_VERSION}-{BRANCH}-{CHROMIUM_VERSION}

Change-Id: Iedfae02625cb7819af366cd8d4a52ea01a082b41
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][Product TV] Support build and flags 17/187217/9
Youngsoo Choi [Fri, 23 Mar 2018 11:03:25 +0000 (16:33 +0530)]
[M67 Dev][Product TV] Support build and flags

This corrects the repository links and makes arm-kantm2
as the default profile for product tv build.

* Usage of build commands:
1) for tizen 5.0 kantm2
$ ./tizen_src/build/build_tv.sh

2) for tizen 5.0 kantm
$ ./tizen_src/build/build_tv.sh -P tztv_arm-kantm

Also, this introduces build flags, like below.

* Usage of flags:
1) in spec
+--------------------------------------------+
| %if "%{?TIZEN_PRODUCT_TV}" == "1"          |
|   # for TV                                 |
| %endif                                     |
+--------------------------------------------+

2) in C or C++
+--------------------------------------------+
| #if defined(OS_TIZEN_TV_PRODUCT)           |
| // for TV                                  |
| #endif                                     |
+--------------------------------------------+

3) in gn
+--------------------------------------------+
| if (tizen_product_tv) {                    |
|   # for TV                                 |
| }                                          |
+--------------------------------------------+

4) in gn_chromiumefl.sh
+--------------------------------------------+
| if [ "$tizen_product_tv" == "true" ]; then |
|   # for TV                                 |
| fi                                         |
+--------------------------------------------+

Reference:
https://review.tizen.org/gerrit/#/c/173727/
https://review.tizen.org/gerrit/#/c/177233/
https://review.tizen.org/gerrit/#/c/174943/

Change-Id: I9d06426f48c91ec2508c8a34a7eb067451653867
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[Rom Size] Stop exporting unnecessary symbols 60/186960/6
Youngsoo Choi [Thu, 29 Mar 2018 02:32:17 +0000 (19:32 -0700)]
[Rom Size] Stop exporting unnecessary symbols

This stops exporting unnecessary symbols from libchromium-ewk.so.
Not that the exported symbols have to support builds of
crosswalk-tizen and webapi-plugin.

Following is the M67 result of nodebug build for public armv7l target.

Improvement:
The libchromium-ewk.so size is reduced from 92MB to 65MB by -27MB.
Also, number of exported symbols is reduced from 188173 to 9109 by -95.16%.

reference:
https://review.tizen.org/gerrit/#/c/174184/

Change-Id: Ic2a7c4040317a9e239db6665c92912e01db42f95
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[Rom Size] Enable 'is_official_build' and disable 'COMPONENT_BUILD' 61/186961/6
Youngsoo Choi [Tue, 15 May 2018 07:42:33 +0000 (07:42 +0000)]
[Rom Size] Enable 'is_official_build' and disable 'COMPONENT_BUILD'

This enables is_official_build and disables COMPONENT_BUILD for tizen port
to reduce libchromium-ewk.so binary size and to improve memory usage.

Improvement:
Code segement reduced by ~1MB
libchromium-ewk.so size reduced by ~1.56MB

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

Change-Id: Iec89b8c041841f7ad223f029fee6c1c14255eada
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agoRemove unused and git-cached gn files 31/187131/2
Youngsoo Choi [Mon, 20 Aug 2018 05:00:47 +0000 (22:00 -0700)]
Remove unused and git-cached gn files

If build is failed, copied unbundle gn files are left.
This removes them not to be shown in git status.

Change-Id: I599e59de4c914cd8f29ff5376c5354a5af1d0e7b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agofixup! [M67 Dev][Tizen] Fix crashes at webview launch 35/186935/2
Chandan Padhi [Thu, 16 Aug 2018 11:43:37 +0000 (17:13 +0530)]
fixup! [M67 Dev][Tizen] Fix crashes at webview launch

This fixes a certificate error related crash due to an
invalid DevToolsManagerDelegate pointer.

Change-Id: Ic2532d83fd3b13eae78cc5b94e232940285b70ad
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][Tizen] Upgrade ecore-wayland with ecore-wl2 05/186905/1
Chandan Padhi [Mon, 13 Aug 2018 11:53:56 +0000 (04:53 -0700)]
[M67 Dev][Tizen] Upgrade ecore-wayland with ecore-wl2

The ecore-wayland has been upgraded by ecore-wl2 since tizen 5.0.
This patch applies the API changes.

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

Change-Id: I94dc46561cf8624fc1defc60f28f378480eb3b97
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][Tizen] Fix crashes at webview launch 87/186687/2
Chandan Padhi [Mon, 13 Aug 2018 11:13:46 +0000 (16:43 +0530)]
[M67 Dev][Tizen] Fix crashes at webview launch

This commit fixes the crashes during webview launch.

Change-Id: Ieeae889de17c3ca48814dacf1d320a9380719ef3
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][Tizen] Replace display specific API with public API 91/186691/2
Chandan Padhi [Fri, 13 Apr 2018 11:52:06 +0000 (17:22 +0530)]
[M67 Dev][Tizen] Replace display specific API with public API

This patch replaces APIs that are specific to wayland or
x11 with generic ones that serve the same purpose as earlier.

This patch also updates rotation degree at the time of
initialization of DeviceDisplayInfoEfl.

Reference:
https://review.tizen.org/gerrit/#/c/175936/
https://review.tizen.org/gerrit/#/c/176794/

Change-Id: I5c123d387c49f9644b14c9f2fdbe54f0cc6e8f8b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][Tizen] Migrate version and profile related changes 03/186403/3
Chandan Padhi [Thu, 9 Aug 2018 08:50:18 +0000 (01:50 -0700)]
[M67 Dev][Tizen] Migrate version and profile related changes

This CL introduces defining the version automatically depending
on build configuration.

The double-quotes of numbers in script are removed to properly
handle a comparison operation.

Also, this removes legacy tizen version conditions such as 2.3
or 2.4 and unused legacy tizen profile dependencies.

There were tizen or chromium version definations in xml or pc file
like below.
>> in chromium-efl_v3.0.xml or ubrowser_v3.0.xml
>> <manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" ...

Whenever tizen version is upgraded, the file chromium-efl_vX.X.xml
or ubrowser_vX.X.xml have been manually added or removed.

Although it works, it is not elegant and other parts of the source
base do not use similar practice.

This introduces automatically defining the current version, depending
on build system configuration and removes unsued configuration files.

This CL also updates chromium version to 67.3396.0.

This CL also refactors xml related things as per platform requirement.

Reference:
https://review.tizen.org/gerrit/#/c/172280/
https://review.tizen.org/gerrit/#/c/173541/
https://review.tizen.org/gerrit/#/c/177898/

Change-Id: Ic41a6664378d941780805e29f8d6f3d3d07a2e8a
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][Tizen] Fix linker errors 70/186270/3
Chandan Padhi [Wed, 8 Aug 2018 10:03:06 +0000 (03:03 -0700)]
[M67 Dev][Tizen] Fix linker errors

This commit resolves linker errors for tizen standard profile.

Reference:
https://review.tizen.org/gerrit/#/c/173569/
https://review.tizen.org/gerrit/#/c/173097/
https://review.tizen.org/gerrit/#/c/173290/

Change-Id: I689576804a4413c5ff6b402674ed2ad867a5e167
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][Tizen] Fix compiler errors
Chandan Padhi [Fri, 3 Aug 2018 08:33:26 +0000 (01:33 -0700)]
[M67 Dev][Tizen] Fix compiler errors

This commit resolves compiler errors for tizen standard profile.

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

Change-Id: If3cc715d36e71c7bdf1a04f912704f13f3294ae8
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[Rom Size] Use system zlib
Chandan Padhi [Tue, 7 Aug 2018 13:04:55 +0000 (18:34 +0530)]
[Rom Size] Use system zlib

The libchromium-ewk.so size can be reduced by using system zlib.
This utilizes unbundled zlib and removes zlib.h to refer to system zlib.h.

For desktop build, Ubuntu 16.04 has libminizip-dev but Ubuntu 14.04 doesn't.
So, this provides the zlib 1.2.8 for that by using jhbuild.

Note that the option '--disable-static' is added by default in jhbuild
at the end of configure options but zlib doesn't support the option.
So, the '#' is added in autogenargs to ignore the option
and to fix following error.
>> unknown option: --disable-static

* version of zlib
1.2.11 is provided by both third_party and tizen system.

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

Change-Id: I5a3c6e7654a7f2c436a4748825799acfc6f235a4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][Tizen] Provide target profile information at runtime 69/185969/5
Youngsoo Choi [Mon, 14 Nov 2016 07:20:24 +0000 (16:20 +0900)]
[M67 Dev][Tizen] Provide target profile information at runtime

1. Regarding c++/header files

Replace the OS_TIZEN_<<PROFILE>> flag with Runtime flag as below.
Also, target profile information is provided at runtime
by using the 'system_info_get_platform_string' API.

[Before] : Using OS_TIZEN_<<PROFILE>> flag
==============================================================
// Implementation
==============================================================

[After] : Using Is<<PROFILE>>Profile() API
==============================================================

if (Is<<PROFILE>>Profile()) {
// Implementation
}
==============================================================

2. Regarding spec file

Remove the unnecessary package dependency and unify the
package dependency.

3. Regarding gn files

Remove the building_for_tizen_<<PROFILE>> flags.

4. Regarding is_tizen

Replace duplicated flag building_for_tizen with is_tizen.

Reference:
https://review.tizen.org/gerrit/#/c/171789/
https://review.tizen.org/gerrit/#/c/133971/

Change-Id: I24bfa39ac596fe8dc0dfffb3cc2ff503605b8cdd
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agofixup! [M63 Dev][EFL] Integrate EvasGL Delegated Renderer 00/186000/1
Chandan Padhi [Mon, 6 Aug 2018 10:12:36 +0000 (15:42 +0530)]
fixup! [M63 Dev][EFL] Integrate EvasGL Delegated Renderer

This commit removes the left over files.

Change-Id: I7c0a2c6951eafbbcaa96d925c3fc1d58f3358fee
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][Tizen] Redirect UncheckedMalloc to malloc for Tizen 25/185925/2
Chandan Padhi [Fri, 3 Aug 2018 12:48:23 +0000 (18:18 +0530)]
[M67 Dev][Tizen] Redirect UncheckedMalloc to malloc for Tizen

On Tizen, BufferManager::DoBufferData tries to call free() to
deallocate a memory that was allocated by tc_malloc in
UncheckedMalloc(), which caused crash for most web pages.
To fix it, we redirect UncheckedMalloc to malloc for Tizen.

Seems like we do not use tcmalloc for chromium-efl in a consistent
manner. We should either fix it or disable tcmalloc.

Reference:
http://165.213.202.130/gerrit/#/c/71875/
http://165.213.202.130/gerrit/#/c/72475/

Change-Id: Iacc6776736c193d6fa66707ff28048d42267ac12
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][Tizen] Remove GYP dependencies in tizen_src 68/185968/1
Youngsoo Choi [Mon, 6 Aug 2018 01:45:37 +0000 (18:45 -0700)]
[M67 Dev][Tizen] Remove GYP dependencies in tizen_src

This removes GYP dependencies in tizen_src.

Change-Id: Iedd7c5e6f1665f601e04100a4c0d46ee728bcc58
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][Tizen] Integrate GN and set up build environment 20/185520/8
Youngsoo Choi [Fri, 2 Mar 2018 11:37:05 +0000 (17:07 +0530)]
[M67 Dev][Tizen] Integrate GN and set up build environment

This cherry-picks following patches to support Git Build System(GBS)
and generates ninja for Tizen targets.

Commit id 5f3edd710 [Refactoring] GN Improvement
Commit id 01b6a00b9 Replace the new repo path in gbs.conf for TV
Commit id b75b104a5 Changed the build repository for tizen 4.0 in gbs.conf
Commit id 03a1d8bed [A&O] Support build script and gbs.conf for tizen 4.0 kantm
Commit id 047b94f8f [A&O] Support of tizen 4.0 mirror profiles
Commit id ea3ce6588 [A&O] Remove target profiles from tizen 4.0
Commit id 737826fd8 [A&O] Add build script for unified profile
Commit id 06ec8ccdc [Platform Integration] Support building for x86_64 by GN
Commit id 6ab2e11ed [Build] Support to KantM Product TV target.
Commit id ee659fe58 fixup! [M56_2924] Chromium upversion to m56_2924 branch
     <Partial cherry-pick. Taken changes w.r.t. to GBS only>
Commit id ba3fbbcc3 [A&O] Separate out folder as per architecture
Commit id 85228a474 fixup! [A&O] Separate out folder as per architecture
Commit id 3ff2cce91 fixup! [M56_2924] Switching to GN build
     <Partial cherry-pick of tizen_src/build/toolchain/tizen/BUILD.gn>
Commit id 9b43ac32c [M63_3239][Bring Up] Remove crosswalk related codes and files
Commit id 1c6f09561 [M63_3239][Bring Up] Remove the apply_patches.sh calls
Commit id 4bca0b3ef [M63][Build] Support optional builds for tizen versions
Commit id b125e1e7d fixup! [M63][Build] Support optional builds for tizen versions
Commit id 35449da2d fixup! [M63_3239] Switching to GN build
Commit id ec7160231 Fix warning errors in gn generation

Change-Id: I80ef5bb2e5fa4370698ac4f6503b1678cb67ffeb
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years agofixup! [M63 Dev][EFL] Integrate EvasGL Delegated Renderer 03/185803/1
Chandan Padhi [Thu, 2 Aug 2018 11:06:36 +0000 (16:36 +0530)]
fixup! [M63 Dev][EFL] Integrate EvasGL Delegated Renderer

This commit removes NOTIMPLEMENTED() logs that are seen during
rendering of every frame which may affect KPI performance.

Change-Id: Ic5c9240592d9cf919b68b12a40031c550b7f5406
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][Tizen] Use system ninja
Youngsoo Choi [Wed, 8 Mar 2017 04:31:53 +0000 (13:31 +0900)]
[M67 Dev][Tizen] Use system ninja

The chromium-efl has used prebuilt ninja in build.
This removes the prebuilt ninja and makes chromium-efl use system ninja.

Change-Id: I9af66d0843d639248ecd77da983bf6b683a4ed12
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][Tizen] Use the x86_64 GN for all architectures 91/185291/4
Slava Barinov [Tue, 11 Apr 2017 08:26:05 +0000 (11:26 +0300)]
[M67 Dev][Tizen] Use the x86_64 GN for all architectures

Enabling x86_64 GN instead of native ones dramatically speeds up ninja files
generation for arm/arm64 platforms.

This GN is built without tcmalloc and supports ASan builds.

Also, the GN is upgraded to support newly added functions
such as 'not_needed' and so on.

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

Change-Id: Idc9db604362eb464833fd7b0c34cf68aa7ed4ac0
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[SlimDownCode] Remove unused libjpeg in //third_party/ 69/185269/2
Chandan Padhi [Fri, 27 Jul 2018 06:26:07 +0000 (23:26 -0700)]
[SlimDownCode] Remove unused libjpeg in //third_party/

chromium-efl uses libjpeg_turbo and not libjpeg.
Therefore, removing it from the source tree.

Change-Id: I597a583fd09ab3c5e148db711f5d767017190daf
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][EFL] Fix crashes at webview launch 00/185300/3
Chandan Padhi [Fri, 27 Jul 2018 08:55:36 +0000 (01:55 -0700)]
[M67 Dev][EFL] Fix crashes at webview launch

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

Basic page rendering works fine on desktop.

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

Change-Id: I5825876d8294ebfed387ee4b09da3aeb13e58954
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][EFL] Format chromium-efl according to Chromium style 96/185296/2
Chandan Padhi [Fri, 27 Jul 2018 08:31:57 +0000 (01:31 -0700)]
[M67 Dev][EFL] Format chromium-efl according to Chromium style

This commit formats chromium-efl code as per Chromium style
by using "git cl format".

Change-Id: I349fb24c9a08ec4d21915326b19ea5226417a8c4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][EFL] Fix linker errors 52/185052/6
Chandan Padhi [Wed, 25 Jul 2018 13:25:34 +0000 (06:25 -0700)]
[M67 Dev][EFL] Fix linker errors

This resolves linker errors to enable EFL port.

Change-Id: I8c6affe1bf430e478c874df9fe6fb1ebcf56a169
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M63 Dev][EFL] Integrate EvasGL Delegated Renderer 18/184918/6
Chandan Padhi [Tue, 24 Jul 2018 08:08:29 +0000 (01:08 -0700)]
[M63 Dev][EFL] Integrate EvasGL Delegated Renderer

This patch brings up the rendering path for EFL port.

Reference:
https://review.tizen.org/gerrit/#/c/105131/
https://review.tizen.org/gerrit/#/c/171539/

Change-Id: I15364a5ac77e2ea6f012f7edc5a96b8aac7b84bb
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][EFL] Fix compiler errors (2/2) 57/184957/5
Chandan Padhi [Tue, 24 Jul 2018 13:11:13 +0000 (06:11 -0700)]
[M67 Dev][EFL] Fix compiler errors (2/2)

This resolves compiler errors to enable EFL port.

Change-Id: I9de1665ce3d04761ffa45d170d99fa892554f8bd
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[M67 Dev][EFL] Fix compiler errors (1/2) 01/184901/4
Youngsoo Choi [Tue, 24 Jul 2018 06:48:21 +0000 (06:48 +0000)]
[M67 Dev][EFL] Fix compiler errors (1/2)

This resolves compiler errors to enable EFL port.

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

Change-Id: I634566226533aea17f774ffff45cdb7d2236c57b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[SlimDownCode] Remove unused libpng in //third_party/ 28/184928/4
Chandan Padhi [Tue, 24 Jul 2018 09:42:23 +0000 (15:12 +0530)]
[SlimDownCode] Remove unused libpng in //third_party/

chromium-efl uses system libpng and not libpng in //third_party/.
Also, presence of libpng in //third_party/ results in linker errors.
Therefore, removing it from the source tree.

Change-Id: Ib9c5f3d5ebc3e987137dcb256313182cfa2cdc17
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years agofixup! [Rom Size] Use system libpng 22/185022/1
Chandan Padhi [Wed, 25 Jul 2018 08:41:44 +0000 (14:11 +0530)]
fixup! [Rom Size] Use system libpng

This commit adds the missing dependency of libpng
to fix related desktop build errors.

Change-Id: I18a33f8be25c60b383d8e54599f13d3b8cfe7e08
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years ago[Rom Size] Use system libpng 77/184777/2
Youngsoo Choi [Tue, 17 Jul 2018 01:23:19 +0000 (01:23 +0000)]
[Rom Size] Use system libpng

The libchromium-ewk.so size can be reduced by using system libpng.

Note that this adds libpng 1.6 which ubuntu doesn't have
so that the library can be used for desktop build by jhbuild.

Change-Id: Id92c55f172c0a9591e19e0838e942aec6527489f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[Rom Size] Remove dependencies of chrome, crashpad, and extension 76/184776/2
Youngsoo Choi [Mon, 16 Jul 2018 07:06:25 +0000 (07:06 +0000)]
[Rom Size] Remove dependencies of chrome, crashpad, and extension

This removes unused component dependencies to reduced binary size.

Removed Dependency List:
- chrome
- crashpad
- extension

Change-Id: Ic11a3f3bc999c91af00b21e8916d5d60ad42b4d7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][EFL] Allow chromium to use EFL instead of Aura 75/184775/2
Antonio Gomes [Tue, 7 Apr 2015 06:43:26 +0000 (02:43 -0400)]
[M67 Dev][EFL] Allow chromium to use EFL instead of Aura

This commit allows chromium code to use EFL as the main UI toolkit
instead of Aura. The actual implementation of EFL port of chromium
is done in an external module. This commit only exposes some of the
needed generic code paths that are normally disabled for non Aura or
MacOSX ports.

Reference:
5e22fe4d0bb137a1b73530205f7cdc07a31643c9

Change-Id: I1f327fb9e31616879cf0448735f1adbe82e476bf
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][EFL] Define WebCursor::GetPlatformCursor for efl 74/184774/2
Arnaud Renevier [Fri, 15 May 2015 19:02:40 +0000 (12:02 -0700)]
[M67 Dev][EFL] Define WebCursor::GetPlatformCursor for efl

It will be necessary to define WebCursor::GetPlatformCursor in order
to build ozone.

Reference:
6bf5529a7a033a692f0ced0d25761f839114395c

Change-Id: Ic681ccd587e0a5ea274b07ed0fa9283b2abd2e2e
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][EFL] Set up build environment 80/184880/1
Youngsoo Choi [Sat, 25 Feb 2017 05:06:32 +0000 (14:06 +0900)]
[M67 Dev][EFL] Set up build environment

The gn build is supported by default:
$ ./tizen_src/build/build_desktop.sh

The followings are included in this:

[Build] Use GN by default instead of GYP
https://review.tizen.org/gerrit/#/c/116494/

[Build] Move tizen_src/packaging/ directory to top
https://review.tizen.org/gerrit/#/c/116944/

[A&O] Revise replace_gn_files.py to support multiple replacements
https://review.tizen.org/gerrit/#/c/128811/

fixup! [A&O] Revise replace_gn_files.py to support multiple replacements
https://review.tizen.org/gerrit/#/c/129273/

Upgrade version of efl, elementary
https://review.tizen.org/gerrit/#/c/161190/

Remove the apply_patches.sh calls
https://review.tizen.org/gerrit/#/c/171551/

Change-Id: Id2e9c444434ed7ba5b6557920d111fc802364d71
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[M67 Dev][EFL] Integrate GN configuration 72/184772/1
Youngsoo Choi [Fri, 9 Feb 2018 14:53:16 +0000 (20:23 +0530)]
[M67 Dev][EFL] Integrate GN configuration

The upstream chromium hasn't supported EFL port.
So, this enables GN configurations for that.

Temporary command:
$ ./tizen_src/build/build_desktop.sh --use-gn

Reference:
https://review.tizen.org/gerrit/#/c/169727/
https://review.tizen.org/gerrit/#/c/174607/
https://review.tizen.org/gerrit/#/c/178028/

Change-Id: Ie426852c63a4ebcbfea482297ef2915c4a3b6edf
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agoRevert "Enabled the use_system_re2 flag"
Suchit Agrawal [Tue, 31 Jan 2017 10:08:46 +0000 (10:08 +0000)]
Revert "Enabled the use_system_re2 flag"

This reverts commit e9eaac2bf49757f4d57624cf6b4d153e3e059a1f.

Change-Id: I93171ed4d4cd4ade05d978eb10659afe9b5a714e
Signed-off-by: Suchit Agrawal <a.suchit@samsung.com>
6 years agoRemove temporary patch for gpu_control_list.cc
Chandan Padhi [Thu, 22 Sep 2016 09:25:17 +0000 (14:55 +0530)]
Remove temporary patch for gpu_control_list.cc

std::find() in gpu_control_list.cc caused build errors for
mobile and tv profiles. This temporary patch was added to
avoid the build error. The build error has been fixed in [1].

[1] http://165.213.202.130/gerrit/#/c/139091

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2058

Reviewed by: dhyuna.ko, mohan.reddy, sm.venugopal, sns.park

Change-Id: I531a62ba3c2caab984ab6964ef3186927ff79799
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years agoFix for browser crash on loading HTTPS sites
Chandan Padhi [Fri, 21 Oct 2016 13:26:44 +0000 (18:56 +0530)]
Fix for browser crash on loading HTTPS sites

CTVerifier and CTPolicyEnforcer were not set for URLRequestContext.
This resulted in failure of CHECKs in SSLClientSocketImpl ctor.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2310

Reviewed by: g.czajkowski, sns.park

Change-Id: I21498162e2c34a0cc1c5aeb0c1771b0185bb189d
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years agoRemove aw_pref_store.h|cc from build sources
yh106.jung [Tue, 27 Sep 2016 02:22:20 +0000 (11:22 +0900)]
Remove aw_pref_store.h|cc from build sources

|InMemoryPrefStore| is being used as simple preference store instead of
|AwPrefStore|. So we can remove aw_pref_store.h|cc from build sources.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2071

Reviewed by: g.czajkowski, sns.park

Change-Id: I813dce7678feeb3d8e859549b595b5d1ea3d3edb
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years agoMove the function, FilesSelectedInChooser, from RVH to RFH
yh106.jung [Tue, 27 Sep 2016 05:28:03 +0000 (14:28 +0900)]
Move the function, FilesSelectedInChooser, from RVH to RFH

FilesSelectedInChooser is moved from RenderViewHost to RenderFrameHost
by upstream codes. So this patch updates about it for EWK side.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2072

Reviewed by: g.czajkowski, sns.park

Change-Id: Icf6481e2fc08e09f59d56b668df807a9b66157d4
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
6 years agofixup! Added TM1 mirror server profile and updated mirror server ip address.
Youngcheol Kang [Thu, 22 Sep 2016 10:17:20 +0000 (19:17 +0900)]
fixup! Added TM1 mirror server profile and updated mirror server ip address.

For connecting the mirror server, we need to authorization about that.
This patch adds the authorization information in gbs.conf file.

Change-Id: I8c7b2aa982f4ecadfeaaeaaaf029c356b0aafa43
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
6 years agoAdded TM1 mirror server profile and updated mirror server ip address.
Suchit Agrawal [Thu, 22 Sep 2016 04:24:37 +0000 (04:24 +0000)]
Added TM1 mirror server profile and updated mirror server ip address.

Changed mirror server IP from 10.113.63.117 to 165.213.149.200.
Added TM1 mirror server profile in gbs.conf file.

Change-Id: I6f5ec74bf9d4b1eb65e6609faa07fe02aff5b39c
Signed-off-by: Suchit Agrawal <a.suchit@samsung.com>
6 years ago[M53_2785] Chromium upversion to m53_2785 branch.
Prashanth R K Shandilya [Tue, 5 Jul 2016 07:13:35 +0000 (12:43 +0530)]
[M53_2785] Chromium upversion to m53_2785 branch.

This patch deals with the following changes:

1. Folder and class name changes

- Added the leveldatabase.gyp:leveldatabase dependency in chromium-ewk
  target
- Added the components.gyp:network_session_configurator_switches
  dependency in chromium-ewk target
- Added the codes for enabling the 'use_external_popup_menu' flag
- Changed the make_scoped_ptr to base::WrapUnique
- Changed the path of "v8.gyp" to "v8/src" from the "v8/tools/gyp"
- Changed the path of "gpu_channel_manager.h" to the
  "gpu/ipc/service" from the "content/common/gpu"
- Changed the blink::WebNotificationPermission class  to the
  blink::mojom::PermissionStatus class
- Changed the cc::OnscreenDisplayClient class to the cc::Display class
- Changed the content::RenderProcessObserver class to the
  content::RenderThreadObserver class
- Changed the gfx::GLContext class to the gl::GLContext class
- Changed the ui::SelectionBound class to the gfx::SelectionBound class
- Changed the type of ContextProviderCommandBuffer class
- Changed the type of base::WaitableEvent class
- Changed the namespaces of GLHelper to display_compositor::GLHelper
- Removed the s-libjingle_source_talk.git in DEPS.efl
- REmoved the chromedriver dependency in chromium-efl
- Removed the libpci dependency in chromium-efl
- Removed the kEnableLinkDisambiguationPopup switch

2. API changes

- Added the CreateMediaRequestContext function in BrowserContext class
- Added the CreateMediaRequestContextForStoragePartition function in
  BrowserContext class
- Added the CreateZoomLevelDelegate function in BrowserContext class
- Added the DelegatedFrameHostGetGpuMemoryBufferClientId function in
  RenderWidgetHostViewEfl class
- Added the DelegatedFrameHostGetGutterColor function in
  RenderWidgetHostViewEfl class
- Added the GetFramebufferCopyTextureFormat function in
  cc::OutputSurface class
- Added the SetBeginFrameSource function in
  RenderWidgetHostViewEfl class
- Added the IsWindowUnderCursor function in gfx::Screen class
- Added the OnDestruct function in content::RenderViewObserver class
- Added the OnLoadedRectUpdate function in
  plugins::LoadablePluginPlaceholder class
- Changed the GetRequestContext function to the GetURLRequestContext
  function in net::URLRequestContext class
- Changed the enum of LOAD_TYPE_BROWSER_INITIATED_HTTP_POST to
  LOAD_TYPE_HTTP_POST in content::NavigationController class
- Changed the DeleteAllCreatedBetweenForHostAsync function to the
  DeleteAllCreatedBetweenWithPredicateAsync function in
  net::CookieStore class
- Changed the arguments of cc::OutputSurface class
- Changed the arguments of SwapBuffers function in
  MailboxOutputSurfaceEfl class
- Changed the arguments of OnSwapBuffersCompleted function in
  cc::OutputSurface class
- Changed the arguments of OnSwapCompositorFrame function in
  RenderWidgetHostViewEfl class
- Changed the arguments of DispatchSyntheticTouchEvent function in
  RenderWidgetHostViewEfl class
- Changed the arguments of CopyOutputCallback function in
  RenderWidgetHostViewEfl class
- Changed the arguments of IsFullscreenForCurrentTab function in
  WebContentsImpl class
- Changed the arguments of DragTargetDrop function in
  RenderViewHostImpl class
- Changed the arguments of GpuChildThread function in
  content::GpuChildThread class
- Changed the arguments of Vibrate function in VibrationManager class
- Changed the arguments of Cancel function in VibrationManager class
- Changed the arguments of DownloadStarting function in
  ResourceDispatcherHostDelegate class
- Changed the arguments of RunFileChooser function in
  WebContentsDelegate class
- Changed the arguments of InProcessGpuThread function in
  content::GpuChildThread class
- Removed the GetNativeViewId function in RenderWidgetHostViewEfl class
- Removed the GetScreenColorProfile function in RenderWidgetHostViewEfl
  class
- Removed the GetWindowUnderCursor function in gfx::Screen class
- Removed the setUseMobileViewportStyle function in blink::WebSettings
  class
- Removed the CreateZoomLevelDelegate function in BrowserContext class
- Removed the GetRequestContext function in BrowserContext class
- Removed the GetMediaRequestContext function in BrowserContext class
- Removed the GetMediaRequestContextForRenderProcess function in
  BrowserContext class
- Removed the GetMediaRequestContextForStoragePartition function in
  BrowserContext class
- Removed the CreateAccessTokenStore function in ContentBrowserClient
  class
- Removed the OverrideSystemLocationProvider function in
  ContentBrowserClient class
- Removed the enum type of cc::SelectionBoundType class

3. Need to change API (TODO issues)

- The multimedia function has been changed. Temporary disabling the
  'tizen_multimedia_support' and 'use_gstreamer_fft' flag
  (http://suprem.sec.samsung.net/jira/browse/TWF-2060)
- The VideoCaptureDevice class has been changed. Temporary disabling the
  files which related to VideoCaptureDevice class
  (http://suprem.sec.samsung.net/jira/browse/TWF-2061)
- The BatteryStatusManager class has been changed. Temporary disabling
  the files which related to BatteryStatusManager class
  (http://suprem.sec.samsung.net/jira/browse/TWF-2062)
- The AwPrefStore class has been removed. Temporary disabling the codes
  which related to AwPrefStore class
  (http://suprem.sec.samsung.net/jira/browse/TWF-2071)
- The FilesSelectedInChooser function has been changed. Temporary
  disabling the codes which related to FilesSelectedInChooser function
  (http://suprem.sec.samsung.net/jira/browse/TWF-2072)
- The codes which related to "std::find()" makes the build problem in
  mobile and tv profiles. Temporary disabling the codes
  (http://suprem.sec.samsung.net/jira/browse/TWF-2058)
- The ComputeZoomAreaAndScaleFactor function has been changed. Temporary
  disabling the codes which related to ComputeZoomAreaAndScaleFactor
  (http://suprem.sec.samsung.net/jira/browse/TWF-2057)
- The codes which related to gzip_string (tools/grit/grit/node/include.py)
  makes the build problem. Temporary disabling the codes
  (http://suprem.sec.samsung.net/jira/browse/TWF-2059)
- APIs related geolocation were extracted from ContentBrowserClient to
  content::GeolocationDelegate. So we should implement it
  (http://suprem.sec.samsung.net/jira/browse/TWF-2084)
- The SelectClosestWord function has been changed. Temporary disabling
  the codes which related to SelectClosestWord function
  (http://suprem.sec.samsung.net/jira/browse/TWF-2122)

4. Verification

- This patch supports to the desktop and mobile(Tizen 3.0 32bit TM1) and
  tv(Tizen 3.0 32bit Odroid) profiles
- There is no build problem in all target.
- Basic rendering is fine on desktop and mobile.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-1995

Change-Id: Ife6029cd18d471402b789cf4abf09f6eae185da7
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
Signed-off-by: Suchit Agrawal <a.suchit@samsung.com>
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
6 years ago[M51_2704] Chromium upversion to m51_2704 branch.
Gajendra N [Wed, 18 May 2016 12:49:14 +0000 (18:19 +0530)]
[M51_2704] Chromium upversion to m51_2704 branch.

This patch deals with the following changes:

1. Change in parameters of RunJavaScriptDialog() & RunBeforeUnloadDialog() functions
   of JavaScriptDialogManagerEfl.
2. WebGraphicsContext3DCommandBufferImpl constructor takes additional parameters
   gfx::PreferIntegratedGpu, share_resources & automatic_flushes. Also surface_id (int)
   is changed to SurfaceHandle.
3. Use gpu::gles2::ContextCreationAttribHelper in place of blink::WebGraphicsContext3D
   ::Attributes and initialize their members accordingly.
4. GpuChannelHost is moved from 'content' to 'gpu' namespace.
5. Context type BROWSER_COMPOSITOR_ONSCREEN_CONTEXT renamed to
   DISPLAY_COMPOSITOR_ONSCREEN_CONTEXT.
6. CommandBufferProxyImpl is moved from 'content' to 'gpu' namespace.
7. MovePluginWindows() of RenderWidgetHostView is removed is upstream.
8. ViewHostMsg_TextInputState_Params is renamed to TextInputState.
9. switches::kTabCaptureDownscaleQuality & switches::kTabCaptureUpscaleQuality are
   removed, hence SCALER_QUALITY is not dependant on these switches.
10. Change in parameter types for HandleNewWindowRequest() & HandleNewWebContentsCreate()
    functions due to scoped_refptr changes.
11. webplugin_delegate_impl.h is removed in upstream, hence remove related files from efl.
12. GpuChildThreadEfl constructor takes addtional parameter gpu::GpuPreferences.
13. Use switches::IsRunLayoutTestSwitchPresent() in place of HasSwitch(switches::kRunLayoutTest)
    as switches::kRunLayoutTest is no longer available.
14. media/ozone/media_ozone_platform.h is removed, hence remove related files from efl.
15. PermissionStatus is moved from content to blink::mojom:: namespace.
16. Include base/macros.h for DISALLOW_COPY_AND_ASSIGN macro.
17. Initialize BrowserContext with DIR_USER_DATA path before creation of RequestContext.
18. Overloaded CreateRequestContext() is replaced with CreateRequestContextForStoragePartition().
19. CookieStore & CookieMonster are no more ReferenceCounted hence use scoped_ptr and std::move
    during assignment and parameter passing.
20. NavigationController::ReloadIgnoringCache() is renamed to ReloadBypassingCache().
21. RenderProcessObserver::WebKitInitialized() is removed in upstream.
22. blink::WebFrameContentDumper::dumpFrameTreeAsText() is renamed to dumpWebViewAsText() which
    accepts WebView object instead of WebFrame.
23. setBaseBackgroundColor() is moved to WebFrameWidget.
24. 'network_delegate' member is removed from NetworkSessionParams.
25. Change in path for headers : gl_helper.h, command_buffer_proxy_impl.h, resize_lock.h,
    gpu_messages.h, gpu_host_messages.h, delegated_frame_host.h & permission_status.mojom.h
26. Version change from 50.2661 to 51.2704 in build and packaging related files.

AddExtraPluginDir() is removed from PluginListi class. The code under EWebContext::
AddExtraPluginDir() is disabled under EWK_BRINUP flag. This will be fixed by WebView team.
JIRA issue raised at http://suprem.sec.samsung.net/jira/browse/TWF-1132

Bug : http://suprem.sec.samsung.net/jira/browse/TWF-1060

Change-Id: I588d9c25c051dc72d76b7e6aa82d4a0f15ff01a2
Signed-off-by: Suchit Agrawal <a.suchit@samsung.com>
6 years ago[M50_2661] Delegated Rendering using Surfaces and Surface Layer.
Chandan Padhi [Wed, 20 Apr 2016 09:29:58 +0000 (14:59 +0530)]
[M50_2661] Delegated Rendering using Surfaces and Surface Layer.

Delegated rendering was implemented with DelegatedRendererLayer.
DelegatedRendererLayer has been removed in M50 and Surfaces and
Surface Layer have been enabled by default. Due to this, rendering
failed and black screen was observed. With this commit, we adapt
delegated rendering accordingly.

This commit also removes dead code under TIZEN_DISABLE_GPU_THREAD.

Together with: Idd982f5731c82eb1fa689cc631643f157f67c957

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-893

Reviewed by: dhyuna.ko, sm.venugopal, sns.park, venu.musham

Change-Id: Ic181ab6fe0bb691cc18e167c77169753c3f83b3c
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years agofixup! [MM] Webaudio with CAPI port.
Karthick M [Wed, 30 Mar 2016 12:37:37 +0000 (18:07 +0530)]
fixup! [MM] Webaudio with CAPI port.

Chromium upstream removed audio_decoder_android.h [1], which is however
needed in audio_decoder_efl.h. This CL addresses build issue due to the
missing header file.

[1] https://codereview.chromium.org/1565623002

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-610

Reviewed by: k2.nagaraju, msu.koo, sm.venugopal, sns.park

Change-Id: I916e7589f1dccec08b0590a9ff12b70c7c209dae
Signed-off-by: Karthick M <karthick.m1@samsung.com>
6 years ago[M50_2661] Chromium upversion to m50_2661 branch.
Gajendra N [Fri, 22 Apr 2016 06:20:24 +0000 (11:50 +0530)]
[M50_2661] Chromium upversion to m50_2661 branch.

This patch deals with the following changes:

1. Removing libvpx.diff patch from build/patches folder, as it is no longer needed.
2. context_factory_efl.cc file will be removed in another patch. To avoid build
   break, part of the code is commented under EWK_BRINGUP flag (TWF-893).
3. gfx::Screen::GetNativeScreen() is renamed to GetScreen().
4. RenderWidgetHostImpl::ImeSetComposition() expects additional parameter gfx::Range.
5. delegated_frame_{provider, resource_collection}.h headers are removed.
6. FrameTree::ForEach() is removed, replace with a loop iterating over
   FrameTree::Nodes().
7. RenderProcessHostImpl::ResumeRequestsForView() is replaced with
   ResourceDispatcherHostImpl::ResumeBlockedRequestsForRouteFromUI().
8. ViewMsg_Resize is renamed to ResizeParams.
9. Set proper dependency path for 'mojo_cpp_bindings'.
10. gpu_messages.h is renamed to gpu_host_messages.h.
11. content::GpuProcess() constructor takes a parameter base::ThreadPriority.
12. |rtc_use_h264| is set to 0, without which link fails due to missing symbol.
13. rjsmin.py is located under third_party/WebKit/Source/devtools/scripts
    directory, hence set proper import path in make-file-arrays.py.
14. LayoutTheme::theme is already defined in Blink, which calls nativeTheme()
    on a condition, hence define nativeTheme() in RenderThemeChromiumTizen.cpp.
15. ResourceBundle::GetNativeImageNamed() takes only one parameter.
16. ui/gfx/screen_type_delegate.h is removed and SetScreenInstance() takes
    only one parameter of type ui::Screen.
17. Add 'ozone_common' target dependency required by ozone_efl.
18. GetEGLSurfaceProperties() is removed and GLSurfaceEGL uses default configuration
    attributes, which are same as it was returned by SurfaceFactoryEfl.
19. LoadAccessTokensCallbackType & AccessTokenSet are renamed to
    LoadAccessTokensCallback & AccessTokenMap respectively, in AccessTokenStore.
20. "PERMISSION_STATUS_" prefix is trimmed on members of PermissionStatenum members.
21. Changes in prototype of DisplayNotification() & DisplayPersistentNotification()
    functions of NotificationControllerEfl.
22. user_gesture parameter of PermissionManager::RequestPermission{s}() is removed.
23. base/prefs/ is moved to components/prefs/ folder.
24. net/base/net_util.h is removed.
25. GetCookieMonster() is removed, replace with GetCookieStore() at necessary
    places.
26. MemoryPressureController::GetInstance() is moved to MemoryPressureControllerImpl.
27. Refactor EWebView::Suspend() & Resume() based on changes with respect to
    ResourceDispatcherHost.
28. WebContents::ExitFullScreen() takes a bool parameter 'will_cause_resize'.
29. Change in first parameter type from void* to size* for HttpResponseHeaders::
    EnumerateHeaderLines()
30  Use blink::WebStringToGURL() to instantiate GURL object from WebString.
31. typedef PlatformCanvas is removed from skia, hence use SkCanvas directly.
32. WebFrame::contentHasText() is removed and reimplemented as WebFrameContentDumper::
    dumpFrameTreeAsText().
33. Cast CookieStore to CookieMonster to call SetPersistentCookies() and
    SetCookieableSchemes() APIs.
34. Version change from 49.2623 to 50.2661 in build and packaging related files.

Debug build is not working because libchromium-ewk.so size is exceeding 2 GB during linking
time. Temporarily disabling debug build with 'nodebug 1' to avoid the error.
JIRA issue raised at http://suprem.sec.samsung.net/jira/browse/TWF-891

With M50 rebase, we face black screen issue due to some changes in Delegated Rendering,
which will be fixed separately.
JIRA issue raised at http://suprem.sec.samsung.net/jira/browse/TWF-893

'blink_platform' requires utrie2.h which is not supported by system icu yet. To avoid build
break, temporarily using Chromium's third_party/icu by setting 'use_system_icu=0'.
JIRA issue raised at http://suprem.sec.samsung.net/jira/browse/TWF-967

Bug : http://suprem.sec.samsung.net/jira/browse/TWF-728

Change-Id: I8994f376a599ede9045c730cb1c1ce340311deb1
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
6 years agoSupport the TM1 target in mobile profile
Youngcheol Kang [Mon, 22 Feb 2016 11:05:07 +0000 (20:05 +0900)]
Support the TM1 target in mobile profile

This patch cherry-picked from beta/m47 branch.
(http://165.213.202.130/gerrit/#/c/96218/)

We decided to support only TM1, not emulator profile in dev branch,
so the patch which related to emulator was removed in this patch.

[Build Command]
$ ./tizen_src/build/build_mobile.sh -P tzmb_v3.0_TM1 -A armv7l

Bug: http://165.213.149.170/jira/browse/TWF-170

Reviewed by: g.czajkowski, jh11.kwon, sns.park

Change-Id: Ie9b679155555c686ee0c943dc882841b9573ba67
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
6 years ago[M49_2623] Chromium upversion to m49_2623 branch.
Gajendra N [Thu, 25 Feb 2016 13:02:15 +0000 (18:32 +0530)]
[M49_2623] Chromium upversion to m49_2623 branch.

This patch deals with following changes:

1. Set gcc_version gyp variable.
2. base/basictypes.h is removed in upstream.
   Replace (u)int{8,16,32,64} with (u)int{8,16,32,64}_t.
3. SingleThreadTaskGraphRunner is now part of upstream available under
   cc namespace.
4. scoped_ptr .Pass() is deprecated, use std::move instead.
5. Use GenerateSyncToken() to generate a new SyncToken.
6. ScopedVector<> to std::vector<scoped_ptr<>> conversion is not possible.
   Replace when there is mismatch in parameter passing or assignment.
7. COMPILE_ASSERT macro is removed from base/macros.h.
   Use static_assert instead.
8. WebPageSerializer has been removed from blink.
   Commented part of code that calls it.
9. Changes in number and type of arguments for many API's.
10. Indentation fixes by 'git cl format' for the files that are modified in
    this commit only.

Bug: http://165.213.149.170/jira/browse/TWF-345

Change-Id: Ice87e1b73430ba3d269f5632b73c9f14e8fef60b
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
6 years ago[tizen] Disable a cflag '-Wno-format' for global option change
Youngsoo Choi [Mon, 22 Feb 2016 04:09:59 +0000 (13:09 +0900)]
[tizen] Disable a cflag '-Wno-format' for global option change

This patch (http://165.213.202.130/gerrit/#/c/109103/) was cherry-picked
from the m47/beta.

The build option '-Wall', '-Wformat, and '-Wformat-security' have been used as
tizen global options. Recently, tizen platform team decided to remove a option
'-Wformat' which is already included in '-Wall'.

Due to the chnage, following build break happens from chromium-efl build.
>> cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]

The build break is caused by a cflag '-Wno-format', defined in 'build/common.gypi'.
So, this CL tries to ignore the cflag for tizen port.

Bug: http://10.113.136.204/jira/i#browse/TWF-338

Change-Id: I2e381eef38083bd50f67a24fcd3439650b95fccd
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agofixup! Implement ewk_settings_auto_fitting_set
Grzegorz Czajkowski [Thu, 17 Dec 2015 09:49:02 +0000 (10:49 +0100)]
fixup! Implement ewk_settings_auto_fitting_set

Auto fitting (aka Page Overview) changes the scale factor to adjust the content
width to be equal the device width. This feature is by default turned on for
mobile builds and what's more both Reference Browser and ubrowser enable it
in runtime, optionally adding the user possibility to switch it off via UI.

Disabling this feature in runtime results in not reseting the scale factor,
usually from ~0.4f to 1.0f. This causes bad user experience as the scale is
small but user is able to scroll the (empty) content.

Android exposes WebSettings::setLoadWithOverviewMode(boolean overview) [1] which
in Blink resets the scale when auto fit gets disabled. See
adjustForAndroidWebViewQuirks() for details.

This commit sets setLoadWithOverviewMode along with
setShrinksViewportContentToFit when ewk_settings_auto_fitting_set is called.

Not all utc_blink_ewk_settings_scripts_* tests has been fixed. This patch
fixes them, change comments and test names accordingly to their behaviour.

This is squash of two commits from beta/m47 branch:
- http://web.sec.samsung.net/gerrit/#/c/99946/
Reviewed by: sns.park

Change-Id: I00745a5b1de2252c9259fe9d5c21062a40f62c6d
Author: Grzegorz Czajkowski<g.czajkowski@samsung.com>

- http://web.sec.samsung.net/gerrit/#/c/102256/
Reviewed by: sns.park

Change-Id: I576a465d8ac5702e446df95d210707158c5af36c
Author: Marcin Niesluchowski<m.niesluchow@samsung.com>

[1] http://developer.android.com/reference/android/webkit/WebSettings.html

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15298
Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15197

Reviewed by: sns.park

Change-Id: I00745a5b1de2252c9259fe9d5c21062a40f62c6d
Signed-off-by: Grzegorz Czajkowski <g.czajkowski@samsung.com>
6 years ago[M48] Enable sync point related code for delegated renderer.
Chandan Padhi [Thu, 7 Jan 2016 10:39:54 +0000 (16:09 +0530)]
[M48] Enable sync point related code for delegated renderer.

In M48, sync_point has been replaced by gpu::SyncToken in
GLFrameData class.
This commit adapts the same on chromium-efl side as well.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=15389

Reviewed by: dhyuna.ko, g.czajkowski, sns.park, venu.musham

Change-Id: Id7b86e28e88fe17794dbcb195827624f4da8216d
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
6 years agoEnabled the use_system_re2 flag
Youngcheol Kang [Wed, 27 Jan 2016 04:46:28 +0000 (13:46 +0900)]
Enabled the use_system_re2 flag

Currently we use the re2 library on the internal chromium
(third_party/re2). This patch set the 'use_system_re2' flag
to use re2 library on system instead of internal chromium.

+--------------------+----------+----------+
|       Size         |  Before  |  After   |
+--------------------+----------+----------+
| chromium-ewk.so    | 28390640 | 28305872 |
+--------------------+----------+----------+

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15517

Reviewed by: sns.park

Change-Id: I7ceb1112732efe5abdca924a95304dd2cc1e3f9d
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
6 years agoRevert "Build with chromium libusb"
SeungSeop Park [Mon, 1 Feb 2016 10:26:10 +0000 (19:26 +0900)]
Revert "Build with chromium libusb"

This reverts commit 6f9a252072c9303b827a78c8b09c3bb13917e88e.

Now Tizen 3.0 has libusb 1.0.19, which is newer than chromium's 1.0.17.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15683
Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13185

Reviewed by: sns.park

Change-Id: If4bce3695fe8564edebe975cfdd427b672d07322
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years agofixup! [M48_2564] Chromium upversion to m48_2564 branch
KangYong Park [Mon, 25 Jan 2016 08:07:20 +0000 (17:07 +0900)]
fixup! [M48_2564] Chromium upversion to m48_2564 branch

The arguments of |ContentRendererClient::GetNavigationErrorStrings|
changed in upstream (https://codereview.chromium.org/1406303002).
This CL adapts the code accordingly.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15386

Reviewed by: a1.gomes, hyuki.kim, sns.park

Change-Id: I5ceee5ef9c9a3dbea8344e6ae097e394768a7474
Signed-off-by: KangYong Park <kaka.park@samsung.com>
6 years agofixup! Rename AutofillManagerDelegateEfl to AutofillClientEfl.
y0.kim [Thu, 14 Jan 2016 05:47:15 +0000 (14:47 +0900)]
fixup! Rename AutofillManagerDelegateEfl to AutofillClientEfl.

Fixes warning:
> no return statement in function returning non-void [-Wreturn-type]

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15496

Reviewed by: sns.park

Change-Id: I444e7fab4f2bb419f5195b657efb1423e4444d61
Signed-off-by: y0.kim <y0.kim@samsung.com>
6 years agoRemove two bogus asserts in GpuChildThreadEfl::OnInitialize.
Antonio Gomes [Thu, 28 Jan 2016 17:41:25 +0000 (13:41 -0400)]
Remove two bogus asserts in GpuChildThreadEfl::OnInitialize.

GpuChildThreadEfl's main goal is to override GpuChannelManager's
shared context and mailbox manager by the ones created by Efl
shared evas gl context.

In order to do that, GpuChildThreadEfl overrides GpuChildThread
and reimplements its OnInitialize method.
OnInitialize first calls GpuChilfThread::OnInitialize, where
gpu_channel_manager_ is instantiated, performs the overrides.

Problem is that by the time GpuChildThread::OnInitialize is executed
and GpuChannelManager is instantiated, its ctor also instantiates
share_group_ and mailbox_manager_ class member variables.

Hence, both DCHECKs (being removed by this patch) fail.
Patch removes them because they check for logically invalid
conditions.

Original beta/m47 patch: http://165.213.202.130/gerrit/#/c/105899/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=15731

Reviewed by: g.czajkowski, sns.park

Change-Id: Ib6d8927f189fdb3595d7da528adebf60d0f2d562
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agofixup! Unify ContentMainDelegateEfl and WebProcessContentMainDelegateEfl
Antonio Gomes [Thu, 28 Jan 2016 16:45:29 +0000 (12:45 -0400)]
fixup! Unify ContentMainDelegateEfl and WebProcessContentMainDelegateEfl

ui::ResourceBundle::InitSharedInstanceWithPakPath is now called by
ContentMainDelegateEfl for both browser and renderer processes.
No need to explicit call it in EwkGlobalData::GetInstance anymore.

It fixes the following ASSERT failure:

#0 0x7fcf2f7795bf [0128/115917:FATAL:resource_bundle.cc(602)]
Check failed: g_shared_instance_ == NULL. ResourceBundle initialized twice
#0 0x7f4d3b6fd5bf base::debug::StackTrace::StackTrace()
#1 0x7f4d3b73eeb9 logging::LogMessage::~LogMessage()
#2 0x7f4d3e3b6697 ui::ResourceBundle::InitSharedInstance()
#3 0x7f4d3e3b4258 ui::ResourceBundle::InitSharedInstanceWithPakPath()
#4 0x7f4d3b12945b EwkGlobalData::GetInstance()
#5 0x7f4d3b0f8d6d EWebContext::EWebContext()
#6 0x7f4d3b0f8be1 EWebContext::EWebContext()
#7 0x7f4d3b19fefb Ewk_Context::Ewk_Context()
#8 0x7f4d3b19fd3d Ewk_Context::Create()
#9 0x7f4d3b19fc02 Ewk_Context::DefaultContext()
#10 0x7f4d3b1a9ebe ewk_context_default_get
#11 0x000000407f74 Browser::Browser()
#12 0x00000040c85f app_create()
#13 0x00000040cb7e main
#14 0x7f4d38a5fec5 __libc_start_main
#15 0x000000407c89 <unknown>

Original beta/m47 patch: http://165.213.202.130/gerrit/#/c/105894/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=14350

Reviewed by: g.czajkowski

Change-Id: I7b1c9c1ba509a521c0b7c16ca534bb3579ff7032
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>