platform/framework/web/crosswalk-tizen.git
7 years ago[WRT] Fix ipc message 71/156271/3
Sanghyup Lee [Wed, 18 Oct 2017 01:29:06 +0000 (10:29 +0900)]
[WRT] Fix ipc message

|ipcRenderer.send| doesn't work in in wrt/src/web_window.js.
This patch uses |app.emit| instead of it.

Change-Id: I6631bb3dbd735f447e6276e7e077fc06b60d5f88
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years ago[WRT] Add chrome extension sample 09/151109/5
Youngsoo Choi [Wed, 20 Sep 2017 01:59:00 +0000 (10:59 +0900)]
[WRT] Add chrome extension sample

This adds chrome extension sample for reference.

The extension has chrome extension style manifest.json that specifies
name, background, and contentscript.

It alerts popup when click event is emitted on web app.
Also, contentscript and background communicate each other via IPC
that can be checked by inspector console.

Change-Id: I92921b05fe07f9b0bb8e88d14d26e1bc3a59af6e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[WRT] Support chrome style extension management 36/150736/5
Youngsoo Choi [Sun, 17 Sep 2017 06:02:56 +0000 (15:02 +0900)]
[WRT] Support chrome style extension management

There has been an extension to inject js logic to app.
This supports chrome style extension as well.
The chrome style extension consists of background(event page),
content script, and manifest.json.

Now, two types of extensions are supportive:
one for injection style extension and another for chrome style extension.

Change-Id: Ie37f830d0a3856e8bebba4332bd354dc1f9840fb
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd clean build for wrt_support 14/149614/3
Youngsoo Choi [Tue, 12 Sep 2017 14:37:35 +0000 (23:37 +0900)]
Add clean build for wrt_support

Change-Id: I6109f4534cf96156120bba69ffc56410a115f6b2
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! Upgrade wrt_support for electron v1.6.7 97/149597/5
Youngsoo Choi [Tue, 12 Sep 2017 02:03:02 +0000 (11:03 +0900)]
fixup! Upgrade wrt_support for electron v1.6.7

Change-Id: Ifcee243d5cba29e28296251966503a56a679a9dd
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! Upgrade wrt for electron v1.6.7 96/149596/4
Youngsoo Choi [Tue, 12 Sep 2017 12:21:10 +0000 (21:21 +0900)]
fixup! Upgrade wrt for electron v1.6.7

Change-Id: I498bb82c1d24e9c8bd3bc24498ed892a766dbd6c
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd utility scripts to run grunt or was 95/149595/4
Youngsoo Choi [Tue, 12 Sep 2017 12:03:28 +0000 (21:03 +0900)]
Add utility scripts to run grunt or was

This adds utility scripts to run grunt or was
and releases them to out folder.

Change-Id: I218e08055763231509ef5da86fea60e2b3468008
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd exception handling for symlink 94/149594/3
Youngsoo Choi [Tue, 12 Sep 2017 12:06:54 +0000 (21:06 +0900)]
Add exception handling for symlink

Change-Id: I013db6f560a5dcf4d9ebf4c4c4cec75043f6be1b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoFix release path of node_module 93/149593/3
Youngsoo Choi [Tue, 12 Sep 2017 12:02:36 +0000 (21:02 +0900)]
Fix release path of node_module

Change-Id: I7d6e2b2fd6f5ce07bb92e8174d43ecaa860bd94c
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd palindrome_addon and PalindromeTest.wgt 64/151664/1
jaekuk, lee [Thu, 21 Sep 2017 11:04:01 +0000 (20:04 +0900)]
Add palindrome_addon and PalindromeTest.wgt

Change-Id: I2d8abbe3295e7b7fe9aa8469d3179ba63d5ae591
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
7 years ago[PDNCF] Introduce extensions management APIs indépendant of Dev Tools Extensions 50/148250/2
yh106.jung [Thu, 7 Sep 2017 07:53:17 +0000 (16:53 +0900)]
[PDNCF] Introduce extensions management APIs indépendant of Dev Tools Extensions

- introduce API BrowserWindow#[add,remove,get]Extension
- make [add,remove, get]DevToolsExtension use newly introduced API
- make the app persist only the extensions added via

Change-Id: I61225348c4541fa5852cb617a59b15ccb0a0b0d1
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
7 years agoMerge "Enable node integration on Chrome extension's background page" into tizen...
Youngsoo Choi [Tue, 12 Sep 2017 12:52:16 +0000 (12:52 +0000)]
Merge "Enable node integration on Chrome extension's background page" into tizen.devel

7 years agoSet proxy service to avoid crash 55/148955/4
Sanghyup Lee [Mon, 11 Sep 2017 07:58:24 +0000 (16:58 +0900)]
Set proxy service to avoid crash

