platform/framework/web/chromium-efl.git
6 years agoWrong output on double tap
Grzegorz Spryszynski [Thu, 4 Dec 2014 14:01:05 +0000 (15:01 +0100)]
Wrong output on double tap

[Problem] After double tap there is no zoom in/out.
[Solution] Enable double tap feature and proper handle
TAP_DOWN event.

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

Change-Id: I090ba2058f91e110db16fcc0c6155bbdc7288cc4
Signed-off-by: Grzegorz Spryszynski <g.spryszynsk@samsung.com>
6 years agoFixup! Implementation "unfocus,direction" callback
Piotr Sieduszewski [Tue, 2 Dec 2014 12:58:50 +0000 (13:58 +0100)]
Fixup! Implementation "unfocus,direction" callback

unknown escape sequence: '\>'

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

Change-Id: I28e0f3e1bc468377b66e5aaacf0bed6405b02f39
Signed-off-by: Piotr Sieduszewski <p.sieduszews@samsung.com>
6 years agoScript to run ITC and UTC
Piotr Sieduszewski [Thu, 27 Nov 2014 09:39:24 +0000 (10:39 +0100)]
Script to run ITC and UTC

It expand script to build and run ITC and UTC test.

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

Change-Id: I0a3c79fb5a6338692966bec9fb6a7f8a4908fd5e
Signed-off-by: Piotr Sieduszewski <p.sieduszews@samsung.com>
6 years agoScript to run all internal EWK unit tests
Piotr Sieduszewski [Thu, 27 Nov 2014 11:26:36 +0000 (12:26 +0100)]
Script to run all internal EWK unit tests

This script:
- build EFL and EWK test
- prepare mobile device
- install EFL and EWK test
- run all test by one (restart device at 50 tests)

Results is put to test_log/log.htm (It redirect to file with name of last commit title (first line))
This html file have a tests results, and links to html files with history of results for selected the test.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9483
Change-Id: Iace9a61cc9e79d4e31e97d490c3c3403ade1b528
Signed-off-by: Piotr Sieduszewski <p.sieduszews@samsung.com>
6 years agoImplementation of ewk_home_directory_set API.
Wojciech Bielawski [Wed, 3 Dec 2014 13:11:56 +0000 (14:11 +0100)]
Implementation of ewk_home_directory_set API.

In this patch there are two APIs implemented - set(public) & get(private).
This is because 'get' API is necessary in tests for 'set' API.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4994
This is a cherry-pick from: http://165.213.202.130:8080/#/c/69072/

This is a cherry-pick from: http://165.213.202.130:8080/#/c/69454/2

Change-Id: I14fdb472855e5ed733507afb55eb4a9c645e16a8
Signed-off-by: Wojciech Bielawski <w.bielawski@samsung.com>
6 years ago[Hotfix] Enabling feature of finding text and zooming for VD Demo
Youngsoo Choi [Wed, 3 Dec 2014 14:22:51 +0000 (23:22 +0900)]
[Hotfix] Enabling feature of finding text and zooming for VD Demo

This patch is for VD Demo.
The feature of finding text and zooming is enabled.

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

Change-Id: I2e5c5eac8a6e57cfee62b77f1bf7e36e77c19291
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agoBringup SelectPicker (multiple and single)
Dongjun Kim [Thu, 30 Oct 2014 12:57:01 +0000 (21:57 +0900)]
Bringup SelectPicker (multiple and single)

Currently SelectPicker is only enabled in Android and Mac. This patch
will bring it up in Tizen with some issue fixes.

Original patches:
1) Patch for selectpicker(single type)
http://suprem.sec.samsung.net/gerrit/#/c/3801
2) Implement SelectPicker (multi type)
http://suprem.sec.samsung.net/gerrit/#/c/4007
3) fixup! Implement SelectPicker (multi type) by Piotr Tworek
http://165.213.202.130:8080/#/c/68998
4) Added check for null pointer (popupPicker) by Daniel Waslicki
http://165.213.202.130:8080/#/c/69229
5) Select picker refactoring by Mateusz Kacprzak
http://165.213.202.130:8080/#/c/69196
6) fixup! Patch for selectpicker(single type) by Mateusz Kacprzak
http://165.213.202.130:8080/#/c/69576
7) Hightlight item selected with radio button. by Daniel Waslicki
http://165.213.202.130:8080/#/c/70605
8) Wrong item selected in multiple select picker. by Karol Furmaniak
http://165.213.202.130:8080/#/c/70803
9) fixup! Hightlight item selected with radio button. by Daniel Waslicki
http://165.213.202.130:8080/#/c/70868
10) Remove clearing pointer to WebExternalPopupMenu by Daniel Waslicki
http://165.213.202.130:8080/#/c/70751
11) Hotfix to item list in popup picker. by Kamil Lysik
http://165.213.202.130:8080/#/c/71275
12) Add conversion of dropdown list label to efl markup. by Karol Furmaniak
http://165.213.202.130:8080/#/c/71924

Together with: I95836747247529064cc59267a58f656f45c7e7d4
Together with: I9e8451a037e9669feabd543f222ca9173546c50c
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4833

Change-Id: I4abfc20de4637e48e91f4406ecde803da26dff4e
Signed-off-by: Dongjun Kim <djmix.kim@samsung.com>
Signed-off-by: hh4813.kim <hh4813.kim@samsung.com>
6 years agoAdded kWaitForFrameComplete switch to enable glFinish call for rendering current...
Shanmuga Pandi M [Wed, 3 Dec 2014 09:57:21 +0000 (18:57 +0900)]
Added kWaitForFrameComplete switch to enable glFinish call for rendering current frame.

This switch is required for enabling glFinish call for rendering
current frame, related commit:

http://165.213.202.130:8080/#/c/72671/

Original Author: m.nataraj
Original Patch: http://165.213.202.130:8080/#/c/72740/1

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

Change-Id: I3ab7f74432809af63ce5d11ab611365fde5ca728
Signed-off-by: m.nataraj <m.nataraj@samsung.com>
Signed-off-by: Shanmuga Pandi M <shanmuga.m@samsung.com>
6 years agoAdded codes for working Media Element with CAPI-MEDIA-PLAYER
Youngcheol Kang [Wed, 3 Dec 2014 01:55:04 +0000 (10:55 +0900)]
Added codes for working Media Element with CAPI-MEDIA-PLAYER

- Enabled the CAPI-MEDIA-PLAYER instead of the Gstreamer
- Enabled the Native Pixmap instead of the Appsink
- Added codes for working Media Element on Tizen TV
- Updated the Prehawk binary version 1018.5 which recommended by VD.

Current patch depends on the below,
- [Original ME/MSE Patchset]
  : http://165.213.202.130:8080/#/c/72298/9 (#9)
- [NATIVE PIXMAP Patchset]
  : http://165.213.202.130:8080/#/c/72689/5 (#5)

Change-Id: If31c3c72205cfc1b8adcbb19e10b22b2d91e9f00
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
6 years agoPorting of async snapshot functionality for Tizen platform
Sergey Stepantsov [Wed, 12 Nov 2014 06:06:42 +0000 (15:06 +0900)]
Porting of async snapshot functionality for Tizen platform

This method works for direct rendering mode.
Browser process requests snapshot image from the render process through
IPC message ViewMsg_GetSnapshotFromRender
and render process takes pixel data from required region and returns
it through IPC ViewHostMsg_SnapshotDataReceived.

Together with: Ie5939e2923be0ad8baec93afc8410ca6bdd1d4d1
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7698

Signed-off-by: Sergey Stepantsov <s.stepantsov@samsung.com>
Change-Id: Ic96f41818001017a195f730ea7051e570ca3e636

6 years agoUpmerge of ME & MSE with in impl/
shads.bc [Wed, 19 Nov 2014 12:00:13 +0000 (17:30 +0530)]
Upmerge of ME & MSE with in impl/

Basic MediaElement(ME) and MediaSourceExtension(MSE) works with this patch.
This patch involves impl side changes.
Able to see video for ME and MSE on Mobile using Pixamp backend.

Original base patches(M34)-Merged
 ME-Initial patch: http://suprem.sec.samsung.net/gerrit/#/c/478/
 MSE-Initial patch: http://suprem.sec.samsung.net/gerrit/#/c/6471/
 ME-Pixmap initial patch: http://suprem.sec.samsung.net/gerrit/#/c/6078/

Together with: If5a6d59312062d2c245e75698467c745f34a0fb3
Together with: I32fd39b3c9fb8a62bda5d8cf565b10a656a380de
Together with: I5a1640a96738c7f0c8249d19f73e7087b03fbcd3

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

Change-Id: I11879b88dbc2c3057559d7357b0c3d4640183523
Signed-off-by: shads.bc <shads.bc@samsung.com>
6 years agoSupport for rendering video frame of type NATIVE PIXMAP(PATCH 2) 1)Implementation...
uzair.jaleel [Thu, 27 Nov 2014 14:44:38 +0000 (20:14 +0530)]
Support for rendering video frame of type NATIVE PIXMAP(PATCH 2) 1)Implementation for creating,binding and destroying egl image for each tile. 2)Utility functions for creating efl pixmap,DRI2 drawables and native buffer manager support.

http://107.108.218.239/bugzilla/show_bug.cgi?id=4908

Original author: Prashant Kisanrao Nevase

Change-Id: I5a1640a96738c7f0c8249d19f73e7087b03fbcd3
Signed-off-by: uzair.jaleel <uzair.jaleel@samsung.com>
6 years ago[Tizen][M34-Merge] Bringup Inputpicker (Color, Date picker)
Dongjun Kim [Fri, 21 Nov 2014 05:52:16 +0000 (14:52 +0900)]
[Tizen][M34-Merge] Bringup Inputpicker (Color, Date picker)

