platform/framework/web/chromium-efl.git
6 years agoImplement the SDK WebInspector
jywings.lee [Mon, 23 Jun 2014 18:22:37 +0000 (11:22 -0700)]
Implement the SDK WebInspector

JIRA: CBWEBCORE-24 CBWEBCORE-248
Change-Id: I2fbd7f24bc078bb4bc6acbedbadcf613406dc21d

Conflicts:

impl/eweb_view.h
src/content/browser/devtools/devtools_http_handler_impl.cc

Conflicts:

src/content/browser/devtools/devtools_http_handler_impl.h

6 years agoAdd DB Path for Autofill FormData and LoginData support
Umesh Kumar Patel [Tue, 27 May 2014 09:56:38 +0000 (15:26 +0530)]
Add DB Path for Autofill FormData and LoginData support

Patch added DB path for Autofill FormData and LoginData support.
The path (/opt/usr/apps/org.tizen.chromium-efl/data/db) is assigned
Read & Write permission.

Jira ID: CBBROWSER-275

Change-Id: I20bcd2ae2f07eda3c9d31701ded43e6cc82bbd5f

Conflicts:

packaging/org.tizen.chromium-efl.manifest

6 years agoImplement ewk_view_web_application_capable_get
Filip Piechocki [Thu, 19 Jun 2014 22:28:36 +0000 (15:28 -0700)]
Implement ewk_view_web_application_capable_get

Issue: CBWEBVIEW-577
Change-Id: I1d0eb5bd81ad883f11040d130722ce02d3d4b737

6 years agoEmpty callback added to prevent crash for application cache delete all
w.basiak [Tue, 27 May 2014 14:13:41 +0000 (16:13 +0200)]
Empty callback added to prevent crash for application cache delete all

Issue: CBWEBVIEW-317
Change-Id: I48cc96fc1b97246facda1f7cfb2d85f9d4f7e239

6 years agoAdd possibility of using ccache in gbs build.
Tomasz Olszak [Sat, 17 May 2014 08:48:31 +0000 (10:48 +0200)]
Add possibility of using ccache in gbs build.

Task: CBEFL-34
Change-Id: If0ef10bffff3c2332e74d02d884814024504729b
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
6 years agoDummy implementation of Smart API exceeded_database_quota
Kamil Klimek [Mon, 23 Jun 2014 18:19:09 +0000 (11:19 -0700)]
Dummy implementation of Smart API exceeded_database_quota

Issue: CBWEBVIEW-510
Change-Id: I3a4f7bbc886b0bcbcb93c0fafeda689c8f2528a9

6 years agoDummy implementation for text_selection_up|down Smart API
Youngcheol Kang [Fri, 30 May 2014 08:57:21 +0000 (17:57 +0900)]
Dummy implementation for text_selection_up|down Smart API

Issue : CBWEBVIEW-523, CBWEBVIEW-523

Change-Id: I627d76aab8f1a8097b2ed81446de42f9ae244854

6 years agoFix for the Ordered / Unordered Icon Bug in email application
Lukasz Krok [Thu, 5 Jun 2014 13:52:28 +0000 (15:52 +0200)]
Fix for the Ordered / Unordered Icon Bug in email application

Issue : CBWEBVIEW-822
Cause : _ewk_view_text_style_state_cb callback was not executed on list style change in email application.
Solution : Query for selection style on editor command execution request.

Change-Id: I4fcc789c7d7ba45f76c0d00f96ecccd43dc42eb7

6 years agoFix race conditions in policy decision handling
Piotr Tworek [Thu, 29 May 2014 17:10:16 +0000 (19:10 +0200)]
Fix race conditions in policy decision handling

The problems were:
1. The CompletionCallback delivered to browser process via
   NetworkDelegateEfl::OnHeadersReceived could be called from the
   browser process after content layer has canceled the request and
   informed us about this via NetworkDelegateEfl::OnCompleted
2. The original HttpResponseHeders delivered to the browser through
   NetworkDelegateEfl::OnHeadersReceived on IO thread can be accessed
   from the UI thread after the content layer has invoked
   NetworkDelegateEfl::OnURLRequestDestroyed (done through
   _Ewk_Policy_Decision constructor). According to chromium
   documentation the original HttpResponseHeaders are invalid after this
   function is invoked.

The patch refactors NetworkDelegateEfl to avoid both situations.
1. Pending policy decisions storred in
   NetworkDelegateEfl::policy_decision_delegate_map_ are removed in the
   OnCompleted function when the status of the request is CANCELED or
   FAILED. The policy decision is marked as processed.
2. The _Ewk_Policy_Decision is instantiated directly in the
   PolicyResponseDelegateEfl constructor. The constructor is always called
   from the IO thread so there is no chance HttpResponseHeaders will be
   invalid there.

The patch was tested on both http://seojin.github.com/jsgamebench/ and
http://rng.io/?all. Previously both test suites would crash after a
couple of seconds at best. With the patch in place I could not reproduce
those crashes anymore.

Change-Id: Ia5217db9862b106f9f8dcd78cae4e557868dda7f
Issue-Id: CBWEBCORE-285, CBWEBCORE-290

Conflicts:

impl/web_contents_delegate_efl.cc

6 years agoApply 'bold' type in editable field using JS execCommand('bold', ...)
Youngbok Yoon [Wed, 28 May 2014 00:43:41 +0000 (09:43 +0900)]
Apply 'bold' type in editable field using JS execCommand('bold', ...)

Patch allows JS execCommand('bol', ...) to apply 'bold' type
in editable field.

Issue: CBBROWSER-247

Change-Id: Ie6a252d45d950fbcf537a10f8d9eb1aa0635a6f2

6 years agoImprove text selection handling
Piotr Tworek [Thu, 19 Jun 2014 18:34:42 +0000 (11:34 -0700)]
Improve text selection handling

This patch fixes several selection handle drawing issues caused by the
fact that SelectionBoxEfl was only fully updated from after mouse up event
handler was invoked. If a user manipulated the handles in a way that the
handles needed to be updated several times during one selection the end
results were not always matching the real state of the selection.

Long term, it'd be good if the selection state could be storred only in
one class. As it is right now the actual state of the selection resides
in the SelectionBoxEfl, while the visible state of the handles is in
SelectionHandleEfl. Those states are 'synchronized' in
SelectionControllerEfl. Such approach is very error prone as it's not
always obvious which state is valid at any given point in time.

