platform/framework/web/chromium-efl.git
6 years agoChange base platform for TV to pre-hawk repo
SeungSeop Park [Mon, 6 Oct 2014 06:52:56 +0000 (15:52 +0900)]
Change base platform for TV to pre-hawk repo

Updated build/gbs.conf to have proper repo urls.

Change-Id: I8eda451c194f3ca9251b2747bc9e1eecb6a39f2a
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years ago[Tizen] Bringup DidChangeContentsSize
zhaoze [Tue, 23 Sep 2014 21:06:00 +0000 (17:06 -0400)]
[Tizen] Bringup DidChangeContentsSize

Notify RenderView Observers when Contents Size Change
This allows EFL WebView to update it's content size.

Original author: SeungSeop Park <sns.park@samsung.com>

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

Change-Id: I674fdf43e65094019c596ffd3ebb139b3a4c61c4
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
6 years agoMerge New ewk_view_hit_test_request API proposal from M34
zhaoze [Mon, 15 Sep 2014 20:05:08 +0000 (16:05 -0400)]
Merge New ewk_view_hit_test_request API proposal from M34

Issue: CBWEBVIEW-882

This patch is used to bring up ewk_view_hit_test_request from
m34 to the new branch.

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

Change-Id: Iba04604996b5379bab9f8466b700e3532d5965d9
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
6 years agoAdd gl error logging and fix GL shaders fail to compile on Mesa.
Viatcheslav Ostapenko [Thu, 2 Oct 2014 06:49:01 +0000 (02:49 -0400)]
Add gl error logging and fix GL shaders fail to compile on Mesa.

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

Change-Id: I499bb0ca88a13c00b96efde64f5a06cb4c932352
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agofixup! Build ewk with gyp instead of cmake
Antonio Gomes [Tue, 7 Oct 2014 18:09:09 +0000 (11:09 -0700)]
fixup! Build ewk with gyp instead of cmake

Before [1], we use to build EWK from a separate repo
using CMake and unittests were disabled by default.
Once [1] landed, the EWK build was integrated to the
GYP build, but unittests target continued optional for both
mobile and TV builds. On desktop build though, no
targets were never specified to GYP, so all targets
including the unsopported unittests target, were being
build. This broke the desktop build.

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

Patch changes the build_desktop.sh script so that
the same targets are build for both desktop, tv and
mobile builds, being 'unittests' target optional.
By doing this, the desktop build is fixed.

Also, it rename build_ewk_test to build_ewk_tests in
packaging/chromium-efl.spec

Change-Id: Ibbe455ed411180f7b93c396512221c6cfdd5547c
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agofixup! Build ewk with gyp instead of cmake
Balazs Kelemen [Tue, 7 Oct 2014 17:23:17 +0000 (13:23 -0400)]
fixup! Build ewk with gyp instead of cmake

Remove left-over from build_mobile.sh.

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

Change-Id: I34fdf8b9301bff185570cd0e69203100738d3bf3
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years agoBuild ewk with gyp instead of cmake
Arnaud Renevier [Wed, 1 Oct 2014 21:22:44 +0000 (14:22 -0700)]
Build ewk with gyp instead of cmake

As of now, one executable is created for each unittest. There are about
300 of them. The gyp code to handle that would be cumbersome to write.
Also, in chromium upstream, all unittests of a specific subdirectory
create only one executable. So, we don't build the unittests for now. We
will first need to figure out what to do with them.

Also, modify spec files so that files which were previously in
chromium-ewk rpm are now included in chromium-efl

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

Change-Id: I14e47fb42234122ce44a4ad6c169342dea1054d4
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoRevert [Tizen][Debug] Assert @gpu_process_host_ui_shim.cc(224)"
Viatcheslav Ostapenko [Fri, 3 Oct 2014 21:10:52 +0000 (17:10 -0400)]
Revert [Tizen][Debug] Assert @gpu_process_host_ui_shim.cc(224)"

This reverts commits da0100530a453b8f2b331a2af4bdd9203314ac36 and
5898ae064fd5cce08bb82add201884356661ed3e .

Not needed anymore.

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

Change-Id: I0b797754a9f97706657a6ab97286b5cf10e4aa95
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoBuild efl_webview_app and mini_browser with tizen 2.3
Arnaud Renevier [Wed, 1 Oct 2014 17:55:39 +0000 (10:55 -0700)]
Build efl_webview_app and mini_browser with tizen 2.3

This patch modifies app.c and mini_browser.c so that they can build with
tizen2.3. The modifications are related to the api of haptic being
different

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

Change-Id: I38e50b4caf8ed0b472f879b5a9f4c2b2b5bab91f
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoEnable Tizen build on dev/m39_2166
Yi Shen [Tue, 30 Sep 2014 01:11:21 +0000 (18:11 -0700)]
Enable Tizen build on dev/m39_2166

This patch enables Tizen build on dev/m39_2166.

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

Change-Id: Ic86e3c03418b09e50560772090905bef1682a7bb
Signed-off-by: Yi Shen <yi.shen@samsung.com>
6 years ago[Tizen] Bringup DidFirstVisuallyNonEmptyLayout
zhaoze [Tue, 23 Sep 2014 20:49:31 +0000 (16:49 -0400)]
[Tizen] Bringup DidFirstVisuallyNonEmptyLayout

This patch is trying to bring m34 features to the new branch.

Notify RenderView observers when the first visually non empty layout happens.
Renderer sends a routed message to the browser on the first visually non empty
layout.

Original author: SeungSeop Park <sns.park@samsung.com>

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

Change-Id: Iff19480f50e13bad2c2b45d35a9b619e7e4fe0b0
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
6 years agoRemoving gconf dependency
Youngsoo Choi [Wed, 1 Oct 2014 12:06:03 +0000 (21:06 +0900)]
Removing gconf dependency

The gconf library is for GNOME configuration of GTK.
Chromium on Tizen only supports EFL port.
Moreover, gconf library is no longer supported by tizen gbs repository.
Therefore, the dependency needs to be removed.

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

Change-Id: I705c1579a236516c55c96cfecf2dd5d9c987320b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years ago[Tizen][dev] Fix TV build
Antonio Gomes [Tue, 23 Sep 2014 22:51:11 +0000 (18:51 -0400)]
[Tizen][dev] Fix TV build