This patch sets proxy service with |CreateUsingSystemProxyResolver|
refer to |URLRequestContextGetterEfl| to avoid crash.

Change-Id: I5846117c5ea1d193c0d238a11a5235dfd7d2ea64
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years agoFix invisible webview issue 10/146110/8
Sanghyup Lee [Fri, 25 Aug 2017 04:26:45 +0000 (04:26 +0000)]
Fix invisible webview issue

We should make NativeView visible with evas_object_show.

Change-Id: I947c34c43fcb4401654475a6c26dfe58264e719a
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years ago[Bringup] Guard non implemented parts in init.js 29/145929/8
Youngsoo Choi [Thu, 24 Aug 2017 07:19:31 +0000 (16:19 +0900)]
[Bringup] Guard non implemented parts in init.js

This guards non implemented parts in init.js.
It needs to be implemented later.

Change-Id: Iedcc501a792ca73f8166ed0f2e7fa175f9ceac4f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoUse system icu 30/145930/8
Youngsoo Choi [Thu, 24 Aug 2017 07:19:31 +0000 (16:19 +0900)]
Use system icu

This adds system icu headers.

Change-Id: I4eb5f1c0e4d96719f33334b650f38343b429e6bb
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! Add LD_LIBRARY_PATH 82/146282/7
Youngsoo Choi [Sat, 26 Aug 2017 06:54:36 +0000 (15:54 +0900)]
fixup! Add LD_LIBRARY_PATH

This adds CHROMIUM_EFL_DEPENDENCIES_LIBDIR.

Change-Id: Ie6ae3c015a570212099aa5b3e66b0c337d9941dc
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoUpgrade wrt_support for electron v1.6.7 67/147567/4
Youngsoo Choi [Tue, 5 Sep 2017 02:50:59 +0000 (11:50 +0900)]
Upgrade wrt_support for electron v1.6.7

The electron has been upgraded from v0.35.4 to v1.6.7.
So, this applies the API changes to wrt_support.

Change-Id: Iee51a807d048f69d9ed67915dc2377b6fdb9e95f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoRelease wrt_support and wrt/static to out directory 39/149139/2
Youngsoo Choi [Mon, 11 Sep 2017 08:43:07 +0000 (17:43 +0900)]
Release wrt_support and wrt/static to out directory

The wrt_support or wrt/static have been located in source tree.
Build result needs to be released to out folder to remove
dependency of source tree in runtime.

Change-Id: Idc92a27c47c18063d5556d1afe6bb62c6a154407
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoUpload initial implementation for wrt support 64/147564/7
Youngsoo Choi [Tue, 5 Sep 2017 02:03:16 +0000 (11:03 +0900)]
Upload initial implementation for wrt support

This uploads initial components such as launcher, installer,
extension, app_repos, and sample apps.

Note that they are implementations, excepting wrt core functionality.

Change-Id: I4a56305ca87d0c4b4df263aa9b1ce4fa084f00e6
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoEnable node integration on Chrome extension's background page 79/149279/1
yh106.jung [Tue, 12 Sep 2017 04:49:21 +0000 (13:49 +0900)]
Enable node integration on Chrome extension's background page

Change-Id: I3dfdb3376f99092803fb8820f92056d21aa295b4
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
7 years agoUpgrade wrt for electron v1.6.7 96/147496/7
Youngsoo Choi [Mon, 4 Sep 2017 13:06:49 +0000 (22:06 +0900)]
Upgrade wrt for electron v1.6.7

The wrt was built on electron v0.35.4 and
the electron has been upgraded to v1.6.7.

There are following differences between them.
This upgrades the changed APIs for electron v1.6.7.

1) requiring electron module

The usage of electron module has been changed.
For instance, |const app = require('app')| is changed to
|const {app} = require('electron')|.

2) ipc usage

The ipc has been separated to ipcMain and ipcRenderer.
The related changes are applied by this.

Also, this revises the message types as ipc_message or was_event.
The ipc_message communicates between different processes
but was_event communicates in same process.

Change-Id: I8e6467a7721d9b715c918ccb179a3fe461ddbea4
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoMerge "Add node modules for grunt" into tizen.devel
Sungsik Han [Tue, 12 Sep 2017 01:58:04 +0000 (01:58 +0000)]
Merge "Add node modules for grunt" into tizen.devel

7 years agoMerge "fixup! add build env for was grunt build" into tizen.devel
Sungsik Han [Tue, 12 Sep 2017 01:55:47 +0000 (01:55 +0000)]
Merge "fixup! add build env for was grunt build" into tizen.devel

7 years agoAdd node modules for grunt 66/147266/4
Youngsoo Choi [Sun, 3 Sep 2017 07:41:43 +0000 (16:41 +0900)]
Add node modules for grunt