Patch also hide context menu during magnifier is showing.

Issue-Id: CBBROWSER-156

Change-Id: I8c13e6c2734b294b5e912ce3a9fa78899da7e6de

Conflicts:
impl/browser/renderer_host/render_widget_host_view_efl.cc
impl/browser/renderer_host/render_widget_host_view_efl.h
impl/selection_controller_efl.cc
impl/selection_controller_efl.h

6 years agoImplement text selection handles hiding.
Piotr Tworek [Wed, 18 Jun 2014 23:08:30 +0000 (16:08 -0700)]
Implement text selection handles hiding.

Text selection handles should be hidden whenever they are scrolled
outside of visible text input area.
Issue-Id: CBBROWSER-156, CBBROWSER-190

Change-Id: I1fe7f97e03bcdd5bad0c2fdd207e492cdba41a12

6 years agoImplement "uri,changed".
Piotr Sieduszewski [Fri, 20 Jun 2014 20:22:40 +0000 (13:22 -0700)]
Implement "uri,changed".

Issue: CBWEBVIEW-234
Change-Id: I2a20692c7050aa7ce2c58f80a1290c3cb9a94008

6 years agoImplement ui::Clipboard::ReadAvailableTypes
Robert Jadczak [Fri, 30 May 2014 15:38:58 +0000 (17:38 +0200)]
Implement ui::Clipboard::ReadAvailableTypes

Issue: CBBROWSER-276
Change-Id: I20dbda20fda49ffd9cfc85a47e1d61e08a9d4d9e

6 years agoImplement ewk_view_browser_font_set
Piotr An Nguyen [Mon, 28 Apr 2014 14:44:10 +0000 (16:44 +0200)]
Implement ewk_view_browser_font_set

Issue: CBWEBVIEW-342
Change-Id: I603cb6ec2ba28c699cde72243ccda65ddc405f7d

Conflicts:

src/third_party/WebKit/Source/platform/fonts/FontCache.cpp
src/third_party/WebKit/Source/platform/fonts/FontCache.h

6 years agoImplement _Ewk_Autofill_Profile class.
Marcel Swacha [Mon, 26 May 2014 12:34:39 +0000 (14:34 +0200)]
Implement _Ewk_Autofill_Profile class.

Change-Id: I4f226489601e4483e5eb4e24b516c45d05aa1ecb

6 years agoImplement popup items callback.
Robert Jadczak [Wed, 18 Jun 2014 22:37:27 +0000 (15:37 -0700)]
Implement popup items callback.

Issue: CBBROWSER-171
Change-Id: I8be70b3bcd344fdd3e8375e816ed248ca4620e23

6 years agoImplement session save/restore.
Marek Ruszczynski [Wed, 18 Jun 2014 20:45:18 +0000 (13:45 -0700)]
Implement session save/restore.

Implements the functions:
- ewk_view_session_data_get, Issue: CBWEBVIEW-576
- ewk_view_add_with_session_data, Issue: CBWEBVIEW-574

These use a different data format than the webkit functions.
The session data is serialized with chromium's own function.

Change-Id: Iac165e52136c02ce08f6b5877539f7f48298bb3f

Conflicts:
impl/chromium-efl.gyp

6 years agoFix for text style state callback in email application.
Lukasz Krok [Thu, 22 May 2014 14:07:58 +0000 (16:07 +0200)]
Fix for text style state callback in email application.

Change-Id: Idb393bdfd8f9ec231e20346b7dba738425a5da60
Problem: _ewk_view_text_style_state_cb in email application was not executed in all required situations.
Solution: Query for selection style on update selection data.
Issues: CBWEBVIEW-170, CBWEBVIEW-630

6 years agoVarious fixes for Javascript popup.
Dong-Jun Kim [Wed, 18 Jun 2014 21:54:47 +0000 (14:54 -0700)]
Various fixes for Javascript popup.

1. fixed to error in unit test
2. implement feature for HW back key
Issue : CBWEBVIEW-526

Change-Id: I28d1e20974c0c37d44feb74f9adf573fec198cfa

6 years agoTemporary removed harfbuzz from system dependencies.
Tomasz Olszak [Wed, 16 Jul 2014 13:22:17 +0000 (15:22 +0200)]
Temporary removed harfbuzz from system dependencies.

Current Tizen mobile harfbuzz is too old.

Change-Id: I05ae8006ae975d11caa70f356ea2f66f800136de

6 years agoTemporarily disable notifications
Piotr Tworek [Thu, 17 Jul 2014 12:44:23 +0000 (14:44 +0200)]
Temporarily disable notifications

This commit should be reverted once notifications are fixed.

Change-Id: Idce7fa14e9d8af8734f3cb4f0714d5df9b49d54b

6 years agoAdd generic support for EFL toolkit.
Piotr Tworek [Thu, 17 Jul 2014 12:32:23 +0000 (14:32 +0200)]
Add generic support for EFL toolkit.

This is similar to TOOLKIT_VIEWS. Basically this adds a gyp flag and a
preprocessor define that can be used to control EFL specific code parts.
It's supposed to supplement building_for_tizen_* flags. Contrary to
those however it's supposed to enable non tizen specific code that can
be built on any platform with EFL libraries avaliable (So far only
desktop).

Change-Id: I96e08bdd8261faa69a40990d37fa3c505e848e45

Conflicts:

src/build/common.gypi

6 years agoFix ewk_global_data form chromium m37.
Piotr Tworek [Thu, 17 Jul 2014 10:42:14 +0000 (12:42 +0200)]
Fix ewk_global_data form chromium m37.

This should probably be a fixup, but tizen/dev/m37_2062c_build branch
has messed up history for the ewk_global_data.cc file. Doing git log on
it does not show when it was created.

Change-Id: I4308cd7e60fed0fbd5e9dc7de365fbf017ac4731

6 years agoFix command line switches for chromiu M37
Piotr Tworek [Thu, 17 Jul 2014 10:27:58 +0000 (12:27 +0200)]
Fix command line switches for chromiu M37

Change-Id: I278d8e423b58e84c57d350f26a04241635a90e4c

6 years agoPatch for Inputpicker
Dong-Jun Kim [Wed, 21 May 2014 15:37:33 +0000 (00:37 +0900)]
Patch for Inputpicker