TV profile builds with "legacy" Tizen 2.2.1
packages.

Patch adapts our build so mobile (now with Tizen 2.3)
and TV profiles able to co-exist.

Additionally, since common trunk switched to m39-based
chromium sourcebase, ld step fails with "memory exhausted"
error (bug 6629) and cpio fails to create dev packages off
of the 2.1Gb libchromium-efl.so (bug 6457).
In order to unblock developers, patch extends the solution
used in debug builds already: set 'no-keep-memory' linker option.

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

Change-Id: I56108fe50abb7296c0fc27be7bd055fa237c84ca
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[Meta][Tizen][dev] Support 2.3 profile
Antonio Gomes [Mon, 29 Sep 2014 02:15:18 +0000 (11:15 +0900)]
[Meta][Tizen][dev] Support 2.3 profile

ewebkit-ext package is only available on Tizen 2.1
package repositories. Given that 'dev' branch only
supports Tizen 2.3 for mobile builds now, lets remove
this dependency.

Note that 'beta' branch still has guard checks with
"if tizen_profile == 2.1" for including this package;
it conditionally enables TIZEN_CONTENT_DETECTION
feature in Tizen 2.1 builds by make use of 'ewebkit-ext'.
However, TV does not need this feature, and Tizen 2.3
mobile will reimplement this dependency to avoid
depending on WebKit packages.

It is safe to remove.

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

Change-Id: Ie5fab3856553c406bc2fcce4866072a6d5abb605
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoFixes: ewk_export.h was not defining EAPI
Arnaud Renevier [Tue, 30 Sep 2014 01:57:50 +0000 (18:57 -0700)]
Fixes: ewk_export.h was not defining EAPI

Currently, ewk_export.h does not work properly: it undefines EAPI, but
doesn't redefine it again. This patch fixes the problem by defining EAPI
in the same way as eina and evas do it.

Also, for consistency, all public files who use EAPI now include
ewk_export.h, instead of relying on the definitions of Eina.h and Evas.h

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

Change-Id: I4c6bcaaa039c528820a47072adf9e27d0067c657
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agoMove gesture handling logic to RWHV exclusively
Balazs Kelemen [Mon, 29 Sep 2014 18:08:22 +0000 (14:08 -0400)]
Move gesture handling logic to RWHV exclusively

Every port does this in RenderWidgetHostView except we.
We do half there and the other half in EWebView. Clean it up.

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

Change-Id: I4593aa86f04508a3378152c251a4e5ec7e2cc8fc
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years agoFix gestures with m39
Balazs Kelemen [Thu, 25 Sep 2014 18:51:35 +0000 (14:51 -0400)]
Fix gestures with m39

Chromium doesn't handle or want to see touch-still (i.e. EVAS_TOUCH_POINT_STILL)
events. In debug it leads to a NOTREACHED in aura code, in release it confuses
the gesture handler so it doesn't function correctly. It seems like we can
simply ignore these events.

Note that this doesn't solve the bringup of impl level touch features such as
selection or overscroll effect.

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

Change-Id: Ia8fe780d2ca507481641ee0ce9feb497783cfc7d
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years agofixup! Switch to Tizen 2.3
Yi Shen [Fri, 26 Sep 2014 21:31:38 +0000 (14:31 -0700)]
fixup! Switch to Tizen 2.3

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

Change-Id: I88d592522efeaffe91705eaa09d2ca259cb47054
Signed-off-by: Yi Shen <yi.shen@samsung.com>
6 years agoSwitch to Tizen 2.3
Balazs Kelemen [Tue, 23 Sep 2014 22:51:11 +0000 (18:51 -0400)]
Switch to Tizen 2.3

Minimal changes to be able to build with Tizen 2.3. Some features have been
disabled because of API changes. Fixing them is TODO.

The webrtc patch had to be resurrected to fix debug build (partially).

I switched to patching approach instead of copying patched files because
I believe it is more flexible and it shows if the patch is out-of-date more
directly.

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

Change-Id: I67606fca32e1af62552a084d3f850d556e2b848a
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years agoMerge branch 'dev/ewk_test_base' into dev/ewk_test
Viatcheslav Ostapenko [Wed, 24 Sep 2014 16:11:00 +0000 (12:11 -0400)]
Merge branch 'dev/ewk_test_base' into dev/ewk_test

Conflicts:
.gitignore

6 years agoSwitch to the branch dev/m39_2150
Viatcheslav Ostapenko [Mon, 22 Sep 2014 18:30:22 +0000 (14:30 -0400)]
Switch to the branch dev/m39_2150

Known issues:
RenderWidgetHostViewEfl::GetLastScrollOffset() always returns (0, 0) because old
way of updating scroll offset was removed and now it is required to use
ui::Compositor to get scroll offset.
Figure out where to move code from EWebView::DispatchPostponedGestureEvent()
because DispatchPostponedGestureEvent() is not exist anymore in chromium.

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

Change-Id: I34e6bff6405a61200d9148056e8efdbf3d350061
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoRevert "Remove un-needed EWK-BRINGUP"
Viatcheslav Ostapenko [Thu, 18 Sep 2014 21:05:29 +0000 (17:05 -0400)]
Revert "Remove un-needed EWK-BRINGUP"

This reverts commit 401e42370f43633c839853b4ba7492d4ac84860a.

Breaks "mobile" build.

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

Change-Id: I26c37d36de5cd16ecce122ab87422025f4613cc6
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoRevert "Remove duplicated flag disable"
Viatcheslav Ostapenko [Thu, 18 Sep 2014 20:58:08 +0000 (16:58 -0400)]
Revert "Remove duplicated flag disable"

This reverts commit 38a156fa24a0667b421e7920a0ffdfd45b06aeb4.

Breaks "mobile" build of chromium-efl.
Have to figure out why this setting is not propageted from supplement.gypi on "mobile" build.

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

Change-Id: Iaf2501129ca32610de400586571998df481ea72e
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoFix touch gesture handling
Balazs Kelemen [Wed, 17 Sep 2014 19:45:39 +0000 (15:45 -0400)]
Fix touch gesture handling