The OBS does not support to use network in build time.
So, prerequisite should be ready before starting build.

Change-Id: I6257368fe6a6465f966751e5634886cbef6ce10a
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! add build env for was grunt build 65/147265/5
Youngsoo Choi [Sun, 3 Sep 2017 05:03:02 +0000 (14:03 +0900)]
fixup! add build env for was grunt build

This fixes followings.

1. Default out folder is changed like electron default build configuration.
2. Depth of path is changed as build folder has been moved into wrt folder.

Change-Id: I0350b89f36faaa4b358e81805a0cad2126887eac
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoDo not handle ViewHostMsg_SetCursor in WebContents 10/147310/3
Sanghyup Lee [Mon, 4 Sep 2017 02:25:31 +0000 (02:25 +0000)]
Do not handle ViewHostMsg_SetCursor in WebContents

Due to stach_chk_fail crash.

Change-Id: I91b5d52e341fab1f1ae95d78c996ba181bfbdd9b
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
7 years agofixup! Add scripts for launching electron on desktop 28/145928/4
Youngsoo Choi [Thu, 24 Aug 2017 02:34:06 +0000 (11:34 +0900)]
fixup! Add scripts for launching electron on desktop

Change-Id: I9e293bce5aee5e2638424c73c7bdcda41925fe3f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! Implement initial native window 31/145931/7
Youngsoo Choi [Tue, 22 Aug 2017 11:44:17 +0000 (20:44 +0900)]
fixup! Implement initial native window

Change-Id: I52e57c4892d2985446e3710544d6723d61b3edd6
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoInitial implement for InspectableWebContentsViewEfl 26/145926/3
yh106.jung [Mon, 21 Sep 2015 07:17:55 +0000 (16:17 +0900)]
Initial implement for InspectableWebContentsViewEfl

Patch implements InspectableWebContentsViewEfl which has
WebContentsViewEfl as member.

Change-Id: I816298198fc37d18c6a5a637dd7a350fd0c64517
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
7 years agoMerge "add build env for was grunt build" into tizen.devel
Youngsoo Choi [Sun, 3 Sep 2017 04:00:26 +0000 (04:00 +0000)]
Merge "add build env for was grunt build" into tizen.devel

7 years agoadd build env for was grunt build 77/146977/3
nke94 [Thu, 31 Aug 2017 10:08:43 +0000 (19:08 +0900)]
add build env for was grunt build

Change-Id: I4bb5cd3f9d6575863b707d5c25f5414e148a92f3
Signed-off-by: nke94 <nke94@samsung.com>
7 years agoMerge changes I8486e69c,Ic43ee6e2 into tizen.devel
Youngsoo Choi [Sun, 3 Sep 2017 03:37:17 +0000 (03:37 +0000)]
Merge changes I8486e69c,Ic43ee6e2 into tizen.devel

* changes:
  Add initial js implementation for runtime
  remove build from .git ignore list

7 years agoAdd initial js implementation for runtime 76/146976/1
nke94 [Thu, 31 Aug 2017 10:06:50 +0000 (19:06 +0900)]
Add initial js implementation for runtime

Change-Id: I8486e69ca6d6a5f53d9b6df5ee92f0ccdaa1dadf
Signed-off-by: nke94 <nke94@samsung.com>
7 years agoremove build from .git ignore list 75/146975/1
nke94 [Thu, 31 Aug 2017 10:04:15 +0000 (19:04 +0900)]
remove build from .git ignore list

Change-Id: Ic43ee6e2087f3195b9ea9a7c1d89815368d59105
Signed-off-by: nke94 <nke94@samsung.com>
7 years ago[Bringup] Add mock-up APIs for notification 68/145068/5
Youngsoo Choi [Mon, 21 Aug 2017 02:08:56 +0000 (11:08 +0900)]
[Bringup] Add mock-up APIs for notification

This adds mock-up apis for notification on EFL.

Change-Id: I85018014ee1af5e11c7fd3fa0455679bbe6b16dd
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoRemove unused v8 soruce 56/145356/2
Youngsoo Choi [Tue, 22 Aug 2017 06:21:34 +0000 (15:21 +0900)]
Remove unused v8 soruce

The electron-efl refers to v8 from chromium-efl.

Change-Id: Ic470fb02089c68d3b5d9245e64225486a74dbdaf
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd scripts for launching electron on desktop 73/145073/4
Youngsoo Choi [Mon, 21 Aug 2017 06:34:22 +0000 (15:34 +0900)]
Add scripts for launching electron on desktop

This adds scripts for launching electron on desktop.

Change-Id: I91d9df8829049e435c391fcd1dff129e80834623
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd switches for EFL port 70/145070/5
Youngsoo Choi [Mon, 21 Aug 2017 02:16:51 +0000 (11:16 +0900)]
Add switches for EFL port

