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

6 years agofixup! Add implementation needed by ewk_view_web_application_icon_urls_get
SeungSeop Park [Tue, 29 Jul 2014 11:52:13 +0000 (20:52 +0900)]
fixup! Add implementation needed by ewk_view_web_application_icon_urls_get

Change-Id: Icd6d6c42b6c8b079d1be18a28349d5dcc3c8fc22

6 years agofixup! Implement ewk_view_web_application_icon_url_get.
SeungSeop Park [Tue, 29 Jul 2014 11:51:34 +0000 (20:51 +0900)]
fixup! Implement ewk_view_web_application_icon_url_get.

Change-Id: Ic87227be6e299c9515ca67647de0efefbfe91a74

6 years agofixup! Add the Tizen platform API implementation
SeungSeop Park [Tue, 29 Jul 2014 11:47:44 +0000 (20:47 +0900)]
fixup! Add the Tizen platform API implementation

Change-Id: I6fc8f4873858c48e44ee93b3b5f000419f0d4b20

6 years agofixup! Add Tizen-platform implementation of ContentClient
SeungSeop Park [Tue, 29 Jul 2014 11:32:54 +0000 (20:32 +0900)]
fixup! Add Tizen-platform implementation of ContentClient

Change-Id: Iec74de9c2925c99d47441b523c071eeb46f40d93

6 years agofixup! Refactor of ResourceDispatcherHostDelegateEfl
SeungSeop Park [Tue, 29 Jul 2014 11:18:28 +0000 (20:18 +0900)]
fixup! Refactor of ResourceDispatcherHostDelegateEfl

Change-Id: Ic27b39603a1ae43860c3b39ebfb2b25f68812488

6 years agoRefactoring of build scripts
Tomasz Olszak [Fri, 25 Jul 2014 10:32:57 +0000 (12:32 +0200)]
Refactoring of build scripts

Use gyp_chromium instead of gyp_chromiumefl

Change-Id: Ib5380ce042c46f7079ba1c2731f725805e17eb87

6 years agoWCS Feature: Enabling Rebase Issue CBWEBCORE-476
Umesh Kumar Patel [Mon, 28 Jul 2014 09:27:51 +0000 (14:57 +0530)]
WCS Feature: Enabling Rebase Issue CBWEBCORE-476

Change-Id: I3a9a01a5f2116ebd3c377233a563869de867a3ae

Conflicts:

impl/chromium-efl.gyp

6 years ago[Qualcomm] Port "System Perf" patch to tizen
nguyen.canh [Fri, 30 May 2014 02:34:24 +0000 (11:34 +0900)]
[Qualcomm] Port "System Perf" patch to tizen

- Implement interface to control number of online cpus and their frequency when browser
runs heavy workloads
- Don’t process non-visible lines for layout. Will improved Text layout benchmarks like
GuiMark2
- Reduce the cost of calling memoryUsageMB Normally memoryUsageMB() uses mallinfo(), which
collects extra information and which traverses linked lists with poor memory locality,
causing cache issues. Call dlmalloc_footprint() instead
- Compiler O3 optimization is now used for WebKit

Issue Id: CBGRAPHICS-322

Change-Id: I59bd958010c51c58e3b1de6ecaf576e9fc991037

Conflicts:

impl/chromium-efl.gypi

Conflicts:

src/cc/trees/layer_tree_host_impl.cc

6 years agoFix clipboard thumbnail not displayed
Michał Obrembski [Thu, 10 Jul 2014 22:53:15 +0000 (15:53 -0700)]
Fix clipboard thumbnail not displayed

Tapping on Copy Image context menu option while clipboard window
is diplayed produces improper thumbnail image in clipboard window.

Issue-Id: CBBROWSER-300

Change-Id: I35517ec6c997088f3cf1b9933ab13c9e38568d24

6 years agofix no return statement in creating a javascript modal dialog
SeungSeop Park [Thu, 10 Jul 2014 22:39:23 +0000 (15:39 -0700)]
fix no return statement in creating a javascript modal dialog