1. implement for Inputpicker.
2. implement hide popup when press HW back key.
Issue: CBBROWSER-48, CBBROWSER-49, CBBROWSER-50, CBBROWSER-51

Change-Id: I950932911602a15d5d9dde680557a570a57674fa

Conflicts:

src/content/browser/web_contents/web_contents_impl.cc
src/content/renderer/render_view_impl.cc
src/content/renderer/render_view_impl.h
src/third_party/WebKit/Source/build/features.gypi
src/third_party/WebKit/Source/web/ExternalDateTimeChooser.cpp

Conflicts:

impl/web_contents_delegate_efl.h
src/content/common/view_messages.h
src/content/renderer/renderer_date_time_picker.cc
src/content/renderer/renderer_date_time_picker.h

6 years ago2 fixes related to zero copy texture
uzair jaleel [Wed, 18 Jun 2014 20:30:51 +0000 (13:30 -0700)]
2 fixes related to zero copy texture

Fix for CBGRAPHICS-271-Web pages rendering fine on Enabling --enable-map-image flag on TV
Fix for CBGRAPHICS-331-binding egl_image only once in GLImage::BindTexImage()

Change-Id: I64076b50caedfc939845d635bc6f4330b8a6d04d

6 years agoEnable accelerated compositing (again) on destkop
Wojciech Wiśniewski [Tue, 17 Jun 2014 23:47:43 +0000 (16:47 -0700)]
Enable accelerated compositing (again) on destkop

Solves CBWEBCORE-221

Change-Id: I52c3579475215fefe3c87fdb9abba9735e93d36f

6 years agoQuery the selection style when text is selected in editable field.
Youngbok Yoon [Tue, 20 May 2014 09:53:30 +0000 (18:53 +0900)]
Query the selection style when text is selected in editable field.

Issue: CBBROWSER-69
Change-Id: I229b4fe8a12d7080f7dfa98660a71f6574ac360a

6 years agoWCS Form Data Core Changes
Umesh Kumar Patel [Tue, 17 Jun 2014 23:14:03 +0000 (16:14 -0700)]
WCS Form Data Core Changes

Issue: CBBROWSER-178

Change-Id: I45c862644359eae4e154e0ddff5264babba8ab43

Conflicts:

src/components/autofill/core/browser/autofill_manager.cc
src/components/autofill/core/browser/personal_data_manager.cc
src/components/autofill/core/browser/personal_data_manager.h

Conflicts:

src/components/autofill/core/browser/personal_data_manager.cc

6 years agoHandle media access permission callback.
kapil.kumar [Tue, 17 Jun 2014 17:53:22 +0000 (10:53 -0700)]
Handle media access permission callback.

Patch handles the user permission of accesing the video input device.

Issue Id: CBMM-21

Change-Id: Iac2e8af1800e3dfd35dd0f6effd35ee1654545a0

6 years agoEnable touch events on desktop builds, and refactor EWebView::GetSnapShotForRect...
Piotr Tworek [Tue, 17 Jun 2014 21:51:36 +0000 (14:51 -0700)]
Enable touch events on desktop builds, and refactor EWebView::GetSnapShotForRect method.

In current implementation touch events are actually implemented on top
of EFL mouse events. They are only enabled on tizen builds however. It's
beneficial however to be able to also test them on desktop. Instead of
enabling touch events depending on the OS_TIZEN conditional make the
code rely on --touch-events command line flag. This way the touch events
will be by default enabled on the target builds (The flag is added in
command_line_efl.cc for tizen builds) and on desktop the flag can be
easily enabled by hand, ex:
$ efl_webview_app --touch-events

Also it refactors EWebView::GetSnapShotForRect.

Change-Id: I6b94ff0cb77fb1b181e388e03cd1de18fc0b4bf0

Conflicts:

impl/eweb_view.cc

6 years agoFix problem with wrong key.
Karol Furmaniak [Tue, 17 Jun 2014 21:23:46 +0000 (14:23 -0700)]
Fix problem with wrong key.

Patch returns proper key type when typing 'Text' and 'Number'
in input text.

Issue: CBBROWSER-250, CBBROWSER-251, CBBROWSER-252, CBBROWSER-253
Change-Id: I585077a841b57ccee8b643aaec26eded388742d3

Conflicts:

impl/browser/renderer_host/im_context_efl.cc

6 years agoImplement "form,submit" callback
Piotr Sieduszewski [Tue, 17 Jun 2014 20:59:53 +0000 (13:59 -0700)]
Implement "form,submit" callback

Patch implements "form,submit" callback.

Issue: CBWEBVIEW-345

Change-Id: I9c03ddf36c34ab1648d124b568c2a245f08b6269

6 years agoSupport language change for context menu
Youngsoo Choi [Tue, 17 Jun 2014 18:21:23 +0000 (11:21 -0700)]
Support language change for context menu

Patch uses "WebKit" text translation system to support language
change for context menu. This needs to be fixed later for the
same as "Blink".

Issue: CBBROWSER-146
Change-Id: Ib3a5b3bf394489d95743d3d399b1a8bbd8b4ed32

6 years agoInvalidate FontCache in certain cases.
SeungSeop Park [Fri, 7 Feb 2014 06:46:01 +0000 (15:46 +0900)]
Invalidate FontCache in certain cases.

When the system font changes, we need to be able to clear the font cache
so that the new font is properly loaded. This patch adds an API for that,
which is in turn exposed by the EFL API.

Change-Id: Icc2464076d5d89b3849f82c389c7e14a55cedb23
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
Conflicts:
src/third_party/WebKit/Source/platform/fonts/FontCache.h
src/third_party/WebKit/Source/web/WebFontCache.cpp
src/third_party/WebKit/public/web/WebFontCache.h

6 years agoImplement support for scrolling text content during selection.
Piotr Tworek [Mon, 16 Jun 2014 23:58:35 +0000 (16:58 -0700)]
Implement support for scrolling text content during selection.

Unfortunately chromium/blink do not support text field scrolling during
text selection for touch based input [1]. It only supports a desktop
like text selection scrolling where there is a fixed position handle
called base and scrollable caret called extent. Unfortunately this API
is exposed in the renderer as a function "SelectRange" which accepts two
gfx::Points, start and end. Internally start is used as base, end as
extent.

To make text field scrolling work in EFL port. Refactor the code to
specify different start and end points depending on which selection
handle is being moved.