This adds switches for EFL port.

Original CL: http://suprem.sec.samsung.net/gerrit/#/c/49196

Change-Id: Ide9709bb21518c543b671bfaaf72f269fac4e9e0
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoInit AtomCommandLine when render thread is started 69/145069/2
Youngsoo Choi [Mon, 21 Aug 2017 06:07:12 +0000 (15:07 +0900)]
Init AtomCommandLine when render thread is started

This patch initializes AtomCommandLine at
AtomRendererClient::RenderThreadStarted.
In case of Chromium-efl, AtomMain is not called when renderer process
is executed, because it is executed by zygote.
So we need to initialize AtomCommandLine at the other place.

Original CL: http://suprem.sec.samsung.net/gerrit/#/c/51683

Change-Id: I2b91428269701398713a92efeb09a8e5e0a4db6e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoRemove unused library 67/145067/1
Youngsoo Choi [Fri, 18 Aug 2017 02:56:54 +0000 (11:56 +0900)]
Remove unused library

This removes unused library gst-plugins-good.

Change-Id: Ic8d253c13e69d74e3d46e7f73696a819ee32619b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd LD_LIBRARY_PATH 66/145066/1
Youngsoo Choi [Fri, 18 Aug 2017 02:56:26 +0000 (11:56 +0900)]
Add LD_LIBRARY_PATH

Change-Id: I2c5e688aacf668df8bf685204eb66ef8d630ff0e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoImplement initial native window 58/143658/2
Youngsoo Choi [Fri, 18 Sep 2015 01:48:04 +0000 (10:48 +0900)]
Implement initial native window

This implements initial native window.

Original CL: http://suprem.sec.samsung.net/gerrit/#/c/48867

This implements initial native webview.

Change-Id: I79283c5aff50b65c477f7f696507e42b01c947b6
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoMake directory for filenames.gypi while building 67/143367/3
Youngsoo Choi [Wed, 9 Aug 2017 11:01:59 +0000 (11:01 +0000)]
Make directory for filenames.gypi while building

There should be '/PATH/TO/vendor/brightray/vendor/download/libchromiumcontent'
so that filenames.gypi can be generated.

Otherwise, following error occurs.

>> IOError: [Errno 2] No such file or directory:
>> '/PATH/TO/vendor/brightray/vendor/download/libchromiumcontent/filenames.gypi'

Change-Id: I5f3bdc37d183ba222846bdd67eb7c5318066c20f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! Support EFL libraries via jhbuild 57/143657/1
Youngsoo Choi [Thu, 10 Aug 2017 11:47:00 +0000 (20:47 +0900)]
fixup! Support EFL libraries via jhbuild

This adds missing libraries.

Change-Id: I22340bfea3e1810a3240231ebd141f64b6775ee6
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agofixup! Remove x11, aura, gtk and views dependency 72/143372/2
Youngsoo Choi [Wed, 9 Aug 2017 11:17:53 +0000 (11:17 +0000)]
fixup! Remove x11, aura, gtk and views dependency

This adds filter for suffix auralinux.* not to include
aura implementation in build.

Change-Id: Ic37f941be430feac69d0fb2096cd59352f6d93a1
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Bringup] Fix unity related linking error 45/142845/1
Youngsoo Choi [Sat, 5 Aug 2017 07:40:31 +0000 (07:40 +0000)]
[Bringup] Fix unity related linking error

The chromium only has unity_service for gtk port.
So, the unity_service needs to be implemented for EFL port in chromium-efl.

>> undefined reference to `unity::*'

Change-Id: I3cfc26b94f118274e9854296395de9faf169b0fa
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Bringup] Fix gtk related linking error 44/142844/1
Youngsoo Choi [Sun, 6 Aug 2017 10:02:31 +0000 (10:02 +0000)]
[Bringup] Fix gtk related linking error

EFL port needs to be implemented for LibnotifyNotification::Show.

>> undefined reference to `libgtkui::GdkPixbufFromSkBitmap(SkBitmap const&)'

Change-Id: Ibd4d3280aa3b1d86b421e41806508a8924663ca7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Bringup] Fix DelegatedFrameHost related linking error 43/142843/1
Youngsoo Choi [Sat, 5 Aug 2017 08:17:11 +0000 (08:17 +0000)]
[Bringup] Fix DelegatedFrameHost related linking error

The DelegatedFrameHost needs to be handled in EFL port.