Open source changes in GestureRecognizer and other areas made our previous
logic incorrect. This CL adapts us to m38 by calling the right
GestureRecognizer::ProcessTouchEvent* method according to the actual state
of the event handling process.

Links, textboxes, scroll, pinch zooming now works!

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

Change-Id: I5032b49969a5139ef35bbe8749b767f54f63fc5a
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years agoRemove un-needed EWK-BRINGUP
zhaoze [Mon, 8 Sep 2014 20:21:36 +0000 (16:21 -0400)]
Remove un-needed EWK-BRINGUP

EWK-BRINGUP is a temporary solution of transition from m34 to m38, this
patch is trying to remove it.
Note these functionalities are already implemented, so it's easy to
remove the EWK_BRINGUP and didn't break anything.

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

Change-Id: I152110a1b95dc1d0b90eea696f4e02891a1b9364
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
6 years agoInproper uppercase letter prevented.
zhaoze [Fri, 5 Sep 2014 23:19:08 +0000 (19:19 -0400)]
Inproper uppercase letter prevented.

When upper case letter is prevented, keypress event is not prevented
and inputed key is inserted to input field.

In RenderWidgetHostViewEfl::OnDidInputEventHandled added checking
if there is Shift key handled and setting is_modifier_key_ flag
to true for further handling.

This patch is from m34, http://165.213.202.130:8080/#/c/68822/.

Original author: Karol Furmaniak <k.furmaniak@samsung.com>
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5218

Change-Id: I966a9db967b83f39ecf5e94ce5f6079f7d436782
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
6 years agoRemove duplicated flag disable
zhaoze [Wed, 3 Sep 2014 22:12:27 +0000 (18:12 -0400)]
Remove duplicated flag disable

In the http://165.213.202.130:8080/#/c/68710/ , the use_kerberos flag
has already been disabled. This patch removes the duplication.

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

Change-Id: Ic81fa9a20fd8ba09e88db3c5570d7cda02a4087e
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
6 years agoRemove obsolete memory sampler and backing store code lines
JungJik Lee [Tue, 16 Sep 2014 08:30:51 +0000 (17:30 +0900)]
Remove obsolete memory sampler and backing store code lines

memory sampler and backing store is deprecated.

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

Change-Id: I6194ab0479b000deaa8b84372f49848e680a41ae
Signed-off-by: JungJik Lee <jungjik.lee@samsung.com>
6 years agofixup! [TIZEN] Port build system from beta/forct/m34_1847
Kangil Han [Wed, 17 Sep 2014 02:59:26 +0000 (11:59 +0900)]
fixup! [TIZEN] Port build system from beta/forct/m34_1847

Unreviewed ewk build fix.

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

Change-Id: I6fae6406e293479d532bdb0c2591c3d955995d4c
Signed-off-by: Kangil Han <kangil.han@samsung.com>
6 years agofixup! [TIZEN] Port build system from beta/forct/m34_1847
Kangil Han [Tue, 16 Sep 2014 04:54:42 +0000 (13:54 +0900)]
fixup! [TIZEN] Port build system from beta/forct/m34_1847

Unreviewed build fix.
Need to export GYP_GENERATOR_OUTPUT for python script.

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

Change-Id: I9c1046dc63ec7618c41bc0a441156b4695cd296b
Signed-off-by: Kangil Han <kangil.han@samsung.com>
6 years agofixup! [Tizen][Build] Restore gyp files after build
Balazs Kelemen [Mon, 15 Sep 2014 16:08:23 +0000 (12:08 -0400)]
fixup! [Tizen][Build] Restore gyp files after build

bash error in desktop build, cannot 'return' from global scope.
Use exit instead.

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

Change-Id: Id1b423f5dc24c675f7cabdeaa9aa524f815c1ea7
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years agoRestore gyp files after build
Balazs Kelemen [Fri, 12 Sep 2014 21:27:39 +0000 (17:27 -0400)]
Restore gyp files after build

Better if developers don't have to deal with the changes that we made during
build so they can make good commits without too much pain.
This is partially a merge of d06a237f85f382eac8b741f24e8cb1a2e714801d from m34_1847.
I made 2 cleanups:
  - disable error-on-exit (set +e, previously set by set -e) otherwise we don't have
    a chance to restore if the build fails
  - replace_gyp_files.py lately supports undoing the changes, so we don't need to have
    our own script for this task

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

Change-Id: I542b0c845c1f297f2e4a192ceb41c14beea1011e
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years ago[Tizen][Build] Disable component build automagically
Balazs Kelemen [Wed, 10 Sep 2014 23:30:34 +0000 (19:30 -0400)]
[Tizen][Build] Disable component build automagically

I regularly run into this. For open source developement the component
build is a great feature so it should be ok to keep it to be on by default.
This change adds a tiny bit of logic to the build system to disable it
automatically as it is not compatible with chromium-efl.

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

Change-Id: Ifcbbee3d8763f299752584b804108f41bac67b41
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years ago[Tizen][Build] Clean up dependency handling
Balazs Kelemen [Fri, 12 Sep 2014 18:44:53 +0000 (14:44 -0400)]
[Tizen][Build] Clean up dependency handling

Currently the depedency handling is done in a rather obscure way.
We add the dependencies needed by chromium-efl as target_defaults via
chromium-ef.gypi. This means that each and every target will use efl and other
include paths, link flags and the like. Obviously internal chromium modules
do not need this. One practical negative side-effect of this is that we execute
pkg-config thousands of times for a build.

This change refactors this by moving the dependencies to a new gyp file that
use targets that define the dependencies much like system.gyp does it in
chroimium. Now only the top level chromium-efl target will use the dependencies
resulting in simpler and faster build.

Tested with desktop and mobile build.

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

Change-Id: I4afd4576c8eed022c648be274a50ac3c3b3cd07e
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years ago[Tizen][Build] Move jhbuild handling to build_desktop.sh
Balazs Kelemen [Thu, 11 Sep 2014 20:07:11 +0000 (16:07 -0400)]
[Tizen][Build] Move jhbuild handling to build_desktop.sh

This is desktop specific so better if the desktop specific script handles it.
Also this removed some duplication. Additional goodie is stamp file for jhbuild
to avoid rerunning it once it is already done.

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

