platform/framework/web/chromium-efl.git
6 years agoImplement support for overriding content mime type.
Piotr Tworek [Tue, 24 Jun 2014 23:47:11 +0000 (16:47 -0700)]
Implement support for overriding content mime type.

This adds EFL port implementation of ResourceDispatcherHostDelegate's
ShouldOverrideMimeType function. The code exposes this interface via EWK
context object. Due to the fact chromium resource dispatcher host
delegate is a singleton object the interface is exposed as a static
function in WebContext.

Issue-Id: CBWEBCORE-306

Change-Id: I1de8e03c5d5bd529901cb2e6ac05fa4e1d35d231

Conflicts:

impl/content_main_delegate_efl.cc

6 years agoRemove webcore debug symbols.
Tomasz Olszak [Wed, 28 May 2014 11:23:02 +0000 (13:23 +0200)]
Remove webcore debug symbols.

Half of chromium-efl debug symbols comes from
webcore. These symbols are rarely used in platform
integration development so can be freely removed.
The result are faster build, link and extracting
debug output.

Task: CBEFL-27
Change-Id: I45c58ef5c9e429275238341202b80af952b965c0
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
6 years agoFix image context menu options
Michał Obrembski [Fri, 13 Jun 2014 11:22:24 +0000 (13:22 +0200)]
Fix image context menu options

Save image, Copy Image and Show image in new window was shown
even if user open context menu not on a Image.
Open link in new tab and Open image was buggy. Fixed

Change-Id: If7e8c2eedcd5904c98186dd3a88ad6638312ceb8

Conflicts:

src/content/public/common/context_menu_params.cc

6 years agoFix "Select All" option not shown
Michał Obrembski [Fri, 13 Jun 2014 09:53:14 +0000 (11:53 +0200)]
Fix "Select All" option not shown

Select All context menu option wasn't shown when
user opens context menu on non-editable field.

Issue-Id: CBBROWSER-71
Change-Id: I55c805e6b4d8414c3f7a39ea2bff80c8faf65da1

6 years agoRefactor of DeleteAllApplicationCache
Marcin Lapinski [Fri, 6 Jun 2014 13:57:58 +0000 (15:57 +0200)]
Refactor of DeleteAllApplicationCache

Issue: CBWEBVIEW-821
Needed by: http://suprem.sec.samsung.net/gerrit/#/c/2276/
wthout it test segfaults.

Change-Id: I4e604bbd688c083f3247d93099dcddbe58bfbdfb

6 years agoImplementation of ewk_view_inspector_server_stop
Piotr Sieduszewski [Tue, 3 Jun 2014 14:24:46 +0000 (16:24 +0200)]
Implementation of ewk_view_inspector_server_stop

Issue: CBWEBVIEW-575
Change-Id: I23657c515e7a8826e0e62386d92352b9edd56293

Conflicts:

impl/eweb_view.h

6 years agoImplementation of ewk_view_inspector_server_start
Piotr Sieduszewski [Thu, 5 Jun 2014 11:35:45 +0000 (13:35 +0200)]
Implementation of ewk_view_inspector_server_start

Issue: CBWEBVIEW-575 & CBWEBVIEW-126
Change-Id: I9713dd654f8d03368e14f8581642f0e7461da462

Conflicts:

impl/eweb_view.h

Conflicts:

impl/devtools_delegate_efl.cc

6 years agoRefactor of ResourceDispatcherHostDelegateEfl
Piotr Tworek [Tue, 24 Jun 2014 21:25:00 +0000 (14:25 -0700)]
Refactor of ResourceDispatcherHostDelegateEfl

The class implements a well defined chromium interface. Placing it in
content_main_delegate_efl.cc along with three different classes makes it
harder to find and modify. Move it to a dedicated file as is done for
implementation of other similar chromium interfaces.

Issue-Id: CBWEBCORE-306

Change-Id: I069ee4bc31341446d24d35e39caed97f443d7ad4

Conflicts:

impl/content_main_delegate_efl.cc

6 years agoFix for black screen in long text mail
uzair jaleel [Thu, 12 Jun 2014 12:17:30 +0000 (17:47 +0530)]
Fix for black screen in long text mail

Issue: CBGRAPHICS-339
Change-Id: I0c2d40e3f06d98b4b0b4bcc38f29c40dc6b96a3b

6 years agoImplement setAuthorizationIfNecessary
Adam Banasiak [Mon, 2 Jun 2014 10:34:47 +0000 (12:34 +0200)]
Implement setAuthorizationIfNecessary