[1] https://code.google.com/p/chromium/issues/detail?id=340658

Issue-Id: CBBROWSER-156
Change-Id: I01ec00aa7ca88e1bce9e207aadf93ab3a099eb18

6 years agoImplement ewk_view_web_application_icon_url_get.
Filip Piechocki [Sat, 31 May 2014 10:40:44 +0000 (12:40 +0200)]
Implement ewk_view_web_application_icon_url_get.

Added support for Google's way of defining web app icon,
but still Apple's way is treated as preffered one, so the
behavior would be the same as in WebKit-EFL, when both,
Apple's and Google's, rels appear in the HTML file.

Issue: CBWEBVIEW-578
Change-Id: I004789e89736aea222729ddc4b32aed335e1130a

6 years agoImplementn FaviconDatabase.
Filip Piechocki [Fri, 16 May 2014 10:56:49 +0000 (12:56 +0200)]
Implementn FaviconDatabase.

The following functions were implemented:

ewk_context_icon_database_path_set
ewk_context_icon_database_icon_object_add
"icon,received"

Issue: CBWEBVIEW-313, CBWEBVIEW-312
Change-Id: I15862b51ce0af42ebb4424abcebd5d2aa9d82285

6 years agoImplement |capture| attr support on HTMLInputElement.
msu.koo [Mon, 26 May 2014 13:34:59 +0000 (22:34 +0900)]
Implement |capture| attr support on HTMLInputElement.

1) Activate |capture| attribute on WebCore.
2) Implement codes to launch the camera app from browser.

Issue: CBMM-87, CBMM-89, CBMM-101
Change-Id: I4ecc0c9812b46b4d9c8aed23152bf5597f984ef2

Conflicts:

impl/eweb_view.h

6 years agoAdd an implementation of "auto contents detection".
Robert Jadczak [Fri, 16 May 2014 11:05:13 +0000 (13:05 +0200)]
Add an implementation of "auto contents detection".

Patch implements auto contents detection - Phone number
and e-mail detection with displaying option popup.

Issue: CBBROWSER-171
Issue: CBWEBVIEW-566

Change-Id: Ifbe59afdb4970020c8cef68a26690711b9876260

Conflicts:

impl/browser/renderer_host/render_widget_host_view_efl.cc
impl/browser/renderer_host/render_widget_host_view_efl.h
impl/eweb_view.h
src/content/port/browser/render_widget_host_view_port.h
src/content/renderer/render_view_impl.h

6 years agoPatch for Tizen TV Specific Build
Youngsoo Choi [Wed, 7 May 2014 14:01:24 +0000 (23:01 +0900)]
Patch for Tizen TV Specific Build

1) chromium-efl.spec
   It's modified to utilize opengl-es-t604 rpm package in Tizen TV build.
2) generate_bindings_tizen_tv.py
   It's added not to verify undefined Angle APIs in opengl-es-t604 package.
3) gl.gyp
   It's modified to choose proper generate_bindings.py script
   depending on target device.
4) *.cc (3)
   Those files are modified not to use Angle APIs for Tizen TV build
   because the Angle is a library for windows system.

Change-Id: I5fe4e26d96bf7d339d1f103b18df26a4fea97318

Conflicts:

src/gpu/command_buffer/service/context_state.cc
src/gpu/command_buffer/service/gles2_cmd_decoder.cc

6 years agoEnable clipboard in Email app
Youngbok Yoon [Mon, 16 Jun 2014 21:10:14 +0000 (14:10 -0700)]
Enable clipboard in Email app

Issue: CBBROWSER-209

Change-Id: I6364223c70cc414270e08f92188352866272afc9

6 years agoFix zooming in fullscreen mode
Daniel Waślicki [Mon, 16 Jun 2014 21:51:20 +0000 (14:51 -0700)]
Fix zooming in fullscreen mode

[Issue] After opening HTML element in fullscreen mode
with element.requestFullScreen() method, browser allowed
to zoom in and out content under fullscreen layer. It caused
incorrect display of the top layer.

[Solution] Disable pinch events (which are responsible for zooming)
when web_contents is in fullscreen mode or
in case that they are disabled with switch --disable-pinch.

Task: CBWEBCORE-136
Change-Id: I5891f07fee141e0975f90f95f43e708f67eb4dff

6 years agoAdd an implementation of ewk_context_web_storage_{origins_get,origin_delete}
Kamil Klimek [Mon, 16 Jun 2014 18:54:05 +0000 (11:54 -0700)]
Add an implementation of ewk_context_web_storage_{origins_get,origin_delete}

Issues: CBWEBVIEW-328 and CBWEBVIEW-327
Change-Id: Ib2147044178a22566b5918242a353ea84e391a50

6 years ago[Error Page] Lack of error page message
Grzegorz Spryszynski [Fri, 13 Jun 2014 22:18:34 +0000 (15:18 -0700)]
[Error Page] Lack of error page message

Issues: CBBROWSER-135, CBBROWSER-136

[Problem] There is no message when page can not be loaded.
[Cause] The error pare is no implemented.
[Solution] Added information with description
when there is some problem with page loading.

Change-Id: I04f0b7796ec71d5b0b261a74273efac24cee0ad1

Conflicts:

src/apps/shell/app/shell_main_delegate.cc

Conflicts:

src/apps/shell/app/shell_main_delegate.cc

6 years agoFix ewk shutdown procedure
Kamil Klimek [Fri, 13 Jun 2014 22:54:10 +0000 (15:54 -0700)]
Fix ewk shutdown procedure

1. Releasing all blink related resources so all local caches are written
to the hard drive
2. Releasing web pages
3. Releasing all EWK API related structures and resources

Issue: CBWEBVIEW-525
Change-Id: Ie453682a1a302f463726b836c205ebdb2783fe31

Conflicts:

impl/browser_context_efl.cc

6 years agoReset IMF context on focus.
Karol Furmaniak [Fri, 13 Jun 2014 23:03:51 +0000 (16:03 -0700)]
Reset IMF context on focus.

[Problem]: Selecting text while composing text cause that text disappears.
[Cause]: Composed text is not canceled while selecting text in input.
[Solution]: Add canceling composition after focusing input text.

Issue: CBBROWSER-248, CBBROWSER-249

Change-Id: I89b2a7f3d9d8ce450ec666fa7548126fcf977a1f