Change-Id: I5adbd8ce265849edb82286c349497db73eea543f
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years ago[Tizen][Build] Allow setting custom number of jobs
Balazs Kelemen [Thu, 11 Sep 2014 20:22:34 +0000 (16:22 -0400)]
[Tizen][Build] Allow setting custom number of jobs

This is a must have for desktop build with icecc setup.

Change-Id: I0c0ba6d3c2d0d488b583ac0391422260792eee39
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years agoUse correct version number in chromium-efl.spec .
Viatcheslav Ostapenko [Thu, 11 Sep 2014 23:26:06 +0000 (19:26 -0400)]
Use correct version number in chromium-efl.spec .

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

Change-Id: Ie18eb26af4bfb75589c9b385cd8e64195c28d04f
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoRevert "Workaround to disable asserts in content/common/gpu/"
Viatcheslav Ostapenko [Thu, 11 Sep 2014 23:38:14 +0000 (19:38 -0400)]
Revert "Workaround to disable asserts in content/common/gpu/"

This reverts commit 7ec23d97994e46d24a376272f3c2c22eb6d00634.

Not needed anymore with current graphics implementation.

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

Change-Id: I804461900072c91fed9ba7dc67c81ecc502a97e9
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years ago[Tizen] Replace glib and libevent X11 even sources in chromium with dummy efl event...
Viatcheslav Ostapenko [Thu, 11 Sep 2014 01:15:01 +0000 (21:15 -0400)]
[Tizen] Replace glib and libevent X11 even sources in chromium with dummy efl event source.

X11EventSourceGlib and X11EventSourceLibevent were stealing X11 events from
ecore and evas.

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

Change-Id: Id6e19195b6ab202c29d5c7883f4ba1e10fad31bd
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoAdd the initial owners of the top directory
Dongwoo Joshua Im [Fri, 5 Sep 2014 02:05:15 +0000 (11:05 +0900)]
Add the initial owners of the top directory

Add the initial owners of the top directory of the new repository.
This has been announced to all of the owners.

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

Change-Id: Ib24623e29b3b02ee845a25fc046fed5f43a01fd5
Signed-off-by: Dongwoo Joshua Im <dw.im@samsung.com>
6 years agoEnable impl side painting.
Viatcheslav Ostapenko [Wed, 3 Sep 2014 23:32:31 +0000 (19:32 -0400)]
Enable impl side painting.

Smoke tested on desktop on on Tizen 2.2.1 device. Same change has been
made on beta/M34.

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

Change-Id: I672a522a5ca8c194e648b5a2e19cda37315349d7
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years ago[Tizen][m38] Fix TV build
Antonio Gomes [Wed, 3 Sep 2014 16:17:17 +0000 (12:17 -0400)]
[Tizen][m38] Fix TV build

Patch excludes print related code from mobile AND TV
(fixing an undefined reference problem) when building
for target.

Patch also fixes the build_tv.sh script which was simply
not right: it was building for mobile.

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

Change-Id: Ib0de8ee3ef8bf0faf2b91d78b96ed0a21f2ba697
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoRevert "log"
Balazs Kelemen [Thu, 4 Sep 2014 20:28:27 +0000 (16:28 -0400)]
Revert "log"