Patches for bringup "input-picker" already merged to M40 from M34_beta.
But it does not sufficiently complete. Color picker is still crashed
and date picker is not shown up. And we resolved crash issue using
patch for "crash in color picker", but date picker still have a problem.
This patch for bug fix in color and date picker.
Detail list of bugs and description of solution are below.

1. Crash in color picker.
[Problem] Crash was occured when click the color picker.
"elm_layout_add()" and "elm_datetime_add()" functions are need to
evas object when click the input picker. We sent evas object using
elm_object_parent_widget_get() in latest code and it returned to NULL.
So, elm_ctxpopup_add() was crashed by NULL object.
[Solution] We change to "m_ewkView" instead of
"elm_object_parent_widget_get(m_ewkView)".

2. Showing up black-screen in "date, week, month, time".
[Problem] Control of data picker is consist of next 6 element.
"date, week, month, time, datetime, datime-local"
In previous, it used different logic while creating the popup.
"datetime, datetime-local" does work and it used elm_layout_add()
when creating. "date, week, month, time" doesn't work and
it doen't used elm_layout_add().
[Solution] Change to use same logic in date picker.

3. Always set to "1900-01-01" in date picker.
[Problem] Parsing logic for input parameter is completely wrong
in date picker. It always set to "1900-01-01" regardless of paramter.
[Solution] Implement parsing logic for input parameter.

4. Clean-up the code.
- 80 characters per line.
- Change function name.
- Remove unused code.

Original patches:
1) fixup! fix for color picker crash by Robert Jadczak
http://165.213.202.130:8080/#/c/68840/
2) Fixed displaying HTML5 control popups by Piotr Szawdyński
http://165.213.202.130:8080/#/c/69160/
3) Correcting InputPicker implementation by Lukasz Krok
http://165.213.202.130:8080/#/c/70036

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8765
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I47c0bad9e770f1b1eead43fc245c9a2eeb80335c
Signed-off-by: Dongjun Kim <djmix.kim@samsung.com>
6 years agoEwk_Frame_Ref refactoring. ewk_frame_is_main_frame implementation.
Kamil Lysik [Thu, 4 Dec 2014 11:18:58 +0000 (12:18 +0100)]
Ewk_Frame_Ref refactoring. ewk_frame_is_main_frame implementation.

Refactored Ewk_Frame_Ref to not use void* in forward declaration.
Now Ewk_Frame_Ref is pointer to _Ewk_Frame, which inherits from
tizen_webview::Frame.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9523
Reviewed by: Antonio Gomes, SeungSeop Park
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
Change-Id: I199a830bd4aa2c72c8fd2d3aacc7d40e2b86ce1a

6 years agoewk_view_contents_pdf_get API was not working
Lukasz Krok [Wed, 10 Dec 2014 11:50:12 +0000 (12:50 +0100)]
ewk_view_contents_pdf_get API was not working

The ewk_view_contents_pdf_get API and coresponding unit test failed.
After enabling two flags and removing macros surrounding pieces of code,
the functionality starts to work.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9539
Reviewed by: Piotr Tworek, SeungSeop Park

Change-Id: Id1ed3f0d7dc1009aade86e9266c54601d81fe2a7
Signed-off-by: Lukasz Krok <l.krok@samsung.com>
6 years agoAdd test ewk_view_geolocation_permission_callback_set to gypi file
Piotr Sieduszewski [Tue, 9 Dec 2014 13:47:26 +0000 (14:47 +0100)]
Add test ewk_view_geolocation_permission_callback_set to gypi file

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9571
Reviewed by: Piotr Tworek, SeungSeop Park

Change-Id: I76436980a4f8201613e9bc7e5014aafe675df3d3
Signed-off-by: Piotr Sieduszewski <p.sieduszews@samsung.com>
6 years ago[M34-Merge] ewk_view_url_request_set should load URL along with the given header...
Michał Pakuła vel Rutka [Wed, 9 Jul 2014 15:33:08 +0000 (17:33 +0200)]
[M34-Merge] ewk_view_url_request_set should load URL along with the given header and body of the HTTP request

Implemented API for POST and GET methods. HEAD, PUT and DELETE cannot
be easily implemented in chromium and, from what we know, are not used
by any application using this API. This function implementation passes
the Tizen Compatibility Tests.
Null pointers were passed to std::string constructor and raised an exception

This is a combination of two commits:
http://165.213.202.130:8080/#/c/71637/ by Piotr An Nguyen and
http://165.213.202.130:8080/#/c/71717/ by Kamil Klimek

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8268
Reviewed by: Antonio Gomes, Kamil Klimek

Change-Id: Ib6a28c86699a13653af30ef613f7af79089614ff
Signed-off-by: Michał Pakuła vel Rutka <m.pakula@samsung.com>
6 years agoChanged policy decision mechanism to use content resource throttle API
Tomasz Czekala [Wed, 10 Dec 2014 16:12:50 +0000 (17:12 +0100)]
Changed policy decision mechanism to use content resource throttle API

Handling decision in NetworkDelegateEfl::OnHeadersReceived caused
a lot of troubles due to insufficient amount of information needed
to distinguish between page resources and downloadable files.
This patch replaces the original mechanism used with resource throttles.
It allows us to make better decisions regarding how to handle the
content we're dealing with.
Removed unnecessary code duplicating existing engine functionalities.

This patch contains following patches:
http://suprem.sec.samsung.net/gerrit/#/c/6663/ by Kamil Klimek
http://165.213.202.130:8080/#/c/68742/ by Michal Stefanczyk
http://165.213.202.130:8080/#/c/69608/ by Marcin Łapiński
http://165.213.202.130:8080/#/c/70054/ by Kamil Klimek
http://165.213.202.130:8080/#/c/71925/ by Maciej Skrzypkowski

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9488
Reviewed by: Kamil Klimek, Piotr Tworek, SeungSeop Park

Change-Id: I76a2799586c4902327add2e6827a05ae2b4ddd3c
Signed-off-by: Tomasz Czekala <t.czekala@partner.samsung.com>
6 years ago[M41] Exclude RenderThemeChromiumLinux.cpp from the build
SeungSeop Park [Thu, 11 Dec 2014 13:53:27 +0000 (22:53 +0900)]
[M41] Exclude RenderThemeChromiumLinux.cpp from the build

This is necessary for M41, where RenderThemeChromiumLinux.cpp is newly added.
Patch fixes a linking error for desktop build by excluding it.

Note that this patch can be landed into M40, because it's fine to exclude an
non-existing file in gyp.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9758
Reviewed by: Antonio Gomes, Piotr Tworek

Change-Id: Iabc4cc31cb8c052d7121246fa55a499e39a654a6
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years agofixup! Refactor disambiguation popup
Michal Poteralski [Mon, 8 Dec 2014 14:28:25 +0000 (15:28 +0100)]
fixup! Refactor disambiguation popup

Disambiguation popup uses elm_ctxpopup_add which requires
DisambiguationPopup.edj. Unfortunately DisambiguationPopup.edc is NOT added to
chromium-efl.gyp file, hence the .edj file is not created. The patch adds
DisambiguationPopup.edc to chromium-efl.gyp file, thus the .edj file will be
created.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8939
Reviewed by: Antonio Gomes, Piotr Tworek

Change-Id: I7d98fb72ef544e9741ba7e44cc8c7cb554a4cb4e
Signed-off-by: Michal Poteralski <m.poteralski@samsung.com>
6 years ago[M34-Merge] Fix crash in popup javascript windows
Dongjun Kim [Sun, 23 Nov 2014 14:23:20 +0000 (23:23 +0900)]
[M34-Merge] Fix crash in popup javascript windows

Crash was brought about by replacing default text display by scrolling
interface, when displayed text is too long. It seems, that there is some
fault in interface object destruction inside efl.  Fix includes placing
displayed text into label in all cases (no matter how long it is). In case of
long text,  this label is reused as content of scroll layout. Thus object to
display text is not recreated and replaced, like it was before. Also some
additional improvements in memory handling were added. Color of displayed
text is changed into black (instead of white on white background as it was
before).

Original patches:
1) Fix crash in popup javascript windows by Sergiy Prutskov
http://165.213.202.130:8080/#/c/69650/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6019
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I653bd0b3753e904e97c9a701ed854bb5e9466bf1
Signed-off-by: Dongjun Kim <djmix.kim@samsung.com>
6 years agoDisable touchEvent and Pinch in DTV
KANGYONG PARK [Thu, 11 Dec 2014 05:21:40 +0000 (14:21 +0900)]
Disable touchEvent and Pinch in DTV

These are unnecessary features in DTV, and not supported
in WebKit based DTV browser either.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9754
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I793e7320a446fdf1d16d75ef9bb7f31f4440fe7f
Signed-off-by: KANGYONG PARK <kaka.park@samsung.com>
6 years agofixup! Implementn FaviconDatabase.
Tomasz Czekala [Thu, 11 Dec 2014 11:35:54 +0000 (12:35 +0100)]
fixup! Implementn FaviconDatabase.

Database file cannot be created if directory, where it should be created,
does not exist. This patch ensures that path setting function handles
such situation and creates the directory when needed.
This is port of the following patch:
http://165.213.202.130:8080/#/c/69718/ by Filip Piechocki

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9521
Reviewed by: Piotr Tworek, SeungSeop Park

Change-Id: I03d1a5fa26e275eae20e0a300d536813a3d67b57
Signed-off-by: Tomasz Czekala <t.czekala@partner.samsung.com>
6 years agoChange file names to be consistent with the name of tested functions
Piotr Sieduszewski [Tue, 2 Dec 2014 16:29:04 +0000 (17:29 +0100)]
Change file names to be consistent with the name of tested functions

ewk_view_application_name_for_user_agent_get
ewk_view_application_name_for_user_agent_set

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9483
Reviewed by: Antonio Gomes, Piotr Tworek, SeungSeop Park