6 years agoFix IME events handling.
Karol Furmaniak [Fri, 13 Jun 2014 23:24:47 +0000 (16:24 -0700)]
Fix IME events handling.

Issue: CBBROWSER-94, CBBROWSER-95, CBBROWSER-93, CBBROWSER-96, CBBROWSER-228, CBBROWSER-229, CBBROWSER-227,

[Problem]: Tests form issuses above are failing.
[Cause]: Some of IME events are not dispatched and others are in unproper order.
[Solution]: Change handling IME events as it is in Webkit.

Change-Id: I876a3c6da9f19dfb6dea08e2d53b59ccd3bd3c8b

Conflicts:

impl/browser/renderer_host/im_context_efl.cc
impl/browser/renderer_host/render_widget_host_view_efl.cc
impl/browser/renderer_host/render_widget_host_view_efl.h
src/content/renderer/render_widget.cc

6 years agoSeparate build output directory for mobile and tv
Tomasz Olszak [Thu, 15 May 2014 11:10:28 +0000 (13:10 +0200)]
Separate build output directory for mobile and tv

Patch separated build output directory for mobile and tv.
Task:CBEFL-28

Change-Id: I8d838e3864f00d9197bc00a7eed2c0a1c3e325c1

6 years agoDisable text selection by JS selection event
Youngbok Yoon [Mon, 19 May 2014 14:31:41 +0000 (23:31 +0900)]
Disable text selection by JS selection event

Patch disables text selection by JS selection event
and CSS style (-webkit-user-select:none).

Issue: CBBROWSER-211
Change-Id: I55471870510288796fa5054960348d0107a2195b
Change-Id: If01cfc39281ae929f36227355e7f5b1ae1a23aae

6 years agoFix compilation warnings, so that desktop build works
Wojciech Wiśniewski [Thu, 12 Jun 2014 17:18:41 +0000 (10:18 -0700)]
Fix compilation warnings, so that desktop build works

Patch fixed compilation warnings.

Change-Id: I63bba4a5b727d3c6acbb43beb6e2479ac034a418

6 years agoAdjust position of context menu according to visible status
Youngbok Yoon [Tue, 10 Jun 2014 21:09:28 +0000 (14:09 -0700)]
Adjust position of context menu according to visible status

Issue: CBBROWSER-197, CBBROWSER-183, CBBROWSER-182
Change-Id: I4c969ad5f21541964324450e880195026cfbac2c

Conflicts:

impl/browser/renderer_host/im_context_efl.h
impl/eweb_view.h

6 years agoImplement Tizen hardware back key handling in EFL WebView element.
Yi Shen [Thu, 12 Jun 2014 18:00:18 +0000 (11:00 -0700)]
Implement Tizen hardware back key handling in EFL WebView element.

Patch implements Tizen hardware back key handling in EFL WebView element.

Issue-Id: CBBROWSER-143
Change-Id: Ie778bb049c2d21bb205ab6a7c0aa3a1e8753edb3

6 years agoImplement ewk_policy_decision
Kamil Klimek [Tue, 6 May 2014 13:13:43 +0000 (15:13 +0200)]
Implement ewk_policy_decision

6 years agoFix wrong placement for magnifier text and link context menu
Sergey [Wed, 11 Jun 2014 21:55:00 +0000 (14:55 -0700)]
Fix wrong placement for magnifier text and link context menu

Issue : CBGRAPHICS-244

Change-Id: I04b1cd5a2755c0b43f791fdfe1570f578923c3ce

6 years agoSupport screen width and height as JS properies on rotation.
Youngsoo Choi [Fri, 16 May 2014 02:18:22 +0000 (11:18 +0900)]
Support screen width and height as JS properies on rotation.

[issue]
The screen size for JS callback has not been changed under device rotation.
CBBROWSER-104, CBBROWSER-188

[cause]
1) There's no function call for refreshing screen_info.
2) The screen rect is not set via GetWebScreenInfo function.

[solve]
1) When device rotation occurs,
   The screen_info is set as null to be set with changed screen size.
2) The screen rect is properly set via GetBoundsInRootWindow function.

Change-Id: I13d16e6327f97342c579ae48b49c244e21b47e87

6 years agoImplement ColorPicker
Dong-Jun Kim [Thu, 15 May 2014 05:24:01 +0000 (14:24 +0900)]
Implement ColorPicker

1. Implement "_color_back_cb" when choose color in popup.
2. Impelment hide popup when push HW back_key.
Issue : CBBROWSER-47

Change-Id: If84609e0792c04d6b6aeec805c81954b90ddcd73

6 years agoImplement edge effect
SeungSeop Park [Wed, 16 Jul 2014 02:29:57 +0000 (11:29 +0900)]
Implement edge effect

Issue: CBBROWSER-139
Issue: CBEFL-25, CBWEBCORE-402
Change-Id: I8d0f4114abae3f627ff6086c9997080a3cd2ca88

Conflicts:

impl/chromium-efl.gyp
impl/eweb_view.h

6 years agoImplement InputPicker
Dong-Jun Kim [Tue, 29 Apr 2014 08:14:02 +0000 (17:14 +0900)]
Implement InputPicker

1. porting inputpicker to blink.
2. implement for colorpicker without callback.
3. add resource files.

* The only Tizen specific thing in the whole implementation is the usage
of vconf which can be easily avoided. Because of this the code can be
enabled in desktop builds.

Change-Id: Iad920a23af2a5d3bcd1a2ae492485b93f2b68dac

6 years agoImplement video capture device using CAPI.
msu.koo [Wed, 11 Jun 2014 00:33:08 +0000 (00:33 +0000)]
Implement video capture device using CAPI.

This implementation uses capi-media-camera API.

Known Issues.
  - Get the screen rotation. Currently implemented as hard-coded manner. (CBMM-24)
  - Permission to video capture device is handled as hard-coded manner. (CBMM-21)
  - After few minutes of RTC connection, frame hold / drop happens.

Change-Id: Ib93ff951c1ed0ea6c3426dc0f171d5bbad1089b6

Conflicts:

src/media/video/capture/video_capture_types.h

6 years agoImplement BeforeUnloadDialog popup
Robert Jadczak [Mon, 9 Jun 2014 21:45:16 +0000 (14:45 -0700)]
Implement BeforeUnloadDialog popup