This reverts commit 9370108b4871e73329adc872465223a7c928525b.
Sorry, another accidental push :(

6 years agoProduce SCRIPTDIR instead of SCRIPT_PATH in common.sh
Viatcheslav Ostapenko [Wed, 3 Sep 2014 18:53:30 +0000 (14:53 -0400)]
Produce SCRIPTDIR instead of SCRIPT_PATH in common.sh

Align it with other scripts.

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

Change-Id: I4dbfdfc0ebb64b379d41f8a294481b01a114097d
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoRevert "Disable component build automagically"
Balazs Kelemen [Thu, 4 Sep 2014 20:05:53 +0000 (16:05 -0400)]
Revert "Disable component build automagically"

This reverts commit 03a11a8fa7b46a811bb3043abbc53989989b0d6b.
Sorry, I accidentally pushed it without review. Reverting for now.

6 years agoDisable component build automagically
Balazs Kelemen [Thu, 4 Sep 2014 20:01:46 +0000 (16:01 -0400)]
Disable component build automagically

I regularly run into this. For open source developement the component
build is a great feature so it should be ok to keep it to be on by default.
This change adds a tiny bit of logic to the build system to disable it
automatically as it is not compatible with chromium-efl.

Bug: N/A

Change-Id: Ifcbbee3d8763f299752584b804108f41bac67b41
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years agoFix for graphics on tizen/desktop
Viatcheslav Ostapenko [Sat, 30 Aug 2014 02:21:34 +0000 (22:21 -0400)]
Fix for graphics on tizen/desktop

1. Temporary implementation using transport texture surface. Should be replaced
with ui::Compositor approach.
2. Has minimal differences in render path between desktop and tizen.
3. Has no changes in chromium code.

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

Change-Id: I68f91ca302be77364ccb394bbf9523d3967e4910
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agolog
Balazs Kelemen [Wed, 3 Sep 2014 22:36:38 +0000 (18:36 -0400)]
log

Change-Id: I644e3d0db4d840fc0408f1eae3a0fbb4bd6e5d1a

6 years agoUse "cp -a" in copy_patched_files.sh in order to minimize rebuiliding for mobile...
Viatcheslav Ostapenko [Tue, 2 Sep 2014 17:01:07 +0000 (13:01 -0400)]
Use "cp -a" in copy_patched_files.sh in order to minimize rebuiliding for mobile builds.

Preserve timestamps and attributes on copied file so build system doesn't detect changes
in copied files on the next build.

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

Change-Id: I8549f171fb6a53e616be19ffd72eff4e64193aeb
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years ago[TIZEN][M38] Add some additional include paths when building
Antonio Gomes [Tue, 2 Sep 2014 06:22:59 +0000 (02:22 -0400)]
[TIZEN][M38] Add some additional include paths when building

When building EWK on top of dev/m38, one extra include
path is needed: out.{target}/{build_type}/gen.
Patch adds such extra include path into the generated
chromium-efl.pc content.

Note that it was chosen to not add an absolute 'outdir' path
to the include path; instead a relative path is added. This keeps
it consistent with the other existing include path (src, impl, etc).

For the record, the original approach was abandoned. See it in
http://165.213.202.130:8080/#/c/68955/ .

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

Change-Id: I0602e0df3f1a32e11c175ee9c17528a7de4775e8
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoRemove duplicated rules and unused macros
zhaoze [Fri, 29 Aug 2014 14:01:01 +0000 (10:01 -0400)]
Remove duplicated rules and unused macros

In impl/chromium-efl.gypi, we have defined ENABLE_ORIENTATION_EVENTS.
This define is no longer used in the source tree, so we should remove it.

use_gnome_keyring flag is already set to 0 in the
src/build/supplement.gypi, this patch remove this duplication.

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

Change-Id: I35d3abcf1587a64ab66b57122cfe7974d6f57e3c
Signed-off-by: zhaoze <zhaoze.zhou@partner.samsung.com>
6 years agoSwitch to the branch dev/m38_2125
Balazs Kelemen [Fri, 29 Aug 2014 21:15:35 +0000 (17:15 -0400)]
Switch to the branch dev/m38_2125

Printing and kerberos has to be disabled for mobile due to unsatisfied
dependencies.

TODO: * rationalize build (set flags in gyp files, preferably supplement.gypi)
      * add cups to gbs to reenable printing

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

Change-Id: I7dc8aac41e359d24cd35e46b7763a6ed1050846f
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years agofixup! is_hw_accelerated should be initialized before set_eweb_view() and host->SetView()
Balazs Kelemen [Thu, 28 Aug 2014 21:25:17 +0000 (17:25 -0400)]
fixup! is_hw_accelerated should be initialized before set_eweb_view() and host->SetView()

Original patch reverted accidentally reverted a previous fix.

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

Change-Id: I2a16e0771bc753afb74efc7faadc4c58c45df000
Signed-off-by: Balazs Kelemen <b.kelemen@samsung.com>
6 years agofixup! [TIZEN] Port build system from beta/m34_1847
Antonio Gomes [Tue, 26 Aug 2014 21:17:15 +0000 (17:17 -0400)]
fixup! [TIZEN] Port build system from beta/m34_1847

Include path/to/JHBuild/bin to PATH so we can invoke stuff
from there (e.g. edje_cc).

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

Change-Id: Ic4ffb2bdde62f317d7936ffeedeabafb79ddfce2
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agois_hw_accelerated should be initialized before set_eweb_view() and host->SetView()
Viatcheslav Ostapenko [Tue, 26 Aug 2014 06:12:24 +0000 (02:12 -0400)]
is_hw_accelerated should be initialized before set_eweb_view() and host->SetView()

It is used in those calls. In set_eweb_view() directly and in host->SetView()
through chain call to GetNativeViewId().

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

Change-Id: I3fc25b0227cd2eeb180b487d82a43824c6086271
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years ago[TIZEN] Port build system from beta/forct/m34_1847
Antonio Gomes [Mon, 25 Aug 2014 14:34:03 +0000 (10:34 -0400)]
[TIZEN] Port build system from beta/forct/m34_1847

The build system in branch beta/m34_1847 has
refactored in commits [1] and [2].

Patch ports these two CLs to chromium-efl's m38_2121
branch. The following changes were made on top of the
original work:

1) our homemade build/gyp_chromiumefl is kept as the GYP entry
   point still, so that we can override CalculateVariables
   from ./src/tools/gyp. beta/m34 calls src/build/gyp_chromium
   directly, but patches src/tools/gyp.
2) impl/pkgconfig/gen_pkgconfigs.py was fixed to run
   build/util/version.py instead of chrome/tools/build/version.py
   (after https://codereview.chromium.org/165893002)
3) 'host_arch' was defined in gyp_chromiumefl.sh so that we
   do not have dependency problems in src/build/common.gypi
   with arm-linux-gnueabihf-gcc.
4) Patched-files-copy logic was also added
   (see build/copy_patched_files.sh and build/patched_files/).
5) Package version updated from 34_1847 to 38_2121.

[1] http://165.213.202.130:8080/#/c/68416/
(by Tomasz Olszak <t.olszak@samsung.com>)
[2] http://suprem.sec.samsung.net/gerrit/#/c/4150/
(by Piotr Tworek <p.tworek@samsung.com>)

Build syntax is now:
./build/build_{desktop,mobile,tv}.sh {--debug}

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

Change-Id: I770c180df9fca385d086a6244fc152fbac1c8b55
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoAdd early initilization workaround for base::CPU to avoid asserts on IO thread.
Viatcheslav Ostapenko [Thu, 21 Aug 2014 23:46:42 +0000 (19:46 -0400)]
Add early initilization workaround for base::CPU to avoid asserts on IO thread.

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

Change-Id: Id7e9799fade6ba9c787f12948a3906d66535ffdc
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years ago[Tizen][Debug] Assert @gpu_process_host_ui_shim.cc(224)
Antonio Gomes [Wed, 20 Aug 2014 18:04:25 +0000 (14:04 -0400)]
[Tizen][Debug] Assert @gpu_process_host_ui_shim.cc(224)

https://codereview.chromium.org/369003002/ has removed the
handler of GpuHostMsg_UpdateVSyncParameters from GpuProcssHostUIShim.
Our chromium-efl downstream port was the last client of it.

In order to not leave this message unhandled (and hit an assert)
patch adds a filter for it in RenderWidgetHostViewEfl. To to hook
it up, it abuses the existing :RWHVEfl:AcceleratedSurfaceInitialized
callback, which is known to be called when the Gpu process is set up.

Code is based on BrowserCompositorOutputSurfaceProxy::ConnectToGpuProcessHost.

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

Change-Id: I2980b158eae1f7f882baf477f6ce1961ec8cf9a1
Signed-off-by: Antonio Gomes <a1.gomes@sisa.samsung.com>
Conflicts:
impl/browser/renderer_host/render_widget_host_view_efl.cc

6 years agoAvoid initializing creating gfx::GLSurfaceHandle with null window handle.
Viatcheslav Ostapenko [Wed, 20 Aug 2014 00:23:00 +0000 (20:23 -0400)]
Avoid initializing creating gfx::GLSurfaceHandle with null window handle.