>> undefined reference to `content::DelegatedFrameHost::*'

Change-Id: I5a286d8a0bec110548184ebdb11695a05141d1a2
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Bringup] Fix OffScreenRenderWidgetHostView related linking error 42/142842/1
Youngsoo Choi [Sun, 6 Aug 2017 04:27:34 +0000 (04:27 +0000)]
[Bringup] Fix OffScreenRenderWidgetHostView related linking error

The DelegatedFrameHost is not used in chromium-efl.

>> undefined reference to `content::DelegatedFrameHost::WasHidden()'
>> undefined reference to `content::DelegatedFrameHost::ResetCompositor()'

Change-Id: Ibd5631c41153b35bcb8674db48fd57ca1cb2f8ce
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Bringup] Fix security_state related linking error 41/142841/1
Youngsoo Choi [Sun, 6 Aug 2017 05:50:50 +0000 (05:50 +0000)]
[Bringup] Fix security_state related linking error

EFL port needs to be implemented.

>> undefined reference to `security_state::GetSecurityInfo(...)

The chromium-efl does not support security_state.

Change-Id: Ic9332d2ba4e298a5d2ffb21d22d4450c97ba02bf
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Bringup] Fix net related linking error 40/142840/1
Youngsoo Choi [Sun, 6 Aug 2017 08:08:37 +0000 (08:08 +0000)]
[Bringup] Fix net related linking error

The net needs to be exported by chromium-efl.

>> undefined reference to `net::CreateProxyServiceUsingV8ProxyResolver(...)

Change-Id: Ic4ac0b535a8586d6695f9a107d3d76c3a7361a4a
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Bringup] Fix widevine_key_system_properties related linking error 39/142839/1
Youngsoo Choi [Sun, 6 Aug 2017 08:08:54 +0000 (08:08 +0000)]
[Bringup] Fix widevine_key_system_properties related linking error

EFL port needs to be implemented for

>> undefined reference to `cdm::WidevineKeySystemProperties::
>> WidevineKeySystemProperties(...)'

Change-Id: I3c2aa089b4eab4305833cb897ad7851828a9698c
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Bringup] Fix inspectable_web_contents_view related linking error 38/142838/1
Youngsoo Choi [Sun, 6 Aug 2017 09:06:28 +0000 (09:06 +0000)]
[Bringup] Fix inspectable_web_contents_view related linking error

EFL port needs to be implemented for inspectable_web_contents_view.