Issue: CBBROWSER-138
Change-Id: I14176c02d93419393de9fe4160c947895a61059a

6 years agoImplement WebInspector
jywings.lee [Tue, 10 Jun 2014 18:29:39 +0000 (11:29 -0700)]
Implement WebInspector

JIRA: CBWEBCORE-24
Change-Id: I7dca3afc6277868e5328730993239d49ffb48c8e

Conflicts:

impl/chromium-efl.gyp
impl/content_main_delegate_efl.cc

6 years agoImplement tap sound effect
Robert Jadczak [Sat, 26 Apr 2014 15:35:03 +0000 (17:35 +0200)]
Implement tap sound effect

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

Issue: CBBROWSER-140
Change-Id: Ib80700221ee432bcd4e2a34344162c9317d301cc

6 years agoImplement major set APIs
Murugappan Nataraj [Tue, 10 Jun 2014 23:27:45 +0000 (16:27 -0700)]
Implement major set APIs

Patch implements the following APIs:
* RenderWidgetHostViewEfl::SetSize
* RenderWidgetHostViewEfl::UpdateCursor
* RenderWidgetHostViewEfl::SetIsLoading

Change-Id: I2548418b77aa52f81b73b796af2bda17602fa757
Description: This commit is part of EFL port P0 API implementation.

Conflicts:

src/webkit/common/webkit_common.gyp

6 years agoContext menu does not appear on a link
Youngbok Yoon [Wed, 11 Jun 2014 22:08:04 +0000 (15:08 -0700)]
Context menu does not appear on a link

[problem] Context menu does not appear on a link
This is side effect after changing chromium base to 34.1847

Issue: CBBROWSER-154, CBBROWSER-149
Change-Id: Ie54b3d5ee4091534d59cb73a448747b2af26f1ff

6 years agoWeb page is not rendered properly on Tizen TV
Chandan Padhi [Wed, 7 May 2014 14:36:32 +0000 (20:06 +0530)]
Web page is not rendered properly on Tizen TV

Issue: CBGRAPHICS-237

Change-Id: I2d677a39230f5cb62a11a61c84225315108b98da

6 years agoAdjust handle's direction when text selection changes
Youngbok Yoon [Tue, 10 Jun 2014 21:43:27 +0000 (14:43 -0700)]
Adjust handle's direction when text selection changes

Issue: CBROWSER-182
Change-Id: Ic360b99a62a5afe52a897fdff0da273619fd81d4

6 years agoHandle events from EFL Clipboard Window
Yi Shen [Tue, 10 Jun 2014 22:11:17 +0000 (15:11 -0700)]
Handle events from EFL Clipboard Window

Patch adds implementation for handling events from EFL Clipboard
window.

Issue: CBBROWSER-71, CBBROWSER-198, CBBROWSER-144
Change-Id: I45f8a9485e06db6ff1042cff629731775b0d7e5a

6 years agoScrolling page to show input cursor
Youngbok Yoon [Wed, 30 Apr 2014 06:04:52 +0000 (15:04 +0900)]
Scrolling page to show input cursor

Patch scrolls the focused editable node into an empty rectangle
to show the input cursor.

Issue: CBBROWSER-233, CBBROWSER-280
Change-Id: I7781c0004bc9f0bc47fb14b4d0198b87a017bf77

6 years agoAdd features about visited link.
Dariusz Frankiewicz [Wed, 7 May 2014 08:52:42 +0000 (10:52 +0200)]
Add features about visited link.

Issues:CBWEBCORE-85, CBWEBCORE-83

Change-Id: I75a86a67d2ce20e5f6f5e07124cb03fdb0539ab7

Conflicts:

impl/browser_context_efl.h

6 years agoWeb page is scrolling during magnifier appearance
keunseob.kim [Tue, 10 Jun 2014 18:43:30 +0000 (11:43 -0700)]
Web page is scrolling during magnifier appearance

Issue: CBGRAPHICS-245

Change-Id: Ibf1037a62dbe93c336fb2346f40f1a8f05025556

6 years agoFix text-selection malfunctions in some web page issue
nguyen.canh [Fri, 25 Apr 2014 11:03:16 +0000 (20:03 +0900)]
Fix text-selection malfunctions in some web page issue

Issue Id: CBGRAPHICS-243

Change-Id: I3a2e47783d02720d4d1550f9b7998f94f67f8477

6 years ago[Email] Text is not selected on the double tap.
Youngbok Yoon [Tue, 29 Apr 2014 08:41:08 +0000 (17:41 +0900)]
[Email] Text is not selected on the double tap.

Issue: CBWEBVIEW-405
Change-Id: I18acf78dd4ac628992823ce7006ea5f1531854eb

6 years agoChange handlers direction acording to the position of the page
Youngbok Yoon [Mon, 28 Apr 2014 04:45:03 +0000 (13:45 +0900)]
Change handlers direction acording to the position of the page

Patch changes handlers direction acording to the position of the page.

Issue: CBBROWSER-182, CBBROWSER-183
Change-Id: Ic709e461cdf3a14d30fac5aa041d0f949ad99338

6 years agoHide context menu when typing in the input field
Youngbok Yoon [Mon, 28 Apr 2014 06:26:57 +0000 (15:26 +0900)]
Hide context menu when typing in the input field

Patch hides the context menu when typing event is occured in the
input field.

Issue: CBBROWSER-166
Change-Id: I3ec7b71eebd3bbc060dab3e7bd3d942f0b42f8d0

6 years agoThe change is related to "double tap to zoom" gesture.
KANGYONG PARK [Tue, 10 Jun 2014 16:58:11 +0000 (09:58 -0700)]
The change is related to "double tap to zoom" gesture.

    It is implemented a gesture referring to Android and webkit2-efl.

    (1) ISSUE:
        CBWEBCORE-15

    (2) Problem:
        1. There is not code about checking "tap_count".
        2. "doubleTapZoom" flag is not enabled.
        3. conflict ewk API, "ewk_settings_select_word_automatically_set"

    (3) Solution:
        1. Check "tap_count" to every tap gesture.
        2. Enable "doubleTapZoom" flag
        3. Check "m_autoSelectWord" and enable "doubleTapToZoom"

    (4) How to test:
        1. Eamil App (doubleTapToZoom "disabled")
                $> /usr/apps/com.samsung.email/bin/email
        2. efl_webview_app (doubleTapToZoom "enabled")
                $> /usr/bin/efl_webview_app <URL>