When RenderWidgetHostViewEfl is created it imediately initialized in constructor
creating GLSurfaceHandle from null evas_ member.
This patch adds eweb_view parameter and call to set_eweb_view which initalizes
evas_ and other efl related members.

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

Change-Id: If53cc10a6d4ecab81599fdc79b2b3d948db33fac
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoWorkaround to disable asserts in content/common/gpu/
Viatcheslav Ostapenko [Tue, 19 Aug 2014 15:41:27 +0000 (11:41 -0400)]
Workaround to disable asserts in content/common/gpu/

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

Change-Id: Ic07c85eef8b848e7b730a4ce705537f81e652faa
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoRemove unnecessary chromium gyp settings for tizen mobile platform.
Laszlo Gombos [Sat, 16 Aug 2014 02:00:32 +0000 (22:00 -0400)]
Remove unnecessary chromium gyp settings for tizen mobile platform.

Re-setting flags to their defaults are confusing as it gives
an impression that we use different defaults for tizen.

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

Change-Id: I6f9e3ed4fcbd262e01766e1fdb0310a3ace52173
Signed-off-by: Laszlo Gombos <l.gombos@samsung.com>
6 years agoSwitch to the branch dev/m38_2121
Viatcheslav Ostapenko [Fri, 15 Aug 2014 20:45:19 +0000 (16:45 -0400)]
Switch to the branch dev/m38_2121

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

Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Change-Id: Ia109f3a58353337110e2e7049714fba527e9562f

6 years agobreak dependency to Ewk_View_Smart_Class(removed ewk_view.h), and Finish to remove...
SeungSeop Park [Fri, 8 Aug 2014 19:46:03 +0000 (15:46 -0400)]
break dependency to Ewk_View_Smart_Class(removed ewk_view.h), and Finish to remove ewk headers

Noting that the definition for Ewk_View_Smart_Class may vary depending on the
ewk api version (e.g, tv and mobile), a delegate class has been introduced to
query smart data information from given webview evas object. And evas event
handling has been improved.

In detail, this commit does followings:
- The static members of EWebView which were bound to Ewk smart api are made
  as free functions, and have been moved to ewk layer.
- Move initialization code for EWK Smart API from chromium to ewk layer. The
  smart apis of webview are bound to above mentioned free functions in ewk side.
- Change type of Ewk_View_Smart_Data::priv : EWebView* -> tizen_webview::WebView*
- Add WebViewDelegate class to get access to needed information from a webview
  smart evas object. Although the delegate class is being introduced in order to
  break EWK dependency in chromium, it is a good entry point to get other useful
  information from client side and may be extended in the future.
- Added tizen_webview::WebViewEvasEventHandler class to handle evas event and
  smart callback.
  What it does are:
  . bind/unbind callbacks for evas event and smart event to/from Evas_Object
  . what the callback basically does is to dispatch a given event to webview
    client (via Delegate interface) or default event handler.
  So, the basic flow of the dispatch is as follows:
  1. ask WebViewDelegate to handle event
  2. If WebViewDelegate returns true, the event is not processed any more.
  3. Otherwise, forward the event to the default handler of WebViewEventHandler

Added classes:
- tizen_webview::SelectionController
- tizen_webview::ContextMenuContorller
- tizen_webview::WebViewDelegate
- tizen_webview::WebViewEvasEventHandler

In addition, this commit finalizes the task of removing ewk header dependency
from chromium. Hence the include path to ewk headers has been removed from
the gyp file.

Change-Id: If714e2863d1a08d5a0e4ba44e486208538209b92
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoRemove unneeded EWK_BRINGUP
Antonio Gomes [Wed, 13 Aug 2014 17:43:24 +0000 (13:43 -0400)]
Remove unneeded EWK_BRINGUP

...now that WebElement::imageFilenameExtension API is available.

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

Change-Id: I57822566f6b887dadc8ee7eb030fd50c6eaa1cd4
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agofixup! Bulk addition of EWK_BRINGUP guards for mobile builds.
Yi Shen [Mon, 11 Aug 2014 19:12:03 +0000 (12:12 -0700)]
fixup! Bulk addition of EWK_BRINGUP guards for mobile builds.

Fixed two typo for EWK_BRINGUP guards.

Change-Id: I2f0b2a616b49d98c522f1b1bb00eacb53585be01
Signed-off-by: Yi Shen <yi.shen@samsung.com>
6 years agoRemove duplicated build rules
Laszlo Gombos [Mon, 11 Aug 2014 03:37:00 +0000 (23:37 -0400)]
Remove duplicated build rules

The following build flags are already the default for common trunk (see build/supplement.gypi):
 - use_kerberos=0
 - enable_automation=0
 - remoting=0
 - enable_google_now=0
 - use_cups=0

Removed enable_language_detection as this is no longer used anywhere.

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

Signed-off-by: Laszlo Gombos <l.gombos@samsung.com>
Change-Id: I2c9fc21af05b42f5e9f99e4302a9aceaff8487c3

6 years agoBulk addition of EWK_BRINGUP guards for mobile builds.
Yi Shen [Mon, 11 Aug 2014 00:43:13 +0000 (17:43 -0700)]
Bulk addition of EWK_BRINGUP guards for mobile builds.

The stubbed out code was all guarded by OS_TIZEN macros
(i.e. mobile-oriented features), so were not affected
by the first round of desktop-oriented bringup.

Change-Id: I9ffa015b91fc8517e05f283ef089ed82f1023c1e
Signed-off-by: Yi Shen <yi.shen@samsung.com>
6 years agoRemove -m32 and related settings from host tools if target is arm.
Viatcheslav Ostapenko [Sun, 10 Aug 2014 14:40:03 +0000 (10:40 -0400)]
Remove -m32 and related settings from host tools if target is arm.

icu gyp files don't take into account that host arch could be arm.

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

Change-Id: I046ab9cf7b1fe9c9a30cff9c623d362539ef261c
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoAdd chromium gyp settings for tizen mobile platform.
Viatcheslav Ostapenko [Sun, 10 Aug 2014 07:01:10 +0000 (03:01 -0400)]
Add chromium gyp settings for tizen mobile platform.

With those it is able to generate ninja build files.

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