Change-Id: Ib20b22193e16f527ec6a174450244f7a59375a2b
Signed-off-by: Piotr Sieduszewski <p.sieduszews@samsung.com>
6 years agoRename class name to be consistent with the name of tested functions
Piotr Sieduszewski [Wed, 10 Dec 2014 17:57:08 +0000 (18:57 +0100)]
Rename class name to be consistent with the name of tested functions

ewk_back_forward_list_item_at_index_get
ewk_back_forward_list_n_back_items_copy
ewk_back_forward_list_n_forward_items_copy
ewk_certificate_policy_decision_certificate_pem_get
ewk_certificate_policy_decision_url_get
ewk_context_cache_disabled_set
ewk_settings_loads_images_automatically_set
ewk_user_media_permission_request_suspend
ewk_view_notification_closed

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9483
Reviewed by: Antonio Gomes, Piotr Tworek, SeungSeop Park

Change-Id: Iebb2ad9a40d332d5b81f49601f23262278662c86
Signed-off-by: Piotr Sieduszewski <p.sieduszews@samsung.com>
6 years ago[M34-Merge] Allow to get the UA string from environment variable.
Lukasz Krok [Thu, 23 Oct 2014 13:49:17 +0000 (15:49 +0200)]
[M34-Merge] Allow to get the UA string from environment variable.

Some TCT tests depend on specific UA string.
In order to avoid ifdefs and preparing binaries
specific for TCT tests, this patch makes it possible
to get the UA from environment variable.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8270
Reviewed by: Kamil Klimek, SeungSeop Park

Change-Id: Ife8fffabe42c091ef31c4c9ff055926ab63dea2a
Signed-off-by: Michał Pakuła vel Rutka <m.pakula@samsung.com>
6 years agoRename file and class to be consistent with name of tested function
Piotr Sieduszewski [Fri, 5 Dec 2014 12:03:31 +0000 (13:03 +0100)]
Rename file and class to be consistent with name of tested function

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9566
Reviewed by: Kamil Klimek, Piotr Tworek, SeungSeop Park

Change-Id: I083f5e85664e34caf76a8ca6eb0666a978364885
Signed-off-by: Piotr Sieduszewski <p.sieduszews@samsung.com>
6 years agoUnwanted context menu appears during text input
Antonio Gomes [Wed, 10 Dec 2014 19:38:55 +0000 (15:38 -0400)]
Unwanted context menu appears during text input

Whenever a text is inserted into a text field, context
menu was shown (untranslated), causing an unpleasant
user experience.

Problem was that upon any selection bounds change (which
includes caret selection), context menu was being shown.

Patch fixes this issue by not calling ::ShowContextMenu upon
selection bounds change (represented here by caret selection
changes on text insertion). Instead, context menu is shown as
a response to mouse_up events.

Original patch: http://suprem.sec.samsung.net/gerrit/#/c/6082/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9489
Reviewed by: Kamil Klimek, Viatcheslav Ostapenko

Change-Id: I369a9f1ddcf2481a4c2e63409280bba87d2baf87
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoRemove duplicated DEFINEs (-Dbleh) from gyp_chromiumefl.sh
Antonio Gomes [Wed, 10 Dec 2014 21:05:59 +0000 (17:05 -0400)]
Remove duplicated DEFINEs (-Dbleh) from gyp_chromiumefl.sh

All the defines patch is removing are defined with equivalent
value in gyp_chromiumefl.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9215
Reviewed by: Balazs Kelemen, Min-Soo Koo

Change-Id: I2f72b39132dee01671849e84af85e50fd253d035
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoRemove duplicated inclusion of chromium-efl.gypi.
Antonio Gomes [Wed, 10 Dec 2014 03:04:22 +0000 (19:04 -0800)]
Remove duplicated inclusion of chromium-efl.gypi.

chromium-efl.gypi is included from both build/gyp_chromiumefl.sh
and build/gyp_chromiumefl. Although it is harmless, we should
stick with one or another.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9215
Reviewed by: Piotr Tworek, SeungSeop Park

Change-Id: I7ca760c8fd00b6a691497531777d8016eeee09e3
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoImplement test for ewk_view_html_string_load
Piotr Sieduszewski [Tue, 9 Dec 2014 11:25:36 +0000 (12:25 +0100)]
Implement test for ewk_view_html_string_load

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9569
Reviewed by: Kamil Klimek, SeungSeop Park

Change-Id: I6a302bcd9f7526837034c5635eff48766fe479bc
Signed-off-by: Piotr Sieduszewski <p.sieduszews@samsung.com>
6 years agoOverride requestPermission to make connection to EWK API for geolocation
dayoung.shin [Fri, 28 Nov 2014 16:40:19 +0000 (11:40 -0500)]
Override requestPermission to make connection to EWK API for geolocation

On M40, there are several changes regarding get permission from users
for HTML5's Geolocation feature. These set of changes cut the flow to
enter EWK API for Geolocation, so the feature failed to be used.
This patch fix the bug by doing following things.

  - Override requestPermission function to call
    GeolocationPermissionContextEfl's RequestPermission.
    It's callback connect to EWK API, so that the EWK API can ask user
    to use or not Geolocation feature.

  - Add privilege regarding location. This makes Geolocation feature can
    work on Tizen device.

* NOTE *
* Geolocation would work after applying following patch.
* http://165.213.202.130:8080/#/c/72765
*
* This patch is based on following patches.
* http://165.213.202.130:8080/#/c/72692/
* http://165.213.202.130:8080/#/c/71158/

Bug : http://107.108.218.239/bugzilla/show_bug.cgi?id=8610
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I013ae646577885ffc798c7eec5ad48c54ff9121f
Signed-off-by: dayoung.shin <dayoung.shin@samsung.com>
6 years agoAdd p.tworek in the S_TRUNK_OWNERS
Dongwoo Joshua Im [Wed, 10 Dec 2014 03:09:21 +0000 (12:09 +0900)]
Add p.tworek in the S_TRUNK_OWNERS

Add the new owner of the top directory of chromium-efl
 - Piotr Tworek <p.tworek@samsung.com>

Change-Id: Ic7f60cb5f617b6ccc4f46767e177617730509924
Signed-off-by: Dongwoo Joshua Im <dw.im@samsung.com>
6 years agoDe-duplicate DEFINEs in chromium-efl.gyp
Antonio Gomes [Tue, 9 Dec 2014 23:18:32 +0000 (15:18 -0800)]
De-duplicate DEFINEs in chromium-efl.gyp

Define them in target_defaults, and make them
available to all targets in that file.

Bug: 107.108.218.239/bugzilla/show_bug.cgi?id=9215
Reviewed by: Balazs Kelemen, SeungSeop Park

Change-Id: Icb5a5220a6df4e12c8b07704bec1d5f4f549b34b
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[Tizen] Implement tap sound effect
Marcin Krakowiak [Mon, 24 Nov 2014 15:17:10 +0000 (16:17 +0100)]
[Tizen] Implement tap sound effect

When tapping on clickable content, tap sound should be played to notify tap
operation.

This patch handles ET_GESTURE_TAP in RenderWidgetHostViewEfl::HandleGesture,
to check what context is in the tap place. When it is
TW_HIT_TEST_RESULT_CONTEXT_LINK, then sound_effect_tizen::playLinkEffect is
called. Feedback library provides functionality of playing sound.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8946
Reviewed by: Antonio Gomes, Laszlo Gombos, SeungSeop Park, Viatcheslav Ostapenko

Change-Id: I318a10f3e085be9ed1fd4d31123d7720e343cd73
Signed-off-by: Marcin Krakowiak <m.krakowiak@samsung.com>
6 years agoRemove disable-web-security flag from EFL port defaults.
Piotr Tworek [Mon, 8 Dec 2014 11:52:41 +0000 (12:52 +0100)]
Remove disable-web-security flag from EFL port defaults.

The presence of the flag breaks CORS tests.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9485
Reviewed by: Kamil Klimek, Min-Soo Koo, SeungSeop Park

Change-Id: I39419d8bb23939687e54d1af7ca598f74c508b0f
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoSet fetch url and remote tracking when switching to new branch in sync_repos.sh
SeungSeop Park [Mon, 8 Dec 2014 04:45:01 +0000 (13:45 +0900)]
Set fetch url and remote tracking when switching to new branch in sync_repos.sh

Previously, following problems were observed in switching to newer branch:
- fetch url was not properly set up for new branch,
- remote tracking branch was not properly set up for the new branch.

As a result, a new branch in each s-* repo might not get updated on
subsequent calls of sync_repos.sh. Even worse, when "git pull" is executed
thereafter, git would try to merge old branch (which is where FETCH_HEAD
points to) into new branch, yielding a lot of merge conflicts.

Patch fixes such issues by adding fetch url for remote branch and
setting a new local branch to track the corresponding remote branch.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9666
Reviewed by: Antonio Gomes, Tomasz Olszak, Viatcheslav Ostapenko

Change-Id: If17020eeaac84854697193ffb1046b7a4ecca27d
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years agoFix build_desktop.sh script to building ewk unittests. Reviewed by: Antonio Gomes...
Kamil Lysik [Fri, 5 Dec 2014 08:53:06 +0000 (09:53 +0100)]
Fix build_desktop.sh script to building ewk unittests. Reviewed by: Antonio Gomes, Kamil Klimek, SeungSeop Park

Change-Id: Ie4f3bc6a2760767b5028da9cae1aee481c2c3063
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
6 years agoEnable "enable-view-port-meta" only on mobile
dayoung.shin [Tue, 2 Dec 2014 10:34:32 +0000 (19:34 +0900)]
Enable "enable-view-port-meta" only on mobile

Some Web pages[1] are reported to have the following problems on displaying:
- Failed to use whole screen of TV
- Left aligned, rather than center aligned.
[1] naver.com, ebay.com, tumblr.com