Change-Id: I7ad958d596b5233666cc1041c2c6ef6fde44612c

Conflicts:

src/content/renderer/web_preferences.cc
src/ui/events/event_constants.h
src/ui/events/gestures/gesture_types.cc
src/ui/events/gestures/gesture_types.h

Conflicts:

src/content/renderer/web_preferences.cc
src/webkit/common/webpreferences.cc
src/webkit/common/webpreferences.h

6 years agoWeb pages are not rendered properly due to map-image bug.
Antonio Gomes [Tue, 10 Jun 2014 16:01:43 +0000 (09:01 -0700)]
Web pages are not rendered properly due to map-image bug.

Problem affects branch tizen/dev/m324_1847a.

Issues: CBGRAPHICS-247, CBGRAPHICS-271

This is a temporary commit that should be reverted
once the rendering bug is fixed.

Conflicts:

src/ui/gfx/gpu_memory_buffer.h

Change-Id: Iad48044fa0ee9c27551c5bddf6d20dae388123b0

6 years agoFix IME return key type when in Form Tag.
Karol Furmaniak [Tue, 29 Apr 2014 12:58:09 +0000 (14:58 +0200)]
Fix IME return key type when in Form Tag.

Issue: CBBROWSER-90, CBBROWSER-91,
      CBWEBCORE-399

[Problem]: When input is in Form tag keyboard has wrong return key type.
           It should be "Go" key.
[Cause]: IME Efl context has no information if input has Form Tag.
[Solution]: Add IPC message when "In Form Tag" state is changed.

Change-Id: I435aab142777c02ceb6842eb4d8b1daf1d71a525

6 years agoFix keyboard appearing while cursor is blinking
Karol Furmaniak [Wed, 23 Apr 2014 08:31:58 +0000 (10:31 +0200)]
Fix keyboard appearing while cursor is blinking

Issue:CBBROWSER-81

[Problem]: Keyboard is not appearing after tapping on search field
   while cursor is blinking.
[Cause]: There are no ipc message handler "OnTextInputStateChanged"
[Solution]: Add ipc message handler "OnTextInputStateChanged"

Change-Id: I44b0552acb83fe8803733f84715e1993c9a692f9

Conflicts:

src/third_party/WebKit/Source/web/WebViewImpl.cpp

6 years agoFix Scroll bar does not work properly in Email app
keunseob.kim [Wed, 23 Apr 2014 15:54:57 +0000 (00:54 +0900)]
Fix Scroll bar does not work properly in Email app

Issue : CBGRAPHICS-240

Change-Id: I3755d9b536579980241f8c85259bcc4923f92cf9

6 years agoGetting Magnifier image data for AC mode
Sergey [Tue, 10 Jun 2014 15:01:44 +0000 (08:01 -0700)]
Getting Magnifier image data for AC mode

Issue : CBGRAPHICS-239

Change-Id: I8f541518166eb9a9d0c399d23ec600442b4ea272

Conflicts:

src/content/browser/renderer_host/render_widget_host_impl.cc

Conflicts:

impl/eweb_view.cc

Conflicts:

src/content/browser/renderer_host/render_widget_host_impl.cc

6 years agoImplement Ewk_Settings::setSpdyEnabled
Marek Ruszczynski [Wed, 21 May 2014 09:29:48 +0000 (11:29 +0200)]
Implement Ewk_Settings::setSpdyEnabled

Issue: CBWEBVIEW-572

This change requires a simmilar change to chromium-ewk.

Change-Id: I60ea43c7e91ebc21f24feda86f69b0adfe3c6349

6 years agoImplement EWebContext::Delete
Piotr Sieduszewski [Wed, 16 Apr 2014 13:25:37 +0000 (15:25 +0200)]
Implement EWebContext::Delete

Issue: CBWEBVIEW-226
Change-Id: Ic452609615301162d09944a36f68fffb8dd4330f

6 years agoFix IME predictive mode
Karol Furmaniak [Tue, 29 Apr 2014 08:28:48 +0000 (10:28 +0200)]
Fix IME predictive mode

Patch changes the allow_prediction flag to true, which allows
predictive text and underlines the text.

Issue: CBBROWSER-223, CBBROWSER-224, CBBROWSER-225, CBBROWSER-226
Change-Id: Icddd6708db21b6249deb279f84e9c87ae1eaa0de

6 years agoFix 'Text Selection' problem when '--enable-pinch switch' is applied
nguyen.canh [Wed, 23 Apr 2014 06:05:47 +0000 (15:05 +0900)]
Fix 'Text Selection' problem when '--enable-pinch switch' is applied

Issue Id: CBGRAPHICS-238

Change-Id: I48730669299f09c35043c9fefaf922dae6163055

6 years agoHide the selection handlers and context menu while page is scrolled
Youngbok Yoon [Mon, 9 Jun 2014 18:49:56 +0000 (11:49 -0700)]
Hide the selection handlers and context menu while page is scrolled

Issues: CBBROWSER-64, CBGRAPHICS-242
Change-Id: I1d99ba46b63bceb8a879203e34ee72b09af2486f

Conflicts:

impl/browser/renderer_host/render_widget_host_view_efl.cc

6 years agoChanges to support viewport meta tag
Arnaud Renevier [Fri, 6 Jun 2014 23:13:05 +0000 (16:13 -0700)]
Changes to support viewport meta tag

Change-Id: I1d168dde63e6045a640c8f3a3a777bf4b0bb3485

6 years agoAdd EFL filechooser implementation.
Karol Furmaniak [Fri, 6 Jun 2014 19:53:54 +0000 (12:53 -0700)]
Add EFL filechooser implementation.

Patch fixes 3 manual tests from tct-fileapi-w3c-tests
and 1 manual test from tct-mediacapture-w3c-tests that
used to fail.

Issue: CBWEBCORE-27
Change-Id: I52f67bd4079252e3eee90721e721b6f30bc5a10b

Conflicts:

impl/eweb_view.h

6 years agoAdd 'Select/Select All' functionality to the context menu
Arnaud Renevier [Fri, 6 Jun 2014 19:38:05 +0000 (12:38 -0700)]
Add 'Select/Select All' functionality to the context menu

These should be shown when large handler is touched in the input
field