>> undefined reference to `brightray::CreateInspectableContentsView
>> (brightray::InspectableWebContentsImpl*)'

Change-Id: I95c10c2a60afb59bf3454b739214e0248a492831
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Bringup] Fix ShowColorChooser related linking error 37/142837/1
Youngsoo Choi [Sun, 6 Aug 2017 09:36:21 +0000 (09:36 +0000)]
[Bringup] Fix ShowColorChooser related linking error

EFL port needs to be implemented for ShowColorChooser.

Change-Id: I53f68bd573527f1168d8e5c5d4593ccdd0964eaf
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Bringup] Handle non virtual functions in chromium v56.0.2924.0 36/142836/1
Youngsoo Choi [Wed, 2 Aug 2017 06:14:29 +0000 (06:14 +0000)]
[Bringup] Handle non virtual functions in chromium v56.0.2924.0

There's no virtual functions for followings in chromium v56.0.2924.0
but in chromium v56.0.2924.87.

The opensource patches, related to followings, need to be migrated
to chromium-efl.

bool CanBeEmbeddedInsideCrossProcessFrames();
content::RenderWidgetHost* GetOwnerRenderWidgetHost();
content::SiteInstance* GetOwnerSiteInstance();
void ScriptedPrint(bool user_initiated);
v8::Local<v8::Context> context);

Change-Id: I7a6d56d0c0c7eb89a2cd6f29cb7db4415aa03696
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Bringup] Handle nonexistent function in chromium v56.0.2924.0 35/142835/1
Youngsoo Choi [Wed, 2 Aug 2017 06:14:29 +0000 (06:14 +0000)]
[Bringup] Handle nonexistent function in chromium v56.0.2924.0

The SystemDragEnded's parameters are different
between chromium v56.0.2924.0 and v56.0.2924.87.

Following patches need to be migarated from opensource to chromium-efl.
Until then, this guards the function.

Drag-and-drop: Target drag messages to specific RenderWidgets.
https://codereview.chromium.org/2505113002

Drag-and-drop: Target drag messages (the sequel).
https://codereview.chromium.org/2509933002

Change-Id: I1d5aa24826936d30fc293c67380dda8cd1aacb08
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years ago[Bringup] Add mockup APIs to bring up EFL port 34/142834/1
Youngsoo Choi [Sat, 5 Aug 2017 10:08:16 +0000 (10:08 +0000)]
[Bringup] Add mockup APIs to bring up EFL port

Following files are added to bring up EFL port.

atom/browser/api/atom_api_menu_efl.cc
atom/browser/api/atom_api_menu_efl.h
atom/browser/api/atom_api_web_contents_efl.cc
atom/browser/common_web_contents_delegate_efl.cc
atom/browser/native_browser_view_efl.cc
atom/browser/native_browser_view_efl.h
atom/browser/native_window_efl.cc
atom/browser/native_window_efl.h
atom/browser/ui/accelerator_util_efl.cc
atom/browser/ui/drag_util_efl.cc
atom/browser/ui/file_dialog_efl.cc
atom/browser/ui/message_box_efl.cc
atom/browser/ui/tray_icon_efl.cc
atom/browser/ui/tray_icon_efl.h
chromium_src/chrome/browser/extensions/global_shortcut_listener_ozone.cc
chromium_src/chrome/browser/extensions/global_shortcut_listener_ozone.h
chromium_src/chrome/browser/icon_loader_efllinux.cc

Change-Id: I170f4b01c6a140159cb1e370880ad466744198b6
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoDisable desktop_capturer on desktop linux 33/142833/1
Youngsoo Choi [Sat, 5 Aug 2017 07:43:33 +0000 (07:43 +0000)]
Disable desktop_capturer on desktop linux

The chromium-efl supports only tizen webrtc using CAPI.
So, this disables desktop_capturer using webrtc on desktop linux.

Change-Id: Ia6b8481b1347b695ebd07babbbb733cab58bd57c
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd flags for desktop linux 32/142832/1
Youngsoo Choi [Sat, 5 Aug 2017 07:42:21 +0000 (07:42 +0000)]
Add flags for desktop linux

This adds cflags for desktop linux

* Usage in C/C++

  #if defined(USE_EFL)
    // implementation here
  #endif

* Usage in gyp

  if (desktop_linux) {
    // implementation here
  }

Change-Id: I73fb49441fb6581bc87b0a5fba05b1ea6de8a46e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoRemove x11, aura, gtk and views dependency 31/142831/1
Youngsoo Choi [Wed, 2 Aug 2017 06:10:57 +0000 (06:10 +0000)]
Remove x11, aura, gtk and views dependency

To enable EFL port, the other ports are disabled.

Change-Id: I067bd5ab00d8781cb3b2e33483232a1660a8be54
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoSupport icu library via jhbuild 30/142830/1
Youngsoo Choi [Wed, 2 Aug 2017 15:15:54 +0000 (15:15 +0000)]
Support icu library via jhbuild

Change-Id: I1c8a34dc21e234a9123a25c94d165738d3d7c62e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoSupport EFL libraries via jhbuild 29/142829/1
Youngsoo Choi [Wed, 2 Aug 2017 14:07:53 +0000 (14:07 +0000)]
Support EFL libraries via jhbuild

The ecore, elocation, and elementary are added to be linked in build.

Change-Id: Ie021c85e209108bbb51e89baba0fa1dd61a55511
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoInclude header path 28/142828/1
Youngsoo Choi [Wed, 2 Aug 2017 08:13:53 +0000 (08:13 +0000)]
Include header path

In file included from /home/kenshin.choi/blink/workspace/public/chromium-efl/chromium-efl/content/browser/compositor/image_transport_factory.h:15:0,
from /home/kenshin.choi/blink/workspace/public/chromium-efl/chromium-efl/content/browser/renderer_host/delegated_frame_host.h:15,
from ../../atom/browser/osr/osr_render_widget_host_view.h:23,
from ../../atom/browser/api/atom_api_web_contents.cc:20:
/home/kenshin.choi/blink/workspace/public/chromium-efl/chromium-efl/gpu/ipc/common/surface_handle.h:37:2: error: #error Platform not supported.

Change-Id: I901bf6fc3134017dd8e9c81ca8e367835a2c9839
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoUse platform toolchain 82/141282/3
Youngsoo Choi [Sun, 30 Jul 2017 11:03:26 +0000 (11:03 +0000)]
Use platform toolchain

The electron has used toolchain debian_wheezy_amd64-sysroot
that is downloaded from amazon server.

This makes electron use platfrom toolchain.

Change-Id: I59ba9d8954a770b7a95d0c4c2540678acffeb3e9
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoRefer to desktop sysroot of chromium-efl 27/142827/1
Youngsoo Choi [Wed, 2 Aug 2017 06:12:33 +0000 (06:12 +0000)]
Refer to desktop sysroot of chromium-efl

Change-Id: Ic4cc6c68cb4ebca5d8fa78e1bedbfa95ad5d7fcf
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoBuild electron linking to chromium-efl 83/141283/3
Youngsoo Choi [Sun, 30 Jul 2017 07:02:42 +0000 (16:02 +0900)]
Build electron linking to chromium-efl

The electron has been liked to prebuilt chromium
that is downloaded from amazon server.

This let electron link to chromium-efl.

Change-Id: I8adc61d9d7f5541bc159943e9eb4f7aa20e75d75
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoSupport c++11 feature 81/141281/3
Youngsoo Choi [Sun, 30 Jul 2017 10:57:54 +0000 (10:57 +0000)]
Support c++11 feature

For electron build, c++11 feature is necessary.
Otherwise, tons of errors occur like below.

>> note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
>> error: ‘constexpr’ does not name a type

Change-Id: I58307fad59b3d0dfa7ff788797a09564d1337926
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd build script for desktop 98/141298/3
Youngsoo Choi [Mon, 31 Jul 2017 02:11:05 +0000 (02:11 +0000)]
Add build script for desktop

The utility script is added for desktop build.

* Usage:
$ ./efl/build/build_desktop.sh --libcc_chromium_efl_path {M56_CHROMIUM_PATH}

Change-Id: Idd020fc5353961e30f50d265acee24c32f830197
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd node module browserify and asar 45/141345/2
Youngsoo Choi [Mon, 31 Jul 2017 05:44:11 +0000 (05:44 +0000)]
Add node module browserify and asar

The added node modules are used by electron build.

>> asar@0.11.0
>> browserify@13.3.0

Change-Id: Iad0ed1db479d4f321b926640e974cb7507dd2ba4
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoUpload initial electron-related vendors for tizen 07/141107/4
Youngsoo Choi [Fri, 28 Jul 2017 06:14:26 +0000 (15:14 +0900)]
Upload initial electron-related vendors for tizen

The OBS does not allow to use network in build time
and does not support multiple repositories for a project.

So, this removes vendor git submodules and add them as one repository.

The vendor information is like below.

- in electron
 f7574aa6cc2c819430c1f05e9a1a1a666ef8169b vendor/boto
 c566c50d81f7b1edeaee9f11f5d07bda858d6b64 vendor/breakpad
 909c49265493bd095c27cefd999567be2107899a vendor/brightray
 eeac857dfb5b255c899c8763d62654863b4c8890 vendor/crashpad
 4fa73b8ca6899bc69577932b80145a6bf07e4424 vendor/depot_tools
 fd0e7dc4ab778f0d1ccda6c9640464ea06ee771e vendor/native_mate
 3fe90cfcf54dd946980e59daf550a7cdb2317c8f vendor/node
 a050a339cfeabcfb5f07c313161d2ee27b6c3a39 vendor/pdf_viewer
 e4d59bedfd3c7f4f254f4f5d036587bcd8152458 vendor/requests

- in vendor/brightray
 549e55a22765ccf99e46b419b2dff6338bcac64a vendor/gyp (heads/master)
 44448acf6a21024b9adb7140ffef6402a509f8bf vendor/libchromiumcontent (v51.0.2704.61-225-g44448ac)

- in pdf_viewer
 9536fb6429147d27ef1563088341825db0a893cd vendor/grit (9536fb6)

- in breakpad
 33a43757f6dadf49cb2240d22f1d0d827bfeae8f src (33a4375)

Change-Id: I36b4e2c117fceeeb6ea6c9361339c2840b6911b7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agorework docs
Brendan Forster [Thu, 27 Apr 2017 05:12:30 +0000 (15:12 +1000)]
rework docs

7 years agofocus on the self-signed certificate flow here
Brendan Forster [Thu, 27 Apr 2017 05:06:23 +0000 (15:06 +1000)]
focus on the self-signed certificate flow here

7 years agotighten up indenting
Brendan Forster [Thu, 27 Apr 2017 05:01:55 +0000 (15:01 +1000)]
tighten up indenting

7 years agoMerge branch 'master' into certificate-addition-windows
Brendan Forster [Thu, 27 Apr 2017 04:47:50 +0000 (14:47 +1000)]
Merge branch 'master' into certificate-addition-windows

7 years agoactually validate the chain before adding
Brendan Forster [Thu, 27 Apr 2017 04:44:58 +0000 (14:44 +1000)]
actually validate the chain before adding

7 years agoMerge pull request #9299 from electron/menu-item-doc-typos
Kevin Sawicki [Wed, 26 Apr 2017 20:03:46 +0000 (13:03 -0700)]
Merge pull request #9299 from electron/menu-item-doc-typos

Fix typos in MenuItem docs

7 years agoFix typos
Kevin Sawicki [Wed, 26 Apr 2017 16:06:10 +0000 (09:06 -0700)]
Fix typos

7 years agoMerge pull request #9290 from electron/coerce-history-go-offset-to-number
Kevin Sawicki [Wed, 26 Apr 2017 20:02:53 +0000 (13:02 -0700)]
Merge pull request #9290 from electron/coerce-history-go-offset-to-number

Coerce window.history.go offset argument to number in renderer process

7 years agoCoerce offset to number in renderer process
Kevin Sawicki [Tue, 25 Apr 2017 21:49:14 +0000 (14:49 -0700)]
Coerce offset to number in renderer process

7 years agoAdd spec for invalid window.history.go offset
Kevin Sawicki [Tue, 25 Apr 2017 21:48:01 +0000 (14:48 -0700)]
Add spec for invalid window.history.go offset

7 years agoMerge pull request #9289 from electron/dont-allow-webpreferences-option-setting
Kevin Sawicki [Wed, 26 Apr 2017 19:36:51 +0000 (12:36 -0700)]
Merge pull request #9289 from electron/dont-allow-webpreferences-option-setting

Don't allow webPreferences to be overridden in features string

7 years agoDon't allow webPreferences to be overrideden in features string
Kevin Sawicki [Tue, 25 Apr 2017 21:20:39 +0000 (14:20 -0700)]
Don't allow webPreferences to be overrideden in features string

7 years agoAdd spec for webPreferences in features string
Kevin Sawicki [Tue, 25 Apr 2017 21:19:59 +0000 (14:19 -0700)]
Add spec for webPreferences in features string

7 years agoMerge pull request #9287 from electron/store-frames-to-guest-as-map
Kevin Sawicki [Wed, 26 Apr 2017 17:47:21 +0000 (10:47 -0700)]
Merge pull request #9287 from electron/store-frames-to-guest-as-map

Store frames to guest as Map

7 years agoStore frame to guests in map
Kevin Sawicki [Tue, 25 Apr 2017 20:53:29 +0000 (13:53 -0700)]
Store frame to guests in map

7 years agoAdd specs for window.open frameName argument
Kevin Sawicki [Tue, 25 Apr 2017 20:52:56 +0000 (13:52 -0700)]
Add specs for window.open frameName argument

7 years agoMerge pull request #9286 from electron/to-string-renderer-errors
Kevin Sawicki [Wed, 26 Apr 2017 17:12:21 +0000 (10:12 -0700)]
Merge pull request #9286 from electron/to-string-renderer-errors

Throw string conversion errors in render process

7 years agoFix typos in comment
Kevin Sawicki [Wed, 26 Apr 2017 16:09:42 +0000 (09:09 -0700)]
Fix typos in comment

7 years ago Convert targetOrigin to string in render process
Kevin Sawicki [Tue, 25 Apr 2017 20:26:47 +0000 (13:26 -0700)]
 Convert targetOrigin to string in render process

7 years agoConvert frameName/features to strings in render process
Kevin Sawicki [Tue, 25 Apr 2017 20:16:28 +0000 (13:16 -0700)]
Convert frameName/features to strings in render process

7 years agoAdd spec for window.open toString errors
Kevin Sawicki [Tue, 25 Apr 2017 20:16:07 +0000 (13:16 -0700)]
Add spec for window.open toString errors

7 years agoMerge pull request #9278 from electron/dont-override-argument-value
Kevin Sawicki [Wed, 26 Apr 2017 16:08:24 +0000 (09:08 -0700)]
Merge pull request #9278 from electron/dont-override-argument-value

Disable node integration in chrome-devtools URLs

7 years agoDisable node integration in chrome-devtools: URLs
Kevin Sawicki [Mon, 24 Apr 2017 17:25:40 +0000 (10:25 -0700)]
Disable node integration in chrome-devtools: URLs

7 years agoAdd spec for chrome-devtools URL with no node integration
Kevin Sawicki [Mon, 24 Apr 2017 17:25:12 +0000 (10:25 -0700)]
Add spec for chrome-devtools URL with no node integration

7 years agoMerge pull request #9250 from electron/inherit-javascript-option
Kevin Sawicki [Tue, 25 Apr 2017 20:33:53 +0000 (13:33 -0700)]
Merge pull request #9250 from electron/inherit-javascript-option

Inherit javascript preference in opened windows

7 years agoDocument other inherited web preferences
Kevin Sawicki [Fri, 21 Apr 2017 18:00:31 +0000 (11:00 -0700)]
Document other inherited web preferences

7 years agoDisable JavaScript on child when disabled on parent
Kevin Sawicki [Fri, 21 Apr 2017 17:59:33 +0000 (10:59 -0700)]
Disable JavaScript on child when disabled on parent

7 years agoAdd failing spec for inheriting Javascript web preference
Kevin Sawicki [Fri, 21 Apr 2017 17:58:47 +0000 (10:58 -0700)]
Add failing spec for inheriting Javascript web preference

7 years agoEnable setting javascript and contextIsolation via window.open
Kevin Sawicki [Fri, 21 Apr 2017 17:57:22 +0000 (10:57 -0700)]
Enable setting javascript and contextIsolation via window.open