This happens due to a bug on the implementation of viewport-meta tag
on Chromium. So the problems described above are also reproducible on
open source Chromium desktop version if #enable-viewport-meta at
chrome://flags is enabled.

Also, bug affects TV and desktop's only because Tizen mobile forces the
use of it's own viewport-meta width size regardless of the declared
viewport-meta width size by user.

Therefore, this patch fixes the bug by taking the following actions:

- Only allow AppendSwitch of kEnableViewportMeta for OS_TIZEN_MOBILE.

Bug : http://107.108.218.239/bugzilla/show_bug.cgi?id=9389
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I177a6cf97013217869fa50040e23d2a153991d40
Signed-off-by: dayoung.shin <dayoung.shin@samsung.com>
6 years agoRun gclient runhooks in sync_repos.sh
SeungSeop Park [Mon, 8 Dec 2014 04:13:35 +0000 (13:13 +0900)]
Run gclient runhooks in sync_repos.sh

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9197
Reviewed by: Antonio Gomes, Viatcheslav Ostapenko

Change-Id: I066e69164f6fc1f4b51e90083c5995c06f8176b3
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years ago[Tizen][M34-Merge] Fix screen size reporting.
Kamil Klimek [Tue, 25 Nov 2014 08:39:57 +0000 (09:39 +0100)]
[Tizen][M34-Merge] Fix screen size reporting.

The current EFL implementation of gfx::Screen interface is not entirely
correct. The main differences compared to Android and Aura ports are:
1. The screen size is reported in px, not in DIP.
2. Screen size is always reported in portrait mode.

As a direct result of the differences most mobile pages relying on CSS3
media queries will render incorrectly. They'll use style sheet version
designed for devices with larger screen devices that the device has.
One example of such page is http://slideshare.net.

This patch changes current gfx::Screen implementation to report proper
screen size values in DIP for both portrait and landscape orientations.

Original patch: http://165.213.202.130:8080/#/c/70582/
Original author: Piotr Tworek <p.tworek@samsung.com>
Original bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6308

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5594
Reviewed by: Antonio Gomes, Viatcheslav Ostapenko

Change-Id: I21a7baeaf0a9b05dab7d00d255cc611589e784bf
Signed-off-by: Kamil Klimek <k.klimek@partner.samsung.com>
6 years agoMark kangil.han as INACTIVE
Dongwoo Joshua Im [Mon, 8 Dec 2014 07:53:21 +0000 (16:53 +0900)]
Mark kangil.han as INACTIVE

Introduce 'INACTIVE' into the S_TRUNK_OWNERS,
and mark kangil.han as inactive.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9643
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I3e01e9e028c06eb60e48e6e22476d39de622835a
Signed-off-by: Dongwoo Joshua Im <dw.im@samsung.com>
6 years agofixup! Refactor disambiguation popup
KANGYONG PARK [Fri, 5 Dec 2014 08:01:01 +0000 (17:01 +0900)]
fixup! Refactor disambiguation popup

Disable disambiguation popup in DTV.
It is unnecessary feature in DTV, and disambiguation
popup is not supported in DTV browser base on Webkit.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9647
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I2814d80df2d96bc874bca105f1216d56a5bd0d30
Signed-off-by: KANGYONG PARK <kaka.park@samsung.com>
6 years ago[M34-Merge] NULL or empty user agent string was not handled properly.
Piotr Grad [Sat, 13 Sep 2014 06:02:24 +0000 (08:02 +0200)]
[M34-Merge] NULL or empty user agent string was not handled properly.

Used ContentClientEfl::GetUserAgent as it returns default user agent for tizen.
Removed EwebView::overridden_user_agent_ as ewk api should return current UA.
Removed invalid use of memory form UA getters.

The fix changes EWebView::SetUserAgent to only use
WebContents::SetUserAgentOverride API. This is what desktop chrome uses
for UA override purposes.

The patch changes the logic so that "Mobile" is always added to product
part of UA string when --use-mobile-user-agent is specified. No ifdefs
required. This way the feature can be controlled entirely from one
place, command_line_efl.cc. The flag is always specified by default for
OS_TIZEN targets, but not for desktop. On desktop the user can simply
pass it when needed, ex:
./out.x64/Debug/efl_webview_app --use-mobile-user-agent

This is a combination of 5 commits:

NULL or empty user agent string was not handled properly.
http://165.213.202.130:8080/#/c/69394/
NULL or empty user agent string was not handled properly.
http://165.213.202.130:8080/#/c/69395/
fixup! NULL or empty user agent string was not handled properly.
http://165.213.202.130:8080/#/c/69475/
by Piotr Grad, and

fixup! NULL or empty user agent string was not handled properly.
http://165.213.202.130:8080/#/c/70312/
Cleanup --use-mobile-user-agent flag handling logic.
http://165.213.202.130:8080/#/c/70313/
by Piotr Tworek.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8270
Reviewed by: Kamil Klimek, Laszlo Gombos

Change-Id: Iba6d229472afb5dd0e483f8888fea5c4659cab40
Signed-off-by: Michał Pakuła vel Rutka <m.pakula@samsung.com>
6 years agoSet allow_running_insecure_content to true for Tizen
Zhang-hoon Oh [Tue, 2 Dec 2014 10:39:39 +0000 (19:39 +0900)]
Set allow_running_insecure_content to true for Tizen

[Problem]
Any MSE video from http://youtube.com/tv/ is not played.

[Solution]
This patch sets WebKit Preference |allow_running_insecure_content|
to true (in Tizen's content browser client implementation)
because some content providers such as YouTube use plain http
requests to retrieve media data chunks while running in a https
page.

[Future Work]
This pref should be disabled once all the content providers
are no longer doing that.

[Reference]
Please note that, in the open source chromecast content embedder,
this WebKit Preference is set to true, also. Please refer to:
- https://codereview.chromium.org/223143003

[Test]
To test:
- Load http://youtube.com/tv/
- Play any video.
- Look for the JavaScript console log.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9343
Reviewed by: Antonio Gomes, Min-Soo Koo, SeungSeop Park

Change-Id: Iea6385a53f1e6999991b32f3e8b38a9b8e0bb608
Signed-off-by: Zhang-hoon Oh <dennis.oh@samsung.com>
6 years ago[Hotfix][M40] Alternative to deprecated 'ViewMsg_OrientationChangeEvent'
Youngsoo Choi [Mon, 1 Dec 2014 06:32:45 +0000 (15:32 +0900)]
[Hotfix][M40] Alternative to deprecated 'ViewMsg_OrientationChangeEvent'

[Issue]
Note that, In M40, IPC message 'ViewMsg_OrientationChangeEvent' has
been deprecated, to use IPC message 'ViewMsg_Resize' instead.
IPC message 'ViewMsg_Resize' delivers current orientation information
and triggers orientation changed event on renderer side.

[Resolve]
To keep that way, followings are applied.

1) Deprecated 'ViewMsg_OrientationChangeEvent'
Sending IPC message 'ViewMsg_OrientationChangeEvent' or arbitrarily
triggering IPC message 'ViewMsg_Resize' is against M40 architecture.

2) Shipping orientation information
When device rotation is changed, the orientation information needs
to be set before IPC message 'ViewMsg_Resize' is sent.
The changes of 'mini_browser.c' guarantee of current orientation
information to be always contained within IPC message 'ViewMsg_Resize'.

3) New method 'SetOrientation' and 'GetOrientation'
Those two methods are needed to send the orientation information from
rotation callback to resized callback fired by platform.

4) EWK API issue
As of now, the name of EWK API 'ewk_view_orientation_send' is not
changed although it does not send orientation event to renderer,
for supporting EWK API compatibility.
This issue will be discussed further and the API needs to be refactored.

FIXME: http://107.108.218.239/bugzilla/show_bug.cgi?id=9514
The EWK API 'ewk_view_orientation_send' may need to be deprecated,
or can be changed to something like 'ewk_view_orientation_set' later
because in M40 there is no way to directly send orientation changed
event to renderer side any more, without IPC message 'ViewMsg_Resize'.

This patch meets following WCS test cases:
>> WCS-TC-97 (JS properties on launching time)
>> WCS-TC-98 (JS properties on rotation)

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9254
Reviewed by: Antonio Gomes, Min-Soo Koo

Change-Id: If2b4e5af10998b4fecef48b2fe185fdaa66b16bf
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agoRevisit the owner list
Dongwoo Joshua Im [Mon, 1 Dec 2014 00:54:42 +0000 (09:54 +0900)]
Revisit the owner list

Revisit the owner list due to structural changes.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9468
Reviewed by: Antonio Gomes, Kangil Han, SeungSeop Park, mohan reddy

Change-Id: Ia4e2a917fce5447bf21f70a46c104d27f2882b8f
Signed-off-by: Dongwoo Joshua Im <dw.im@samsung.com>
6 years agoAdd Samsung Electronics BSD LICENSE
Taeho Kim [Fri, 5 Dec 2014 02:08:02 +0000 (11:08 +0900)]
Add Samsung Electronics BSD LICENSE

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9639
Reviewed by: Antonio Gomes, Laszlo Gombos, SeungSeop Park

Change-Id: Ia129ff04f9c15f0e1101f74cc02c0f3093910868
Signed-off-by: Taeho Kim <th81.kim@samsung.com>
6 years ago[Tizen][MM][Webrtc] Video Capture Port using CAPI
msu.koo [Wed, 12 Nov 2014 10:06:02 +0000 (15:36 +0530)]
[Tizen][MM][Webrtc] Video Capture Port using CAPI

This commit is to enable the video capture port on Tizen.

- Implemented VideoCaptureDeviceFactoryTizen.
- Implemented VideoCaptureDeviceTizen using Tizen CAPI.

Together with:I9c48580455d73821b11ae0b358b43544d24bdf1e

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7942
Reviewed by: Laszlo Gombos, Min-Soo Koo, Viatcheslav Ostapenko