Change-Id: I40209b6f23d6add3693751087f8d79824c808ccb
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoRemove unneeded EWK_BRINGUP guards.
Antonio Gomes [Sun, 10 Aug 2014 05:03:48 +0000 (01:03 -0400)]
Remove unneeded EWK_BRINGUP guards.

WebFrame's stateCommand and valueCommand APIs were
renamed to commandState and commandValue respectively
as part of http://165.213.202.130:8080/#/c/67882/.

Patch adjusts the callee code in impl/ and removes the
EWK_BRINGUP guards.

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

Change-Id: I2cf7e6bd8ffca7a98f28322a2a5341ded44a63e7
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agofixup! Switch to new internal chromium branch dev/m38_2114 .
Antonio Gomes [Sat, 9 Aug 2014 03:43:17 +0000 (23:43 -0400)]
fixup! Switch to new internal chromium branch dev/m38_2114 .

http://165.213.202.130:8080/#/c/68285/ has been relanded,
so we can uncomment out this code.

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

Change-Id: Idd8fd5e0f3305d7b197c8476b9ebc9d93d99e56e
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[Tizen/GCC 4.5] Add the needed compiler quirks in order to chromium 3rd party depende...
Antonio Gomes [Wed, 6 Aug 2014 21:06:02 +0000 (17:06 -0400)]
[Tizen/GCC 4.5] Add the needed compiler quirks in order to chromium 3rd party dependencies.

Patch adds a prebuild step that allows compiling s-chromium
dependencies for TV and MOBILE targets, using GCC 4.5.
Namely, these are ffmeg and webrtc.

Solution consists in having a set of patched files
copied over to the associated locations within
"src/3rd_party/<dependency>" during the prebuild step.

This is a temporary solution until the platform gets to
support a newer compiler version.

Patch is not needed for desktop builds where newer
GCC versions (>= 4.6) are commonly available.

Patched files and destinations:
- arm-neon-config.h => src/third_party/ffmpeg/chromium/config/Chromium/linux/arm-neon/config.h
- arm-config.h => src/third_party/ffmpeg/chromium/config/Chromium/linux/arm/config.h
- incoming_video_stream.cc => src/third_party/webrtc/modules/video_render/
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4718

Change-Id: I7e33e9b6a679e8e963fb16810ba58cbb5c92d954
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoSwitch to new internal chromium branch dev/m38_2114 .
Viatcheslav Ostapenko [Fri, 8 Aug 2014 00:37:24 +0000 (20:37 -0400)]
Switch to new internal chromium branch dev/m38_2114 .

Remove custom dependencies from .gclient because gclient cannot handle branch names with slashes.
Add sync_repos.sh script to update repositories.
Fix breakages because of chromium API updates.

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

Change-Id: I235de92e72edf59f51accf7b62e9c09d31124f08
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoAnother typo fix in .gclient in src url.
Viatcheslav Ostapenko [Wed, 6 Aug 2014 18:46:00 +0000 (14:46 -0400)]
Another typo fix in .gclient in src url.

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

Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Change-Id: I69ed0e71190364d6219eb4f7891a945c11ef8235

6 years agoAdd inject of CalculateVariables to gyp_chromiumefl and use gyp_chromiumefl for deskt...
Viatcheslav Ostapenko [Tue, 5 Aug 2014 22:04:18 +0000 (18:04 -0400)]
Add inject of CalculateVariables to gyp_chromiumefl and use gyp_chromiumefl for desktop build.

Replaces patch in ./src/tools/gyp repo.

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

Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Change-Id: I1184042b0d8ad3b03b8ea656e355dc444c5cd064

6 years agoFix typo in s-skia url in custom deps.
Viatcheslav Ostapenko [Wed, 6 Aug 2014 15:27:01 +0000 (11:27 -0400)]
Fix typo in s-skia url in custom deps.

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

Change-Id: Ica20a85eacfa2f7f4c98c2350e39be60cfdf8ae4
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
6 years agoUse dev/m38_2101 branch directly from itrunk.
Viatcheslav Ostapenko [Tue, 5 Aug 2014 18:39:50 +0000 (14:39 -0400)]
Use dev/m38_2101 branch directly from itrunk.

6 years agoFix missing building for tizen var on desktop build.
Viatcheslav Ostapenko [Fri, 1 Aug 2014 16:02:26 +0000 (12:02 -0400)]
Fix missing building for tizen var on desktop build.

6 years agoDisable call to WebPreferences::current_legacy_font_size_mode. Missing API.
Antonio Gomes [Tue, 29 Jul 2014 16:18:02 +0000 (12:18 -0400)]
Disable call to WebPreferences::current_legacy_font_size_mode. Missing API.

Signed-off-by: Antonio Gomes <a1.gomes@sisa.samsung.com>
Conflicts:
impl/API/ewk_settings_private.cc

6 years ago.gclient_entries are generated by gclient. Shouldn't be committed.
Viatcheslav Ostapenko [Fri, 1 Aug 2014 06:07:09 +0000 (02:07 -0400)]
.gclient_entries are generated by gclient. Shouldn't be committed.

6 years agoExclude clipboard_aurax11.cc
Viatcheslav Ostapenko [Wed, 30 Jul 2014 21:52:04 +0000 (17:52 -0400)]
Exclude clipboard_aurax11.cc

6 years agoDefine private public hack to make RunLoop class more friendly to MessagePumpForUIEfl .
Viatcheslav Ostapenko [Wed, 30 Jul 2014 20:33:02 +0000 (16:33 -0400)]
Define private public hack to make RunLoop class more friendly to MessagePumpForUIEfl .

6 years agoTemporarily replace resource lookup with simple strings.
Viatcheslav Ostapenko [Wed, 30 Jul 2014 20:27:47 +0000 (16:27 -0400)]
Temporarily replace resource lookup with simple strings.

6 years agoAdd GetContentClient() forward declaration.
Viatcheslav Ostapenko [Wed, 30 Jul 2014 19:55:47 +0000 (15:55 -0400)]
Add GetContentClient() forward declaration.

6 years agoStub out message hook up calls that require changes to src/content/common/view_messages.h
Antonio Gomes [Wed, 30 Jul 2014 19:53:01 +0000 (15:53 -0400)]
Stub out message hook up calls that require changes to src/content/common/view_messages.h