This should be merged with 3e8ebc8b (gerrit entry #1738)

Change-Id: Icdb60b31735d0876130075fed64070dd995e6a92

6 years agoFix crash when loading google.com in landscape mode.
Karol Furmaniak [Fri, 4 Jul 2014 08:50:06 +0000 (10:50 +0200)]
Fix crash when loading google.com in landscape mode.

Issue: CBBROWSER-299
Change-Id: I8f50e0f5a50470839865e7e248b01c4e80706363

6 years agoEnabling support of viewport meta tag.
Dominik Duda [Thu, 3 Jul 2014 13:02:13 +0000 (15:02 +0200)]
Enabling support of viewport meta tag.

This patch enables page scaling depending on the presence of a viewport
meta tag on a web page. Up to this patch only recognition of a viewport
tag in HTML code was supported but page was not displayed properly.

Issue: CBBROWSER-101, CBBROWSER-102

Change-Id: I3b70c54328ab1920cb6986682c760a0ef6e444af

Conflicts:

impl/command_line_efl.cc

Conflicts:

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

6 years agoRemove application cache on IO thread instead of UI thread
Kamil Klimek [Tue, 1 Jul 2014 11:28:31 +0000 (13:28 +0200)]
Remove application cache on IO thread instead of UI thread

Issue: CBWEBVIEW-895
Change-Id: If1c59830ebf157cece277feaba187fec8f2209f7

6 years ago[wr28] Changed exsiting WeekNumber to 28.
Dong-Jun Kim [Fri, 4 Jul 2014 04:50:02 +0000 (13:50 +0900)]
[wr28] Changed exsiting WeekNumber to 28.

New package version will be 34.1847.76.28-1

Change-Id: I1c8bc5ad22be8444975c753156aa3810ac28e897

Conflicts:

packaging/chromium-efl.spec

6 years agoFix issue with calling Render*::FromID outside UI thread
Kamil Klimek [Mon, 23 Jun 2014 10:44:31 +0000 (12:44 +0200)]
Fix issue with calling Render*::FromID outside UI thread

Problem : the entire hit test code was using some chromium functionality from the wrong thread

Issue: CBEFL-103, CBWEBCORE-471
Change-Id: I5e5ad931c45f10833f07da69d964d8a7aba86ebf

6 years agoAdd triggering download callback.
Karol Furmaniak [Tue, 1 Jul 2014 11:30:00 +0000 (13:30 +0200)]
Add triggering download callback.

Issue: CBBROWSER-292, CBBROWSER-293, CBBROWSER-294, CBBROWSER-295

Also added null check in cookie_manager.

This patch require chromium-ewk "ewk_view_get_cookies_for_url fix char* return"
to avoid crash in com.samsung.browser

Change-Id: I69ebae7ff074f7d84338b9bf31f9a0ee4ae19bb8

6 years agoFix ewk_context_local_file_system_all_delete.
Mikolaj Czyzewski [Fri, 27 Jun 2014 09:48:17 +0000 (11:48 +0200)]
Fix ewk_context_local_file_system_all_delete.

When given URL was empty, returned GURL was "://".
Now returned GURL is an empty string "".

Change-Id: Ic9caba3a4515abf915de86483a2ecfc6bde6a099

6 years agoImplement ewk_context_memory_sampler_start and ewk_context_memory_sampler_stop
Piotr An Nguyen [Thu, 12 Jun 2014 15:53:51 +0000 (17:53 +0200)]
Implement ewk_context_memory_sampler_start and ewk_context_memory_sampler_stop

Issue: CBWEBVIEW-559, CBWEBVIEW-560
Change-Id: I791b7e19b70eb266b15acf2af64b2efedd3433c6

Conflicts:

impl/chromium-efl.gyp

6 years agoAdd the required null checks to EWebView::handleFocusIn() method.
Lukasz Krok [Tue, 8 Jul 2014 21:13:33 +0000 (14:13 -0700)]
Add the required null checks to EWebView::handleFocusIn() method.

The patch fixes occasional webview segfaults (observed in email application).
Issue: CBWEBVIEW-875

Change-Id: I5aaaab8f41ee7515dd3a672a032aeeb85e2f6a4f

6 years agoFix position of text selection menu when paste.
Karol Furmaniak [Tue, 8 Jul 2014 21:00:44 +0000 (14:00 -0700)]
Fix position of text selection menu when paste.

Patch fixed position of text selection menu when paste.
Issue: CBBROWSER-285

Change-Id: I692d6d31d152ada93fb8662f7ffe468ded55bd72

6 years agoFix for an issue with ewk_view_hit_test_new API
Kamil Klimek [Tue, 8 Jul 2014 19:36:23 +0000 (12:36 -0700)]
Fix for an issue with ewk_view_hit_test_new API

This commit fixes open link issue in email app.
The solution is to apply the device scale factor and offset to x, y coords.

Issue: CBEFL-103 CBWEBVIEW-839
Change-Id: Icb937f97adf80cfeb82f7db2b81135a8bd1c42c9

6 years agoFix for the text Align* buttons not working ok in email application.
Lukasz Krok [Tue, 24 Jun 2014 13:12:46 +0000 (15:12 +0200)]
Fix for the text Align* buttons not working ok in email application.

It is possible to make the text align buttons all to be clicked in the same time.

Issue: CBWEBVIEW-877
Change-Id: I7428213c1475d8a3ed166ed599dab96d5695292a

6 years agoOptimize the RWHV EvasObjectImagePixelsGetCallback function
Prashant Nevase [Tue, 24 Jun 2014 22:47:22 +0000 (04:17 +0530)]
Optimize the RWHV EvasObjectImagePixelsGetCallback function

This improves canvas benchmark performance by ~ 0.03.

Issue: CBGRAPHICS-299
Change-Id: Iebf38c93a65b786acceabe8b65580a5c08dd3a29

6 years agoFix problem when ContextMenuItemSelected callback is not called when it should.
Piotr An Nguyen [Mon, 7 Jul 2014 22:49:34 +0000 (15:49 -0700)]
Fix problem when ContextMenuItemSelected callback is not called when it should.

Issue: CBWEBVIEW-855
Repairing [UnitTest] Unit test Fail - ewk_context_menu_item_link_url_get
Change-Id: I0bfbd38ae611956dafccc7463c4c1ba9e4661dc9

6 years agoAdd "policy,decision,new,window" smart callback for Tizen TV
Youngcheol Kang [Mon, 7 Jul 2014 20:58:44 +0000 (13:58 -0700)]
Add "policy,decision,new,window" smart callback for Tizen TV

Patch only added declaration, so implementation is required.

Change-Id: I56e79790709ad372a43228b7177cbec550300665

6 years agoMagnifier shown at wrong place of screen in email application
Sergey [Wed, 18 Jun 2014 11:31:14 +0000 (20:31 +0900)]
Magnifier shown at wrong place of screen in email application

Issue :CBWEBVIEW-854

Change-Id: Ice0f0c175c74fcefcfddc0606ac5e5b4ce00ddba

6 years agoEnable orientation event, fix a related crash and APIs
Kamil Klimek [Mon, 7 Jul 2014 20:33:39 +0000 (13:33 -0700)]
Enable orientation event, fix a related crash and APIs

Change-Id: I948e70e9b7b1344ccd2dc7f2d6264b98e01a961a

Conflicts:

impl/eweb_view.cc

6 years agoAdd "ui-gadget::client" permission
Jongsoo Yoon [Tue, 24 Jun 2014 13:23:54 +0000 (22:23 +0900)]
Add "ui-gadget::client" permission

Composer is pending when it is replied by click email address.
According to the result of checking smack log (/var/log/audit/audit.log),
chromium-efl cannot access to "ui-gadget::client".
As Adding "ui-gadget::client" permission, composer can avoid pending issue.

Issue : CBWEBVIEW-878

Change-Id: I7f2fc81001fb870ef6f9648d916bd850d71536a0
Signed-off-by: Jongsoo Yoon <join.yoon@samsung.com>
Conflicts:

packaging/org.tizen.chromium-efl.manifest

6 years agoFix text selection problem when mouse/touch events are prevented.
Karol Furmaniak [Mon, 7 Jul 2014 23:04:08 +0000 (16:04 -0700)]
Fix text selection problem when mouse/touch events are prevented.

Issue: CBBROWSER-204, CBBROWSER-205, CBBROWSER-247

When mousemove/down/up events are prevent defaulted,
text selection should be hided after tap.
When touchend event is prevent defaulted,
text selection should not be hided after tap.

Change-Id: Ic5041f7da9fa0efcc3d8f087d7ad3ef41dac9364

6 years agoFix hiding context menu when selection is covered.
Karol Furmaniak [Mon, 7 Jul 2014 20:45:49 +0000 (13:45 -0700)]
Fix hiding context menu when selection is covered.

Issue: CBBROWSER-271, CBBROWSER-151

[Problem]: When selection is covered context menu and selection handlers are still visible.
[Solution]: Add check if in selection point is not covered.

Change-Id: I270a14c8f8080b9a826be46fce368c292097e63d

6 years agoAdd switch(kUseSWRenderingPath) to choose SW render path during runtime
Sergey [Fri, 20 Jun 2014 05:47:59 +0000 (14:47 +0900)]
Add switch(kUseSWRenderingPath) to choose SW render path during runtime

It works only under TIZEN_OS.
Issue : CBGRAPHICS-341

Change-Id: I84ea9fb6d3bfec86c4c60d2b494a6a0af289694a

Conflicts:

impl/browser/renderer_host/render_widget_host_view_efl.cc
impl/command_line_efl.cc

6 years agoBold, Italic and Underline Icons are bugged.
Lukasz Krok [Tue, 17 Jun 2014 10:41:40 +0000 (12:41 +0200)]
Bold, Italic and Underline Icons are bugged.

Issue: CBEFL-152 / CBWEBVIEW-852

Cause: _ewk_view_text_style_state_cb in email application was not executed on text input in order to
       make the rich text toolbar to become dimmed.
Solution: Query for selection style on text input state changed.

Change-Id: If7f8545a0d95d1c58a34dbdc75cc49714721e050

6 years agoOmit creation of debug packages.
Tomasz Olszak [Thu, 12 Jun 2014 15:22:25 +0000 (17:22 +0200)]
Omit creation of debug packages.

Debug packages should not be created when nodebug
flag is passed. The libraries don't contain debug
information so these steps (extract debug info,
create debug packages) only result in longer build
process.

Change-Id: I6599916b263bbbc2d2bee20d44bfc3069127ac10
Issue-Id: CBEFL-150
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
6 years agoRefactor policy decision: use const char* instead of Eina_Stringshare*
SeungSeop Park [Mon, 16 Jun 2014 00:26:52 +0000 (09:26 +0900)]
Refactor policy decision: use const char* instead of Eina_Stringshare*

Replaced because no good reason for Eina_Stringshare* was found.

Issue: CBWEBVIEW-387
Change-Id: I74eaa843e7f9759c43cd7fdfbb7a16ca94b0c410
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years agorefactor dependency : ewkUpdateWebkitPreference() (removed ewk_view_private.h)
SeungSeop Park [Mon, 23 Jun 2014 04:13:02 +0000 (13:13 +0900)]
refactor dependency : ewkUpdateWebkitPreference() (removed ewk_view_private.h)

The function is not used by chormium-efl and hence better to belong to ewk layer.

Issue: CBEFL-95
Change-Id: Iba3b13921e858f499d8e1fb7533a37fa23670184
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
Conflicts:

impl/chromium-efl.gyp

6 years agobreak dependency to EWebView
SeungSeop Park [Sat, 21 Jun 2014 10:01:07 +0000 (19:01 +0900)]
break dependency to EWebView

EWebView has complicated dependencies to chromium internal, which makes it hard
to break dependency between chromium-efl and ewk.
To simplify the dependency, this commit does followings:
- hide EWebView from outside use
- add new class, tizen_webview::WebView, for public use
- bridge EWebView as private impl for tizen_webview::WebView.

The next step is to tidy up EWebView and move some of the implementations to
proper location.

Issue: CBEFL-92
Change-Id: I6fe1b2c396c8be1fed4253d2441d6dbb961ac88f
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
Conflicts:

impl/chromium-efl.gyp

6 years agoImplement ewk_settings_link_magnifier_enabled_set and get.
Marek Ruszczynski [Thu, 12 Jun 2014 12:05:26 +0000 (14:05 +0200)]
Implement ewk_settings_link_magnifier_enabled_set and get.

The link magnifier is enabled by default.

Issue: CBWEBVIEW-569
Change-Id: I850d8e7d0a0cdcad1fe1b9db63ebe08719874662

6 years agoImplement ewk_view_encoding_custom_set
w.basiak [Fri, 13 Jun 2014 07:05:53 +0000 (09:05 +0200)]
Implement ewk_view_encoding_custom_set

Issue: CBWEBVIEW-843
Change-Id: I84e1a5049aeec5168d6c94a79f4f784f9c991265

6 years agoChanged implementation of EWebView::GetSnapshot
Marcin Lapinski [Mon, 7 Jul 2014 21:23:58 +0000 (14:23 -0700)]
Changed implementation of EWebView::GetSnapshot

Previously snapshot was obtained from BackingStore, which is not a valid
approach any more. In this patch, the implemenation is changed so as to
get snapshot directly from GPU buffer via RenderViewHostViewEfl.

From EWK perspective, this fixes UTC ewk_view_screenshot_contents_get fail,
and the ewk side patch http://suprem.sec.samsung.net/gerrit/#/c/2214/ should
be merged after landing this patch.

Issue: CBWEBVIEW-526
Change-Id: I010375946983685be2e97b1bd46d5b0db2ccdcd5

Conflicts:

impl/eweb_view.cc

6 years ago[GStreamer] Handle play/pause when Home/Power key is pressed in Mobile.
Shadakshari B C [Thu, 29 May 2014 09:20:26 +0000 (14:50 +0530)]
[GStreamer] Handle play/pause when Home/Power key is pressed in Mobile.

Patch fixes HTML5 TC #13 and #14.

PS: Once application sends proper events then this patch will be modified

IssueID: CBWEBCORE-486
Change-Id: I73db8222d915d2d3ed978d77df5a69f75d9eff0f

6 years ago[Gstreamer] Add README. Gstreamer packages installation guide for media element....
young bae kim [Mon, 12 May 2014 06:46:05 +0000 (15:46 +0900)]
[Gstreamer] Add README. Gstreamer packages installation guide for media element. IssueID-CBWEBCORE-482

Change-Id: I5ddc591e0663261c93eceb7a7f0bb47b33c79650

6 years agoWebAudio Implementation - Decoder using GST
Vinod Keshav [Mon, 16 Jun 2014 19:02:53 +0000 (12:02 -0700)]
WebAudio Implementation - Decoder using GST

Patch implements WebAudio decoder by using GST.
Issue id: CBMM-14

Change-Id: Iceaa49d3426db5049b180d5b9c01ec6424673286

Conflicts:

src/content/content_browser.gypi
src/media/media.gyp

6 years agoImplement webrtc features.
Youngcheol Kang [Fri, 23 May 2014 09:57:29 +0000 (18:57 +0900)]
Implement webrtc features.

Implement the audio / video port using CAPI for webrtc.

Issue: CBMM-99 CBMM-410
Change-Id: I149bb29f835aa82ce4577b22a230d0119ecb4536

6 years agoFix GetUserAgent
KANGYONG PARK [Mon, 21 Jul 2014 12:13:21 +0000 (21:13 +0900)]
Fix GetUserAgent

ISSUE : CBWEBCORE-440

Change-Id: Ic2e2d631509abba2c2b0daabf563d3abfed17a82

6 years agoFix URLRequestContext creation to work with chromium M37.
Piotr Tworek [Mon, 21 Jul 2014 12:41:58 +0000 (14:41 +0200)]
Fix URLRequestContext creation to work with chromium M37.

Change-Id: I07ab0d6e615d1ded9d2165d4a78d8151f1d8e06c

6 years agoFix show/hide Largehandler.
Karol Furmaniak [Tue, 10 Jun 2014 13:20:28 +0000 (15:20 +0200)]
Fix show/hide Largehandler.

Issue: CBBROWSER-196, CBWEBCORE-417

[Problem]:After input field focus change large handler is showing,
but it shouldn't.
[Solution]: Add unsetting caret selection status on FocusedNodeChanged.

Also fixed disapearing selected text when predictive mode is on.

Change-Id: If9f7eb01170119a8bb8d9cf66fa5ac6dcb562a8d

Conflicts:

impl/browser/renderer_host/render_widget_host_view_efl.cc

6 years agoImplement ewk_view_url_request_set
Adam Banasiak [Fri, 6 Jun 2014 12:23:55 +0000 (14:23 +0200)]
Implement ewk_view_url_request_set

[Issue#]    CBWEBVIEW-253
[Depend on] http://suprem.sec.samsung.net/gerrit/#/c/2213/

Change-Id: I729134c586aab87b3113b9cac0146858d4e1bae4

Conflicts:

impl/eweb_view.cc

6 years agoCurrent legacy font size mode support added.
Lukasz Krok [Fri, 6 Jun 2014 18:19:41 +0000 (20:19 +0200)]
Current legacy font size mode support added.

Issue : CBWEBVIEW-174
        Font size on editing mode is not changed.

        This commit is a follow-up for f0cf3481 and 0fa07a7 (chromium-ewk) commits.

        Without correct legacy font size mode manipulation possibility,
        the FontSizeCSS editor command does not work fully properly,
        e.g. when in email application user sets
        text font size to 12px and then selects the text again,
        the rich text toolbar will show 2px instead of 12, that is legacy (not pixel) font size value.

Solution : Migrate required implementation from tizen webkit2.

Change-Id: I3cd42256c24f771704ec7307a84ddc43075ca8a3

Conflicts:

src/third_party/WebKit/Source/core/editing/EditingStyle.cpp
src/third_party/WebKit/Source/core/frame/Settings.h

Conflicts:

src/content/public/common/common_param_traits_macros.h
src/content/renderer/web_preferences.cc
src/third_party/WebKit/Source/core/editing/EditingStyle.cpp
src/webkit/common/webpreferences.cc
src/webkit/common/webpreferences.h

6 years agoWCS Feature : Chrome reused files
Umesh Kumar Patel [Fri, 6 Jun 2014 11:47:20 +0000 (17:17 +0530)]
WCS Feature : Chrome reused files

Change-Id: Ie7498630ba2cd1e0891e1b5b6bdd65be0cdf25ff

6 years agoFix bad hardware back key behavior.
Michał Obrembski [Thu, 12 Jun 2014 13:47:50 +0000 (15:47 +0200)]
Fix bad hardware back key behavior.

On mobile, when context menu is shown, and user presses hardware back
key, browser opens previous site instead of closing menu.
This commit fixes this issue.

Issue-Id: CBBROWSER-76
Change-Id: Ic336dbd2ca63c847c87bc092b391af90e32437e2

6 years agoAdd attributes recognition for mediacapture
kapil.kumar [Tue, 10 Jun 2014 14:10:36 +0000 (19:40 +0530)]
Add attributes recognition for mediacapture

When capture attribute is present and one of accept types
is one of "video/*", "image/*" or "audio/*", file should be
captured from camera. In other cases, file selector
should be launched.

In this solution I assume that if there is at least one of
accept types mentioned above (and there may be many of them),
mediacapture will be launched.

Issue Id : CBWEBCORE-315, CBMM-129

Change-Id: Ib94dc90a09affdc657fff5c385d543e43e6d22b7

6 years agoImplement SelectPicker (multi type)
Dong-Jun Kim [Wed, 11 Jun 2014 09:01:25 +0000 (18:01 +0900)]
Implement SelectPicker (multi type)

1. implement about multi type
2. clean-up code
Issue : CBBROWSER-59, CBBROWSER-61, CBBROWSER-62

Change-Id: Id48caf0f317026d8a9bf4c30d781b0a7f96585dd

Conflicts:

impl/browser/selectpicker/popup_picker.h

6 years agoSupport multilingual operation for context menu
Youngsoo Choi [Thu, 26 Jun 2014 00:08:34 +0000 (17:08 -0700)]
Support multilingual operation for context menu

[issue]
Multilingual operation hasn't been supported for image and link.

[solved]
Providing multilingual operation.
But this needs to be changed later, not to use language set of Webkit.

Change-Id: I3483fb1cec01fb8dbeaa436b329f952bbac7a467

6 years agoImplement PlatformLocale
Umesh Kumar Patel [Wed, 11 Jun 2014 05:06:36 +0000 (10:36 +0530)]
Implement PlatformLocale

Change-Id: Ia702747c6aa1792fe3882e00fc368ab24199cd6f

6 years agoTemporarily disable zero copy as it causes browser crash during regression
venu.musham [Thu, 29 May 2014 05:17:04 +0000 (14:17 +0900)]
Temporarily disable zero copy as it causes browser crash during regression

Related to CBGRAPHICS-335

Change-Id: I1308c334c1035fef8d05d434ee01946b03049afc

Conflicts:

impl/command_line_efl.cc

6 years agoSet policy decision to "USE" for webfonts.
Zhang-hoon Oh [Wed, 25 Jun 2014 18:06:01 +0000 (11:06 -0700)]
Set policy decision to "USE" for webfonts.

[Problem]
When a user opens Ringmark web site - http://rng.io/?all - in an efl-browser,
the browser hangs up after 101 passed, "CSS3 Fonts" test step.
While it works well in a mini_browser and an efl_webview_app.

[Cause]
Policy decision were "DOWNLOAD" for webfonts which come with
"application/octet-stream" MIME type.

[Solution]
Set policy decision to "USE" to use webfonts - a.k.a. CSS Fonts -
in efl-browser - a.k.a. MCD browser.

Issue: CBWEBCORE-307

Change-Id: If03c8714971f63763ea6c666f6c932e629482d21

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