Change-Id: I6883a136e2ab253c31f0a0051bf108bfe598da8e
Signed-off-by: msu.koo <msu.koo@samsung.com>
6 years agoRemove build/patches/webrtc.diff
Antonio Gomes [Wed, 26 Nov 2014 20:38:01 +0000 (16:38 -0400)]
Remove build/patches/webrtc.diff

This is not needed after src/third_party/webrtc got fixed:

https://webrtc-codereview.appspot.com/27859004
"
Fix double backslashes in incoming_video_stream.cc
Originally uploaded in https://codereview.appspot.com/149160043/.
"

Reviewed by: Balazs Kelemen, SeungSeop Park
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9215
Change-Id: I37ec2d3fba90d97262faf78b756b993e49ed67db

6 years agoAdd option --clean to sync_repos.sh
SeungSeop Park [Wed, 3 Dec 2014 01:24:12 +0000 (10:24 +0900)]
Add option --clean to sync_repos.sh

If this option is passed, sync_repos.sh will clean up all untracked files and
directories that are not listed in .gitigore file. However, if an untracked
diretory is managed by a different Git repository, it's not removed.
Note that the operation is applied for not only in s-* but chromium-efl repo.
The intended client for this option is, but not confined to, the buildbot.

WARNING: Be careful when using this option outside of buildbot context,
         since it can blow up your local changes.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9584
Reviewed by: Antonio Gomes, Tomasz Olszak, Viatcheslav Ostapenko, mohan reddy

Change-Id: Ic2172925edd691aa3bbfc35fd035c10a0f4f2cea
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years ago[Tizen] Implement tizen specific battery status manager.
KANGYONG PARK [Wed, 26 Nov 2014 14:16:10 +0000 (23:16 +0900)]
[Tizen] Implement tizen specific battery status manager.

This is required to have working HTML5 battery API on tizen.
This commit implements to call battery status in device.
And the status will be updated in chromium, when it is changed in device.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8614
Reviewed by: Antonio Gomes, Min-Soo Koo, SeungSeop Park

Change-Id: Ie3130646107395abe7151977b3f05c6e78402dd3
Signed-off-by: KANGYONG PARK <kaka.park@samsung.com>
6 years agoRefactoring ewk_view_application_name_for_user_agent_get / set
Piotr Sieduszewski [Wed, 26 Nov 2014 18:02:47 +0000 (19:02 +0100)]
Refactoring ewk_view_application_name_for_user_agent_get / set

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9327
Reviewed by: Antonio Gomes, Kamil Klimek

Change-Id: I55a8fe891c66d2cc0ee655dd07a71aefc5ecaff9
Signed-off-by: Piotr Sieduszewski <p.sieduszews@samsung.com>
6 years ago[Tizen] Implementation "zoom,finished"
KANGYONG PARK [Fri, 31 Oct 2014 02:40:04 +0000 (11:40 +0900)]
[Tizen] Implementation "zoom,finished"

Implementation "zoom,finished" callback.
It is related to pinchZoom.

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

The original author was p.sieduszews@samsung.com.
M34 patches are reorganized.
Reviewed by: Balazs Kelemen, SeungSeop Park

Change-Id: I446a481b7e4adc4eef312c28fd97072f6a33a27d
Signed-off-by: KANGYONG PARK <kaka.park@samsung.com>
6 years ago[M34-Merge] Implementation and TCs for ewk_settings_scripts_can_open_windows_* and...
Michal Poteralski [Thu, 6 Nov 2014 15:39:04 +0000 (16:39 +0100)]
[M34-Merge] Implementation and TCs for ewk_settings_scripts_can_open_windows_* and ewk_settings_scripts_window_open_*

Patch implements ewk_settings_scripts_can_open_windows_* and
and ewk_settings_scripts_window_open_* API based on webkit-efl implementation.

Implementation uses IPC so decision about opening window is made on
renderer side not browser side. I didn't add implementation in
ContentBrowserClientEfl::CanCreateWindow because this API is not called
on UI thread. It's called (by design) on IO thread and taking UI objects
(EWebView) outside UI thread is not safe. Also I didn't use
WebPreferences::javascript_can_open_windows_automatically because this
property is not used anywhere inside chromium code. Toggling this
variable has no effect.

Original commits:
http://165.213.202.130:8080/#/c/69592
http://165.213.202.130:8080/#/c/68833/
http://165.213.202.130:8080/#/c/69947/
(by Kamil Klimek <k.klimek@partner.samsung.com>)

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8248
Reviewed by: Kamil Klimek, SeungSeop Park

Change-Id: Ib0cbf7777c55562dfc30e8bb9ce6e847a3b40b96
Signed-off-by: Michal Poteralski <m.poteralski@samsung.com>
6 years agoImplement Chromium Theme for Tizen.
Viatcheslav Ostapenko [Wed, 26 Nov 2014 00:38:12 +0000 (19:38 -0500)]
Implement Chromium Theme for Tizen.

Original patch:
1) Patch for selectpicker(single type)
http://suprem.sec.samsung.net/gerrit/#/c/3801
2) Implement SelectPicker (multi type)
http://suprem.sec.samsung.net/gerrit/#/c/4007

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4833
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: Id659a3d17a41e6d6cccd030c8a7f6de2402bd382
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoDo not crash when using a non attached context
Arnaud Renevier [Wed, 26 Nov 2014 01:28:09 +0000 (17:28 -0800)]
Do not crash when using a non attached context

Since http://165.213.202.130:8080/#/c/69045/ , browser_context_ and
web_cache_manager_ are not set at EWebContext creation anymore. This
results in a crash if we call a method that uses those members just
after creation.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9337
Reviewed by: Antonio Gomes, Viatcheslav Ostapenko

Change-Id: I10e49dc3a05d2a8fa9efdfab8319f1dd220f4ffa
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years ago[Tizen][M34-Merge] export v8 headers in devel package
Yi Shen [Tue, 2 Dec 2014 18:37:38 +0000 (10:37 -0800)]
[Tizen][M34-Merge] export v8 headers in devel package

This is necessary because WRT code is dependent on v8 headers.
Also added corresponding include path and CFLAGS to chromium-efl.pc.

Original gerrit: http://165.213.202.130:8080/#/c/69503/
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6096
Reviewed by: Antonio Gomes, Balazs Kelemen

Change-Id: Id370c8882619933399d38b8ff15c88426f10282c
Signed-off-by: Yi Shen <yi.shen@samsung.com>
6 years agoAvoiding vertex attribute copy from CPU to GPU for each frame.
m.nataraj [Sat, 15 Nov 2014 12:35:17 +0000 (18:05 +0530)]
Avoiding vertex attribute copy from CPU to GPU for each frame.

This is the migration patch from m34 beta to m40 dev branch. The patch
required modification in the texture coordinates as the contents were
rendered flipped both horizontally and vertically. This patch avoid
copying geometry data from cpu to gpu by creating vertex buffer objects.

Original commit: http://suprem.sec.samsung.net/gerrit/#/c/7063/
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8766
Reviewed by: SeungSeop Park, Viatcheslav Ostapenko

Change-Id: I0e55e81797a649804e390243e6dce9d27d89c022
Signed-off-by: m.nataraj <m.nataraj@samsung.com>
6 years ago[M34-Merge] Implement 2 geolocation APIs
Antonio Gomes [Tue, 30 Sep 2014 07:52:49 +0000 (09:52 +0200)]
[M34-Merge] Implement 2 geolocation APIs

Patch implements missing Geolocation APIs needed by
the com.samsung.browser application:

* ewk/efl_integration/public/ewk_geolocation.cc/h:
* ewk/efl_integration/public/ewk_view.cc/h:

Add ewk_geolocation_permission_reply and ewk_view_geolocation_permission_callback_set APIs.

When user replies to a geolocation permission request,
the callback function set in ewk_view_geolocation_permission_callback_set
is called. The ewk_geolocation_permission_reply API is
for propagating the result about geolocation permission
from client apps (e.g. WRT and Browser) back to the
browser engine. In other words, application calls this
API after getting user action.

Also, patch marks ewk_geolocation_permission_request_set as
"deprecate" given that in the browser side, its use is replaced
by ewk_geolocation_permission_reply (being added by this patch).

As seen in the patch, part of the ewk_geolocation_permission_request_set
is moved down in the pipeline to _Ewk_Geolocation_Permission_Request
class (see below).

Note that the existing code in ewk/efl_integration/public/ewk_geolocation.cc
violates various coding style conventions. To keep
consistency within the same file, I choose to follow
what is already being used.

* impl/API/ewk_geolocation_private.cc:

Implement ::SetDecision (partially moved from ewk_geolocation_permission_request_set)
and ::Suspended methods.

* impl/API/ewk_geolocation_private.h:

Make it a proper class, with getters and setters,instead of a POD.

* impl/browser/geolocation/geolocation_permission_context_efl.cc

Fix geolocation permission callback. Old smart callback based geolocation.

Original work: 165.213.202.130:8080/#/c/70204/ (Kamil Klimek)
               165.213.202.130:8080/#/c/70053/ (Piotr Sieduszewski)

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8498
Reviewed by: Kamil Klimek, SeungSeop Park

Change-Id: I937e5e8713c7db095d9da901059100e3e25175b0
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoBring ewk_context_memory_sampler_* back.
Antonio Gomes [Tue, 2 Dec 2014 03:26:54 +0000 (19:26 -0800)]
Bring ewk_context_memory_sampler_* back.

These APIs were wrongly removed in [1]. In order to build
t-mobile-browser app out of the box for chromium-efl/beta,
chromium-efl/dev and webkit-efl, this patch brings it back.

They are only stub APIs.

Patch reverts [1] partially.

[1] http://165.213.202.130:8080/#/c/71214/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8497
Reviewed by: Kamil Klimek, SeungSeop Park