Namely, these are the messages:
ViewHostMsg_DidFirstVisuallyNonEmptyLayout
EwkHostMsg_DidChangeContentsSize
ViewHostMsg_TextInputInFormStateChanged

Patch also fixes a build break from 417cd3e.

6 years agoRemove OnAccessibilityEvents method declaration from RenderWidgetHostViewEfl.
Antonio Gomes [Wed, 30 Jul 2014 19:34:17 +0000 (15:34 -0400)]
Remove OnAccessibilityEvents method declaration from RenderWidgetHostViewEfl.

This has been moved in chromium from RenderWidgetHost to RenderFrameHost.

Commit message (of the removal):

"
Migrate accessibility from RenderView to RenderFrame and RVH to RFH.

In preparation for out-of-process iframes, move almost all accessibility
functionality from RenderView to RenderFrame, and from RVHI and RWHI
to RFHI.

In addition, the accessibility mode is moved to WebContents, and changing
the mode triggers changing it on all frames.

BUG=368298
R=jam@chromium.org, kenrb@chromium.org, nick@chromium.org

Review URL: https://codereview.chromium.org/273423004
"

6 years agoShowContextMenu should be hooked through WebContentsViewDelegate, not through WebCont...
Viatcheslav Ostapenko [Wed, 30 Jul 2014 19:05:06 +0000 (15:05 -0400)]
ShowContextMenu should be hooked through WebContentsViewDelegate, not through WebContentsDelegateEfl.

6 years agoSetScrollOffsetPinning is gone in chromium.
Viatcheslav Ostapenko [Wed, 30 Jul 2014 18:51:57 +0000 (14:51 -0400)]
SetScrollOffsetPinning is gone in chromium.

https://codereview.chromium.org/325933003

6 years agoSetHasHorizontalScrollbar was removed.
Viatcheslav Ostapenko [Wed, 30 Jul 2014 18:43:16 +0000 (14:43 -0400)]
SetHasHorizontalScrollbar was removed.

https://codereview.chromium.org/258693009

6 years agoStub out calls to DidCancelDialog and DidReplaceDateTime in InputPicker.cc
Antonio Gomes [Wed, 30 Jul 2014 18:18:29 +0000 (14:18 -0400)]
Stub out calls to DidCancelDialog and DidReplaceDateTime in InputPicker.cc

These methods were ChromiumEFL additions to WebContentsImpl
(src/content/browser/web_contents/web_contents_impl.cc).

6 years agoRemove OnAcceleratedCompositingStateChange()
Viatcheslav Ostapenko [Wed, 30 Jul 2014 17:56:32 +0000 (13:56 -0400)]
Remove OnAcceleratedCompositingStateChange()

Accelerated compositing is not tracked anymore on browser side because it is always enabled:
https://codereview.chromium.org/274163004

6 years agoReplace OnOverscrolled with DidOverscroll implementation.
Viatcheslav Ostapenko [Wed, 30 Jul 2014 17:44:12 +0000 (13:44 -0400)]
Replace OnOverscrolled with DidOverscroll implementation.

Chromium changes are not needed in this case.

6 years agoRemove RenderWidgetHostViewEfl::DidUpdateBackingStore()
Viatcheslav Ostapenko [Wed, 30 Jul 2014 15:58:29 +0000 (11:58 -0400)]
Remove RenderWidgetHostViewEfl::DidUpdateBackingStore()

Old rendering path is not supported anymore: https://codereview.chromium.org/253913003

6 years agoUse "blink" namespace instead of "WebCore" in browser/selectpicker/WebPopupItem.cc
Antonio Gomes [Wed, 30 Jul 2014 13:12:36 +0000 (09:12 -0400)]
Use "blink" namespace instead of "WebCore" in browser/selectpicker/WebPopupItem.cc

6 years agoRemove SelectionRootBoundsChanged from render_widget_host_view_efl.hi/cc
Antonio Gomes [Wed, 30 Jul 2014 13:00:40 +0000 (09:00 -0400)]
Remove SelectionRootBoundsChanged from render_widget_host_view_efl.hi/cc

In chromium, this method used to be implemented
in render_widget_host_view_base.h (base class)
under a OS_ANDROID build guard, but was removed
by r273628 [1].

Commit message (of the removal):

"
Revert of Chromium plumbing to use the selection root bounds. (https://codereview.chromium.org/186753002/)

Reason for revert:
The Android plumbing to use the root selection bounds has been removed, and the
visibility calculation will soon be performed by the compositor
(see crbug.com/135959).
(...)
https://codereview.chromium.org/306803002
"

6 years agoUpdate the signature of RenderWidgetHostViewEfl::FocusedNodeChanged
Antonio Gomes [Wed, 30 Jul 2014 12:39:33 +0000 (08:39 -0400)]
Update the signature of RenderWidgetHostViewEfl::FocusedNodeChanged

The base class (RenderWidgetHostViewBase in chromium)
has a new signature. The new signature basically removes
one of the parameters. Luckly this parameter was not used
in the "impl" overload, so it can just be dropped.

6 years agoRemove TextInputTypeChanged since it was merged with TextInputStateChanged in chromium
Viatcheslav Ostapenko [Wed, 30 Jul 2014 06:57:22 +0000 (02:57 -0400)]
Remove TextInputTypeChanged since it was merged with TextInputStateChanged in chromium

6 years agoRemove CancelContextMenu form WebContentsViewEfl
Viatcheslav Ostapenko [Wed, 30 Jul 2014 06:18:59 +0000 (02:18 -0400)]
Remove CancelContextMenu form WebContentsViewEfl

Not used anymore. It is removed from WebContentsView, delegate and other places.

6 years agoRenderViewObserverEfl changes because of RenderViewObserver update and missing chromi...
Viatcheslav Ostapenko [Tue, 29 Jul 2014 21:23:03 +0000 (17:23 -0400)]
RenderViewObserverEfl changes because of RenderViewObserver update and missing chromium changes for eflwebview.

6 years agoMove webcursor_efl.* to impl from chrome tree.
Viatcheslav Ostapenko [Tue, 29 Jul 2014 20:40:50 +0000 (16:40 -0400)]
Move webcursor_efl.* to impl from chrome tree.