platform/framework/web/chromium-efl.git
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.

6 years agoifdef out use of JAVASCRIPT_MESSAGE_TYPE_NAVIGATION_PROMPT because of missing chromiu...
Viatcheslav Ostapenko [Tue, 29 Jul 2014 20:30:51 +0000 (16:30 -0400)]
ifdef out use of JAVASCRIPT_MESSAGE_TYPE_NAVIGATION_PROMPT because of missing chromium change.

6 years agoStub out the declaration of ContentRendererClientEfl::HandleNavigation
Antonio Gomes [Tue, 29 Jul 2014 19:36:51 +0000 (15:36 -0400)]
Stub out the declaration of ContentRendererClientEfl::HandleNavigation

This API requires a change in content/public/renderer/content_renderer_client.h
The base class declares this method for OS_ANDROID only.

6 years agoStub out a call dependent upon ThreadRestrictions (src/base/threading/thread_restrict...
Antonio Gomes [Tue, 29 Jul 2014 19:34:23 +0000 (15:34 -0400)]
Stub out a call dependent upon ThreadRestrictions (src/base/threading/thread_restrictions.h)

CookieManager has to add itself as a friend class of
ThreadRestrictions (src/base/threading/thread_restrictions.h)
to be allowed to use its private class members.

6 years agoRemoved OnTabCrashed form WebContentsViewEfl because it removed in chromium.
Viatcheslav Ostapenko [Tue, 29 Jul 2014 15:54:22 +0000 (11:54 -0400)]
Removed OnTabCrashed form WebContentsViewEfl because it removed in chromium.

Use WebContentsObserver::RenderProcessGone() .

6 years agoUpdate the declaration of Notification related methods in impl/content_browser_client...
Antonio Gomes [Tue, 29 Jul 2014 18:18:52 +0000 (14:18 -0400)]
Update the declaration of Notification related methods in impl/content_browser_client_efl.cc/h

Namely, the following methods' signature were changed (to match the base class):
ShowDesktopNotification and RequestDesktopNotificationPermission.

Additionally, its implementation were stubbed out.

6 years agoRemove OverrideCreateWebContentsView form ContentBrowserClientEfl.
Viatcheslav Ostapenko [Tue, 29 Jul 2014 07:53:03 +0000 (03:53 -0400)]
Remove OverrideCreateWebContentsView form ContentBrowserClientEfl.

https://codereview.chromium.org/262823006/
Replacement CreateWebContentsView() already exists in web_contents_view_efl.cc .

6 years agoDisable EditorClientAgent because WebEditorClient class is missing in blink.
Viatcheslav Ostapenko [Tue, 29 Jul 2014 06:49:36 +0000 (02:49 -0400)]
Disable EditorClientAgent because WebEditorClient class is missing in blink.

6 years agoUndef USE_CLIPBOARD_AURAX11 in EFL clipboard implementation.
Viatcheslav Ostapenko [Tue, 29 Jul 2014 05:41:25 +0000 (01:41 -0400)]
Undef USE_CLIPBOARD_AURAX11 in EFL clipboard implementation.

6 years agoWebCore:: -> blink:: in clipboard_efl.cc .
Viatcheslav Ostapenko [Tue, 29 Jul 2014 05:36:20 +0000 (01:36 -0400)]
WebCore:: -> blink:: in clipboard_efl.cc .

6 years agoDispatchPostponedGestureEvent was moved to GestureSequenceDelegate .
Viatcheslav Ostapenko [Tue, 29 Jul 2014 05:33:19 +0000 (01:33 -0400)]
DispatchPostponedGestureEvent was moved to GestureSequenceDelegate .

6 years agoFix WebContentsDelegateEfl because of updates in chromium WebContentsDelegate .
Viatcheslav Ostapenko [Tue, 29 Jul 2014 05:27:47 +0000 (01:27 -0400)]
Fix WebContentsDelegateEfl because of updates in chromium WebContentsDelegate .

6 years agoAdd extra header for some ParamTraits moved to ui/gfx .
Viatcheslav Ostapenko [Mon, 28 Jul 2014 22:39:40 +0000 (18:39 -0400)]
Add extra header for some ParamTraits moved to ui/gfx .

6 years agoTemporary fix for missing EditingMessageStart in chromium ipc_message_start.h
Viatcheslav Ostapenko [Mon, 28 Jul 2014 22:25:23 +0000 (18:25 -0400)]
Temporary fix for missing EditingMessageStart in chromium ipc_message_start.h

Probably breaks editing.

6 years agoIfdef out ShouldOverrideMimeType override in ResourceDispatcherHostDelegateEfl that...
Viatcheslav Ostapenko [Mon, 28 Jul 2014 22:08:46 +0000 (18:08 -0400)]
Ifdef out ShouldOverrideMimeType override in ResourceDispatcherHostDelegateEfl that is missing definition in chromium ResourceDispatcherHostDelegate.

6 years agoFix SkBitmap::config() removal in chrome.
Viatcheslav Ostapenko [Mon, 28 Jul 2014 20:32:40 +0000 (16:32 -0400)]
Fix SkBitmap::config() removal in chrome.

6 years agoWebCore::TextDirection -> blink::TextDirection
Viatcheslav Ostapenko [Mon, 28 Jul 2014 19:50:54 +0000 (15:50 -0400)]
WebCore::TextDirection -> blink::TextDirection

6 years agoFix gyp for moved tizen_weview.
Viatcheslav Ostapenko [Mon, 28 Jul 2014 16:23:21 +0000 (12:23 -0400)]
Fix gyp for moved tizen_weview.

6 years agoUse also v8 from our boston repo
Viatcheslav Ostapenko [Mon, 28 Jul 2014 15:27:04 +0000 (11:27 -0400)]
Use also v8 from our boston repo

6 years agoAdd v8 and skia repos to custom deps.
Viatcheslav Ostapenko [Mon, 28 Jul 2014 15:01:43 +0000 (11:01 -0400)]
Add v8 and skia repos to custom deps.

6 years agoAdd v8 and skia to custom deps.
Viatcheslav Ostapenko [Mon, 28 Jul 2014 14:50:43 +0000 (10:50 -0400)]
Add v8 and skia to custom deps.

6 years agoPoing .gclient and custom deps to boston server.
Viatcheslav Ostapenko [Mon, 28 Jul 2014 04:20:19 +0000 (00:20 -0400)]
Poing .gclient and custom deps to boston server.

6 years agoewk_bringup
Balazs Kelemen [Sat, 26 Jul 2014 00:18:13 +0000 (20:18 -0400)]
ewk_bringup

Stub out all the API's that have engine change dependency so that
we can bring up a minimal working browser without the engine changes.

Adding ewk_bringup=1 to GYP_DEFINES (or ~/.gyp/include.gypi) switches
the api's from stub to non-stub.

Note that some of the api's were already stubbed out in our baseline
m37 rebase because of rebase issues (look for the #warnings).

This still builds and works with the m37 rebased src/. Next step is
to make it build with (close to) vanilla s-chromium and s-blink.

6 years agoExternal patches that allow gstreamer packages to build on new Ubuntu versions.
Antonio Gomes [Fri, 25 Jul 2014 22:14:08 +0000 (18:14 -0400)]
External patches that allow gstreamer packages to build on new Ubuntu versions.

Fix the compilations of the following packages/dependencies on
recent Ubuntu releases by applying external patches:
ffmpeg, gst-plugins-good, gst-plugins-bad and gstreamer itselt

Additionally, patch also adds a pango dependency needed to
match the glib version part of jhbuild.

Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agofixup! Add Tizen-platform implementation of BrowserContext
Piotr Tworek [Wed, 30 Jul 2014 12:11:59 +0000 (14:11 +0200)]
fixup! Add Tizen-platform implementation of BrowserContext

Change-Id: Ib8ad2d12cb1784a6d709ef71a769f2f5fe2c1b27

6 years agofixup! Add Tizen-platform implementation of NetworkDelegate
Tomasz Olszak [Wed, 30 Jul 2014 10:59:26 +0000 (12:59 +0200)]
fixup! Add Tizen-platform implementation of NetworkDelegate

Change-Id: Ib75586eacfe72bdd3e6845c71f52c746f726b75f

6 years agofixup! Refactor of ResourceDispatcherHostDelegateEfl
Tomasz Olszak [Wed, 30 Jul 2014 10:39:13 +0000 (12:39 +0200)]
fixup! Refactor of ResourceDispatcherHostDelegateEfl

Change-Id: I59e9cd9699640b01253c1c1d07f98104a4f18644

6 years agoRevert "fixup! Refactor of ResourceDispatcherHostDelegateEfl"
Tomasz Olszak [Wed, 30 Jul 2014 10:39:21 +0000 (12:39 +0200)]
Revert "fixup! Refactor of ResourceDispatcherHostDelegateEfl"

This reverts commit 9d9bc5f48058678a370d7fea94bef09bdaf1a4f6.

6 years agoRevert "Temp fix of build break : Implementn FaviconDatabase."
Tomasz Olszak [Wed, 30 Jul 2014 06:27:50 +0000 (08:27 +0200)]
Revert "Temp fix of build break : Implementn FaviconDatabase."

This reverts commit 4e4c4120afd80574f2679880e0f1cbb389e61063.

6 years agoTemp fix build break: disabled notifications
SeungSeop Park [Wed, 30 Jul 2014 03:05:19 +0000 (12:05 +0900)]
Temp fix build break: disabled notifications

Revert this after proper solution is given

Change-Id: I9f421404224e5e561873db9ea764a5cb6a80b1eb

6 years agofixup! Add Tizen-platform implementation of ContentMainDelegate, of ResourceDispatche...
SeungSeop Park [Wed, 30 Jul 2014 03:00:31 +0000 (12:00 +0900)]
fixup! Add Tizen-platform implementation of ContentMainDelegate, of ResourceDispatcherHostDelegate and of ContentBrowserClient

Change-Id: Ied523cf515c196f9afe6c707a4c4d951c2e8ba5a

6 years agoTemp fix build break : Desktop notifications
SeungSeop Park [Wed, 30 Jul 2014 02:50:41 +0000 (11:50 +0900)]
Temp fix build break : Desktop notifications

Need proper implementations.

Change-Id: I51b3faae37acaeb03b227082c604ec18dc8126fd

6 years agoTemp fix of build break : Implementn FaviconDatabase.
SeungSeop Park [Wed, 30 Jul 2014 01:32:25 +0000 (10:32 +0900)]
Temp fix of build break : Implementn FaviconDatabase.

Todo: Revert this

Change-Id: I18b4fce98bc900172f43145f00cb3ad96fcfaa6c

6 years agofixup! Implement "Direct Rendering"
SeungSeop Park [Wed, 30 Jul 2014 00:42:45 +0000 (09:42 +0900)]
fixup! Implement "Direct Rendering"

Change-Id: I2f01e5bf77da9157a99de46e69b05c571a3e61e4

6 years agofixup! Add Tizen-platform implementation of command_line
SeungSeop Park [Wed, 30 Jul 2014 00:34:58 +0000 (09:34 +0900)]
fixup! Add Tizen-platform implementation of command_line

Change-Id: Ib56c290b8156786401422d35b6f44dafda1b18e4

6 years agofixup! Add generic support for EFL toolkit.
Tomasz Olszak [Tue, 29 Jul 2014 15:09:03 +0000 (17:09 +0200)]
fixup! Add generic support for EFL toolkit.

Change-Id: I15df0bcdb88b9208bc36753841fa8099b3a32fb1

6 years agofixup! Add Tizen-platform implementation of web context
SeungSeop Park [Tue, 29 Jul 2014 13:20:41 +0000 (22:20 +0900)]
fixup! Add Tizen-platform implementation of web context

Change-Id: I761c20d8f1263a870e249a71acf9662c7b7baec2

6 years agofixup! Add Tizen-platform implementation of web context
SeungSeop Park [Tue, 29 Jul 2014 13:18:38 +0000 (22:18 +0900)]
fixup! Add Tizen-platform implementation of web context

Change-Id: I39bea41a3d130297344df6d0eacbffe9579af68d

6 years agofixup! Refactor of DeleteAllApplicationCache
SeungSeop Park [Tue, 29 Jul 2014 12:34:33 +0000 (21:34 +0900)]
fixup! Refactor of DeleteAllApplicationCache

Change-Id: Ia720b740ba36d1858e68b0346acf4e6e6ee5a9d7

6 years agofixup! Refactor of DeleteAllApplicationCache
SeungSeop Park [Tue, 29 Jul 2014 12:29:50 +0000 (21:29 +0900)]
fixup! Refactor of DeleteAllApplicationCache

Change-Id: I3d38fec0d4a04425f9a51e4a99164393acd33829

6 years agofixup! Current legacy font size mode support added.
SeungSeop Park [Tue, 29 Jul 2014 12:28:00 +0000 (21:28 +0900)]
fixup! Current legacy font size mode support added.

Change-Id: I91d45fdfa796716905f50d6abd979669b4b82879

6 years agofixup! Add Tizen-platform implementation of RenderWidgetHostView
SeungSeop Park [Tue, 29 Jul 2014 12:24:52 +0000 (21:24 +0900)]
fixup! Add Tizen-platform implementation of RenderWidgetHostView

Change-Id: I6ffc5517e3fa37968b4deff53678c4764e91eac0

6 years agofixup! Add Tizen-platform implementation of RenderWidgetHostView
SeungSeop Park [Tue, 29 Jul 2014 12:23:58 +0000 (21:23 +0900)]
fixup! Add Tizen-platform implementation of RenderWidgetHostView

Change-Id: I51195edf533c9640125c2228171a81ca936f4fa5

6 years agofixup! Refactoring of build scripts
SeungSeop Park [Tue, 29 Jul 2014 11:57:09 +0000 (20:57 +0900)]
fixup! Refactoring of build scripts

Change-Id: I1f6acdc268d0ecf40fa2c2c714c2ad776cf035ca

6 years agofixup! Implement ewk_view_web_application_capable_get
SeungSeop Park [Tue, 29 Jul 2014 11:52:46 +0000 (20:52 +0900)]
fixup! Implement ewk_view_web_application_capable_get

Change-Id: I42006594af209f44aec769df6e23f9d63b00bef7