Change-Id: I7674f8d40187db95ecca25a2ea5cf4805c922235
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[MM][WEBRTC] Allow User Media request for Camera/Mic, automatically for EFLWebViewApp.
kapil.kumar [Mon, 1 Dec 2014 10:07:04 +0000 (15:37 +0530)]
[MM][WEBRTC] Allow User Media request for Camera/Mic, automatically for EFLWebViewApp.

As EFLWebViewApp doesnt have any UI dialogs to ask user,
for allowing/denying media permission requested by webpage.
So its allowed by default in webview application.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9477
Reviewed by: Antonio Gomes, Min-Soo Koo

Change-Id: I06d7ceb42fad8186da901e73cf45f61d21c9b134
Signed-off-by: kapil.kumar <kapil.kumar@samsung.com>
6 years ago[M34-Merge] Rename ewk_context_form_password_data_clear to ewk_context_form_password_...
Antonio Gomes [Mon, 6 Oct 2014 04:52:50 +0000 (13:52 +0900)]
[M34-Merge] Rename ewk_context_form_password_data_clear to ewk_context_form_password_data_delete_all

API was changed in webkit-efl, and this is a chromium-efl catch up.

This is also reflected in the browser side, as per commit
deab57b0 (by junghwan.kang).

Original work: http://165.213.202.130:8080/#/c/70359/ (join.yoon)

Bug : http://107.108.218.239/bugzilla/show_bug.cgi?id=9464
Reviewed by: Antonio Gomes, Kamil Klimek, SeungSeop Park

Change-Id: I88184023f4f87e64d8b1f30aad171eaa232b6eca
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[M34-Merge] Rename ewk_context_form_candidate_data_clear() to ewk_context_form_candid...
Antonio Gomes [Fri, 26 Sep 2014 11:56:27 +0000 (13:56 +0200)]
[M34-Merge] Rename ewk_context_form_candidate_data_clear() to ewk_context_form_candidate_data_delete_all()

API was changed in webkit-efl, and this is a chromium-efl catch up.

This is also reflected in the browser side, as per commit
deab57b0 (by junghwan.kang).

Original work: http://165.213.202.130:8080/#/c/70014/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8496
Reviewed by: Kamil Klimek, SeungSeop Park

Change-Id: Id70ef37703d888da2290a136e481cc9dd87a3a25
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[M34-Merge] Support for incognito mode implementation
Tomasz Czekala [Fri, 28 Nov 2014 10:00:57 +0000 (11:00 +0100)]
[M34-Merge] Support for incognito mode implementation

In chromium incognito mode works in different manner than in WebKit. In
WebKit we could toggle incognito mode for view, in chromium we must
create view in incognito mode and this option can't be toggled.

This is a merge of the following patch:
http://165.213.202.130:8080/#/c/70246/
Ieb8b70dcd73f7d589de91c4805476a20d8fc5cf5
by Kamil Klimek

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8249
Reviewed by: Kamil Klimek, SeungSeop Park

Change-Id: Ice68463efb572327074c49f78094fb258a37177d
Signed-off-by: Tomasz Czekala <t.czekala@partner.samsung.com>
6 years ago[M34-Merge] Implementation of "geolocation,valid" smart callback
chaoren.li [Tue, 21 Oct 2014 03:08:06 +0000 (11:08 +0800)]
[M34-Merge] Implementation of "geolocation,valid" smart callback

Patch implements "geolocation,valid" smart callback.
This allows the browser to grant a given webview
permission to start off the geolocation path before
GeolocationPermissionRequest object is created.

This is code migration from m34 beta to DEV.
Original patch : http://suprem.sec.samsung.net/gerrit/#/c/6962/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7871
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I26ffb8ebf54b3ea4eb7cdfb6f7c38912ee5e8d2f
Signed-off-by: chaoren.li <chaoren.li@samsung.com>
6 years agoCall Blur on focus out.
Robert Jadczak [Thu, 27 Nov 2014 11:40:41 +0000 (12:40 +0100)]
Call Blur on focus out.

Added Blur method call when handling focus out
event to inform renderer that focus is lost.

It fixes js_focus.html test.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8942
Reviewed by: Antonio Gomes, Kamil Klimek

Change-Id: I1a4de43adf99fb13b0cd521cc3ed19f95927fbce
Signed-off-by: Robert Jadczak <r.jadczak@samsung.com>
6 years agoAllow local git clone in sync_repos.sh
SeungSeop Park [Mon, 24 Nov 2014 12:47:20 +0000 (21:47 +0900)]
Allow local git clone in sync_repos.sh

When cloning a repo from local machine, git is smart enough to
use hardlinking to save disk space. However, even if we clone
chromium-efl repo locally, we could not exploit this great feature
since sync_repos.sh will clone or update required repos from the
remote repositories hard coded in the script. As a result, we will
consume bigger disk space and more time unnecessarily.

This patch is to overcome the above mentioned limitation.
If chromium-efl is cloned from local directory, all the sub-repos
will be sync'd from the local directory. And for developer's
convenience the libraries compiled from jhbuild are cloned as well.

How to test:
$ git clone /path/to/chromium-efl chromium-efl-test
$ cd chromium-efl-test
$ ./sync_repo.sh
Reviewed by: Antonio Gomes, Min-Soo Koo, Tomasz Olszak

Change-Id: I753e8df2b9506f3d3d4149f4c4abccb51a7fc7c5
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years ago[M34-Merge] Implementation of ewk_view_scroll_* API.
Michał Pakuła vel Rutka [Thu, 3 Jul 2014 13:02:08 +0000 (15:02 +0200)]
[M34-Merge] Implementation of ewk_view_scroll_* API.

When some changes happend to ScrollView, RenderWidgetHostView received
only information about maximum available scroll offset. There was missing
information about current scroll offset. There was no possibility to get
current offset from browser process. I have added signal which transfers
information about current scroll offset (vertical and horizontal) whenever
it changes.

Added scroll,* smart callback calls after scroll position change. In
addition when scroll,* smart callback occured value returned by
RenderWidgetHost::GetLastScrollPosition was invalid, because value of
GetLastScrollPosition was updated after repaint event occured not after
scroll event. This change was required to return proper value after
scroll,* smart callback call.

RenderWidgetHostView object may not be created on EFL API call.
Thus every time rwhv() method is used (in eweb_view) it must be check
against nullness.

Scroll size is a content size reduced by view port size, so previous
implementation ("Fix Scroll bar does not work properly in Email app")
was wrong. That's why I'm removing it. Test improved in the way it checks
whether API returns non-zero values. Additionally more assertions have
been added to test API with negative values.

When ewk_view_scroll_pos_get is executed just after ewk_view_scroll_set
without running main loop the get function shall return new value even if
engine didn't scroll the page yet

This is a combination of five commits:
Added signal for providing current scroll information.
by Daniel Waslicki,

Change implementation details of scroll position related APIs
http://165.213.202.130:8080/#/c/68588/
by Kamil Klimek, and

ewk_view_scroll_* APIs can cause segmentation fault
http://165.213.202.130:8080/#/c/71201/
Fixup! Fix Scroll bar does not work properly in Email app
http://165.213.202.130:8080/#/c/71568/
ewk_view_scroll_pos_* functions shall behave like synchronous
http://165.213.202.130:8080/#/c/71205/
by Wojciech Bielawski
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I09af9ac17b9f0c0ce53fc832f2fa8b0f884097f0
Signed-off-by: Michał Pakuła vel Rutka <m.pakula@samsung.com>
6 years agoEnable accelerated 2d canvas feature
ajay berwal [Mon, 24 Nov 2014 06:24:10 +0000 (11:54 +0530)]
Enable accelerated 2d canvas feature

Accelerated 2d canvas feature is gpu blacklisted in m40. So enabling
it by adding switches::kForceAccelerated2dCanvas.

BUG: http://107.108.218.239/bugzilla/show_bug.cgi?id=8788
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I911f7323f12302441a4777e1c6874a676d914436
Signed-off-by: ajay berwal <ajay.berwal@samsung.com>
6 years ago[Tizen][M34-Merge] Fix IME Event Handling
Youngsoo Choi [Thu, 16 Oct 2014 20:34:26 +0000 (13:34 -0700)]
[Tizen][M34-Merge] Fix IME Event Handling

IME virtual keyboard does not properly work on TV.
Even though following two lines are applied, non-numeric character input,
including Korean and alphabet, does not work on TV.

>> if (pressed && modifiers & blink::WebInputEvent::AltKey)
>>   webKitEvent.isSystemKey = true;

There are OnCommit and OnPreeditChanged Ecore callbacks for key events.
The OnCommit is called by numeric character input,
and the OnPreeditChanged is called by non-numeric character input.
The problem is that OnPreeditChanged is not called when
there is a non-numeric character input.
Another one is that IPC message has been commented out on impl side
and removed on renderer side, so browser process couldn't
receive result of processed input event from renderer process.

The following two patches resolve above issues.

>> Simplify and fix current IME context handling logic
>> Fix IME events handling

[Merged Patches]
==========================================================
- Support for multiple commit events.
Original author: Marcin Krakowiak <m.krakowiak@samsung.com>
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6123

- Composed text disappear after return key.
Origianl author: Karol Furmaniak <k.furmaniak@samsung.com>
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6215

- Simplify and fix current IME context handling logic
Origianl author: Piotr Tworek <p.tworek@samsung.com>
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5835

- fixup! Wrong korean keycodes in IME.
Original author: Karol Furmaniak <k.furmaniak@samsung.com>
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5411

- Fixed handling of input panel state change
Original author: Kamil Klimek <k.klimek@partner.samsung.com>

- Fix IME events handling.
Original author: Karol Furmaniak <k.furmaniak@samsung.com>
Issue: CBBROWSER-248, CBBROWSER-249
==========================================================

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6715
Reviewed by: SeungSeop Park, Viatcheslav Ostapenko, Youngbok Yoon