[Issue#]    CBWEBVIEW-655
[Issue#]    CBWEBVIEW-656
[Problem]   No possibility to set username and password
[Solution]  Added function to set username and password

Change-Id: Icfd64bff159205f249ebb11551da76013b4f1257

6 years agoImplementation of image and link context menu options.
Piotr Grad [Mon, 23 Jun 2014 22:06:17 +0000 (15:06 -0700)]
Implementation of image and link context menu options.

Patch implements copy and save image.

Issue-Id: CBBROWSER-76, CBBROWSER-77, CBBROWSER-78

Change-Id: I5635e7f79b8f4d75df5238fd7ad576ee6e3aa0ae

Conflicts:
impl/content_main_delegate_efl.cc

6 years agobreak dependency to Ewk_Notification_Permission_Request (removed ewk_notification.h)
SeungSeop Park [Fri, 13 Jun 2014 05:57:08 +0000 (14:57 +0900)]
break dependency to Ewk_Notification_Permission_Request (removed ewk_notification.h)

Added tizen_webview::NotificationPermissionRequest class which uses existing
_Ewk_Notification as its implementation.

Issue: CBEFL-92
Change-Id: I6a2e4ed96219f5f3085685055a8e7006d81f3cd2

Conflicts:
impl/content_main_delegate_efl.cc

6 years agobreak dependency to Ewk_Policy_Decision (removed ewk_policy_decision.h)
SeungSeop Park [Thu, 19 Jun 2014 07:21:55 +0000 (16:21 +0900)]
break dependency to Ewk_Policy_Decision (removed ewk_policy_decision.h)

It's replaced by tizen_webview::PolicyDecision.

Issue: CBEFL-92
Change-Id: Ibd87d9763cef2eafdb1e1651913c713a0188db42

6 years agobreak dependency to ewk_view.h callbacks
SeungSeop Park [Mon, 16 Jun 2014 11:15:03 +0000 (20:15 +0900)]
break dependency to ewk_view.h callbacks

callback declarations moved to tw_callbacks.h

Issue: CBEFL-92
Change-Id: I78950c69a8d95e2fe37d22e6c78cde4d3ce867cd
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years agobreak dependency to enum Ewk_CSP_Header_Type
SeungSeop Park [Mon, 16 Jun 2014 10:21:24 +0000 (19:21 +0900)]
break dependency to enum Ewk_CSP_Header_Type

Replaced by tizen_webview::ContentSecurityPolicyType

Issue: CBEFL-92
Change-Id: I3f3f650a186a6ffe02a0bee9f3ecf68d42f399cc

6 years agobreak dependency to Ewk_IPC_Wrt_Message_Data (removed ewk_ipc_message.h)
SeungSeop Park [Sat, 14 Jun 2014 06:37:04 +0000 (15:37 +0900)]
break dependency to Ewk_IPC_Wrt_Message_Data (removed ewk_ipc_message.h)

It's renamed to tizen_webview::WrtIpcMessageData with additional methods.

In addition, following refactorings were performed during the task.
* rename function:
  - ewk_ipc_wrt_message_send_private
    => tizen_webview::WrtIpc::SendMessage
  - ewk_ipc_plugins_message_send_private
    => tizen_webview::WrtPluginsIpc::SendMessage
  - ewk_ipc_plugins_sync_message_send_private
    => tizen_webview::WrtPluginsIpc::SendSyncMessage
* delete file:
  - impl/API/ewk_ipc_message_private.h|cc => merged to tw_wrt.h|cc

Issue: CBEFL-92
Change-Id: I3bd7ee4d296a5e04b6852f357c3746af8c2b5aaa

6 years agobreak dependency to Ewk_Hit_Test (removed ewk_hit_test.h)
SeungSeop Park [Thu, 12 Jun 2014 04:15:10 +0000 (13:15 +0900)]
break dependency to Ewk_Hit_Test (removed ewk_hit_test.h)

Issue: CBEFL-92
Change-Id: Id6b2e26d3b8ca56a96d8c8075987aaed655653fd

6 years agobreak dependency to Ewk_Notification
SeungSeop Park [Fri, 13 Jun 2014 04:11:45 +0000 (13:11 +0900)]
break dependency to Ewk_Notification

- Added tizen_webview::Notification class which uses existing _Ewk_Notification
  as its implementation.

- Replaced include guard for ewk_notification_private.h to avoid conflict with
  ewk side header. The file name should be renamed in next refactoring.

- Deleted redundant NotificationControllerEfl::RemoveClosedNotifications()
  which can be implemented in ewk side using other method, hence not fundamental.

Issue: CBEFL-92, CBWEBVIEW-386
Change-Id: Iaecce42cfc047915356b7cdf9226e8bba5a16ff7
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
Conflicts:
impl/API/ewk_notification_private.cc
impl/content_main_delegate_efl.cc

6 years agobreak dependency to struct Ewk_Notification_Permission
SeungSeop Park [Thu, 12 Jun 2014 23:57:41 +0000 (08:57 +0900)]
break dependency to struct Ewk_Notification_Permission

It turned out to be unnecessary struct because
- no usage in current EWK api scope
- no caller for SetPermissionForAllNotifications()
- no chance for NotificationControllerEfl::ewk_notification_permissions_ to
  have its element
- NotificationControllerEfl::IsDefaultAllowed() always return false
- NotificationControllerEfl::RemoveStoredOrigins() does no operation

Therefore, deleted the above mentioned member variable and functions.

Issue: CBEFL-92
Change-Id: I67b56caecf18dc427630ea581c5c6a658755974d
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
Conflicts:
impl/content_main_delegate_efl.cc

6 years agobreak dependency to Ewk_Context v2 (removed ewk_context.h, ewk_object.h)
SeungSeop Park [Tue, 24 Jun 2014 22:41:03 +0000 (15:41 -0700)]
break dependency to Ewk_Context v2 (removed ewk_context.h, ewk_object.h)

Ewk_Context is replaced by new class tizen_webview::WebContext.

To implement it, tizen_webview::RefCounted class is created to support intrusive
reference counting. The implementation was extracted from chromium's
base::RefCounted class, and then simplified (tizen_webview/tw_ref_counted.h).
The reason why not just rely on chromium's implementation is to avoid chromium
header inclusion in the tizen_webview's public headers, which should be exported
with dev package.  With the same reason, a helper macro DISALLOW_COPY_AND_ASSIGN
is duplicated (tizen_webview/tw_macro.h) from chromium code.

Issue: CBEFL-92
Change-Id: I2adf95b446a68d9c71a30b7373e5ea7ffa73324c

6 years agobreak dependency to struct Ewk_Security_Origin (removed ewk_security_origin.h)
SeungSeop Park [Mon, 9 Jun 2014 06:31:31 +0000 (15:31 +0900)]
break dependency to struct Ewk_Security_Origin (removed ewk_security_origin.h)

In Webkit2-efl, the definition for struct _Ewk_Security_Origin is hidden in
ewk_security_origin.cpp, and hence it's safe to redefine it as our need.
This commit redefines it as tizen_webview::Security_Origin class.

In addition,
- added tizen_webview::URL class to remove chromium's internal GURL
  class dependency from tizen_webview::Security_Origin api.
- added a utility functions to convert between GURL and tizen_webview::URL

As a result, following files are added:
- src/tizen_webview/public/tw_security_origin.cc|h
- src/tizen_webview/public/tw_url.cc|h
- src/tizen_webview/tw_misc_utility.cc|h

Issue: CBEFL-92
Change-Id: Ic4d73a0a617b830c638fc2f9e5e701dfc7afbead

Conflicts:
impl/API/ewk_notification_private.h
impl/content_main_delegate_efl.cc

6 years agobreak dependency to struct Ewk_Touch_Point (removed ewk_touch.h)
SeungSeop Park [Mon, 9 Jun 2014 02:19:56 +0000 (11:19 +0900)]
break dependency to struct Ewk_Touch_Point (removed ewk_touch.h)

Research for existing code:
- Ewk_Touch_Point's data layout is defined in the public ewk_touch.h, hence is
  not changeable.
- ewk_view_feed_touch_event is the only EWK api related with it, but is not
  depending directly on Ewk_Touch_Point but Eina_List of Ewk_Touch_Point

This commit is adopting a (rather simple) solution to remove the dependency:
- define a new class, tizen_webview::Touch_Point, for use inside chromium-efl
- let the ewk api implementation adapt itself to the new class

Note:
Currently, Touch_Point has the same layout with Ewk_Touch_Point. Therefore it's
possible to static_cast between them although may become incorrect in future.

Issue: CBEFL-92
Change-Id: I119f0a60262fda268459d61c4f45bee000833d87

6 years agobreak dependency to enum Ewk_Find_Options
SeungSeop Park [Sat, 7 Jun 2014 08:26:24 +0000 (17:26 +0900)]
break dependency to enum Ewk_Find_Options

Issue: CBEFL-92
Change-Id: I1ca7f84c9f0af20c7611702d23aadae5b842f9be

6 years agobreak dependency to enum Ewk_Input_Type
SeungSeop Park [Sat, 7 Jun 2014 08:12:00 +0000 (17:12 +0900)]
break dependency to enum Ewk_Input_Type

Note: No change was needed in chromium-ewk.

Issue: CBEFL-92
Change-Id: I14c9e0be1ea5d262afb463b809bcd616cdf6f1eb

6 years agobreak dependency to ewk_view.h (partial) : removed unused enums
SeungSeop Park [Sat, 7 Jun 2014 07:39:04 +0000 (16:39 +0900)]
break dependency to ewk_view.h (partial) : removed unused enums

Removed following enums which are used nowhere by chromium-efl:
- Ewk_Text_Direction
- Ewk_Selection_Handle_Type
- Ewk_Unfocus_Direction
- Ewk_Password_Popup_Option
- Ewk_Page_Visibility_State
- Ewk_Http_Method

In addition, deprecated unused smart api.

Issue: CBEFL-92
Change-Id: I75815f456cd49b40104f8428ce762f69dd7a368a

6 years agobreak dependency to Ewk_Custom_Handlers_(Data|Status) (removed ewk_custom_handlers.h)
SeungSeop Park [Sat, 7 Jun 2014 00:11:41 +0000 (09:11 +0900)]
break dependency to Ewk_Custom_Handlers_(Data|Status) (removed ewk_custom_handlers.h)

Changes are:
- Ewk_Custom_Handlers_Data -> tizen_webview::Custom_Handlers_Data
- Ewk_Custom_Handlers_Status  -> tizen_webview::Custom_Handlers_Status
- removed unused function declarations from ewk_view_private.h
  . ewkCustomHandlersCreateData
  . ewkCustomHandlersDeleteData
  . ewkViewRegisterProtocolHandlers
  . ewkViewIsProtocolHandlerRegistered
  . ewkViewUnregisterProtocolHandlers
  . ewkViewRegisterContentHandlers
  . ewkViewIsContentHandlerRegistered
  . ewkViewUnregisterContentHandlers

Issue: CBEFL-92
Change-Id: Ic7d6536d0376b8d1f7df543d8e89da850586a08a

Conflicts:
impl/API/ewk_view_private.h

6 years agobreak dependency: added tw_export.h (defines TW_EXPORT macro)
SeungSeop Park [Sat, 7 Jun 2014 05:18:20 +0000 (14:18 +0900)]
break dependency: added tw_export.h (defines TW_EXPORT macro)

Although currently symbol export is managed by chromium-efl.filters export map,
it would be desirable to control the visibility in the source file, following
the chromium convention.

This commit defines TW_EXPORT macro to controll the symbol visibility, by
referencing CONTENT_EXPORT of content module.

Issue: CBEFL-92
Change-Id: I75ca8ae049bac6425f80651f6e02dc754bb2e810

6 years agobreak dependency to enum Ewk_Touch_Event_Type
SeungSeop Park [Fri, 6 Jun 2014 05:04:52 +0000 (14:04 +0900)]
break dependency to enum Ewk_Touch_Event_Type

Issue: CBEFL-92
Change-Id: Ib6a574da18eb14fb8b2f8a836c97e8d752f0673c

6 years agobreak dependency to Ewk_Policy_[Decision|Navigation]_Type
SeungSeop Park [Fri, 6 Jun 2014 04:37:46 +0000 (13:37 +0900)]
break dependency to Ewk_Policy_[Decision|Navigation]_Type

Issue: CBEFL-92
Change-Id: I143fff1e4e2e1d90d32323ba7a2442fcb64fc75b

6 years agobreak dependency to enum Ewk_Gesture_Type (removed ewk_enums.h)
SeungSeop Park [Fri, 6 Jun 2014 02:48:29 +0000 (11:48 +0900)]
break dependency to enum Ewk_Gesture_Type (removed ewk_enums.h)

Issue: CBEFL-92
Change-Id: I3371f0019d8c56669a83e961ef2f8a63734a56ae

6 years agobreak dependency to enum Ewk_Hit_Test_(Mode|Result_Context)
SeungSeop Park [Thu, 5 Jun 2014 13:18:51 +0000 (22:18 +0900)]
break dependency to enum Ewk_Hit_Test_(Mode|Result_Context)

Issue: CBEFL-92
Change-Id: Id26628e92842b77453adf9171a1d8ca050202628

6 years agobreak dependency to enum Screen_Orientation_Degrees
SeungSeop Park [Thu, 5 Jun 2014 08:29:55 +0000 (17:29 +0900)]
break dependency to enum Screen_Orientation_Degrees

Screen_Orientation_Degrees was used by eweb_view.h but not by chromium-ewk.
The orientation value is one of 0, 90, -90, 128, 270. Since it's not a public API
and ewk uses plain integers as does chromium content module, the enum has been
removed as using plain integer for orientation value.

In addition,
- enum Sreen_Orientation has been deleted becasue of no usage,
- Remove EWebView::GetCurrentOrienation() and the cached vEWebView::orientation_ :
  use RenderViewHostImpl::GetOrientation() instead

TODO:
remove Ewk_Screen_Orientation_* from chromium-ewk's ewk_enums.h
if unnecessary for ewk api.

Issue: CBEFL-92
Change-Id: Id9ea7feb847769a562f724554eaa48626d2cdecf

Conflicts:
impl/eweb_view.cc

6 years agobreak dependency to ewk_context.h callbacks
SeungSeop Park [Mon, 2 Jun 2014 11:35:47 +0000 (20:35 +0900)]
break dependency to ewk_context.h callbacks

- moved callbacks in ewk_context.h to tizen_webview/public/tw_callbacks.h

Issue: CBEFL-92
Change-Id: Iee7508ae39164e26b7bf4360d9de6db9f8e721ae

6 years agobreak dependency to enum Ewk_Legacy_Font_Size_Mode (removed ewk_settings.h)
SeungSeop Park [Wed, 4 Jun 2014 08:12:38 +0000 (17:12 +0900)]
break dependency to enum Ewk_Legacy_Font_Size_Mode (removed ewk_settings.h)

- replaced Ewk_Legacy_Font_Size_Mode -> tizen_webview::Legacy_Font_Size_Mode

Issue: CBEFL-92
Change-Id: Ic6012ec2fe0817521067bf2f8df3b76ef85b3956

6 years agobreak dependency to enum Ewk_Cookie_Accept_Policy (remove ewk_cookie_manager.h)
SeungSeop Park [Wed, 4 Jun 2014 05:27:41 +0000 (14:27 +0900)]
break dependency to enum Ewk_Cookie_Accept_Policy (remove ewk_cookie_manager.h)

- replaced Ewk_Cookie_Accept_Policy -> tizen_webview::Cookie_Accept_Policy

Issue: CBEFL-92
Change-Id: I154dc50d465193da235b2915dc3e7356b9b0b00d

6 years agobreak dependency to enum Ewk_Cache_Model
SeungSeop Park [Sat, 31 May 2014 08:44:26 +0000 (17:44 +0900)]
break dependency to enum Ewk_Cache_Model

Refoctored Ewk_Cache_Model into tizen_webview::Cache_Model

This commit is also to setup tizen webview public api:
- add new namespace: tizen_webview
- add new directory: src/tizen_webview/public

The future direction for the public api is described in
src/tizen_webview/public/README.

Issue: CBEFL-92
Change-Id: Ie05a8152add4c2633778dbf15aa57cb6d41c191f

6 years agobreak dependency to ewk headers : preliminary step
SeungSeop Park [Tue, 27 May 2014 04:55:33 +0000 (13:55 +0900)]
break dependency to ewk headers : preliminary step

chromium-efl should not depend on chromium-ewk, which is a higher level
module than chromium-efl.

This commit is the first step to break the dependency:
- simplified the header inclusions
- removed unnecessary ewk headers if possible
- removed redundant code lines in the remaining ewk headers

By this work the dependencies become more clear, which will ease the
ongoing works for dependency break.

Deleted headers are:
- ewk_auto_fill_profile.h
- ewk_csp_header_types.h (merged to ewk_view.h following webkit2-efl)
- ewk_error.h
- ewk_export.h
- ewk_history.h
- ewk_intercept_request.h
- ewk_private.h

Issue: CBEFL-92
Change-Id: Ibcf73be15f989f3a21ee5b394c34d3faab2ba457

Conflicts:
impl/browser/inputpicker/InputPicker.cc

Conflicts:

impl/web_contents_delegate_efl.cc

6 years agoFix memory leak issue on EWK_HIT_TEST
Dong-Jun Kim [Thu, 12 Jun 2014 02:44:52 +0000 (11:44 +0900)]
Fix memory leak issue on EWK_HIT_TEST

Change-Id: I8fd8b2b869091f6a2f3d77d29c3ba43f4300db6c

6 years agoWCS Feature: Autofill and Password Manager changes
Umesh Kumar Patel [Fri, 6 Jun 2014 12:14:07 +0000 (17:44 +0530)]
WCS Feature: Autofill and Password Manager changes

Change-Id: Ib8493c89e6d82b04f572a0b800013f8a5593b905

6 years agoImplement ewk_frame_is_main_frame
Kamil Klimek [Mon, 2 Jun 2014 15:06:49 +0000 (17:06 +0200)]
Implement ewk_frame_is_main_frame

There are few cases when there is no RenderFrameHost or event
RenderViewHost associated with response. Such cases were not handled by
PolicyResponseDelegateEfl. This commit fixes behaviour with such
situations.

Issue: CBWEBVIEW-789
Change-Id: I96b4d0cf6f2db1a04176bfed5b4d4916c7c47100

6 years agoAdd implementation needed by ewk_view_web_application_icon_urls_get
Filip Piechocki [Fri, 6 Jun 2014 07:21:24 +0000 (09:21 +0200)]
Add implementation needed by ewk_view_web_application_icon_urls_get

Issue: CBWEBVIEW-579
Change-Id: I9056159a3a4fa966d87b4798ec863e407f804c83

6 years agoImplementation of struct Ewk_Web_App_Icon_Data
Jan Zakrzewski [Wed, 4 Jun 2014 13:23:13 +0000 (15:23 +0200)]
Implementation of struct Ewk_Web_App_Icon_Data

Issue: CBWEBVIEW-580
Change-Id: I7a8ffd8baa3ac061298b9e86871db896b8e7e8e1

6 years agoFix an assert being hit in PolicyResponseDelegateEfl.
Kamil Klimek [Fri, 30 May 2014 08:29:20 +0000 (10:29 +0200)]
Fix an assert being hit in PolicyResponseDelegateEfl.

Change-Id: I85351e0b37a4c60d4fe0feb971ecd498ecfcbef9

6 years agoFix wrong magnifier image and refactoring of GetSnapshot from GPU.
Sergey [Thu, 19 Jun 2014 22:02:47 +0000 (15:02 -0700)]
Fix wrong magnifier image and refactoring of GetSnapshot from GPU.

Patch fixed wrong magnifier image on the top of a page and
refactoring of taking snapshot from frame buffer of GPU.
It contains only composed web page without browser controll elements.

Issue: CBGRAPHICS-248
Change-Id: I436d80a5c5f109b799331379ea738f8c25384796

Conflicts:

src/content/browser/gpu/gpu_process_host_ui_shim.cc
src/content/common/gpu/gpu_channel_manager.h
src/content/common/gpu/gpu_messages.h
src/content/port/browser/render_widget_host_view_port.h

Conflicts:
impl/browser/renderer_host/render_widget_host_view_efl.cc
src/content/port/browser/render_widget_host_view_port.h

Conflicts:

src/ui/gl/gl_surface.h

6 years agoPatch for selectpicker(single type)
Dong-Jun Kim [Mon, 23 Jun 2014 23:16:56 +0000 (16:16 -0700)]
Patch for selectpicker(single type)

1. implement to single type of select picker
Issue : CBBROWSER-54, CBBROWSER-55, CBBROWSER-58, CBWRT-266

Change-Id: If3b331859c6010be02a40cf8c2f12da70bb2143d

Conflicts:

src/content/browser/renderer_host/render_view_host_impl.cc

Conflicts:

impl/eweb_view.h

Conflicts:

impl/web_contents_delegate_efl.h
src/content/renderer/render_thread_impl.cc

6 years agoImplementation of text_selection_down and text_selection_up
Kamil Klimek [Mon, 23 Jun 2014 21:18:30 +0000 (14:18 -0700)]
Implementation of text_selection_down and text_selection_up

Patch implements text_selection_down and text_selection_up.
Issue: CBWEBVIEW-523, CBWEBVIEW-524

Change-Id: Ib6fd99c402ec9d0a9fc26a055bb82cace89b5e4d

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