Issue: CBBROWSER-3
Change-Id: I284a03aeee110faa92dace404a854cfd0a151529

6 years agoFix whole link text selection
Youngbok Yoon [Wed, 14 May 2014 04:33:24 +0000 (13:33 +0900)]
Fix whole link text selection

Patch allows to select whole link text.

Issue: CBBROWSER-149, CBBROWSER-98, CBBROWSER-154

Change-Id: I0083bfede515fc55889296eb31bd01fb3a915e54

Conflicts:

src/third_party/WebKit/Source/web/WebFrameImpl.cpp

Conflicts:

impl/eweb_view.cc

6 years agoClear text selection after 'Copy' command.
Youngbok Yoon [Thu, 17 Apr 2014 12:32:58 +0000 (21:32 +0900)]
Clear text selection after 'Copy' command.

Patch hides the selection handlers and clears text selection
after execute copy command in both editable/non-editable content.

Issue: CBBROWSER-4

Change-Id: Ib1e4158955afc7e5c73f8c9dd4be09c79de60b73

6 years agoFix link selection mode implementation.
Youngbok Yoon [Thu, 17 Apr 2014 13:32:12 +0000 (22:32 +0900)]
Fix link selection mode implementation.

Issue: CBBROWSER-98
Change-Id: I30b198af902ec37dab1f6df8567d0c9fb98c2d94

6 years agoAdd Cut button in the context menu
Piotr Sieduszewski [Wed, 9 Apr 2014 10:10:14 +0000 (12:10 +0200)]
Add Cut button in the context menu

Patch added cut button in the context menu.

Issue: CBBROWSER-70, CBBROWSER-144, CBWEBVIEW-173

Change-Id: Ib3918a967c0c307c63de3eed1739eda9bbbcde7a

6 years agoImplement "Direct Rendering"
Eunsol Park [Thu, 10 Apr 2014 11:01:03 +0000 (20:01 +0900)]
Implement "Direct Rendering"

In order to implement "Direct Rendering", Evas gl is necessary.
But evas gl is not thread-safe, so it doesn't composite in GPU thread.
Iit should composite in main thread.

Patch:
1. Creates eglPixmapSurface as offScreenBuffer
2. Sends Pixmap id from GPU thread to Main thread (Browser process)
3. Makes egl Image using the pixmap,  bind the pixmap to texture and draw.

Patch also deliiberately left --enable-skia-benchmarking switch out,
because it crashes the browser. Reproduce Steps)
* /usr/bin/mini_browser -u http://tinyurl.com/8oxcpwk
* Then, touch the screen on a mobile target.

JIRA: CBWEBCORE-151
Issue: CBEFL-25

Change-Id: Iffc4f5130e699ca9745b437ccecc623b5dfffcff

Conflicts:

src/ui/gl/gl_surface.cc
src/ui/gl/gl_surface.h

6 years agoAudio-Video controls are not shown
Piotr Grad [Mon, 14 Apr 2014 20:00:34 +0000 (22:00 +0200)]
Audio-Video controls are not shown

Change-Id: I2ce8e5fad05391ae03f7d74330ac23c2810f9926

Conflicts:

impl/common/content_client_efl.cc

6 years agoFix EFL geolocation provider implementation.
Piotr Tworek [Mon, 14 Apr 2014 12:04:14 +0000 (14:04 +0200)]
Fix EFL geolocation provider implementation.

The original implementation had 2 problems:
1. EFL provider never notified chromium's content layer that position
   has been obtained (call LocationProviderBase::NotifyCallback). As a
   result JavaScript environment waited indefinately for the
   geo-location data.
2. The LocationProviderEfl class was never instantiated due to
   chromium's default implementation taking precedence.
   (content::NetworkLocationProvider)

This commit fixes both problems. With this patch applied all 207
automatic and 3 manual geoallow TCT tests pass.

Issue: CBWEBCORE-26
Change-Id: I9cb118456f8bbb23ff5ff7c61af73cb41ebf0bed

Conflicts:

impl/chromium-efl.gypi
impl/content_main_delegate_efl.cc

6 years agoImplement "tilt zoom" feature.
hyungsun.ryu [Thu, 10 Apr 2014 15:02:54 +0000 (00:02 +0900)]
Implement "tilt zoom" feature.

Issue: CBEFL-25

Change-Id: Id7991c2dd3c9c3658616c55ba3e8a1f4312cc2ed

Conflicts:

impl/chromium-efl.gypi
impl/eweb_view.cc

6 years agoAdd large handler feature in the input text field
Arnaud Renevier [Thu, 5 Jun 2014 21:57:27 +0000 (14:57 -0700)]
Add large handler feature in the input text field

Large handler should be shown when input field is touched.
And caret can be controlled by longpress in a input field.

Issue: CBWEBCORE-6
Change-Id: Ib70eeefe96d574cc261978b2b74d2cf59f725fcd

6 years agoMulti touch ID handling fixes.
dennis.oh [Thu, 10 Apr 2014 07:12:18 +0000 (16:12 +0900)]
Multi touch ID handling fixes.

The change is related to multi-touch pinch zoom in and out.
After some research it turns out that, with the poorly written
tizen API "evas_touch_point_list_nth_id_get()," one can get
"device" touch id(s) in range: [[0], [13, )] in real. Chromium's
GestureRecognizer assumes that she can get "logical" touch id(s)
in range: [0, 11]. So, she needs a multi touch id mapping :
[0] -> [0], [13, 23] -> [1, 11]
Internet Blame URL:
https://groups.google.com/d/msg/mailing-enlightenment-devel/
        -R-ezCzpkTk/HJ0KBCdz6CgJ
How to test:
(1) (MUST) Enable Accelerated Compositing.
    Look for gerrit code review:
        http://10.251.52.177:9091/#/c/659/
(2) Add additional switches to test.
    eg)
       $ /usr/bin/efl_webview_app \
         http://whatsmyuseragent.com \
         " --enable-viewport-meta" \
         " --enable-viewport" \
         " --enable-pinch" \
         " --enable-impl-side-painting" \
         " --disable-delegated-renderer" \
         " --enable-threaded-copositing" \
         " --in-process-gpu" \
         " --ignore-gpu-blacklist" \
         " --user-agent=none"

Change-Id: Ia049c1b77b391ec27b9efee4446ddc2141fe8458
JIRA: CBWEBCORE-22