Change-Id: I876a3c6da9f19dfb6dea08e2d53b59ccd3bd3c8b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agoImplement JavaScriptDialogManagerEfl::RunBeforeUnloadDialog
Marcin Krakowiak [Mon, 17 Nov 2014 15:43:03 +0000 (16:43 +0100)]
Implement JavaScriptDialogManagerEfl::RunBeforeUnloadDialog

This commit removes EWK_BRINGUP build guards related to this
features. For that, it partly reverts commit 5cf129faa.

In order to avoid src/ changes, it also adds an enum Type to
JavaScriptModalDialogEfl to handle ALERT, CONFIRM, NAVIGATION
and PROMPT.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8778
Reviewed by: Antonio Gomes, Laszlo Gombos, SeungSeop Park

Change-Id: Id03636f130b27abb0a159156eabd70f8d6466ff2
Signed-off-by: Marcin Krakowiak <m.krakowiak@samsung.com>
Signed-off-by: Daniel Grad <d.grad@samsung.com>
6 years agoPass cookie information to Policy Decision struct
Kamil Lysik [Tue, 25 Nov 2014 08:38:09 +0000 (09:38 +0100)]
Pass cookie information to Policy Decision struct

ContentRendererClientEfl::HandleNavigation didn't pass cookie information
to Navigation Policy struct. This causes ewk_policy_decision_cookie_get
work invalid.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8247
Reviewed by: Kamil Klimek, SeungSeop Park

Change-Id: Ibc5869cae55a4f5dc8f661eff3bba915557b4b4a
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
6 years agoImproper displaying of favicon.
Jongsoo Yoon [Wed, 29 Oct 2014 07:20:00 +0000 (16:20 +0900)]
Improper displaying of favicon.

Favicon was created without alpha channel so that transparent
backgorund was premultipled to black.

Origin patch(M34): http://suprem.sec.samsung.net/gerrit/#/c/7010/
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8200
Reviewed by: Antonio Gomes, Piotr Tworek, SeungSeop Park, Youngbok Yoon

Change-Id: I977cada182c2d2c2866f83ef49f43d1ba8dee828
Signed-off-by: Jongsoo Yoon <join.yoon@samsung.com>
6 years agoEnable ewk_policy_decision API. Add httpMethod to Policy Decision object.
Kamil Lysik [Thu, 14 Aug 2014 12:05:59 +0000 (14:05 +0200)]
Enable ewk_policy_decision API. Add httpMethod to Policy Decision object.

Current this API is unusable due to missing callback.
With callback enabled it is possible to use this API.
Moreover, there is missing policyDecision object.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8247
Reviewed by: Antonio Gomes, SeungSeop Park, Viatcheslav Ostapenko

Change-Id: Id3516e67beb8adc520eefd0fe2cc24ca4c5e9e51
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
6 years ago[WRT] Export ewk_view_mode_set()
Yi Shen [Tue, 25 Nov 2014 00:33:08 +0000 (16:33 -0800)]
[WRT] Export ewk_view_mode_set()

This is necessary because WRT code needs this ewk API.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9256
Reviewed by: Antonio Gomes, Laszlo Gombos

Change-Id: I7facd35eba80e76fc8102cb64f853d56948e5605
Signed-off-by: Yi Shen <yi.shen@samsung.com>
6 years agoDeprecate TIZEN_ENGINE_SUPPORT define
SeungSeop Park [Tue, 25 Nov 2014 07:08:39 +0000 (16:08 +0900)]
Deprecate TIZEN_ENGINE_SUPPORT define

From now on, USE_EFL (or TIZEN_MULTIMEDIA_SUPPORT) should be used instead.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9216
Reviewed by: Antonio Gomes, Kamil Klimek

Change-Id: Ie5ab4ea5e41218a443a229befb4e9e3f5bb94a0a
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years ago[Tizen][M34-Merge] No "This web page is not available" message
Grzegorz S [Mon, 17 Nov 2014 14:04:38 +0000 (15:04 +0100)]
[Tizen][M34-Merge] No "This web page is not available" message

Page with error doesn't appear because there was no
GetNavigationErrorStrings function implementation in
ContentRendererClientEfl.
Solution is to add GetNavigationErrorStrings and generate error page message.

Merged commit: http://165.213.202.130:8080/#/c/70428/12
Reviewed by: SeungSeop Park, Viatcheslav Ostapenko

Change-Id: I02bf0f2c30086be3af3620ed30b60804298328f7
Signed-off-by: Michał Obrembski <m.obrembski@samsung.com>
6 years ago[M34-Merge] Browser silently exits in some cases.
sihoons.yang [Mon, 13 Oct 2014 07:27:30 +0000 (16:27 +0900)]
[M34-Merge] Browser silently exits in some cases.

When a view is created using ewk_view_add_with_session_data and both data and
length values passed equal 0, function returns NULL which causes browser
to exit silently on application start.
This patch fixes the bug by adding a fallback which creates a view but
without taking into account session data.

Original patch: http://165.213.202.130:8080/#/c/70731/

Reviewed by: Antonio Gomes, Balazs Kelemen
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8530
Change-Id: I9a835cc5c29ddd70f0c8745f6e0427fb991577a7
Signed-off-by: Michał Pakuła vel Rutka <m.pakula@samsung.com>
6 years agofixup! Add Kamil klimek as an owner
mohan [Mon, 24 Nov 2014 13:36:29 +0000 (19:06 +0530)]
fixup! Add Kamil klimek as an owner

Corrected the email-id of the  Kamil klimek as k.klimek@partner.samsung.com
instead of k.klimek@samsung.com as per Janusz Majnert recommendation

Change-Id: Ic97661be6e60efb8b285edcbfa6e31784ef96213
Signed-off-by: mohan <mohan.reddy@samsung.com>
6 years ago[Tizen][M34-Merge] Implement favicon database get API
zhishun.zhou [Thu, 16 Oct 2014 10:17:50 +0000 (18:17 +0800)]
[Tizen][M34-Merge] Implement favicon database get API

This patch is needed to support ewk_context_favicon_database_get.
This is code migration from m34 beta to DEV,
Original patch info: http://suprem.sec.samsung.net/gerrit/#/c/6865/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7636
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: Ida3a261efa38ea4b636eb1abe65da64f107fc244
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
6 years ago[Tizen][M34-Merge] Port locale packages from WebKit & get locale string for error...
Nguen Van Canh [Tue, 18 Nov 2014 09:39:17 +0000 (10:39 +0100)]
[Tizen][M34-Merge] Port locale packages from WebKit & get locale string for error page content

This commit adds translation files to ewk/po_tizen
and adds proper changes into chromium-efl.spec to
include transtion files during creation of RPM.

Merged commit: http://165.213.202.130:8080/#/c/69776/9

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9194
Reviewed by: SeungSeop Park, Viatcheslav Ostapenko

Change-Id: Id9440a66b97c86c249739844fb6d3f8f044c50dd
Signed-off-by: Michał Obrembski <m.obrembski@samsung.com>
6 years agoAdd new gyp/c++ define, 'use_efl'/'USE_EFL', to deprecate TIZEN_ENGINE_SUPPORT
SeungSeop Park [Mon, 24 Nov 2014 06:32:03 +0000 (15:32 +0900)]
Add new gyp/c++ define, 'use_efl'/'USE_EFL', to deprecate TIZEN_ENGINE_SUPPORT

Patch is a partial work for our plan to deperecate TIZEN_ENGINE_SUPPORT.
See bug site for detailed discussion.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9216
Reviewed by: Kangil Han, SeungSeop Park

Change-Id: I739682bc50db1c37131b726298950190001d9380
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years agoAdd Minsoo Koo as an owner
Dongwoo Joshua Im [Mon, 24 Nov 2014 10:30:02 +0000 (19:30 +0900)]
Add Minsoo Koo as an owner

Add Minsoo Koo as an owner of chromium-efl directory

Change-Id: Idcc82c275ca7d69d2c455274d8ddd391b4d9a999
Signed-off-by: Dongwoo Joshua Im <dw.im@samsung.com>
6 years agoAdd Kamil klimek as an owner
Dongwoo Joshua Im [Mon, 24 Nov 2014 10:28:21 +0000 (19:28 +0900)]
Add Kamil klimek as an owner

Add Kamil klimek as an owner of chromium-efl directory

Change-Id: If6463e64bb39c1dc34c43f831ac46638c93aae70
Signed-off-by: Dongwoo Joshua Im <dw.im@samsung.com>
6 years ago[MM][WebAudio] Upmerge WebAudio code to dev/master
Chandan Padhi [Wed, 29 Oct 2014 13:49:21 +0000 (19:19 +0530)]
[MM][WebAudio] Upmerge WebAudio code to dev/master

1) This patch is for upmerge of WebAudio code from m34 beta/ to dev/master.
   It involves changes only on the impl/ side.
2) It defines the following gyp variables
   a) 'tizen_multimedia_support' --> top level MM gyp variable
3) It also defines top level preprocessor flag(TIZEN_MULTIMEDIA_SUPPORT) for all
   MM modules.

On top of this patch, other MM modules(ME/MSE) and WebRTC too can upmerge
their code from m34 to m40.

Original patches(M34):
http://165.213.202.130:8080/#/c/71266/
http://165.213.202.130:8080/#/c/71386/

Together-with: Ied59b4f61c906e03634084f2490913ab7f1b1abd

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7941
Reviewed by: Hyungsun Ryu, Laszlo Gombos, SeungSeop Park, Vinod Keshav

Change-Id: I6d9c536a6b40d572102b3149ff0001e68c8de781
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: varun kumar pathak <varun.pathak@samsung.com>
6 years ago[M34-Merge] ewk_view_scale_get function shall behave like synchronous one
Wojciech Bielawski [Wed, 29 Oct 2014 16:49:20 +0000 (17:49 +0100)]
[M34-Merge] ewk_view_scale_get function shall behave like synchronous one

Although the ewk_view_scale_set is asynchronous, the TCT compliance tests
from webkit-efl EWK implementation require the getter to return the value
set by the setter even if the two functions were called immediately
after each other.
This change makes the setter modify the proxy value,
thereby subsequent calls of the getter will return proper value,
even if it hasn't been applied in the UI process.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7679
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8260
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I34d1e77a97a0d7395538a6300b9430531f6934a7
Signed-off-by: Wojciech Bielawski <w.bielawski@samsung.com>
6 years ago[M34-Merge] Implement ewk_cookie_manager_accept_policy_async_get
Tomasz Czekala [Fri, 14 Nov 2014 08:40:10 +0000 (09:40 +0100)]
[M34-Merge] Implement ewk_cookie_manager_accept_policy_async_get

This patch refactors ewk_cookie_manager_async_accept_policy_get to
ewk_cookie_manager_accept_policy_async_get, replaces callback to a new
one and fixes some coding style.

This patch is a squash of the following patches:
http://165.213.202.130:8080/#/c/70271/
by Piotr Sieduszewski

http://165.213.202.130:8080/#/c/70954/
by Wojciech Bielawski

http://165.213.202.130:8080/#/c/69727/
by Kamil Klimek

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8807
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: Id94ba3b349c4eb12e05e1ad4457edc192b2bdd0c
Signed-off-by: Tomasz Czekala <t.czekala@partner.samsung.com>
6 years agoPort orientation and tilt to tizen 2.3
Arnaud Renevier [Tue, 7 Oct 2014 23:19:06 +0000 (16:19 -0700)]
Port orientation and tilt to tizen 2.3

We're using the patches that exist for branch m34:
 http://165.213.202.130:8080/#/c/69111/
 http://165.213.202.130:8080/#/c/68985/
 http://165.213.202.130:8080/#/c/68983/
 http://165.213.202.130:8080/#/c/72090/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6511
Reviewed by: Antonio Gomes, Balazs Kelemen, Viatcheslav Ostapenko

Change-Id: I27002bb7887e1966ae53e1f796f787facbfe5d55
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years ago[M34-Merge] Enable cache model setting
Kamil Lysik [Thu, 20 Nov 2014 14:59:52 +0000 (15:59 +0100)]
[M34-Merge] Enable cache model setting

EWK_BRINGUP flag is now disabled for EWebContext::SetCacheModel.
This blocks setting any other cache model.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8239
Reviewed by: Antonio Gomes, Viatcheslav Ostapenko

Change-Id: I3592e81f3d3f9a78b6715a28ce16690f7f9b4128
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
6 years ago[Dev] built-in linker (ld) can not handle chromium-efl
Antonio Gomes [Wed, 19 Nov 2014 14:24:46 +0000 (06:24 -0800)]
[Dev] built-in linker (ld) can not handle chromium-efl

Use a prebuilt gold linker binary instead of the default ld linker
installed by binutils-2.24-6.3.armv7l.rpm in the chroot.

Using 'gold' allows us to create smaller binaries for chromium-efl.so
(e.g. from 74Mb to 71Mb in my local machine). Besides, the linking step
also consumes less RAM memory, and is faster than with ld.bfd.
As a result, we can link with no "Memory exhausted" error in both
release and debug builds, and not depend on using Wl,--no-keep-memory.

So patch removes --no-keep-memory for both release and debug TV/mobile
builds as it is not supported by gold linker.

linux_use_bundled_gold and linux_use_bundled_binutils were explicitly
set to 0 to ensure we use our own linker.

NOTE: this patch differs from [1] (reverted CL) as following: it links
libchromium-efl.so with gold, and while others shared libraries and executable
are still linked with the ld.bfd.
In [1], both libchromium-efl.so and efl_webprocess were linked with gold,
which were problematic on TV.

[1] http://165.213.202.130:8080/#/c/72105/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=6629
Reviewed by: Antonio Gomes, SeungSeop Park, Viatcheslav Ostapenko

Change-Id: I2c5c3823b63d7dab418c01a67d3bcd5e13b19ab0
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[M40_2214] Chromium upversion to m40_2214 branch
SeungSeop Park [Thu, 20 Nov 2014 05:14:45 +0000 (14:14 +0900)]
[M40_2214] Chromium upversion to m40_2214 branch

* Notes for this rebase:
1. gyp variable 'enable_printing' changed in m40_2214
   : enable_printing -> enable_basic_printing, enable_print_preview

2. Changed include path for gesture_configuration.h
   : ui/events/gestures/ -> ui/events/gesture_detection/

3. OnRequestPlatformNotificationPermission does not exist
   : The API removed from content/public/browser/content_browser_client.h.
     So, removed it from our code since it was dummy anyway.

4. ShowDesktopNotification() : arguments changed

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9170
Reviewed by: Kangil Han, SeungSeop Park, Viatcheslav Ostapenko

Change-Id: I9ecef10f24a48422fa5e44d5862d6935f161aa0a
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years ago[M40_2214] Auto-generate LASTCHANGE file
SeungSeop Park [Thu, 20 Nov 2014 07:52:37 +0000 (16:52 +0900)]
[M40_2214] Auto-generate LASTCHANGE file

Patch fixes following build error:
> ninja: error: '../../src/build/util/LASTCHANGE', needed by XXX

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9170
Reviewed by: Kangil Han, SeungSeop Park, Viatcheslav Ostapenko

Change-Id: I9ab298dc5cddbb9e09792fa93b4ffc20cd95b08b
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years ago[M40_2214] StartPageForVectorCanvas() removed from printing/metafile.h
SeungSeop Park [Thu, 20 Nov 2014 10:22:38 +0000 (19:22 +0900)]
[M40_2214] StartPageForVectorCanvas() removed from printing/metafile.h

API only exists in printing/pdf_metafile_skia.h (PdfMetafileSkia class).

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9170
Reviewed by: Antonio Gomes, Laszlo Gombos, Viatcheslav Ostapenko

Change-Id: Ifb76cfa4466cf4696356e7c1d525d711f6f980f3
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years ago[Tizen][M34-Merge] Implement Ewk_Settings: cache builder & default text encoding...
zhishun.zhou [Mon, 20 Oct 2014 08:17:40 +0000 (16:17 +0800)]
[Tizen][M34-Merge] Implement Ewk_Settings: cache builder & default text encoding name

This patch implement two Ewk_Settings: set cache builder enable
and set default text encoding name.
This is code migration from m34 beta to DEV,
Original patch info:
http://suprem.sec.samsung.net/gerrit/#/c/6533/3 and
http://165.213.202.130:8080/#/c/68824/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7799
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I4c344a8ee508804939e9219f736ec5e4a901a703
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
6 years agoImplement ewk_context_form_password_data_clear
Yi Shen [Wed, 19 Nov 2014 21:14:33 +0000 (13:14 -0800)]
Implement ewk_context_form_password_data_clear

Original Bug: http://suprem.sec.samsung.net/jira/browse/CBWEBVIEW-320
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7566

unittest: utc_blink_ewk_context_form_password_data_clear_func.cpp
Reviewed by: Antonio Gomes, Balazs Kelemen

Change-Id: I0ca9edc924a275ada6c3c8542c96a41e20939305
Signed-off-by: Yi Shen <yi.shen@samsung.com>
6 years agoDon't return frame mailbox until next frame comes.
Viatcheslav Ostapenko [Wed, 19 Nov 2014 21:05:04 +0000 (16:05 -0500)]
Don't return frame mailbox until next frame comes.

MailboxOutputSurface expects, that client holds at least one pending mailbox texture.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8886
Reviewed by: Antonio Gomes, Balazs Kelemen

Change-Id: Idc360f44a392db20f4e6195ade2d7ca8d9c1b316
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years ago[M34-Merge] Implementation of ewk_context_preferred_languages_set API and correspondi...
Lukasz Krok [Tue, 26 Aug 2014 09:04:56 +0000 (11:04 +0200)]
[M34-Merge] Implementation of ewk_context_preferred_languages_set API and corresponding unit test cases.

The API role is to allow Accept-language request header substitution.

This commit is based on two previous commits:
http://165.213.202.130:8080/#/c/68879/
http://165.213.202.130:8080/#/c/68880/
made by Lukasz Krok <l.krok@samsung.com>

There are also added minor changes to fit to latest chromium sources.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4952
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8241
Reviewed by: Antonio Gomes, SeungSeop Park

Change-Id: I81431dd927cac6a172760f2f17160c93c09773c5
Signed-off-by: Dariusz Frankiewicz <d.frankiewic@samsung.com>
6 years agoRevert "[Tizen][Dev] built-in linker (ld) can not handle chromium-efl"
SeungSeop Park [Tue, 18 Nov 2014 11:44:10 +0000 (20:44 +0900)]
Revert "[Tizen][Dev] built-in linker (ld) can not handle chromium-efl"

This reverts commit 72dbab00224102c43c4c6452344f39f5d283f427.
It's due to Problem in TV run:
  - efl_webview and  mini_browser can not open any websit today

Log prompt efl_webprocess cannot execute. When comparing the normal
and abnormal of efl_webprocess (via readelf -h efl_webprocess),
ELF Header Flags are as follows:
  - before:  0x5000000, Version5 EABI
  - current: 0x5000202, has entry point, Version5 EABI, <unknown>.

Change-Id: I75f548ea58e99484fade7fe3b68918497597bf70
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years agoBringup error domain in Ewk_Error
zhaoze [Thu, 6 Nov 2014 22:38:21 +0000 (17:38 -0500)]
Bringup error domain in Ewk_Error

Fill out the domain value in Ewk_Error.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8592
Reviewed by: Balazs Kelemen, SeungSeop Park

Change-Id: I37ae2424e32844eb7b93b39680b2d6f259690e68
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>