<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[170289] trunk/Source/WebKit</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/170289">170289</a></dd>
<dt>Author</dt> <dd>ossy@webkit.org</dd>
<dt>Date</dt> <dd>2014-06-23 06:33:26 -0700 (Mon, 23 Jun 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>[EFL] Remove the WebKit1 EFL code
https://bugs.webkit.org/show_bug.cgi?id=134096
Patch by Ryuan Choi <ryuan.choi@samsung.com> on 2014-06-23
Reviewed by Gyuyoung Kim.
* PlatformEfl.cmake: Removed.
* efl: Removed entire efl directory.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKitChangeLog">trunk/Source/WebKit/ChangeLog</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebKitPlatformEflcmake">trunk/Source/WebKit/PlatformEfl.cmake</a></li>
<li><a href="#trunkSourceWebKiteflChangeLog">trunk/Source/WebKit/efl/ChangeLog</a></li>
<li><a href="#trunkSourceWebKiteflEWebKitConfigcmakein">trunk/Source/WebKit/efl/EWebKitConfig.cmake.in</a></li>
<li><a href="#trunkSourceWebKiteflEWebKitConfigVersioncmakein">trunk/Source/WebKit/efl/EWebKitConfigVersion.cmake.in</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportAcceleratedCompositingContextEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/AcceleratedCompositingContextEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportAcceleratedCompositingContextEflh">trunk/Source/WebKit/efl/WebCoreSupport/AcceleratedCompositingContextEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportBatteryClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/BatteryClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportBatteryClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/BatteryClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportChromeClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportChromeClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportColorChooserEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/ColorChooserEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportColorChooserEflh">trunk/Source/WebKit/efl/WebCoreSupport/ColorChooserEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportContextMenuClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/ContextMenuClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportContextMenuClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/ContextMenuClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportDeviceMotionClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/DeviceMotionClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportDeviceMotionClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/DeviceMotionClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportDeviceOrientationClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/DeviceOrientationClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportDeviceOrientationClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/DeviceOrientationClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportDragClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/DragClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportDragClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/DragClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportDumpRenderTreeSupportEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportDumpRenderTreeSupportEflh">trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportEditorClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/EditorClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportEditorClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/EditorClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportFrameLoaderClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportFrameLoaderClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportFrameNetworkingContextEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/FrameNetworkingContextEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportFrameNetworkingContextEflh">trunk/Source/WebKit/efl/WebCoreSupport/FrameNetworkingContextEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportIconDatabaseClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/IconDatabaseClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportIconDatabaseClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/IconDatabaseClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportInspectorClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/InspectorClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportInspectorClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/InspectorClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportNavigatorContentUtilsClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/NavigatorContentUtilsClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportNavigatorContentUtilsClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/NavigatorContentUtilsClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportNotificationPresenterClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportNotificationPresenterClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportPlatformStrategiesEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/PlatformStrategiesEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportPlatformStrategiesEflh">trunk/Source/WebKit/efl/WebCoreSupport/PlatformStrategiesEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportPopupMenuEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/PopupMenuEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportPopupMenuEflh">trunk/Source/WebKit/efl/WebCoreSupport/PopupMenuEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportProgressTrackerClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/ProgressTrackerClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportProgressTrackerClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/ProgressTrackerClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportSearchPopupMenuEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/SearchPopupMenuEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportSearchPopupMenuEflh">trunk/Source/WebKit/efl/WebCoreSupport/SearchPopupMenuEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportStorageTrackerClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/StorageTrackerClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportStorageTrackerClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/StorageTrackerClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportVibrationClientEflcpp">trunk/Source/WebKit/efl/WebCoreSupport/VibrationClientEfl.cpp</a></li>
<li><a href="#trunkSourceWebKiteflWebCoreSupportVibrationClientEflh">trunk/Source/WebKit/efl/WebCoreSupport/VibrationClientEfl.h</a></li>
<li><a href="#trunkSourceWebKiteflewebkitpcin">trunk/Source/WebKit/efl/ewebkit.pc.in</a></li>
<li><a href="#trunkSourceWebKiteflewkEWebKith">trunk/Source/WebKit/efl/ewk/EWebKit.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_authcpp">trunk/Source/WebKit/efl/ewk/ewk_auth.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_authh">trunk/Source/WebKit/efl/ewk/ewk_auth.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_auth_soupcpp">trunk/Source/WebKit/efl/ewk/ewk_auth_soup.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_auth_soup_privateh">trunk/Source/WebKit/efl/ewk/ewk_auth_soup_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_contextmenucpp">trunk/Source/WebKit/efl/ewk/ewk_contextmenu.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_contextmenuh">trunk/Source/WebKit/efl/ewk/ewk_contextmenu.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_contextmenu_privateh">trunk/Source/WebKit/efl/ewk/ewk_contextmenu_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_cookiescpp">trunk/Source/WebKit/efl/ewk/ewk_cookies.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_cookiesh">trunk/Source/WebKit/efl/ewk/ewk_cookies.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_custom_handlercpp">trunk/Source/WebKit/efl/ewk/ewk_custom_handler.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_custom_handler_privateh">trunk/Source/WebKit/efl/ewk/ewk_custom_handler_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_file_choosercpp">trunk/Source/WebKit/efl/ewk/ewk_file_chooser.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_file_chooserh">trunk/Source/WebKit/efl/ewk/ewk_file_chooser.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_file_chooser_privateh">trunk/Source/WebKit/efl/ewk/ewk_file_chooser_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_framecpp">trunk/Source/WebKit/efl/ewk/ewk_frame.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_frameh">trunk/Source/WebKit/efl/ewk/ewk_frame.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_frame_privateh">trunk/Source/WebKit/efl/ewk/ewk_frame_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_historycpp">trunk/Source/WebKit/efl/ewk/ewk_history.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_historyh">trunk/Source/WebKit/efl/ewk/ewk_history.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_history_privateh">trunk/Source/WebKit/efl/ewk/ewk_history_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_jscpp">trunk/Source/WebKit/efl/ewk/ewk_js.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_jsh">trunk/Source/WebKit/efl/ewk/ewk_js.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_js_privateh">trunk/Source/WebKit/efl/ewk/ewk_js_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_maincpp">trunk/Source/WebKit/efl/ewk/ewk_main.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_mainh">trunk/Source/WebKit/efl/ewk/ewk_main.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_networkcpp">trunk/Source/WebKit/efl/ewk/ewk_network.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_networkh">trunk/Source/WebKit/efl/ewk/ewk_network.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_privateh">trunk/Source/WebKit/efl/ewk/ewk_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_security_origincpp">trunk/Source/WebKit/efl/ewk/ewk_security_origin.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_security_originh">trunk/Source/WebKit/efl/ewk/ewk_security_origin.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_security_origin_privateh">trunk/Source/WebKit/efl/ewk/ewk_security_origin_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_security_policycpp">trunk/Source/WebKit/efl/ewk/ewk_security_policy.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_security_policyh">trunk/Source/WebKit/efl/ewk/ewk_security_policy.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_settingscpp">trunk/Source/WebKit/efl/ewk/ewk_settings.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_settingsh">trunk/Source/WebKit/efl/ewk/ewk_settings.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_settings_privateh">trunk/Source/WebKit/efl/ewk/ewk_settings_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_touch_eventcpp">trunk/Source/WebKit/efl/ewk/ewk_touch_event.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_touch_event_privateh">trunk/Source/WebKit/efl/ewk/ewk_touch_event_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_viewcpp">trunk/Source/WebKit/efl/ewk/ewk_view.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_viewh">trunk/Source/WebKit/efl/ewk/ewk_view.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_view_privateh">trunk/Source/WebKit/efl/ewk/ewk_view_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_web_databasecpp">trunk/Source/WebKit/efl/ewk/ewk_web_database.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_web_databaseh">trunk/Source/WebKit/efl/ewk/ewk_web_database.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_web_database_privateh">trunk/Source/WebKit/efl/ewk/ewk_web_database_private.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_window_featurescpp">trunk/Source/WebKit/efl/ewk/ewk_window_features.cpp</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_window_featuresh">trunk/Source/WebKit/efl/ewk/ewk_window_features.h</a></li>
<li><a href="#trunkSourceWebKiteflewkewk_window_features_privateh">trunk/Source/WebKit/efl/ewk/ewk_window_features_private.h</a></li>
<li><a href="#trunkSourceWebKitefltestsUnitTestUtilsEWKTestBasecpp">trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestBase.cpp</a></li>
<li><a href="#trunkSourceWebKitefltestsUnitTestUtilsEWKTestBaseh">trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestBase.h</a></li>
<li><a href="#trunkSourceWebKitefltestsUnitTestUtilsEWKTestConfigh">trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestConfig.h</a></li>
<li><a href="#trunkSourceWebKitefltestsUnitTestUtilsEWKTestEnvironmentcpp">trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestEnvironment.cpp</a></li>
<li><a href="#trunkSourceWebKitefltestsUnitTestUtilsEWKTestEnvironmenth">trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestEnvironment.h</a></li>
<li><a href="#trunkSourceWebKitefltestsUnitTestUtilsEWKTestViewcpp">trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.cpp</a></li>
<li><a href="#trunkSourceWebKitefltestsUnitTestUtilsEWKTestViewh">trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.h</a></li>
<li><a href="#trunkSourceWebKitefltestsresourcesdefault_test_pagehtml">trunk/Source/WebKit/efl/tests/resources/default_test_page.html</a></li>
<li><a href="#trunkSourceWebKiteflteststest_ewk_contextmenucpp">trunk/Source/WebKit/efl/tests/test_ewk_contextmenu.cpp</a></li>
<li><a href="#trunkSourceWebKiteflteststest_ewk_framecpp">trunk/Source/WebKit/efl/tests/test_ewk_frame.cpp</a></li>
<li><a href="#trunkSourceWebKiteflteststest_ewk_settingcpp">trunk/Source/WebKit/efl/tests/test_ewk_setting.cpp</a></li>
<li><a href="#trunkSourceWebKiteflteststest_ewk_viewcpp">trunk/Source/WebKit/efl/tests/test_ewk_view.cpp</a></li>
<li><a href="#trunkSourceWebKiteflteststest_runnercpp">trunk/Source/WebKit/efl/tests/test_runner.cpp</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ChangeLog (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ChangeLog        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/ChangeLog        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2014-06-23 Ryuan Choi <ryuan.choi@samsung.com>
+
+ [EFL] Remove the WebKit1 EFL code
+ https://bugs.webkit.org/show_bug.cgi?id=134096
+
+ Reviewed by Gyuyoung Kim.
+
+ * PlatformEfl.cmake: Removed.
+ * efl: Removed entire efl directory.
+
</ins><span class="cx"> 2014-06-18 Alex Christensen <achristensen@webkit.org>
</span><span class="cx">
</span><span class="cx"> Add FTL to Windows build.
</span></span></pre></div>
<a id="trunkSourceWebKitPlatformEflcmake"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/PlatformEfl.cmake (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/PlatformEfl.cmake        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/PlatformEfl.cmake        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,271 +0,0 @@
</span><del>-list(APPEND WebKit_INCLUDE_DIRECTORIES
- "${WEBKIT_DIR}/efl/ewk"
- "${WEBKIT_DIR}/efl/WebCoreSupport"
- "${WEBCORE_DIR}/platform/efl"
- "${WEBCORE_DIR}/platform/graphics/cairo"
- "${WEBCORE_DIR}/platform/graphics/efl"
- "${WEBCORE_DIR}/platform/graphics/freetype"
- "${WEBCORE_DIR}/platform/graphics/opentype"
- "${WEBCORE_DIR}/platform/mock"
- "${WEBCORE_DIR}/platform/network/soup"
- ${CAIRO_INCLUDE_DIRS}
- ${ECORE_EVAS_INCLUDE_DIRS}
- ${ECORE_INCLUDE_DIRS}
- ${ECORE_INPUT_INCLUDE_DIRS}
- ${ECORE_X_INCLUDE_DIRS}
- ${EDJE_INCLUDE_DIRS}
- ${EFREET_INCLUDE_DIRS}
- ${EINA_INCLUDE_DIRS}
- ${EO_INCLUDE_DIRS}
- ${EVAS_INCLUDE_DIRS}
- ${GLIB_INCLUDE_DIRS}
- ${HARFBUZZ_INCLUDE_DIRS}
- ${LIBSOUP_INCLUDE_DIRS}
- ${LIBXML2_INCLUDE_DIR}
- ${LIBXSLT_INCLUDE_DIR}
- ${SQLITE_INCLUDE_DIR}
-)
-
-if (ENABLE_VIDEO)
- list(APPEND WebKit_INCLUDE_DIRECTORIES
- "${WEBCORE_DIR}/platform/graphics/gstreamer"
- ${GSTREAMER_APP_INCLUDE_DIRS}
- ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
- ${GSTREAMER_VIDEO_INCLUDE_DIRS}
- )
-endif ()
-
-if (ENABLE_VIDEO_TRACK)
- list(APPEND WebKit_INCLUDE_DIRECTORIES
- "${WEBCORE_DIR}/html/track"
- )
-endif ()
-
-if (ENABLE_NOTIFICATIONS)
- list(APPEND WebKit_INCLUDE_DIRECTORIES
- "${WEBCORE_DIR}/Modules/notifications"
- )
-endif ()
-
-if (ENABLE_VIBRATION)
- list(APPEND WebKit_INCLUDE_DIRECTORIES
- "${WEBCORE_DIR}/Modules/vibration"
- )
-endif ()
-
-if (ENABLE_BATTERY_STATUS)
- list(APPEND WebKit_INCLUDE_DIRECTORIES
- "${WEBCORE_DIR}/Modules/battery"
- )
-endif ()
-
-if (ENABLE_NAVIGATOR_CONTENT_UTILS)
- list(APPEND WebKit_INCLUDE_DIRECTORIES
- "${WEBCORE_DIR}/Modules/navigatorcontentutils"
- )
-endif ()
-
-if (WTF_USE_3D_GRAPHICS)
- list(APPEND WebKit_INCLUDE_DIRECTORIES
- "${WEBCORE_DIR}/platform/graphics/surfaces"
- "${WEBCORE_DIR}/platform/graphics/texmap"
- "${THIRDPARTY_DIR}/ANGLE/include/KHR"
- "${THIRDPARTY_DIR}/ANGLE/include/GLSLANG"
- )
-endif ()
-
-if (ENABLE_GEOLOCATION)
- list(APPEND WebKit_INCLUDE_DIRECTORIES
- "${WEBCORE_DIR}/Modules/geolocation"
- )
-endif ()
-
-if (ENABLE_ACCESSIBILITY)
- list(APPEND WebKit_INCLUDE_DIRECTORIES
- "${WEBCORE_DIR}/accessibility"
- "${WEBCORE_DIR}/accessibility/atk"
- ${ATK_INCLUDE_DIRS}
- )
- list(APPEND WebKit_LIBRARIES
- ${ATK_LIBRARIES}
- )
-endif ()
-
-list(APPEND WebKit_SOURCES
- efl/WebCoreSupport/AcceleratedCompositingContextEfl.cpp
- efl/WebCoreSupport/BatteryClientEfl.cpp
- efl/WebCoreSupport/ChromeClientEfl.cpp
- efl/WebCoreSupport/ColorChooserEfl.cpp
- efl/WebCoreSupport/ContextMenuClientEfl.cpp
- efl/WebCoreSupport/DeviceMotionClientEfl.cpp
- efl/WebCoreSupport/DeviceOrientationClientEfl.cpp
- efl/WebCoreSupport/DragClientEfl.cpp
- efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp
- efl/WebCoreSupport/EditorClientEfl.cpp
- efl/WebCoreSupport/FrameLoaderClientEfl.cpp
- efl/WebCoreSupport/FrameNetworkingContextEfl.cpp
- efl/WebCoreSupport/IconDatabaseClientEfl.cpp
- efl/WebCoreSupport/InspectorClientEfl.cpp
- efl/WebCoreSupport/NavigatorContentUtilsClientEfl.cpp
- efl/WebCoreSupport/NotificationPresenterClientEfl.cpp
- efl/WebCoreSupport/PlatformStrategiesEfl.cpp
- efl/WebCoreSupport/ProgressTrackerClientEfl.cpp
- efl/WebCoreSupport/PopupMenuEfl.cpp
- efl/WebCoreSupport/SearchPopupMenuEfl.cpp
- efl/WebCoreSupport/StorageTrackerClientEfl.cpp
- efl/WebCoreSupport/VibrationClientEfl.cpp
-
- efl/ewk/ewk_auth.cpp
- efl/ewk/ewk_auth_soup.cpp
- efl/ewk/ewk_contextmenu.cpp
- efl/ewk/ewk_cookies.cpp
- efl/ewk/ewk_custom_handler.cpp
- efl/ewk/ewk_file_chooser.cpp
- efl/ewk/ewk_frame.cpp
- efl/ewk/ewk_history.cpp
- efl/ewk/ewk_js.cpp
- efl/ewk/ewk_main.cpp
- efl/ewk/ewk_network.cpp
- efl/ewk/ewk_security_origin.cpp
- efl/ewk/ewk_security_policy.cpp
- efl/ewk/ewk_settings.cpp
- efl/ewk/ewk_touch_event.cpp
- efl/ewk/ewk_view.cpp
- efl/ewk/ewk_web_database.cpp
- efl/ewk/ewk_window_features.cpp
-)
-
-list(APPEND WebKit_LIBRARIES
- ${CAIRO_LIBRARIES}
- ${CMAKE_DL_LIBS}
- ${ECORE_EVAS_LIBRARIES}
- ${ECORE_INPUT_LIBRARIES}
- ${ECORE_LIBRARIES}
- ${EDJE_LIBRARIES}
- ${EFREET_LIBRARIES}
- ${EINA_LIBRARIES}
- ${EO_LIBRARIES}
- ${EVAS_LIBRARIES}
- ${FONTCONFIG_LIBRARIES}
- ${FREETYPE2_LIBRARIES}
- ${GLIB_GOBJECT_LIBRARIES}
- ${GLIB_LIBRARIES}
- ${HARFBUZZ_LIBRARIES}
- ${JPEG_LIBRARIES}
- ${LIBSOUP_LIBRARIES}
- ${LIBXML2_LIBRARIES}
- ${PNG_LIBRARIES}
- ${SQLITE_LIBRARIES}
-)
-
-if (ENABLE_ECORE_X)
- list(APPEND WebKit_LIBRARIES
- ${ECORE_X_LIBRARIES}
- )
-endif ()
-
-if (SHARED_CORE)
- set(LIBS_PRIVATE "-l${WTF_OUTPUT_NAME} -l${JavaScriptCore_OUTPUT_NAME} -l${WebCore_OUTPUT_NAME}")
-else ()
- set(LIBS_PRIVATE "")
-endif ()
-
-configure_file(efl/ewebkit.pc.in ${CMAKE_BINARY_DIR}/WebKit/efl/ewebkit.pc @ONLY)
-configure_file(efl/EWebKitConfig.cmake.in ${CMAKE_BINARY_DIR}/WebKit/efl/EWebKitConfig.cmake @ONLY)
-configure_file(efl/EWebKitConfigVersion.cmake.in ${CMAKE_BINARY_DIR}/WebKit/efl/EWebKitConfigVersion.cmake @ONLY)
-install(FILES ${CMAKE_BINARY_DIR}/WebKit/efl/ewebkit.pc DESTINATION lib/pkgconfig)
-install(FILES
- ${CMAKE_BINARY_DIR}/WebKit/efl/EWebKitConfig.cmake
- ${CMAKE_BINARY_DIR}/WebKit/efl/EWebKitConfigVersion.cmake
- DESTINATION lib/cmake/EWebKit)
-
-unset(LIBS_PRIVATE)
-
-set(EWebKit_HEADERS
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/EWebKit.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_auth.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_contextmenu.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_cookies.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_file_chooser.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_frame.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_history.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_js.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_main.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_network.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_security_origin.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_security_policy.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_settings.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_view.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_web_database.h
- ${CMAKE_CURRENT_SOURCE_DIR}/efl/ewk/ewk_window_features.h
-)
-
-install(FILES ${EWebKit_HEADERS}
- DESTINATION include/${WebKit_OUTPUT_NAME}-${PROJECT_VERSION_MAJOR})
-
-include_directories(${THIRDPARTY_DIR}/gtest/include)
-
-set(EWKUnitTests_LIBRARIES
- ${ECORE_EVAS_LIBRARIES}
- ${ECORE_LIBRARIES}
- ${EDJE_LIBRARIES}
- ${EVAS_LIBRARIES}
- JavaScriptCore
- WTF
- WebCore
- WebKit
- gtest
-)
-
-set(EWKUnitTests_INCLUDE_DIRECTORIES
- "${CMAKE_SOURCE_DIR}/Source"
- "${WEBKIT_DIR}/efl/ewk"
- "${JAVASCRIPTCORE_DIR}"
- "${WTF_DIR}"
- "${WTF_DIR}/wtf"
- ${ECORE_INCLUDE_DIRS}
- ${ECORE_EVAS_INCLUDE_DIRS}
- ${EVAS_INCLUDE_DIRS}
- ${EDJE_INCLUDE_DIRS}
-)
-
-list(APPEND EWKUnitTests_INCLUDE_DIRECTORIES "${WTF_DIR}/wtf/gobject")
-list(APPEND EWKUnitTests_LIBRARIES
- ${GLIB_GTHREAD_LIBRARIES}
- ${GLIB_LIBRARIES}
-)
-
-set(DEFAULT_TEST_PAGE_DIR ${CMAKE_SOURCE_DIR}/Source/WebKit/efl/tests/resources)
-
-add_definitions(-DDEFAULT_TEST_PAGE_DIR=\"${DEFAULT_TEST_PAGE_DIR}\"
- -DDEFAULT_THEME_PATH=\"${THEME_BINARY_DIR}\"
- -DGTEST_LINKED_AS_SHARED_LIBRARY=1
-)
-
-add_library(ewkTestUtils
- ${WEBKIT_DIR}/efl/tests/UnitTestUtils/EWKTestBase.cpp
- ${WEBKIT_DIR}/efl/tests/UnitTestUtils/EWKTestEnvironment.cpp
- ${WEBKIT_DIR}/efl/tests/UnitTestUtils/EWKTestView.cpp
-)
-target_link_libraries(ewkTestUtils ${EWKUnitTests_LIBRARIES})
-
-set(WEBKIT_EFL_TEST_DIR "${WEBKIT_DIR}/efl/tests/")
-set(WEBKIT_EFL_TEST_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/TestWebKitAPI/EWebKit)
-
-set(EWKUnitTests_BINARIES
- test_ewk_contextmenu
- test_ewk_frame
- test_ewk_setting
- test_ewk_view
-)
-
-if (ENABLE_API_TESTS)
- foreach (testName ${EWKUnitTests_BINARIES})
- add_executable(${testName} ${WEBKIT_EFL_TEST_DIR}/${testName}.cpp ${WEBKIT_EFL_TEST_DIR}/test_runner.cpp)
- add_test(${testName} ${WEBKIT_EFL_TEST_RUNTIME_OUTPUT_DIRECTORY}/${testName})
- set_tests_properties(${testName} PROPERTIES TIMEOUT 60)
- set_target_properties(${testName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${WEBKIT_EFL_TEST_RUNTIME_OUTPUT_DIRECTORY})
- target_link_libraries(${testName} ${EWKUnitTests_LIBRARIES} ewkTestUtils)
- endforeach ()
-endif ()
-
</del></span></pre></div>
<a id="trunkSourceWebKiteflChangeLog"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ChangeLog (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ChangeLog        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ChangeLog        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,17421 +0,0 @@
</span><del>-2014-06-21 Eva Balazsfalvi <evab.u-szeged@partner.samsung.com>
-
- Removing PAGE_VISIBILITY_API compile guard.
- https://bugs.webkit.org/show_bug.cgi?id=133844
-
- Reviewed by Gavin Barraclough.
-
- * ewk/ewk_view.cpp:
- (ewk_view_visibility_state_set):
- (ewk_view_visibility_state_get):
-
-2014-05-16 Martin Robinson <mrobinson@igalia.com>
-
- [CMake] Improve handling of LIB_INSTALL_DIR, EXEC_INSTALL_DIR, and LIBEXEC_INSTALL_DIR
- https://bugs.webkit.org/show_bug.cgi?id=132819
-
- Reviewed by Carlos Garcia Campos.
-
- * EWebKitConfig.cmake.in: LIB_INSTALL_DIR is always absolute now, so we don't need
- to prefix it with the prefix.
- * ewebkit.pc.in: Instead of hard-coding the path to the library installation directory use LIB_INSTALL_DIR.
-
-2014-05-16 Piotr Grad <p.grad@samsung.com>
-
- [EFL] Build break after 168978.
- https://bugs.webkit.org/show_bug.cgi?id=133012.
-
- Reviewed by Simon Fraser.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2014-05-12 Krzysztof Wolanski <k.wolanski@samsung.com>
-
- [EFL][WK1] Enable region based columns
- https://bugs.webkit.org/show_bug.cgi?id=132646
-
- Reviewed by Gyuyoung Kim.
-
- Enable new multi-column mode as it was enabled in WK2 (r168046).
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2014-05-07 Manuel Rego Casasnovas <rego@igalia.com>
-
- [CSS Grid Layout] Remove runtime feature
- https://bugs.webkit.org/show_bug.cgi?id=132382
-
- Reviewed by Benjamin Poulain.
-
- Remove cssGridLayoutEnabled setting usage.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled): Deleted.
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2014-05-01 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] Drop ewk_view_setting_tiled_backingstore APIs
- https://bugs.webkit.org/show_bug.cgi?id=132240
-
- Reviewed by Anders Carlsson.
-
- Since we moved to use TextureMapper, this option is meaningless now.
- Removed ewk_view_setting_tiled_backing_store_enabled_{get|set} and related codes.
-
- * ewk/ewk_view.cpp:
- (ewk_view_setting_tiled_backing_store_enabled_set): Deleted.
- (ewk_view_setting_tiled_backing_store_enabled_get): Deleted.
- * ewk/ewk_view.h:
- * tests/test_ewk_view.cpp:
- (TEST_F): Deleted.
-
-2014-05-01 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] There are many warnings with software backend
- https://bugs.webkit.org/show_bug.cgi?id=132422
-
- Reviewed by Gyuyoung Kim.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_cursor_set):
-
-2014-04-30 Alexey Proskuryakov <ap@apple.com>
-
- Roll out fix for https://bugs.webkit.org/show_bug.cgi?id=131637:
- Clean up unnecessary methods in the BackForwardClient interface
-
- It broke a regression test and an API test.
-
- * ewk/ewk_history.cpp:
- (ewk_history_clear):
- (ewk_history_new):
- (ewk_history_free):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_history_enable_get):
- (ewk_view_history_enable_set):
- (ewk_view_history_get):
-
-2014-04-30 Brian J. Burg <burg@cs.washington.edu>
-
- Clean up unnecessary methods in the BackForwardClient interface
- https://bugs.webkit.org/show_bug.cgi?id=131637
-
- Reviewed by Andreas Kling.
-
- Remove uses of reference counting for BackForwardList.
- Use references to BackForwardClient instead of pointers.
- Stop using BackForwardClient::page() since it was removed.
-
- * ewk/ewk_history.cpp:
- (ewk_history_clear):
- (ewk_history_new):
- (ewk_history_free):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_history_enable_get):
- (ewk_view_history_enable_set):
- (ewk_view_history_get):
-
-2014-04-24 Myles C. Maxfield <mmaxfield@apple.com>
-
- FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
- https://bugs.webkit.org/show_bug.cgi?id=132110
-
- Reviewed by Tim Horton.
-
- Updates callers to use '.' instead of '->'.
-
- No new tests are necessary because there should be no behavior change.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_memory_cache_clear):
-
-2014-04-23 Hyowon Kim <hw1008.kim@samsung.com>
-
- [EFL][WK1] Add *const* keyword to _get() APIs
- https://bugs.webkit.org/show_bug.cgi?id=132094
-
- Reviewed by Gyuyoung Kim.
-
- Some _get() EFL APIs don't have *const* keyword though the _get() APIs don't modify passed argument.
- We need to add *const* keyword to those APIs.
-
- * ewk/ewk_history.cpp:
- (ewk_history_limit_get):
- * ewk/ewk_history.h:
- * ewk/ewk_js.cpp:
- (ewk_js_object_type_get):
- * ewk/ewk_js.h:
-
-2014-04-22 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] There are many failures in fast/forms since r163033
- https://bugs.webkit.org/show_bug.cgi?id=132039
-
- Reviewed by Gyuyoung Kim.
-
- * ewk/ewk_view.cpp: Added break statements which is missing while remove COMPILE_ASSERT_MATCHING_ENUM
- (ewk_view_navigation_policy_decision):
-
-2014-04-22 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] There are many warnings in layout test since r167428
- https://bugs.webkit.org/show_bug.cgi?id=131985
-
- Reviewed by Gyuyoung Kim.
-
- Since r167428, implementation of flush method was removed, but ewk_view_frame_main_cleared
- still checked and generated many warnings.
-
- Now, ewk_view_frame_main_cleared is not required because flush is already
- meaningless and others are covered by ewk_frame_view_create_for_view.
- So, this patch removed ewk_view_frame_main_cleared and related code which is already dead.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::transitionToCommittedForNewPage):
- * ewk/ewk_view.cpp:
- (ewk_view_frame_main_cleared): Deleted.
- (ewk_view_did_first_visually_nonempty_layout): Deleted.
- (ewk_view_dispatch_did_finish_loading): Deleted.
- * ewk/ewk_view.h: Removed flush smart method.
-
-2014-04-18 Philippe Normand <pnormand@igalia.com>
-
- Remove NETWORK_INFO support
- https://bugs.webkit.org/show_bug.cgi?id=131841
-
- Reviewed by Gyuyoung Kim.
-
- * WebCoreSupport/NetworkInfoClientEfl.cpp: Removed.
- * WebCoreSupport/NetworkInfoClientEfl.h: Removed.
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2014-04-17 Jeongeun Kim <je_julie.kim@samsung.com>
-
- [EFL][WK1] SSL Strict is set according to input parameter.
- https://bugs.webkit.org/show_bug.cgi?id=131734.
-
- Reviewed by Gyuyoung Kim.
-
- The param, 'enable', should be used for setting SSL-Strict.
- If it is true, SSLStrict is set. Otherwise, SSLStrict is unset.
-
- * ewk/ewk_network.cpp:
- (ewk_network_tls_certificate_check_set):
-
-2014-04-17 Hyowon Kim <hw1008.kim@samsung.com>
-
- [EFL] Remove deprecated ewk_paint code.
- https://bugs.webkit.org/show_bug.cgi?id=131266
-
- Reviewed by Gyuyoung Kim.
-
- ewk_paint related code was deprecated since r166637.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::invalidateRootView): Deleted.
- (WebCore::ChromeClientEfl::invalidateContentsAndRootView): Deleted.
- (WebCore::ChromeClientEfl::invalidateContentsForSlowScroll): Deleted.
- (WebCore::ChromeClientEfl::scroll): Deleted.
- * WebCoreSupport/ChromeClientEfl.h:
- * WebCoreSupport/InspectorClientEfl.cpp:
- * ewk/ewk_paint_context.cpp: Removed.
- * ewk/ewk_paint_context_private.h: Removed.
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_del):
- (_ewk_view_smart_calculate):
- (ewk_view_smart_set):
- (_ewk_view_repaints_resize): Deleted.
- (_ewk_view_repaint_add): Deleted.
- (_ewk_view_repaints_flush): Deleted.
- (_ewk_view_smart_flush): Deleted.
- (ewk_view_repaints_pop): Deleted.
- (ewk_view_repaint_add): Deleted.
- (ewk_view_paint): Deleted.
- (ewk_view_paint_contents): Deleted.
- (ewk_view_repaint): Deleted.
- (ewk_view_scroll): Deleted.
- (ewk_view_tiled_backing_store_invalidate): Deleted.
- * ewk/ewk_view_private.h:
-
-2014-04-16 Jeongeun Kim <je_julie.kim@samsung.com>
-
- [EFL] Cleanup the build from unused parameters in WebKit-efl.
- https://bugs.webkit.org/show_bug.cgi?id=131677.
-
- Reviewed by Gyuyoung Kim.
-
- Changed ASSERT to ASSERT_UNUSED if it's just used for ASSERT.
-
- * ewk/ewk_view.cpp:
- (ewk_view_scroll):
-
-2014-04-15 Hyowon Kim <hw1008.kim@samsung.com>
-
- [EFL] Fix problems with the pixel dump.
- https://bugs.webkit.org/show_bug.cgi?id=131265
-
- Reviewed by Gyuyoung Kim.
-
- Painting and compositing paths of WebKit-EFL were totally modified from r166768.
- However pixel dump codes still call deprecated functions like ewk_view_paint(),
- which causes that nothing is drawn.
-
- This patch adds new member functions to AcceleratedCompositingContext to support pixel dump.
- One of new functions is AcceleratedCompositingContext::extractImageData(),
- which replaces deprecated function calls. Besides the extractImageData() is invoked by
- ewk_view_screenshot_contents_get() in order to take the visible content displayed on the EFL webview.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- (WebCore::AcceleratedCompositingContext::AcceleratedCompositingContext):
- Create TextureMapper with a proper backend.
- (WebCore::AcceleratedCompositingContext::flushPendingLayerChanges):
- Revise a null check for m_rootLayer.
- (WebCore::AcceleratedCompositingContext::paintToGraphicsContext):
- Remove a creation check for TextureMapperGL.
- (WebCore::AcceleratedCompositingContext::paintToCurrentGLContext):
- Ditto.
- (WebCore::AcceleratedCompositingContext::extractImageData):
- Extract image data from the view and copy it to given Evas_Object.
- (WebCore::AcceleratedCompositingContext::getImageData):
- Get image data from the view and return it as cairo_surface_t on software mode.
- (WebCore::AcceleratedCompositingContext::getImageDataGL):
- Get image data from the view and return it as cairo_surface_t on GL mode.
- * WebCoreSupport/AcceleratedCompositingContextEfl.h:
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::forcePaint): Repaint the entire webview before pixel dump.
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
- * ewk/ewk_view.cpp:
- (ewk_view_mark_for_sync): Remove an unnecessary line.
- (ewk_view_force_paint): Call flushAndRenderLayers().
- (ewk_view_screenshot_contents_get): Remove 'scale' parameter and replace ewk_view_paint()
- with AcceleratedCompositingContext::extractImageData().
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h:
- * tests/test_ewk_view.cpp:
- (TEST_F):
-
-2014-04-12 Youenn Fablet <youenn.fablet@crf.canon.fr>
-
- [SOUP] Libsoup internal credential setting should be controlled by loader decision
- https://bugs.webkit.org/show_bug.cgi?id=130963
-
- Reviewed by Darin Adler.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::shouldUseCredentialStorage): Similarly to GTK, let soup/loader layer handle when to use credential storage. Return always true
-
-2014-04-08 Ryuan Choi <ryuan.choi@samsung.com>
-
- Unreviewed EFL build fix attempt since r166956
-
- * WebCoreSupport/DragClientEfl.cpp: Rename Clipboard to DataTransfer.
- (WebCore::DragClientEfl::willPerformDragSourceAction):
- (WebCore::DragClientEfl::startDrag): Ditto.
- * WebCoreSupport/DragClientEfl.h:
-
-2014-04-08 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Change NavigatorContentUtils client ownership from port side to NavigatorContentUtils
- https://bugs.webkit.org/show_bug.cgi?id=131299
-
- Reviewed by Darin Adler.
-
- EFL and GTK ports have managed own client of NavigatorContentUtils though it is only passed to
- NavigatorContentUtils. The NavigatorContentUtils has used the client to call port functions. So,
- there is no reason port implementation needs to manage the ownership. To manage the client is
- unnecessary work in current implementation.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2014-04-07 Hyowon Kim <hw1008.kim@samsung.com>
-
- Move to using std::unique_ptr for opengl, texmap, transforms and efl in WebCore/platform/graphics.
- https://bugs.webkit.org/show_bug.cgi?id=131276
-
- Reviewed by Darin Adler.
-
- Replace uses of OwnPtr for TextureMapper in AcceleratedCompositingContextEfl with std::unique_ptr.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.h:
-
-2014-04-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL][WK1] Apply std::unique_ptr<> to NavigatorContentUtilsClientEfl
- https://bugs.webkit.org/show_bug.cgi?id=130958
-
- Reviewed by Darin Adler.
-
- As a step of replacing OwnPtr with std::unique_ptr, this patch replaces
- OwnPtr with the std::unique_ptr for NavigatorContentUtilsClientEfl.
-
- * WebCoreSupport/NavigatorContentUtilsClientEfl.cpp:
- (WebCore::NavigatorContentUtilsClientEfl::create): Deleted.
- * WebCoreSupport/NavigatorContentUtilsClientEfl.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2014-04-05 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] Apply override and final keyword for ChromeClientEfl
- https://bugs.webkit.org/show_bug.cgi?id=131261
-
- Reviewed by Gyuyoung Kim.
-
- There are unnecessary virtual methods in ChromeClientEfl.
- Almost methods are already removed from parent class and
- the others does not need to be virtual method.
-
- This patch removed them and applied override and final.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::scheduleAnimation):
- (WebCore::ChromeClientEfl::serviceScriptedAnimations): Deleted.
- (WebCore::ChromeClientEfl::cancelGeolocationPermissionForFrame): Deleted.
- (WebCore::ChromeClientEfl::invalidateContents): Deleted.
- (WebCore::ChromeClientEfl::cancelGeolocationPermissionRequestForFrame): Deleted.
- (WebCore::ChromeClientEfl::iconForFiles): Deleted.
- * WebCoreSupport/ChromeClientEfl.h:
- (WebCore::ChromeClientEfl::scrollRectIntoView): Deleted.
- (WebCore::ChromeClientEfl::numWheelEventHandlersChanged): Deleted.
-
-2014-04-03 Hyowon Kim <hw1008.kim@samsung.com>
-
- [EFL] Should flush and render layers after the root layer is changed.
- https://bugs.webkit.org/show_bug.cgi?id=131108
-
- Reviewed by Gyuyoung Kim.
-
- If there is no update event after root layer is changed, old webview can be shown.
- Because the syncTimer is not being triggered by root layer change.
- We should flush and render layers by starting syncTimer when the root layer is changed.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- (WebCore::AcceleratedCompositingContext::setRootGraphicsLayer): Add m_syncTimer.startOneShot(0);
- * WebCoreSupport/AcceleratedCompositingContextEfl.h:
- (WebCore::AcceleratedCompositingContext::setRootGraphicsLayer): Move implementation from header to source.
-
-2014-04-02 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] Use Evas_Touch_Point_State instead of Ewk_Touch_Point_Type
- https://bugs.webkit.org/show_bug.cgi?id=131151
-
- Reviewed by Gyuyoung Kim.
-
- Like ewebkit2, we'd beter to use EFL type instead of WebKit specific type
- In addition, changed type of id as int to match with ewebkit2.
-
- * ewk/ewk_frame.h: Replace Ewk_Touch_Point_Type to Evas_Touch_Point_State.
- * ewk/ewk_touch_event.cpp:
- (toPlatformTouchPointState):
-
-2014-04-02 Martin Hock <mhock@apple.com>
-
- Unify private browsing with sessions.
- https://bugs.webkit.org/show_bug.cgi?id=130099
-
- Reviewed by Alexey Proskuryakov.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new): Change WebCore::Settings::privateBrowsingEnabled() to Page::sessionID().isEphemeral().
- (ewk_view_setting_private_browsing_set): Change WebCore::Settings::setPrivateBrowsingEnabled() to Page::enableLegacyPrivateBrowsing().
-
-2014-04-02 Hyowon Kim <hw1008.kim@samsung.com>
-
- [EFL] Composite all layers into one evas_object using TextureMapper.
- https://bugs.webkit.org/show_bug.cgi?id=130969
-
- Reviewed by Gyuyoung Kim.
-
- The EFL port uses two evas_objects to render the entire webpage: backing_store and compositingObject.
- backing_store is used to paint a non-composited layer with ewk functions,
- whereas compositingObject is used to paint other layers with TextureMapper.
- These evas_objects are eventually composited into the window buffer by Evas.
-
- This patch moves to use only one evas_object by integrating these two evas_objects,
- and makes that TextureMapper handles all rendering paths like WebKit2.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- (WebCore::AcceleratedCompositingContext::AcceleratedCompositingContext):
- (WebCore::AcceleratedCompositingContext::~AcceleratedCompositingContext):
- (WebCore::AcceleratedCompositingContext::resize):
- (WebCore::AcceleratedCompositingContext::flushAndRenderLayers):
- (WebCore::AcceleratedCompositingContext::flushPendingLayerChanges):
- (WebCore::AcceleratedCompositingContext::paintToGraphicsContext):
- (WebCore::AcceleratedCompositingContext::paintToCurrentGLContext):
- (WebCore::AcceleratedCompositingContext::compositeLayers):
- (WebCore::AcceleratedCompositingContext::initialize): Deleted.
- (WebCore::AcceleratedCompositingContext::canComposite): Deleted.
- (WebCore::AcceleratedCompositingContext::compositeLayersToContext): Deleted.
- (WebCore::AcceleratedCompositingContext::attachRootGraphicsLayer): Deleted.
- * WebCoreSupport/AcceleratedCompositingContextEfl.h:
- (WebCore::AcceleratedCompositingContext::setRootGraphicsLayer):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (_ewk_view_accelerated_compositing_cb):
- (_ewk_view_smart_add):
- (_ewk_view_smart_resize):
- (_ewk_view_smart_calculate):
- (_ewk_view_smart_show):
- (_ewk_view_smart_hide):
- (_ewk_view_smart_flush):
- (_ewk_view_smart_zoom_weak_set):
- (_ewk_view_smart_zoom_weak_smooth_scale_set):
- (ewk_view_bg_color_set):
- (ewk_view_scroll):
- (ewk_view_root_graphics_layer_set):
- (ewk_view_mark_for_sync):
- (_ewk_view_scrolls_flush): Deleted.
- (_ewk_view_scroll_process): Deleted.
- (_ewk_view_smart_scrolls_process): Deleted.
- (_ewk_view_smart_repaints_process): Deleted.
- (ewk_view_scrolls_process): Deleted.
- (_ewk_view_accelerated_compositing_context_create_if_needed): Deleted.
- (_ewk_view_accelerated_compositing_object_create_if_needed): Deleted.
- * ewk/ewk_view.h:
-
-2014-03-23 Hyowon Kim <hw1008.kim@samsung.com>
-
- Move all EFL typedefs into EflTypedefs.h.
- https://bugs.webkit.org/show_bug.cgi?id=130511
-
- Reviewed by Gyuyoung Kim.
-
- * WebCoreSupport/BatteryClientEfl.h: Remove EFL typedefs.
- * WebCoreSupport/DumpRenderTreeSupportEfl.h: Ditto.
- * WebCoreSupport/EditorClientEfl.h: Ditto.
- * WebCoreSupport/FrameNetworkingContextEfl.h: Ditto.
- * WebCoreSupport/NavigatorContentUtilsClientEfl.h: Ditto.
- * WebCoreSupport/ProgressTrackerClientEfl.h: Ditto.
-
-2014-03-20 Hyowon Kim <hw1008.kim@samsung.com>
-
- Move to using std::unique_ptr for EFL objects.
- https://bugs.webkit.org/show_bug.cgi?id=129853
-
- Reviewed by Gyuyoung Kim.
-
- EflUniquePtr is a template alias of std::unique_ptr
- with a custom deleter for each Efl Objects, which is motivated by GUniquePtr.
- This patch replaces uses of OwnPtr and PassOwnPtr for Efl objects with EflUniquePtr.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- (WebCore::AcceleratedCompositingContext::initialize):
- * WebCoreSupport/AcceleratedCompositingContextEfl.h:
- * WebCoreSupport/BatteryClientEfl.h:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
- * WebCoreSupport/EditorClientEfl.h:
- * WebCoreSupport/FrameNetworkingContextEfl.h:
- * WebCoreSupport/NavigatorContentUtilsClientEfl.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_editor_command_string_get):
- * tests/UnitTestUtils/EWKTestView.cpp:
- (EWKUnitTests::EWKTestView::init):
- * tests/UnitTestUtils/EWKTestView.h:
-
-2014-03-14 Maciej Stachowiak <mjs@apple.com>
-
- Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
- https://bugs.webkit.org/show_bug.cgi?id=130276
- <rdar://problem/16266927>
-
- Reviewed by Simon Fraser.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * WebCoreSupport/ContextMenuClientEfl.cpp:
- * WebCoreSupport/ContextMenuClientEfl.h:
- * WebCoreSupport/DeviceMotionClientEfl.cpp:
- * WebCoreSupport/DeviceOrientationClientEfl.cpp:
- * WebCoreSupport/DragClientEfl.cpp:
- * WebCoreSupport/EditorClientEfl.h:
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- * WebCoreSupport/FrameLoaderClientEfl.h:
- * WebCoreSupport/FrameNetworkingContextEfl.cpp:
- * WebCoreSupport/FrameNetworkingContextEfl.h:
- * WebCoreSupport/InspectorClientEfl.h:
- * WebCoreSupport/NavigatorContentUtilsClientEfl.cpp:
- * WebCoreSupport/NavigatorContentUtilsClientEfl.h:
- * WebCoreSupport/NetworkInfoClientEfl.cpp:
-
-2014-03-12 Sergio Villar Senin <svillar@igalia.com>
-
- Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
- https://bugs.webkit.org/show_bug.cgi?id=129612
-
- Reviewed by Darin Adler.
-
- For new code use static NeverDestroyed<T> instead.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::initialize):
- * ewk/ewk_main.cpp:
- (trackerClient):
-
-2014-03-12 Brian Burg <bburg@apple.com>
-
- Web Inspector: Remove unused callId parameter from evaluateInWebInspector
- https://bugs.webkit.org/show_bug.cgi?id=129744
-
- Reviewed by Timothy Hatcher.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateInWebInspector):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2014-03-12 Hyowon Kim <hw1008.kim@samsung.com>
-
- [EFL] Revise AcceleratedCompositingEfl implementation.
- https://bugs.webkit.org/show_bug.cgi?id=130072
-
- Reviewed by Gyuyoung Kim.
-
- This patch revises the AcceleratedCompositingEfl class implementation
- similar with gtk port.
- And accelerated compositing will be enabled by default on WK1 efl.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- (WebCore::AcceleratedCompositingContext::AcceleratedCompositingContext):
- (WebCore::AcceleratedCompositingContext::initialize):
- (WebCore::AcceleratedCompositingContext::syncLayers):
- (WebCore::AcceleratedCompositingContext::resize):
- (WebCore::AcceleratedCompositingContext::canComposite):
- (WebCore::AcceleratedCompositingContext::flushAndRenderLayers):
- (WebCore::AcceleratedCompositingContext::flushPendingLayerChanges):
- (WebCore::AcceleratedCompositingContext::compositeLayersToContext):
- (WebCore::AcceleratedCompositingContext::attachRootGraphicsLayer):
- * WebCoreSupport/AcceleratedCompositingContextEfl.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (_ewk_view_accelerated_compositing_cb):
- (_ewk_view_accelerated_compositing_context_create_if_needed):
-
-2014-03-10 Hyowon Kim <hw1008.kim@samsung.com>
-
- [EFL] Modify accelerated compositing related functions in ewk_view.
- https://bugs.webkit.org/show_bug.cgi?id=129875
-
- Reviewed by Gyuyoung Kim.
-
- The compositing object will be created when root layer is attached.
- So we don't need to expose the create function.
- And this patch adds show(), hide() and resize() for compositing object.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.h: move resize() to public.
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_resize): add to resize the compositing object.
- (_ewk_view_smart_show): add to show the compositing object.
- (_ewk_view_smart_hide): add to hide the compositing object.
- (_ewk_view_accelerated_compositing_context_create_if_needed):
- modify the creation for the compositing object.
- (_ewk_view_accelerated_compositing_object_create_if_needed):
- add a return value.
- (ewk_view_root_graphics_layer_set):
- If root layer is not 0, we create the compositing object and AcceleratedCompositingContext.
- * ewk/ewk_view_private.h: remove to expose the compositing object creation API.
-
-2014-03-07 Hyowon Kim <hw1008.kim@samsung.com>
-
- [EFL] Replace GraphicsContext3D with Evas_GL in AcceleratedCompositingContext.
- https://bugs.webkit.org/show_bug.cgi?id=129676
-
- Reviewed by Gyuyoung Kim.
-
- TextureMapperGL has its own GraphicsContext3D created by createForCurrentGLContext().
- So AcceleratedCompositingContext doesn't need to create and set it to TextureMapperGL.
-
- We now should do 'makeCurrentContext' with a platform specific context before createForCurrentGLContext().
- This patch removes GraphicsContext3D related codes in AcceleratedCompositingContext
- and adds EvasGLContext/Surface to it instead.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- (WebCore::AcceleratedCompositingContext::initialize):
- (WebCore::AcceleratedCompositingContext::resize):
- (WebCore::AcceleratedCompositingContext::renderLayers):
- * WebCoreSupport/AcceleratedCompositingContextEfl.h:
- * ewk/ewk_view.cpp:
- * ewk/ewk_view_private.h:
-
-2014-03-04 Zalan Bujtas <zalan@apple.com>
-
- Enable device pixel repaint rect tracking.
- https://bugs.webkit.org/show_bug.cgi?id=129712
-
- Reviewed by Simon Fraser.
-
- Tracked repaint rects are device pixel snapped now to support hiDPI test cases.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::trackedRepaintRects):
-
-2014-02-25 Anders Carlsson <andersca@apple.com>
-
- Get rid of VisitedLinkStrategy
- https://bugs.webkit.org/show_bug.cgi?id=129324
-
- Reviewed by Dan Bernstein.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::getPluginInfo):
- * WebCoreSupport/PlatformStrategiesEfl.h:
-
-2014-02-24 Renata Hodovan <rhodovan.u-szeged@partner.samsung.com>
-
- Get rid of the unused 'immediate' parameters from repaint related functions
- https://bugs.webkit.org/show_bug.cgi?id=129111
-
- Reviewed by Simon Fraser.
-
- Removing the 'immediate' parameters from repaint related functions - accoring
- to the FIXME in RenderView::repaintViewRectangle() - since they have no effect.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::invalidateContents):
- (WebCore::ChromeClientEfl::invalidateRootView):
- (WebCore::ChromeClientEfl::invalidateContentsAndRootView):
- (WebCore::ChromeClientEfl::invalidateContentsForSlowScroll):
- * WebCoreSupport/ChromeClientEfl.h:
-
-2014-02-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Change a url parameter type with URL in NavigatorContentUtils
- https://bugs.webkit.org/show_bug.cgi?id=129202
-
- Reviewed by Sam Weinig.
-
- It would be good if we use *URL* for url parameters instead of using String.
-
- Merge from blink. https://src.chromium.org/viewvc/blink?view=rev&revision=165458.
-
- * WebCoreSupport/NavigatorContentUtilsClientEfl.cpp:
- (WebCore::NavigatorContentUtilsClientEfl::registerProtocolHandler):
- (WebCore::NavigatorContentUtilsClientEfl::isProtocolHandlerRegistered):
- (WebCore::NavigatorContentUtilsClientEfl::unregisterProtocolHandler):
- * WebCoreSupport/NavigatorContentUtilsClientEfl.h:
-
-2014-02-17 Sergio Correia <sergio.correia@openbossa.org>
-
- Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
- https://bugs.webkit.org/show_bug.cgi?id=128681
-
- Reviewed by Timothy Hatcher.
-
- Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
- WebCore/inspector/*. Besides files in there, a few other files in
- JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
- and WebCore/testing were touched.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
-
-2014-02-15 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] Do not include cairo header in the public headers
- https://bugs.webkit.org/show_bug.cgi?id=128779
-
- Reviewed by Gyuyoung Kim.
-
- Although ewebkit used cairo internally, it's not good for EFL developers
- to use it.
- Indeed, almost APIs which returns cairo_surface are duplicated with other APIs
- which returns evas_object.
-
- * ewk/ewk_history.cpp:
- Removed ewk_history_item_icon_surface_get.
- ewk_history_item_icon_object_add will be used instead.
- * ewk/ewk_history.h:
- * ewk/ewk_settings.cpp:
- Removed ewk_settings_icon_database_icon_surface_get.
- ewk_settings_icon_database_icon_object_get will be used instead.
- * ewk/ewk_settings.h:
- * ewk/ewk_view.cpp:
- (ewk_view_screenshot_contents_get):
- Implemented to replace ewk_view_paint and ewk_view_paint_contents.
- * ewk/ewk_view.h:
- * tests/test_ewk_view.cpp:
- (TEST_F): Added test case for ewk_view_screenshot_contents_get
-
-2014-02-13 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] Do not include libsoup header in the public headers
- https://bugs.webkit.org/show_bug.cgi?id=128701
-
- Reviewed by Gyuyoung Kim.
-
- Although ewebkit used libsoup internally, it's not good for EFL developers
- to use it.
- Instead, we should provide some wrapper APIs like ewk_network_proxy_uri_set
- for future changes.
-
- * ewk/ewk_network.cpp: Removed soup related header,APIs and comments.
- (ewk_network_tls_ca_certificates_path_set):
- * ewk/ewk_network.h: Ditto.
- * ewk/ewk_view.cpp: Ditto.
- * ewk/ewk_view.h: Ditto.
-
-2014-02-12 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
-
- Update the HTML Media Capture implementation.
- https://bugs.webkit.org/show_bug.cgi?id=118465
-
- Reviewed by Darin Adler.
-
- Make the implementation in WebKit compatible with the 2013-05-09
- version of the spec, which makes the "capture" attribute a boolean
- instead of an enum.
-
- * ewk/ewk_file_chooser.cpp:
- (ewk_file_chooser_capture_get): Return an Eina_Bool now.
- * ewk/ewk_file_chooser.h: Get rid of Ewk_File_Chooser_Capture_Type.
-
-2014-02-09 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Remove PageClientEfl
- https://bugs.webkit.org/show_bug.cgi?id=128508
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- Removed dependencies of PageClientEfl.
- (WebCore::AcceleratedCompositingContext::initialize):
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::platformPageClient):
- * WebCoreSupport/PageClientEfl.cpp: Removed.
- * WebCoreSupport/PageClientEfl.h: Removed.
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2014-02-08 Ryosuke Niwa <rniwa@webkit.org>
-
- Cleanup the interface of FrameSelection
- https://bugs.webkit.org/show_bug.cgi?id=128481
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::selectionRectangle):
-
-2014-02-08 Darin Adler <darin@apple.com>
-
- Change TextIterator to use StringView, preparing to wean it from deprecatedCharacters
- https://bugs.webkit.org/show_bug.cgi?id=128233
-
- Reviewed by Anders Carlsson.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::checkSpellingOfString): Use StringView.
- (WebCore::EditorClientEfl::checkGrammarOfString): Ditto.
- * WebCoreSupport/EditorClientEfl.h: Ditto.
-
-2014-02-07 Gavin Barraclough <barraclough@apple.com>
-
- Remove isInitialState flag from Page::setViewState
- https://bugs.webkit.org/show_bug.cgi?id=128428
-
- Reviewed by Sam Weinig.
-
- * ewk/ewk_view.cpp:
- (ewk_view_visibility_state_set):
- - don't pass isInitialState to setViewState.
-
-2014-02-05 Andreas Kling <akling@apple.com>
-
- Remove ENABLE(DIRECTORY_UPLOAD).
- <https://webkit.org/b/128275>
-
- Rubber-stamped by Ryosuke Niwa.
-
- * ewk/ewk_file_chooser.cpp:
- (ewk_file_chooser_allows_directory_upload_get):
-
-2014-02-04 Andreas Kling <akling@apple.com>
-
- Remove <iframe seamless> support.
- <https://webkit.org/b/128213>
-
- Rubber-stamped by Antti Koivisto.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2014-01-31 Ryosuke Niwa <rniwa@webkit.org>
-
- Remove inline member functions of FrameSelection that access m_selection
- https://bugs.webkit.org/show_bug.cgi?id=127986
-
- Reviewed by Enrica Casucci.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::selectedRange):
- * ewk/ewk_frame.cpp:
- (ewk_frame_text_selection_type_get):
-
-2014-01-30 Andrei Bucur <abucur@adobe.com>
-
- Remove the ACCELERATED_COMPOSITING flag
- https://bugs.webkit.org/show_bug.cgi?id=127833
-
- Reviewed by Antti Koivisto.
-
- Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
- mandatory.
-
- Another patch will be required to remove the flag support from the EFL build system.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- * WebCoreSupport/AcceleratedCompositingContextEfl.h:
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::allowedCompositingTriggers):
- * WebCoreSupport/ChromeClientEfl.h:
- * WebCoreSupport/PageClientEfl.cpp:
- (PageClientEfl::acceleratedCompositingContext):
- * WebCoreSupport/PageClientEfl.h:
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (_ewk_view_priv_del):
- (ewk_view_mark_for_sync):
- * ewk/ewk_view_private.h:
-
-2014-01-29 Ryuan Choi <ryuan.choi@samsung.com>
-
- EFL port should stop using COMPILE_ASSERT_MATCHING_ENUM macros
- https://bugs.webkit.org/show_bug.cgi?id=127801
-
- Reviewed by Anders Carlsson.
-
- Instead of COMPILE_ASSERT_MATCHING_ENUMS with static_cast, this patch
- added switch and conversion functions if needed.
-
- * WebCoreSupport/AssertMatchingEnums.cpp: Removed.
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
- * ewk/ewk_contextmenu.cpp:
- (toEwkContextMenuAction):
- * ewk/ewk_contextmenu.h:
- Added missing enum variables. These are required not to break the build.
- * ewk/ewk_frame.cpp:
- (ewk_frame_text_selection_type_get):
- * ewk/ewk_touch_event.cpp:
- (toPlatformTouchPointState):
- (WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
- * ewk/ewk_view.cpp:
- (ewk_view_text_direction_set):
- (ewk_view_navigation_policy_decision):
- (toViewMode):
- (toEwkViewMode):
- (ewk_view_mode_set):
- (ewk_view_mode_get):
- (ewk_view_visibility_state_get):
- * ewk/ewk_view_private.h:
-
-2014-01-28 Zan Dobersek <zdobersek@igalia.com>
-
- Remove unnecessary forward declarations of MessagePortChannel, MessagePortChannelArray in DumpRenderTreeSupportEfl.h
- https://bugs.webkit.org/show_bug.cgi?id=127654
-
- Reviewed by Alexey Proskuryakov.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.h: Remove the forward declarations of MessagePortChannel
- and MessagePortChannelArray. They were most likely at one point used in DRT support methods, but are
- not necessary anymore.
-
-2014-01-27 Carlos Garcia Campos <cgarcia@igalia.com>
-
- [GTK] Make webkit_uri_scheme_request_get_web_view() work with CustomProtocols
- https://bugs.webkit.org/show_bug.cgi?id=127614
-
- Reviewed by Gustavo Noronha Silva.
-
- Remove initiatingPageID() method form the FrameNetworkingContext.
-
- * WebCoreSupport/FrameNetworkingContextEfl.cpp:
- * WebCoreSupport/FrameNetworkingContextEfl.h:
-
-2014-01-27 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] Remove ewk_history_item_time_last_visited_get and ewk_history_item_visit_count
- https://bugs.webkit.org/show_bug.cgi?id=127662
-
- Reviewed by Gyuyoung Kim.
-
- These APIs are exposing WebCore's internal structure, but they removed
- from WebCore since 162808.
-
- This patch removed not to support them because applications can do it
- if they want.
-
- * ewk/ewk_history.cpp:
- * ewk/ewk_history.h:
-
-2014-01-26 Ryuan Choi <ryuan.choi@samsung.com>
-
- Unreviewed build fix on the EFL build since r162808
-
- lastVisitedTime and visitCount are removed from WebCore::HistoryItem
-
- * ewk/ewk_history.cpp:
- (ewk_history_item_new):
- (ewk_history_item_time_last_visited_get):
- (ewk_history_item_visit_count):
-
-2014-01-25 Anders Carlsson <andersca@apple.com>
-
- Remove an unused FrameLoaderClient function
- https://bugs.webkit.org/show_bug.cgi?id=127628
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2014-01-25 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] Fix broken rendering while navigating history in EWebLauncher
- https://bugs.webkit.org/show_bug.cgi?id=127601
-
- Reviewed by Anders Carlsson.
-
- When scrolled after requested repaints, rendering was broken because scrollDelta
- changed repaints area.
-
- * ewk/ewk_view.cpp:
- (ewk_view_scroll):
-
-2014-01-24 Anders Carlsson <andersca@apple.com>
-
- Remove back/forward list related functions from Page
- https://bugs.webkit.org/show_bug.cgi?id=127596
-
- Reviewed by Andreas Kling.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_navigate):
- (ewk_frame_navigate_possible):
-
-2014-01-23 Joseph Pecoraro <pecoraro@apple.com>
-
- Web Inspector: Remove recompileAllJSFunctions timer in ScriptDebugServer
- https://bugs.webkit.org/show_bug.cgi?id=127409
-
- Reviewed by Geoffrey Garen.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorFrontendClientEfl::destroyInspectorWindow):
- Include InspectorDisconnectReason.
-
-2014-01-23 Simon Fraser <simon.fraser@apple.com>
-
- Fix EFL.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_visible_content_geometry_get):
-
-2014-01-22 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Remove unnecessary smart method since ewk_view_tiled removed
- https://bugs.webkit.org/show_bug.cgi?id=127417
-
- Reviewed by Gyuyoung Kim.
-
- pre_render related codes is only for ewk_view_tiled.
- In addition, we don't have any requirement to override repaints_process
- and scroll_process now.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_repaints_process):
- (_ewk_view_smart_calculate):
- (ewk_view_smart_set):
- (ewk_view_scrolls_process):
- * ewk/ewk_view.h:
-
-2014-01-19 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] Remove and refactor the APIs which use single and base keyword
- https://bugs.webkit.org/show_bug.cgi?id=127214
-
- Reviewed by Gyuyoung Kim.
-
- Since removed ewk_vie_tiled, we don't need to use single or base in the API name.
- Removed them and clean up the code.
-
- * ewk/ewk_view.cpp:
- (ewk_view_smart_set):
- (_ewk_view_smart_class_new):
- (ewk_view_add):
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h:
- Removed the class names and macro to distinguish single or tiled.
- * tests/UnitTestUtils/EWKTestView.cpp:
- (EWKUnitTests::EWKTestView::init):
-
-2014-01-18 Brian Burg <bburg@apple.com>
-
- Another build fix attempt for Windows and EFL WebKit1.
-
- * ewk/ewk_paint_context.cpp:
- (ewk_paint_context_paint_contents):
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_repaints_process):
-
-2014-01-18 Brian Burg <bburg@apple.com>
-
- Web Inspector: Page should use std::unique_ptr for InspectorController
- https://bugs.webkit.org/show_bug.cgi?id=127068
-
- Reviewed by Joseph Pecoraro.
-
- Convert call sites to use a InspectorController reference.
- Convert instantiations of InspectorFrontendClient to use std::unique_ptr.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateInWebInspector):
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorClientEfl::openInspectorFrontend):
- * ewk/ewk_view.cpp:
- (ewk_view_inspector_show):
- (ewk_view_inspector_close):
-
-2014-01-17 Anders Carlsson <andersca@apple.com>
-
- Remove another unused FrameLoaderClient callback
- https://bugs.webkit.org/show_bug.cgi?id=127192
-
- Reviewed by Dan Bernstein.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2014-01-17 Anders Carlsson <andersca@apple.com>
-
- Remove didPerformFirstNavigation from all FrameLoaderClient subclasses
- https://bugs.webkit.org/show_bug.cgi?id=127190
-
- Reviewed by Dan Bernstein.
-
- According to the EFl maintainers, this is not used by any applications so it's safe to remove it.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- * WebCoreSupport/FrameLoaderClientEfl.h:
- * ewk/ewk_frame.cpp:
- * ewk/ewk_frame_private.h:
-
-2014-01-16 Jaehun Lim <ljaehun.lim@samsung.com>
-
- Use final instead of FINAL
-
- Unreviewed build fix.
-
- * WebCoreSupport/ProgressTrackerClientEfl.h:
-
-2014-01-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
-
- Remove workaround for compilers not supporting explicit override control
- https://bugs.webkit.org/show_bug.cgi?id=127111
-
- Reviewed by Anders Carlsson.
-
- Now all compilers support explicit override control, this workaround can be removed.
-
- * WebCoreSupport/InspectorClientEfl.h:
- * WebCoreSupport/ProgressTrackerClientEfl.h:
-
-2014-01-15 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] Implement ProgressTrackerClientEfl to fix the crash
- https://bugs.webkit.org/show_bug.cgi?id=127031
-
- Reviewed by Gyuyoung Kim.
-
- Implmemented and moved ProgressTrackerClient logic from FrameLoaderClientEfl.
- ProgressTrackerClient should be indenpendent instance since r162034
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- * WebCoreSupport/FrameLoaderClientEfl.h:
- * WebCoreSupport/ProgressTrackerClientEfl.cpp:
- (WebCore::ProgressTrackerClientEfl::ProgressTrackerClientEfl):
- (WebCore::ProgressTrackerClientEfl::progressTrackerDestroyed):
- (WebCore::ProgressTrackerClientEfl::progressStarted):
- (WebCore::ProgressTrackerClientEfl::progressEstimateChanged):
- (WebCore::ProgressTrackerClientEfl::progressFinished):
- * WebCoreSupport/ProgressTrackerClientEfl.h: Added.
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2014-01-13 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Do not store reference variables as a pointer in private data structure
- https://bugs.webkit.org/show_bug.cgi?id=126945
-
- Reviewed by Gyuyoung Kim.
-
- Remove pageSettings, mainFrame and storageSession variables from Ewk_View_Private_Data.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (_ewk_view_smart_add):
- (_ewk_view_smart_repaints_process):
- (_ewk_view_smart_calculate):
- (ewk_view_fixed_layout_size_set):
- (ewk_view_fixed_layout_size_get):
- (ewk_view_bg_color_set):
- (ewk_view_setting_user_agent_set):
- (ewk_view_setting_user_stylesheet_set):
- (ewk_view_setting_auto_load_images_set):
- (ewk_view_setting_auto_shrink_images_set):
- (ewk_view_setting_enable_scripts_set):
- (ewk_view_setting_enable_plugins_set):
- (ewk_view_setting_enable_frame_flattening_set):
- (ewk_view_setting_scripts_can_open_windows_set):
- (ewk_view_setting_scripts_can_close_windows_set):
- (ewk_view_setting_scripts_can_access_clipboard_set):
- (ewk_view_setting_resizable_textareas_set):
- (ewk_view_setting_private_browsing_set):
- (ewk_view_setting_application_cache_set):
- (ewk_view_setting_caret_browsing_set):
- (ewk_view_setting_encoding_default_set):
- (ewk_view_setting_encoding_detector_set):
- (ewk_view_setting_enable_developer_extras_set):
- (ewk_view_setting_font_minimum_size_set):
- (ewk_view_setting_font_minimum_logical_size_set):
- (ewk_view_setting_font_default_size_set):
- (ewk_view_setting_font_monospace_size_set):
- (ewk_view_font_family_name_set):
- (ewk_view_setting_spatial_navigation_set):
- (ewk_view_setting_local_storage_set):
- (ewk_view_setting_page_cache_set):
- (ewk_view_setting_local_storage_database_path_set):
- (ewk_view_setting_minimum_timer_interval_set):
- (ewk_view_setting_enable_webgl_set):
- (ewk_view_setting_enable_hyperlink_auditing_set):
- (ewk_view_setting_allow_universal_access_from_file_urls_set):
- (ewk_view_setting_allow_file_access_from_file_urls_set):
- (ewk_view_layout_if_needed_recursive):
- (ewk_view_paint):
- (ewk_view_paint_contents):
- (ewk_view_js_object_add):
- (ewk_view_page_rect_get):
- (ewk_view_soup_session_get):
- (ewk_view_soup_session_set):
- (ewk_view_setting_enable_xss_auditor_set):
- (ewk_view_setting_should_display_captions_set):
- (ewk_view_setting_should_display_subtitles_set):
- (ewk_view_setting_should_display_text_descriptions_set):
- (ewk_view_setting_enable_fullscreen_set):
- (ewk_view_setting_tiled_backing_store_enabled_set):
- (ewk_view_setting_tiled_backing_store_enabled_get):
- (ewk_view_tiled_backing_store_invalidate):
- (EWKPrivate::storageSession):
-
-2014-01-13 Carlos Garcia Campos <cgarcia@igalia.com>
-
- [SOUP] Add SoupNetworkSession class to wrap a SoupSession
- https://bugs.webkit.org/show_bug.cgi?id=126813
-
- Reviewed by Gustavo Noronha Silva.
-
- Use the new SoupNetworkSession API.
-
- * ewk/ewk_cookies.cpp:
- (ewk_cookies_file_set):
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
- * ewk/ewk_network.cpp:
- (ewk_network_proxy_uri_set):
- (ewk_network_proxy_uri_get):
- (ewk_network_tls_certificate_check_get):
- (ewk_network_tls_certificate_check_set):
- (ewk_network_tls_ca_certificates_path_get):
- (ewk_network_tls_ca_certificates_path_set):
- (ewk_network_default_soup_session_get):
- * ewk/ewk_view.cpp:
- (ewk_view_soup_session_get):
- (ewk_view_soup_session_set):
-
-2014-01-12 Jinwoo Song <jinwoo7.song@samsung.com>
-
- Fix build warnings by unused parameter
- https://bugs.webkit.org/show_bug.cgi?id=126867
-
- Reviewed by Gyuyoung Kim.
-
- * WebCoreSupport/EditorClientEfl.h:
- (WebCore::EditorClientEfl::checkTextOfParagraph): Remove unused parameter 'checkingTypes'.
-
-2014-01-11 Anders Carlsson <andersca@apple.com>
-
- Build fix.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::progressStarted):
-
-2014-01-10 Anders Carlsson <andersca@apple.com>
-
- Tweak ProgressTrackerClient functions
- https://bugs.webkit.org/show_bug.cgi?id=126808
-
- Reviewed by Sam Weinig.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::progressStarted):
- (WebCore::FrameLoaderClientEfl::progressEstimateChanged):
- (WebCore::FrameLoaderClientEfl::progressFinished):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2014-01-10 Anders Carlsson <andersca@apple.com>
-
- Move progress tracking functions from FrameLoaderClient to a new ProgressTrackerClient
- https://bugs.webkit.org/show_bug.cgi?id=126801
-
- Reviewed by Sam Weinig.
-
- * WebCoreSupport/FrameLoaderClientEfl.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2014-01-08 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Merge ewk_view_single into ewk_view
- https://bugs.webkit.org/show_bug.cgi?id=126508
-
- Reviewed by Gyuyoung Kim.
-
- Since ewk_view_tiled is removed at r161134, we don't need to keep
- ewk_view_single out of ewk_view.cpp.
-
- This patch moves the logic of ewk_view_single to ewk_view and refactors it.
- In addition, replaces 0.00001 to episilon.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_add):
- (_ewk_view_smart_resize): Merged with the logic of ewk_view_single.
- (_ewk_view_screen_move): Moved from ewk_view_single.cpp.
- (_ewk_view_scroll_process): Ditto.
- (_ewk_view_smart_scrolls_process): Ditto.
- (_ewk_view_smart_repaints_process): Ditto.
- (_ewk_view_smart_calculate): Removed unnecessary check routine for scrolls_process.
- (_ewk_view_smart_zoom_weak_set):
- (_ewk_view_smart_zoom_weak_smooth_scale_set):
- (ewk_view_base_smart_set): Merged smart method of ewk_view_single.
- (ewk_view_single_smart_set):
- (_ewk_view_single_smart_class_new):
- (ewk_view_single_add):
- (ewk_view_bg_color_set):
- (ewk_view_pre_render_region):
- (ewk_view_scrolls_process):
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h: Removed unncessary functions.
- * ewk/ewk_view_single.cpp: Removed.
-
-2014-01-08 Anders Carlsson <andersca@apple.com>
-
- Add WTF::StringView and use it for grammar checking
- https://bugs.webkit.org/show_bug.cgi?id=126644
-
- Reviewed by Antti Koivisto.
-
- Update to match WebCore changes.
-
- * WebCoreSupport/EditorClientEfl.h:
- (WebCore::EditorClientEfl::checkTextOfParagraph):
-
-2014-01-05 Jinwoo Song <jinwoo7.song@samsung.com>
-
- [EFL] Fix failing WebKit1 API test of ewk_view_setting_tiled_backing_store
- https://bugs.webkit.org/show_bug.cgi?id=126509
-
- Reviewed by Gyuyoung Kim.
-
- In WebKit1 EFL port, unit test was using a webview based on tiled backing store,
- so ewk_view_setting_tiled_backing_store_enabled_set() was set as true as default.
- As we do not need to use tiled backing store, we disable tiled backing store
- and remove unnecessary EwkViewType in unit test webview.
-
- * tests/UnitTestUtils/EWKTestView.cpp:
- (EWKUnitTests::EWKTestView::init):
- * tests/UnitTestUtils/EWKTestView.h:
- * tests/test_ewk_view.cpp: Fix wrong comment in the unit test.
-
-2014-01-02 Gavin Barraclough <barraclough@apple.com>
-
- Merge didMoveOnscreen / page visibility to isVisible
- https://bugs.webkit.org/show_bug.cgi?id=126268
-
- Reviewed by Tim Horton.
-
- The onscreen state most closely tracks view visibility (though currently
- also tracks a mix of in-window state). Make more consistent, simplify,
- and move all animation suspension logic to Page, so it can be controlled
- by the PageThrottler.
-
- * ewk/ewk_view.cpp:
- (ewk_view_visibility_state_set):
- - setVisibilityState -> setIsVisible/setIsPrerender.
-
-2013-12-29 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Remove ewk_view_tiled
- https://bugs.webkit.org/show_bug.cgi?id=125961
-
- Reviewed by Gyuyoung Kim.
-
- We didn't use ewk_view_tiled very long time while we focused webkit2/efl.
- There are many bugs and we don't have plan to fix them.
- Instead, We will use WebCore's TiledBackingStore and it looks more stable.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::transitionToCommittedForNewPage):
- * ewk/ewk_tiled_backing_store.cpp: Removed.
- * ewk/ewk_tiled_backing_store_private.h: Removed.
- * ewk/ewk_tiled_matrix.cpp: Removed.
- * ewk/ewk_tiled_matrix_private.h: Removed.
- * ewk/ewk_tiled_model.cpp: Removed.
- * ewk/ewk_tiled_model_private.h: Removed.
- * ewk/ewk_view.cpp:
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h:
- * ewk/ewk_view_tiled.cpp: Removed.
- * tests/UnitTestUtils/EWKTestView.cpp:
- (EWKUnitTests::EWKTestView::init):
-
-2013-12-23 Ryuan Choi <ryuan.choi@samsung.com>
-
- Unreviewed build fix after r161033
-
- * ewk/ewk_view.cpp:
- (ewk_view_js_object_add): Passed thisObject to constructor of PutPropertySlot.
-
-2013-12-11 Joseph Pecoraro <pecoraro@apple.com>
-
- Web Inspector: Push More Inspector Required Classes Down into JavaScriptCore
- https://bugs.webkit.org/show_bug.cgi?id=125324
-
- Reviewed by Timothy Hatcher.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * ewk/ewk_frame.cpp:
-
-2013-11-23 Xabier Rodriguez Calvar <calvaris@igalia.com>
-
- [GStreamer] Remove 0.10 codepath
- https://bugs.webkit.org/show_bug.cgi?id=124534
-
- Reviewed by Philippe Normand.
-
- * WebCoreSupport/FullscreenVideoControllerEfl.cpp: Removed.
-
-2013-11-21 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
-
- Remove ENABLE_WORKERS
- https://bugs.webkit.org/show_bug.cgi?id=105784
-
- Reviewed by Darin Adler.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_memory_cache_clear):
-
-2013-11-18 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Initialize efreet before getting directories
- https://bugs.webkit.org/show_bug.cgi?id=124560
-
- Reviewed by Gyuyoung Kim.
-
- efreet is used to get several directories including home dierectory since
- r123731, but it does not call efreet_init/efreet_shutdown explicitly.
-
- * ewk/ewk_main.cpp: Call efreet_init()/efreet_shutdown() explicitly.
- (ewk_init):
- (ewk_shutdown):
-
-2013-11-18 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Add EWebKitConfig.cmake and EWebKit2Config.cmake
- https://bugs.webkit.org/show_bug.cgi?id=124478
-
- Reviewed by Gyuyoung Kim.
-
- EWebKit is built using CMake but applications use *.pc to use it.
- This patch provides EWebKitConfig.cmake and EWebKit2Config.cmake
- for applications which use EWebkit and is compiled by CMake.
-
- * EWebKitConfig.cmake.in: Added.
- * EWebKitConfigVersion.cmake.in: Added.
-
-2013-11-15 Alberto Garcia <berto@igalia.com>
-
- [EFL] Leak in ewk_frame_certificate_status_get()
- https://bugs.webkit.org/show_bug.cgi?id=124401
-
- Reviewed by Carlos Garcia Campos.
-
- The SoupMessage object is being leaked. In in this case that
- object is not even necessary since ResourceRequest already
- provides a way to get the soup flags directly.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_certificate_status_get):
-
-2013-11-10 Tibor Meszaros <mtibor@inf.u-szeged.hu>
-
- Cleanup the EFL --minimal build from unused parameters
- https://bugs.webkit.org/show_bug.cgi?id=124048
-
- Reviewed by Gyuyoung Kim.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::createWindow):
- * ewk/ewk_settings.cpp:
- (ewk_settings_web_database_path_set):
- * ewk/ewk_view.cpp:
- (ewk_view_visibility_state_set):
- (ewk_view_visibility_state_get):
-
-2013-11-05 Xabier Rodriguez Calvar <calvaris@igalia.com>
-
- [GStreamer] Remove NATIVE_FULLSCREEN_VIDEO support
- https://bugs.webkit.org/show_bug.cgi?id=123437
-
- Reviewed by Philippe Normand.
-
- Removed some dead code as no GStreamer port is using the native
- fullscreen video support.
-
- * WebCoreSupport/FullscreenVideoControllerEfl.h: Removed.
-
-2013-11-01 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] Rendering is broken when scrolled ewk_view_single repeatedly
- https://bugs.webkit.org/show_bug.cgi?id=123609
-
- Reviewed by Gyuyoung Kim.
-
- ewk_view_single adds wrong updateRects except last one in scrolls_process,
- because previous updateRects are not considered accumulated scrollOffsets.
-
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_smart_scrolls_process):
- Merged scrollOffsets to calculate updateRects once.
- It will also reduce unnecessary memory copy operations.
-
-2013-10-16 Jochen Eisinger <jochen@chromium.org>
-
- A page should exit fullscreen mode if it opens a new popup
- https://bugs.webkit.org/show_bug.cgi?id=122865
-
- Reviewed by Jer Noble.
-
- If a fullscreen page opens a popup, the popup would be hidden and
- therefore invisible to the user. To avoid this, exit fullscreen mode
- before opening a new window.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::createWindow):
-
-2013-10-07 Sam Weinig <sam@webkit.org>
-
- Consolidate findString functions
- https://bugs.webkit.org/show_bug.cgi?id=122480
-
- Reviewed by Darin Adler.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_text_search):
- * ewk/ewk_view.cpp:
- (ewk_view_text_search):
-
-2013-10-07 Sam Weinig <sam@webkit.org>
-
- CTTE: Use references in and around DragController
- https://bugs.webkit.org/show_bug.cgi?id=122427
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/DragClientEfl.cpp:
- (WebCore::DragClientEfl::willPerformDragDestinationAction):
- (WebCore::DragClientEfl::willPerformDragSourceAction):
- (WebCore::DragClientEfl::actionMaskForDrag):
- (WebCore::DragClientEfl::startDrag):
- * WebCoreSupport/DragClientEfl.h:
-
-2013-10-04 Anders Carlsson <andersca@apple.com>
-
- FramePolicyFunction should be an std::function
- https://bugs.webkit.org/show_bug.cgi?id=122362
-
- Reviewed by Darin Adler.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::callPolicyFunction):
- (WebCore::FrameLoaderClientEfl::dispatchWillSubmitForm):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2013-10-03 Sam Weinig <sam@webkit.org>
-
- Remove shouldRubberBandInDirection from the WKBundlePageUIClient
- https://bugs.webkit.org/show_bug.cgi?id=122309
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/ChromeClientEfl.h:
-
-2013-10-01 Sam Weinig <sam@webkit.org>
-
- CTTE: DOMWrapperWorlds should be passed around by reference
- https://bugs.webkit.org/show_bug.cgi?id=122206
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2013-09-30 Sam Weinig <sam@webkit.org>
-
- Fix the build.
-
- * ewk/ewk_settings.cpp:
-
-2013-09-30 Sam Weinig <sam@webkit.org>
-
- Remove support for DOMFileSystem
- https://bugs.webkit.org/show_bug.cgi?id=122137
-
- Reviewed by Anders Carlsson.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_file_system_path_set):
-
-2013-09-28 Darin Adler <darin@apple.com>
-
- Add Frame::mainFrame and Frame::isMainFrame
- https://bugs.webkit.org/show_bug.cgi?id=122064
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest):
- (WebCore::FrameLoaderClientEfl::assignIdentifierToInitialRequest):
- (WebCore::FrameLoaderClientEfl::updateGlobalHistory):
- Call isMainFrame.
-
-2013-09-26 Darin Adler <darin@apple.com>
-
- rename KURL to URL
- https://bugs.webkit.org/show_bug.cgi?id=16214
-
- Reviewed by Andreas Kling.
-
- * many files: Renamed, using script.
-
-2013-09-27 Darin Adler <darin@apple.com>
-
- Add empty MainFrame class
- https://bugs.webkit.org/show_bug.cgi?id=121770
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- * WebCoreSupport/InspectorClientEfl.cpp:
- * ewk/ewk_view.cpp:
- Include MainFrame.h instead of Frame.h as needed.
-
-2013-09-25 Brent Fulgham <bfulgham@apple.com>
-
- Refactor RuntimeEnabledFeatures as a Singleton.
- https://bugs.webkit.org/show_bug.cgi?id=121883.
-
- Reviewed by Jer Noble.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setCSSRegionsEnabled): Use singleton.
- (DumpRenderTreeSupportEfl::setSeamlessIFramesEnabled): Ditto.
- * ewk/ewk_settings.cpp:
- (ewk_settings_shadow_dom_enable_get): Ditto.
- (ewk_settings_shadow_dom_enable_set):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new): Ditto.
-
-2013-09-20 Mario Sanchez Prada <mario.prada@samsung.com>
-
- [ATK] Do not expose aria-help in ATK based platforms
- https://bugs.webkit.org/show_bug.cgi?id=121675
-
- Reviewed by Chris Fleizach.
-
- Removed accessibilityHelpText() helper method from
- DumpRenderSupportEfl's API, since it's not longer needed.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: Removed method.
- * WebCoreSupport/DumpRenderTreeSupportEfl.h: Ditto.
-
-2013-09-16 Enrica Casucci <enrica@apple.com>
-
- Remove unused function didSetSelectionTypesForPasteboard from EditorClient.
- https://bugs.webkit.org/show_bug.cgi?id=121464
-
- Reviewed by Darin Adler.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- * WebCoreSupport/EditorClientEfl.h:
-
-2013-09-12 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- Remove home-brewed nullptr
- https://bugs.webkit.org/show_bug.cgi?id=119624
-
- Reviewed by Anders Carlsson.
-
- The standard C++11 nullptr and std::nullptr_t type should be used now.
-
- * tests/UnitTestUtils/EWKTestView.cpp:
-
-2013-09-10 Marcelo Morais <m.morais@samsung.com>
-
- [EFL] WebInspector: Move to new webinspector
- https://bugs.webkit.org/show_bug.cgi?id=119559
-
- Reviewed by Gyuyoung Kim.
-
- Loading the new Web Inspector page instead of the old inspector.
- Co-author: Andre Loureiro <andre.vl@samsung.com>
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorClientEfl::openInspectorFrontend):
-
-2013-09-05 Ryuan Choi <ryuan.choi@samsung.com>
-
- [CMAKE] Add c++0x into CXX_FLAGS as a default
- https://bugs.webkit.org/show_bug.cgi?id=120812
-
- Unreviewed build fix for EFL ports.
-
- * tests/UnitTestUtils/EWKTestConfig.h: Add space between strings.
-
-2013-08-28 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Let Page create the main Frame
- https://bugs.webkit.org/show_bug.cgi?id=120360
-
- Reviewed by Darin Adler.
-
- Page always creates the main Frame by itself after r154616.
- This patch follows the changes for WebKit/Efl like other ports.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::createFrame):
- Moved the logic of ewk_view_frame_create.
- * ewk/ewk_frame.cpp:
- (ewk_frame_init):
- (ewk_frame_child_add):
- Moved construction logic of Frame and FrameLoderClientEfl from ewk_view.
- (EWKPrivate::setCoreFrame):
- * ewk/ewk_frame_private.h:
- * ewk/ewk_view.cpp: Removed _ewk_view_core_frame_new.
- (_ewk_view_priv_new):
- (_ewk_view_smart_add):
- (ewk_view_frame_rect_changed):
- * ewk/ewk_view_private.h:
-
-2013-08-24 Darin Adler <darin@apple.com>
-
- Frame::tree should return a reference instead of a pointer
- https://bugs.webkit.org/show_bug.cgi?id=120259
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::clearFrameName):
- (DumpRenderTreeSupportEfl::frameChildren):
- (DumpRenderTreeSupportEfl::frameParent):
- * ewk/ewk_frame.cpp:
- (_ewk_frame_children_iterator_next):
- (ewk_frame_child_find):
- (ewk_frame_name_get):
- (ewk_frame_child_add):
- * ewk/ewk_view.cpp:
- (ewk_view_frame_create):
- Use tree(). instead of tree()->.
-
-2013-08-22 Andreas Kling <akling@apple.com>
-
- EFL build juice.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (kit):
-
-2013-08-20 Pratik Solanki <psolanki@apple.com>
-
- <https://webkit.org/b/120029> Document::markers() should return a reference
-
- Reviewed by Andreas Kling.
-
- Document::m_markers is never NULL so return a reference from Document::markers(). Also mark
- m_markers as const and initialize it in member initialization.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_text_matches_unmark_all):
- (ewk_frame_text_matches_nth_pos_get):
-
-2013-08-19 Pratik Solanki <psolanki@apple.com>
-
- <https://webkit.org/b/119918> Frame::selection() should return a reference
-
- Reviewed by Darin Adler.
-
- m_selection is never NULL so return a reference from Frame::selection(). Also removed some
- unnecessary null checks and assert diff ts exposed as a result.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::selectionRectangle):
- (DumpRenderTreeSupportEfl::firstRectForCharacterRange):
- (DumpRenderTreeSupportEfl::selectedRange):
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
- * ewk/ewk_frame.cpp:
- (ewk_frame_text_selection_type_get):
-
-2013-08-16 Jaehun Lim <ljaehun.lim@samsung.com>
-
- [EFL] Unreviewed build fix after r154192
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
-
-2013-08-16 Pratik Solanki <psolanki@apple.com>
-
- <https://webkit.org/b/119852> Frame::scriptController() should return a reference
-
- Reviewed by Andreas Kling.
-
- m_script is never NULL so we can just return a reference. Also remove some pointless null
- checks as a result of doing this.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
- (DumpRenderTreeSupportEfl::globalContextRefForFrame):
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
- * ewk/ewk_frame.cpp:
- (ewk_frame_script_execute):
- * ewk/ewk_view.cpp:
- (ewk_view_js_object_add):
-
-2013-08-15 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Unreviewed build fix after r154142 and r154144.
-
- * ewk/ewk_frame.cpp: Follow the changes of r154142.
- (ewk_frame_uri_set):
- (ewk_frame_certificate_status_get):
-
-2013-08-15 Anders Carlsson <andersca@apple.com>
-
- <https://webkit.org/b/119859> Frame::loader() should return a reference
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (kit):
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::callShouldCloseOnWebView):
- (DumpRenderTreeSupportEfl::clearOpener):
- (DumpRenderTreeSupportEfl::frameChildren):
- (DumpRenderTreeSupportEfl::responseMimeType):
- (DumpRenderTreeSupportEfl::provisionalURL):
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::callPolicyFunction):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
- (WebCore::FrameLoaderClientEfl::updateGlobalHistoryRedirectLinks):
- (WebCore::FrameLoaderClientEfl::updateGlobalHistory):
- * ewk/ewk_frame.cpp:
- (_ewk_frame_loader_efl_get):
- (_ewk_frame_smart_del):
- (_ewk_frame_contents_set_internal):
- (ewk_frame_stop):
- (ewk_frame_reload):
- (ewk_frame_reload_full):
- (ewk_frame_child_add):
- * ewk/ewk_view.cpp:
- (ewk_view_frame_focused_get):
- (ewk_view_setting_user_agent_set):
- (ewk_view_setting_encoding_custom_get):
- (ewk_view_setting_encoding_custom_set):
-
-2013-08-12 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK1] URL printing code in DumpRenderTree doesn't match WTR or Mac DRT
- https://bugs.webkit.org/show_bug.cgi?id=119585
-
- Reviewed by Gyuyoung Kim.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::provisionalURL):
- Implemented to pass provisionalURL of main frame to DumpRenderTreeChrome.
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2013-08-09 Alexey Proskuryakov <ap@apple.com>
-
- REGRESSION (r142755): window.open creates an invisible window when width and height are 0
- https://bugs.webkit.org/show_bug.cgi?id=119633
-
- Reviewed by Darin Adler.
-
- * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::setWindowRect):
- Once again, the passed rect cannot be empty.
-
-2013-07-27 Mark Rowe <mrowe@apple.com>
-
- Logging should be configurable using human-readable channel names rather than crazy bitmasks
- <http://webkit.org/b/119031>
-
- Implement shared logic for initializing logging channels based on human-readable channel names in WTF,
- and rework the WebCore, WebKit and WebKit2 logging initialization on top of it.
-
- Logging channels may now be enabled by providing a comma-separated list of channel names, with the special
- "all" name enabling all channels. Channel names prefixed with a leading "-" will result in the named channel
- being disabled. For instance, specifying "all,-history,-loading" will result in all logging channels except
- for history and loading being enabled.
-
- For OS X developers, this also changes the name of the user defaults used to enable logging. This is done to allow
- the old user defaults to remain set for those people that need to switch between version of WebKit before and
- after this change. Where the old user default keys were WebCoreLogLevel, WebKitLogLevel and WebKit2LogLevel,
- the new user default keys are WebCoreLogging, WebKitLogging and WebKit2Logging.
-
- For GTK developers, this changes the separator used in the WEBKIT_DEBUG environment variable to a comma for
- consistency with the other platforms and to enable more code sharing.
-
- While doing this work I've also taken the opportunity to eliminate the need to touch multiple files when
- adding a new logging channel. Now only the header in the relevant project needs to be updated.
-
- Reviewed by Sam Weinig.
-
- * ewk/ewk_main.cpp: Switch from WebCore's InitializeLogging.h to Logging.h.
-
-2013-07-27 Jacky Jiang <zhajiang@blackberry.com>
-
- Replace all uses of GraphicsLayer::create function with the one that takes a GraphicsLayerFactory
- https://bugs.webkit.org/show_bug.cgi?id=119186
-
- Reviewed by Anders Carlsson.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- (WebCore::AcceleratedCompositingContext::attachRootGraphicsLayer):
-
-2013-07-25 Andreas Kling <akling@apple.com>
-
- ChromeClient::focusedNodeChanged() should be focusedElementChanged().
- <http://webkit.org/b/119110>
-
- Reviewed by Anders Carlsson.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::focusedElementChanged):
- * WebCoreSupport/ChromeClientEfl.h:
-
-2013-07-15 Kwang Yul Seo <skyul@company100.net>
-
- NetworkStorageSession::createDefaultSession is only implemented by Soup
- https://bugs.webkit.org/show_bug.cgi?id=118679
-
- Reviewed by Alexey Proskuryakov.
-
- Replace NetworkStorageSession::createDefaultSession() with
- NetworkStorageSession::defaultStorageSession().
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (EWKPrivate::storageSession):
-
-2013-07-09 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Add ewk_view_device_pixel_ratio_set
- https://bugs.webkit.org/show_bug.cgi?id=118521
-
- Reviewed by Gyuyoung Kim.
-
- ewebkit and ewebkit2 have different approach about getting device pixel ratio.
- ewebkit depends on deprecatedTargetDPI and ecore_x_dpi_get,
- but ewebkit2 use Page::deviceScaleFactor.
-
- This patch will add ewk_view_device_pixel_ratio_set and use Page::deviceScaleFactor()
- instead of ViewportArguments::deprecatedTargetDPI like ewebkit2.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (_ewk_view_viewport_attributes_compute): Use Page::deviceScaleFactor().
- (ewk_view_viewport_attributes_get): Ditto.
- (ewk_view_device_pixel_ratio_set): Added.
- (ewk_view_device_pixel_ratio_get):
- * ewk/ewk_view.h:
- Update document of ewk_view_device_pixel_ratio_get (from ewebkit2) and
- added ewk_view_device_pixel_ratio_set.
-
-2013-06-27 Kangil Han <kangil.han@samsung.com>
-
- Adopt is/toHTMLInputElement for code cleanup
- https://bugs.webkit.org/show_bug.cgi?id=118130
-
- Reviewed by Antti Koivisto.
-
- To enhance readability, this patch adopts is/toHTMLInputElement.
- This also helps out to reduce duplicated use of static_cast.
-
- * ewk/ewk_view.cpp:
- (ewk_view_input_method_state_set):
-
-2013-06-26 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][REGRESSION] Crash after r151540 with debug build
- https://bugs.webkit.org/show_bug.cgi?id=118111
-
- Reviewed by Gyuyoung Kim.
-
- * ewk/ewk_view.cpp:
- (ewk_view_scroll): Fixed ASSERT conditions wrongly refactored.
-
-2013-06-21 Christophe Dumez <ch.dumez@sisa.samsung.com>
-
- REGRESSION (r150663): Using webkitAudioContext in Inspector makes it undefined everywhere
- https://bugs.webkit.org/show_bug.cgi?id=117825
-
- Reviewed by Kentaro Hara.
-
- Use Settings to enable Web Audio instead of RuntimeEnabledFeatures.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setWebAudioEnabled):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2013-06-17 Seokju Kwon <seokju.kwon@gmail.com>
-
- [EFL] Remove unneeded WebCore namespace in FrameLoaderClientEfl
- https://bugs.webkit.org/show_bug.cgi?id=117718
-
- Reviewed by Christophe Dumez.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp: Remove 'using namespace WebCore'.
-
-2013-06-17 Ruth Fong <ruth_fong@apple.com>
-
- REGRESSION: Important controls are missing from <video> element UI, when compared to QuickTime
- https://bugs.webkit.org/show_bug.cgi?id=20599
-
- Add a "Download Video"/"Download Audio" context menu item to download media
- elements.
-
- Reviewed by Beth Dakin.
-
- * WebCoreSupport/AssertMatchingEnums.cpp:
- * ewk/ewk_contextmenu.h:
- Updated to include new EWK enum type for "Download Video/Audio" context menu item.
-
-2013-06-13 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Refactor ewk_view_scroll to remove internal structure.
- https://bugs.webkit.org/show_bug.cgi?id=115713
-
- Reviewed by Gyuyoung Kim.
-
- After removed c-ism from WebKit/Efl, There is no reason to keep internal
- structures like Ewk_Scroll_Request.
- This patch refactored ewk_view_scroll to use WTF instead of Ewk_Scroll_Request
- and scrolls of SmartData.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::scroll):
- * ewk/ewk_view.cpp: Removed functions to manage Ewk_Scroll_Request.
- (_Ewk_View_Private_Data):
- (_ewk_view_scrolls_flush):
- (_ewk_view_priv_del):
- (_ewk_view_smart_calculate):
- (ewk_view_scroll_offsets_get):
- (ewk_view_scroll_rects_get):
- (ewk_view_scroll):
- * ewk/ewk_view.h: Removed Ewk_Scroll_Request which is private structure.
- * ewk/ewk_view_private.h:
- (WebCore):
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_scroll_process_single):
- (_ewk_view_single_smart_scrolls_process):
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_smart_scrolls_process):
-
-2013-05-28 Andreas Kling <akling@apple.com>
-
- Document::setFocusedNode() should be setFocusedElement().
- <http://webkit.org/b/116857>
-
- Reviewed by Antti Koivisto.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_focused_element_geometry_get):
- * ewk/ewk_view.cpp:
- (ewk_view_input_method_state_set):
-
-2013-05-28 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] pc files should have harfbuzz dependency.
- https://bugs.webkit.org/show_bug.cgi?id=116852
-
- Reviewed by Gyuyoung Kim.
-
- * ewebkit.pc.in: Added harfbuzz as Required package.
-
-2013-05-25 Simon Fraser <simon.fraser@apple.com>
-
- Unprefix Page Visibility API
- https://bugs.webkit.org/show_bug.cgi?id=102340
-
- Reviewed by Tim Horton.
-
- Rename "preview" state to "unloaded" state.
-
- * WebCoreSupport/AssertMatchingEnums.cpp:
- * ewk/ewk_view.h:
-
-2013-05-24 Seokju Kwon <seokju.kwon@gmail.com>
-
- [EFL] Remove obsolete Page forward declaration from InspectorClientEfl.h
- https://bugs.webkit.org/show_bug.cgi?id=116752
-
- Reviewed by Christophe Dumez.
-
- * WebCoreSupport/InspectorClientEfl.h:
-
-2013-05-24 Christophe Dumez <ch.dumez@sisa.samsung.com>
-
- Remove custom code for webkitAudioContext global constructor getter
- https://bugs.webkit.org/show_bug.cgi?id=116530
-
- Reviewed by Geoffrey Garen.
-
- Use RuntimeEnabledFeatures instead of Settings to toggle Web Audio support.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setWebAudioEnabled):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- * ewk/ewk_view.h: Remove public API to toggle Web Audio support as it is no longer
- a view specific feature.
-
-2013-05-19 Anders Carlsson <andersca@apple.com>
-
- Remove ChromeClient::webView()
- https://bugs.webkit.org/show_bug.cgi?id=116054
-
- Reviewed by Darin Adler.
-
- This blatantly horrible layer violation was only used to know if a ChromeClient is an empty
- client or not. We already have a (slightly less horrible) way to do that.
-
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
-
-2013-05-18 Patrick Gansterer <paroga@webkit.org>
-
- [CMake] Replace *_LIBRARY_NAME with *_OUTPUT_NAME
- https://bugs.webkit.org/show_bug.cgi?id=114554
-
- Reviewed by Gyuyoung Kim.
-
- Using variables as target names is very uncommon in CMake.
- The usual way to specify the name of the resulting binary
- is to set the OUTPUT_NAME target property.
-
- * ewebkit.pc.in:
-
-2013-05-16 Seokju Kwon <seokju.kwon@gmail.com>
-
- [EFL] inspector-protocol/page/javascriptDialogEvents.html is failing
- https://bugs.webkit.org/show_bug.cgi?id=114781
-
- Reviewed by Christophe Dumez.
-
- We need to make a distinction between runBeforeUnloadConfirmPanel and confirm.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::runBeforeUnloadConfirmPanel):
- * ewk/ewk_view.cpp: Add ewk_view_run_before_unload_confirm API.
- (_ewk_view_smart_run_before_unload_confirm):
- (ewk_view_base_smart_set):
- (ewk_view_run_before_unload_confirm):
- * ewk/ewk_view.h: Add smart class member function for runBeforeUnloadConfirmPanel.
- * ewk/ewk_view_private.h:
-
-2013-05-16 Andreas Kling <akling@apple.com>
-
- Page::chrome() should return a reference.
- <http://webkit.org/b/116185>
-
- Reviewed by Anders Carlsson.
-
-2013-05-13 Anders Carlsson <andersca@apple.com>
-
- Frame::editor() should return a reference
- https://bugs.webkit.org/show_bug.cgi?id=116037
-
- Reviewed by Darin Adler.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::executeCoreCommandByName):
- (DumpRenderTreeSupportEfl::isCommandEnabled):
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::respondToChangedSelection):
- (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
- * ewk/ewk_frame.cpp:
- (ewk_frame_editable_set):
- (ewk_frame_selection_get):
- (ewk_frame_text_search):
- (ewk_frame_text_matches_mark):
- (ewk_frame_text_matches_highlight_set):
- (ewk_frame_text_matches_highlight_get):
- * ewk/ewk_view.cpp:
- (ewk_view_selection_get):
- (ewk_view_editor_command_execute):
-
-2013-05-12 Timothy Hatcher <timothy@apple.com>
-
- Add support for updating the Web Inspector toolbar height.
-
- https://bugs.webkit.org/show_bug.cgi?id=115996
-
- Reviewed by Joseph Pecoraro and Benjamin Poulain.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorFrontendClientEfl::setToolbarHeight):
- * WebCoreSupport/InspectorClientEfl.h:
-
-2013-05-12 Anders Carlsson <andersca@apple.com>
-
- Stop including UnusedParam.h
- https://bugs.webkit.org/show_bug.cgi?id=116003
-
- Reviewed by Sam Weinig.
-
- UnusedParam.h is empty now so there's no need to include it anymore.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * ewk/ewk_js.cpp:
- * ewk/ewk_security_origin.cpp:
- * ewk/ewk_view.cpp:
- * ewk/ewk_web_database.cpp:
-
-2013-05-08 Jose Lejin PJ <jose.lejin@gmail.com>
-
- [EFL] Correct documentation for ewk_settings APIs
- https://bugs.webkit.org/show_bug.cgi?id=115507
-
- Reviewed by Gyuyoung Kim.
-
- Corrected documentation for ewk_settings APIs.
-
- * ewk/ewk_settings.h:
-
-2013-05-07 Jinwoo Song <jinwoo7.song@samsung.com>
-
- [EFL] Remove the ewk_settings_shadow_dom_enable_set/get APIs from unit test
- https://bugs.webkit.org/show_bug.cgi?id=115771
-
- Reviewed by Gyuyoung Kim.
-
- Unit test is failing since r149702. Remove the test case related to shadow dom.
-
- * tests/test_ewk_setting.cpp:
-
-2013-04-26 Jose Lejin PJ <jose.lejin@gmail.com>
-
- [EFL] Add unit test cases for ewk_settings APIs
- https://bugs.webkit.org/show_bug.cgi?id=114897
-
- Reviewed by Gyuyoung Kim.
-
- Added unit tests for ewk_settings APIs.
-
- * tests/test_ewk_setting.cpp:
- (TEST_F):
-
-2013-04-25 Joseph Pecoraro <pecoraro@apple.com>
-
- Web Inspector: ConsoleMessage should include line and column number where possible
- https://bugs.webkit.org/show_bug.cgi?id=114929
-
- Reviewed by Timothy Hatcher.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::addMessageToConsole):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
-
-2013-04-25 Commit Queue <rniwa@webkit.org>
-
- Unreviewed, rolling out r149032.
- http://trac.webkit.org/changeset/149032
- https://bugs.webkit.org/show_bug.cgi?id=115151
-
- EFL WK1 API test has been broken after r149032 (Requested by
- gyuyoung on #webkit).
-
- * tests/test_ewk_setting.cpp:
- (TEST_F):
-
-2013-04-24 Jose Lejin PJ <jose.lejin@gmail.com>
-
- [EFL] Add unit test cases for ewk_settings APIs
- https://bugs.webkit.org/show_bug.cgi?id=114897
-
- Reviewed by Gyuyoung Kim.
-
- Added unit tests for ewk_settings APIs.
-
- * tests/test_ewk_setting.cpp:
- (TEST_F):
-
-2013-04-19 Jose Lejin PJ <jose.lejin@gmail.com>
-
- [EFL] Add method in ewk_settings for setting the CSS media type
- https://bugs.webkit.org/show_bug.cgi?id=113284
-
- Reviewed by Gyuyoung Kim.
-
- Added APIs to set and get CSS media type.
- Added unit tests for these APIs.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::overrideMediaType):
- * ewk/ewk_settings.cpp:
- (ewk_settings_css_media_type_set):
- (ewk_settings_css_media_type_get):
- * ewk/ewk_settings.h:
- * tests/test_ewk_setting.cpp: Added.
- (TEST_F):
-
-2013-04-17 Geoffrey Garen <ggaren@apple.com>
-
- Renamed JSGlobalData to VM
- https://bugs.webkit.org/show_bug.cgi?id=114777
-
- Reviewed by Phil Pizlo.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::javaScriptObjectsCount):
-
-2013-04-16 Ryosuke Niwa <rniwa@webkit.org>
-
- More EFL build fixes.
-
- * ewk/ewk_frame.cpp:
- * ewk/ewk_view.cpp:
-
-2013-04-16 Ryosuke Niwa <rniwa@webkit.org>
-
- EFL build fix after r148545.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
-
-2013-04-16 Manuel Rego Casasnovas <rego@igalia.com>
-
- REGRESSION (r148506): Use of deprecated libsoup API
- https://bugs.webkit.org/show_bug.cgi?id=114679
-
- Reviewed by Gyuyoung Kim.
-
- Remove deprecated libsoup API usage.
-
- * ewk/ewk_network.cpp:
- (ewk_network_proxy_uri_set):
- (ewk_network_proxy_uri_get):
-
-2013-04-16 Manuel Rego Casasnovas <rego@igalia.com>
-
- [GTK][EFL] Remove deprecated libsoup API usage
- https://bugs.webkit.org/show_bug.cgi?id=104894
-
- Reviewed by Philippe Normand.
-
- Remove LIBSOUP_USE_UNSTABLE_REQUEST_API and only include
- libsoup/soup.h.
-
-2013-04-14 Christophe Dumez <ch.dumez@sisa.samsung.com>
-
- Unreviewed build fix for WebKit1 EFL after r148373 due to missing
- header includes.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/EditorClientEfl.cpp:
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- * WebCoreSupport/InspectorClientEfl.cpp:
- * ewk/ewk_frame.cpp:
- * ewk/ewk_view.cpp:
- * ewk/ewk_view_private.h:
- (WebCore):
-
-2013-04-13 Ed Bartosh <bartosh@gmail.com>
-
- [EFL] --minimal build fails with error: 'ViewModeInvalid' is not a member of 'WebCore::Page'
- https://bugs.webkit.org/show_bug.cgi?id=114048
-
- Reviewed by Gyuyoung Kim.
-
- Wrapped view-mode media related code into #if ENABLE(VIEW_MODE_CSS_MEDIA)
-
- * WebCoreSupport/AssertMatchingEnums.cpp:
- * ewk/ewk_view.cpp:
- (ewk_view_mode_set):
-
-2013-04-10 Benjamin Poulain <bpoulain@apple.com>
-
- Mass remove all the empty directories
-
- Rubberstamped by Ryosuke Niwa.
-
- * DefaultTheme/widget/button: Removed.
- * DefaultTheme/widget/check: Removed.
- * DefaultTheme/widget/combo: Removed.
- * DefaultTheme/widget/entry: Removed.
- * DefaultTheme/widget/file: Removed.
- * DefaultTheme/widget/mediacontrol/fullscreenbutton: Removed.
- * DefaultTheme/widget/mediacontrol/mutebutton: Removed.
- * DefaultTheme/widget/mediacontrol/playpausebutton: Removed.
- * DefaultTheme/widget/mediacontrol/seekbackwardbutton: Removed.
- * DefaultTheme/widget/mediacontrol/seekforwardbutton: Removed.
- * DefaultTheme/widget/mediacontrol/togglecaptionsbutton: Removed.
- * DefaultTheme/widget/progressbar: Removed.
- * DefaultTheme/widget/radio: Removed.
- * DefaultTheme/widget/scrollbar: Removed.
- * DefaultTheme/widget/search/cancel: Removed.
- * DefaultTheme/widget/search/decoration: Removed.
- * DefaultTheme/widget/search/field: Removed.
- * DefaultTheme/widget/slider: Removed.
- * DefaultTheme/widget/spinner: Removed.
-
-2013-04-09 Ed Bartosh <bartosh@gmail.com>
-
- [EFL] --minimal build fails with error: `setSeamlessIFramesEnabled' is not a member of `WebCore::RuntimeEnabledFeatures'
- https://bugs.webkit.org/show_bug.cgi?id=113951
-
- Reviewed by Laszlo Gombos.
-
- Wrapped code related to iframe seamless into #if ENABLE(IFRAME_SEAMLESS)
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setSeamlessIFramesEnabled):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2013-04-08 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] rendering was broken when scrolled ewk_view_single
- https://bugs.webkit.org/show_bug.cgi?id=114135
-
- Reviewed by Gyuyoung Kim.
-
- ewk_view_single use memcpy() to copy previous buffer for scrolling, but
- memcpy() should not be used when source buffer and destination buffer are
- overwrapped.
-
- * ewk/ewk_view_single.cpp:
- (_ewk_view_screen_move):
-
-2013-04-07 Ed Bartosh <bartosh@gmail.com>
-
- [EFL] --minimal build fails with error: expected `;' before `return'
- https://bugs.webkit.org/show_bug.cgi?id=113953
-
- Unreviewed.
-
- * ewk/ewk_security_origin.cpp:
- (ewk_security_origin_web_database_quota_get): Added missing semicolon.
-
-2013-04-05 Geoffrey Garen <ggaren@apple.com>
-
- Made USE(JSC) unconditional
- https://bugs.webkit.org/show_bug.cgi?id=114058
-
- Reviewed by Anders Carlsson.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_script_execute):
-
-2013-04-04 Christophe Dumez <ch.dumez@sisa.samsung.com>
-
- [Cairo] Fix canvas drawing of SVG-based patterns and remove NativeImageCairo
- https://bugs.webkit.org/show_bug.cgi?id=113929
-
- Reviewed by Martin Robinson.
-
- Update code now that PassNativeImagePtr is now a typedef to PassRefPtr<cairo_surface_t>
- instead of NativeImageCairo*.
-
- * ewk/ewk_history.cpp:
- (ewk_history_item_icon_surface_get):
- (ewk_history_item_icon_object_add):
- * ewk/ewk_settings.cpp:
- (ewk_settings_icon_database_icon_surface_get):
- (ewk_settings_icon_database_icon_object_get):
-
-2013-03-31 Kangil Han <kangil.han@samsung.com>
-
- [EFL] Remove unused stdio.h includes
- https://bugs.webkit.org/show_bug.cgi?id=113655
-
- Reviewed by Andreas Kling.
-
- We do not have to include unused header file.
-
- * ewk/ewk_tiled_backing_store.cpp:
- * ewk/ewk_tiled_matrix.cpp:
- * ewk/ewk_tiled_model.cpp:
- (tile_account):
-
-2013-03-27 Timothy Hatcher <timothy@apple.com>
-
- Add support for dock-to-right of the Web Inspector in the Mac port.
-
- Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
-
- https://webkit.org/b/113341
- rdar://problem/10368152
-
- Reviewed by Joseph Pecoraro.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorFrontendClientEfl::attachWindow):
- (WebCore::InspectorFrontendClientEfl::setAttachedWindowWidth):
- * WebCoreSupport/InspectorClientEfl.h:
- (InspectorFrontendClientEfl):
-
-2013-03-26 Hayato Ito <hayato@chromium.org>
-
- Allow ShadowContents in HitTests by default.
- https://bugs.webkit.org/show_bug.cgi?id=113171
-
- Reviewed by Dimitri Glazkov.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_hit_test_new):
-
-2013-03-20 Jose Lejin PJ <jose.lejin@gmail.com>
-
- ewk_settings_memory_cache_clear should clear JS garbage and release FastMalloc's free pages to OS
- https://bugs.webkit.org/show_bug.cgi?id=112536
-
- Reviewed by Gyuyoung Kim.
-
- Added changes to clear JS garbage and release FastMalloc's free pages to OS
- while calling ewk_settings_memory_cache_clear API.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_memory_cache_clear):
-
-2013-03-20 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Disable REQUEST_ANIMATION_FRAME_TIMER to render a new animation frame.
- https://bugs.webkit.org/show_bug.cgi?id=112114
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Add dummy functions for WK1.
-
- Example test case: ManualTests/animation/transition-on-and-offscreen-animation.html
-
- * WebCoreSupport/ChromeClientEfl.cpp: Add dummy functions for WK1.
- (WebCore):
- (WebCore::ChromeClientEfl::scheduleAnimation):
- (WebCore::ChromeClientEfl::serviceScriptedAnimations):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
-
-2013-03-15 Nate Chapin <japhet@chromium.org>
-
- Hide MainResourceLoader from the outside world
- https://bugs.webkit.org/show_bug.cgi?id=109971
-
- Reviewed by Adam Barth.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::convertMainResourceLoadToDownload):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (FrameLoaderClientEfl):
-
-2013-03-15 Abhishek Arya <inferno@chromium.org>
-
- Replace static_casts with to* helper functions.
- https://bugs.webkit.org/show_bug.cgi?id=112401
-
- Reviewed by Stephen Chenney.
-
- to* helper functions are preferred over static_cast calls since they
- help to catch bad casts easily on the testing infrastructure.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::redirectDataToPlugin):
-
-2013-03-14 Manuel Rego Casasnovas <rego@igalia.com>
-
- Add selectTrailingWhitespaceEnabled setting to WebCore::Page
- https://bugs.webkit.org/show_bug.cgi?id=109404
-
- Reviewed by Tony Chang.
-
- Use new settings for smartInsertDeleteEnabled and
- selectTrailingWhitespaceEnabled.
-
- Remove code related to DRT as it is not needed anymore.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::smartInsertDeleteEnabled):
- (WebCore::EditorClientEfl::isSelectTrailingWhitespaceEnabled):
- (WebCore::EditorClientEfl::EditorClientEfl):
- * WebCoreSupport/EditorClientEfl.h:
- (EditorClientEfl):
-
-2013-03-14 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
-
- [EFL] Use CROSS_PLATFORM_CONTEXT_MENU
- https://bugs.webkit.org/show_bug.cgi?id=111877
-
- Reviewed by Caio Marcelo de Oliveira Filho.
-
- Adjust ContextMenuClient to use the CROSS_PLATFORM_CONTEXT_MENUS USE flag
- by implementing customizeMenu() instead of getCustomMenuFromDefaultItems()
- and by calling coreMenu->items() instead of coreMenu->platformDescription().
-
- * WebCoreSupport/ContextMenuClientEfl.cpp:
- (WebCore::ContextMenuClientEfl::customizeMenu):
- * WebCoreSupport/ContextMenuClientEfl.h:
- (ContextMenuClientEfl):
- * ewk/ewk_contextmenu.cpp:
- (ewk_context_menu_new):
-
-2013-03-14 Jonathan Liu <net147@gmail.com>
-
- Fix detection of Intel Mac OS X platform on Intel Mac 64-bit
- https://bugs.webkit.org/show_bug.cgi?id=112312
-
- Reviewed by Simon Hausmann.
-
- * ewk/ewk_settings.cpp:
- (_ewk_settings_webkit_os_version_get):
-
-2013-03-13 Pavel Feldman <pfeldman@chromium.org>
-
- Web Inspector: get rid of hiddenPanels filter
- https://bugs.webkit.org/show_bug.cgi?id=112252
-
- Reviewed by Vsevolod Vlasov.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- * WebCoreSupport/InspectorClientEfl.h:
- (InspectorFrontendClientEfl):
-
-2013-03-06 Krzysztof Czech <k.czech@samsung.com>
-
- [EFL] Missing implementation of AccessibilityControllerEfl and AccessibilityUIElementEfl files
- https://bugs.webkit.org/show_bug.cgi?id=110584
-
- Reviewed by Gyuyoung Kim.
-
- Adds support for help text in DumpRenderTree.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::accessibilityHelpText):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2013-03-06 Benjamin Poulain <benjamin@webkit.org>
-
- WebKitTestRunner needs layoutTestController.elementDoesAutoCompleteForElementWithId
- https://bugs.webkit.org/show_bug.cgi?id=42696
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2013-03-05 Geoffrey Garen <ggaren@apple.com>
-
- Removed some dead code in the page cache
- https://bugs.webkit.org/show_bug.cgi?id=111525
-
- Reviewed by Alexey Proskuryakov.
-
- Page cache autorelease doesn't exist anymore, so there's no need to keep
- around these olds hacks.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_memory_cache_clear):
-
-2013-03-03 Adam Barth <abarth@webkit.org>
-
- Unreviewed attempted build fix. Adds back some includes removed in
- http://trac.webkit.org/changeset/144565.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * ewk/ewk_frame.cpp:
-
-2013-03-03 Adam Barth <abarth@webkit.org>
-
- Unreviewed rollout of http://trac.webkit.org/r144530
- As described in https://bugs.webkit.org/show_bug.cgi?id=111167 and
- https://bugs.webkit.org/show_bug.cgi?id=111035, this patch caused a
- large number of ASSERTs in chromium-win.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * ewk/ewk_frame.cpp:
-
-2013-03-02 Benjamin Poulain <bpoulain@apple.com>
-
- Move computedStyleIncludingVisitedInfo from TestRunner to Internals
- https://bugs.webkit.org/show_bug.cgi?id=109772
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2013-02-28 Alexey Proskuryakov <ap@apple.com>
-
- Reduce amount of rebuilding when touching networking headers
- https://bugs.webkit.org/show_bug.cgi?id=111035
-
- Reviewed by Eric Seidel.
-
- Adding includes that are now necessary because WebCore headers don't have them
- any more.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * ewk/ewk_frame.cpp:
-
-2013-03-01 Jason Anderssen <janderssen@gmail.com>
-
- Move markerTextForListItem from TestRunner to Internals
- https://bugs.webkit.org/show_bug.cgi?id=110939
-
- Reviewed by Benjamin Poulain.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2013-03-01 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r144422 and r144424.
- http://trac.webkit.org/changeset/144422
- http://trac.webkit.org/changeset/144424
- https://bugs.webkit.org/show_bug.cgi?id=111167
-
- Caused over 20 tests to fail assertion on Chromium Win port as
- ASSERTION FAILED: m_platformRequestUpdated (Requested by
- toyoshim on #webkit).
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * ewk/ewk_frame.cpp:
-
-2013-02-28 Alexey Proskuryakov <ap@apple.com>
-
- Reduce amount of rebuilding when touching networking headers
- https://bugs.webkit.org/show_bug.cgi?id=111035
-
- Reviewed by Eric Seidel.
-
- Adding includes that are now necessary because WebCore headers don't have them
- any more.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * ewk/ewk_frame.cpp:
-
-2013-02-28 Seokju Kwon <seokju.kwon@gmail.com>
-
- [EFL] Focus problem in inspector/extensions/extensions-panel.html
- https://bugs.webkit.org/show_bug.cgi?id=97077
-
- Reviewed by Laszlo Gombos.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorFrontendClientEfl::bringToFront): Set focus on inspectorView.
-
-2013-02-23 Jason Anderssen <janderssen@gmail.com>
-
- Move setAutofilled from TestRunner to WebCore
- https://bugs.webkit.org/show_bug.cgi?id=110521
-
- Reviewed by Benjamin Poulain.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2013-02-22 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Use EINA_LOG instead of fprintf
- https://bugs.webkit.org/show_bug.cgi?id=110313
-
- Reviewed by Laszlo Gombos.
-
- Replace fprintf with EINA_LOG.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_debug):
-
-2013-02-19 Tony Chang <tony@chromium.org>
-
- Convert 3 settings to use Settings.in
- https://bugs.webkit.org/show_bug.cgi?id=109875
-
- Reviewed by Ryosuke Niwa.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new): Rename isDOMPasteAllowed to DOMPasteAllowed.
-
-2013-02-18 Simon Fraser <simon.fraser@apple.com>
-
- Clean up the boolean argument to visibleContentRect
- https://bugs.webkit.org/show_bug.cgi?id=110167
-
- Reviewed by Simon Fraser.
-
- Replace the boolean argument to visibleContentRect() with
- an enum.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_visible_content_geometry_get):
-
-2013-02-18 Michał Pakuła vel Rutka <m.pakula@samsung.com>
-
- [EFL] Fix build when CONTEXT_MENUS flag is turned off
- https://bugs.webkit.org/show_bug.cgi?id=109924
-
- Reviewed by Gyuyoung Kim.
-
- * WebCoreSupport/ContextMenuClientEfl.cpp:
- * WebCoreSupport/ContextMenuClientEfl.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (_ewk_view_priv_del):
- (ewk_view_context_menu_get):
-
-2013-02-18 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [WK2][EFL] Unified text checker implementation
- https://bugs.webkit.org/show_bug.cgi?id=107682
-
- Reviewed by Anders Carlsson.
-
- Add an empty checkTextOfParagraph implementation for WK1-EFL
- to do not break build when WTF_USE_UNIFIED_TEXT_CHECKING
- is enabled.
-
- * WebCoreSupport/EditorClientEfl.h:
- (EditorClientEfl):
- (WebCore::EditorClientEfl::checkTextOfParagraph):
-
-2013-02-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
-
- Simplify hitTestResultAtPoint and nodesFromRect APIs
- https://bugs.webkit.org/show_bug.cgi?id=95720
-
- Reviewed by Julien Chaffraix.
-
- Update calls to new API.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_hit_test_new):
-
-2013-02-13 Allan Sandfeld Jensen <allan.jensen@digia.com>
-
- [Qt] window.open passes height and width parameters even if not defined in a page
- https://bugs.webkit.org/show_bug.cgi?id=107705
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Do not resize window when default size is requested.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::setWindowRect):
-
-2013-02-12 Huang Dongsung <luxtella@company100.net>
-
- [TexMap] Apply frames-per-second debug counter to WK1.
- https://bugs.webkit.org/show_bug.cgi?id=109540
-
- Reviewed by Noam Rosenthal.
-
- Make AcceleratedCompositingContextEfl use TextureMapperFPSCounter.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- (WebCore::AcceleratedCompositingContext::renderLayers):
- * WebCoreSupport/AcceleratedCompositingContextEfl.h:
- (AcceleratedCompositingContext):
-
-2013-02-11 Ryosuke Niwa <rniwa@webkit.org>
-
- Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
- https://bugs.webkit.org/show_bug.cgi?id=109534
-
- Reviewed by Anders Carlsson.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore):
- * WebCoreSupport/EditorClientEfl.h:
- (EditorClientEfl):
-
-2013-02-08 Benjamin Poulain <bpoulain@apple.com>
-
- Move workerThreadCount from TestRunner to WebCore Internals
- https://bugs.webkit.org/show_bug.cgi?id=109239
-
- Reviewed by Darin Adler.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2013-02-07 Benjamin Poulain <bpoulain@apple.com>
-
- Move pauseAnimation/pauseTransition from TestRunner to Internals
- https://bugs.webkit.org/show_bug.cgi?id=109107
-
- Reviewed by Anders Carlsson.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2013-02-04 Benjamin Poulain <bpoulain@apple.com>
-
- Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
- https://bugs.webkit.org/show_bug.cgi?id=108741
-
- Reviewed by Tony Chang.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2013-02-04 Balazs Kelemen <kbalazs@webkit.org>
-
- [Soup] Wrap SoupSession by NetworkStorageSession
- https://bugs.webkit.org/show_bug.cgi?id=108615
-
- Reviewed by Alexey Proskuryakov.
-
- Changed to hold the SoupSession pointer in a NetworkStorageSession
- so we can pass it to WebCore. _Ewk_View_Private_Data has to be
- changed for that reason.
-
- * WebCoreSupport/FrameNetworkingContextEfl.cpp:
- (WebCore::FrameNetworkingContextEfl::storageSession):
- * WebCoreSupport/FrameNetworkingContextEfl.h:
- (FrameNetworkingContextEfl):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (ewk_view_soup_session_get):
- (ewk_view_soup_session_set):
- (EWKPrivate::storageSession):
- (EWKPrivate):
- * ewk/ewk_view_private.h:
- (EWKPrivate):
-
-2013-02-03 KwangYong Choi <ky0.choi@samsung.com>
-
- Fix build warning after r141473
- https://bugs.webkit.org/show_bug.cgi?id=108782
-
- Reviewed by Kentaro Hara.
-
- Fix -Wunused-parameter build warning.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::getClientPasteboardDataForRange):
-
-2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
-
- Editor::m_compositionNode not updated on HTMLInputElement::setValue()
- https://bugs.webkit.org/show_bug.cgi?id=107737
-
- Reviewed by Ryosuke Niwa.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::respondToChangedSelection):
- Adding a call to the newly refactored method.
-
-2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r141479.
- http://trac.webkit.org/changeset/141479
- https://bugs.webkit.org/show_bug.cgi?id=108564
-
- breaks chromium test (Requested by morrita on #webkit).
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::respondToChangedSelection):
-
-2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
-
- Editor::m_compositionNode not updated on HTMLInputElement::setValue()
- https://bugs.webkit.org/show_bug.cgi?id=107737
-
- Reviewed by Ryosuke Niwa.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::respondToChangedSelection):
- Adding a call to the newly refactored method.
-
-2013-01-31 Enrica Casucci <enrica@apple.com>
-
- WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
- https://bugs.webkit.org/show_bug.cgi?id=108396.
- <rdar://problem/12920461>
-
- Reviewed by Alexey Proskuryakov.
-
- Adds stub implementation for WebKit of the new EditorClient methods.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::willWriteSelectionToPasteboard):
- (WebCore::EditorClientEfl::getClientPasteboardDataForRange):
- * WebCoreSupport/EditorClientEfl.h:
-
-2013-01-31 Christophe Dumez <dchris@gmail.com>
-
- [EFL] Disable Web Intents
- https://bugs.webkit.org/show_bug.cgi?id=108457
-
- Reviewed by Alexey Proskuryakov.
-
- Remove code related to Web Intents from EFL
- WebKit.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (FrameLoaderClientEfl):
- * ewk/EWebKit.h:
- * ewk/ewk_frame.cpp:
- * ewk/ewk_frame.h:
- * ewk/ewk_frame_private.h:
- * ewk/ewk_intent.cpp: Removed.
- * ewk/ewk_intent.h: Removed.
- * ewk/ewk_intent_private.h: Removed.
- * ewk/ewk_intent_request.cpp: Removed.
- * ewk/ewk_intent_request.h: Removed.
-
-2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r141110.
- http://trac.webkit.org/changeset/141110
- https://bugs.webkit.org/show_bug.cgi?id=108349
-
- This patch broke WK2-EFL unit tests (Requested by grzegorz on
- #webkit).
-
- * WebCoreSupport/EditorClientEfl.h:
-
-2013-01-30 Huang Dongsung <luxtella@company100.net>
-
- [TexMap] Remove GraphicsLayer in TextureMapperLayer.
- https://bugs.webkit.org/show_bug.cgi?id=107073
-
- Reviewed by Noam Rosenthal.
-
- Include GraphicsLayerTextureMapper.h to use toTextureMapperLayer().
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
-
-2013-01-29 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Unified text checker implementation.
- https://bugs.webkit.org/show_bug.cgi?id=107682
-
- Reviewed by Anders Carlsson.
-
- Add an empty checkTextOfParagraph implementation for WK1-EFL
- to do not break build when WTF_USE_UNIFIED_TEXT_CHECKING
- is enabled.
-
- * WebCoreSupport/EditorClientEfl.h:
- (EditorClientEfl):
- (WebCore::EditorClientEfl::checkTextOfParagraph):
-
-2013-01-28 Huang Dongsung <luxtella@company100.net>
-
- [TexMap] Enable debug borders and repaint counter via Settings.
- https://bugs.webkit.org/show_bug.cgi?id=107198
-
- Reviewed by Benjamin Poulain.
-
- If WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS is set to 1, set
- showDebugBorders and showRepaintCounter in Settings to true.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2013-01-22 Anders Carlsson <andersca@apple.com>
-
- Use a platforom strategy for local storage
- https://bugs.webkit.org/show_bug.cgi?id=107600
-
- Reviewed by Andreas Kling.
-
- Update for new storage strategy.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::createStorageStrategy):
- * WebCoreSupport/PlatformStrategiesEfl.h:
- (PlatformStrategiesEfl):
-
-2013-01-22 Krzysztof Czech <k.czech@samsung.com>
-
- [EFL] Adds Accessibility support to wk1.
- https://bugs.webkit.org/show_bug.cgi?id=107440
-
- Reviewed by Gyuyoung Kim.
-
- Adds possibility of focusing and retrieving accessible object.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::rootAccessibleElement):
- (DumpRenderTreeSupportEfl::focusedAccessibleElement):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2013-01-15 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed. Fix build break by r139796.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_text_matches_mark):
-
-2013-01-13 KwangYong Choi <ky0.choi@samsung.com>
-
- [EFL] Unreviewed build fix after r139541
- https://bugs.webkit.org/show_bug.cgi?id=106749
-
- undefined reference to `JSC::JSCell::methodTable() const'
-
- * ewk/ewk_js.cpp:
- * ewk/ewk_view.cpp:
-
-2013-01-11 Filip Pizlo <fpizlo@apple.com>
-
- JITThunks should not compile only because of luck
- https://bugs.webkit.org/show_bug.cgi?id=105696
-
- Rubber stamped by Sam Weinig.
-
- * ewk/EWebKit.h:
- * ewk/ewk_main.cpp:
-
-2013-01-11 KwangYong Choi <ky0.choi@samsung.com>
-
- [EFL] Fix unused parameter build error
- https://bugs.webkit.org/show_bug.cgi?id=106639
-
- Reviewed by Kentaro Hara.
-
- Use UNUSED_PARAM macro to fix build error.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::intentMessagePorts):
- * ewk/ewk_contextmenu.cpp:
- (ewk_context_menu_destroy):
- (ewk_context_menu_item_select):
- * ewk/ewk_file_chooser.cpp:
- (ewk_file_chooser_capture_get):
- * ewk/ewk_frame.cpp:
- (ewk_frame_feed_touch_event):
- * ewk/ewk_intent.cpp:
- (ewk_intent_action_get):
- (ewk_intent_type_get):
- (ewk_intent_service_get):
- (ewk_intent_suggestions_get):
- (ewk_intent_extra_get):
- (ewk_intent_extra_names_get):
- * ewk/ewk_intent_request.cpp:
- (ewk_intent_request_ref):
- (ewk_intent_request_unref):
- (ewk_intent_request_intent_get):
- * ewk/ewk_security_origin.cpp:
- (ewk_security_origin_web_database_usage_get):
- (ewk_security_origin_web_database_quota_get):
- * ewk/ewk_settings.cpp:
- (ewk_settings_shadow_dom_enable_set):
- * ewk/ewk_view.cpp:
- (ewk_view_context_menu_forward_event):
- (ewk_view_setting_should_display_subtitles_get):
- (ewk_view_setting_should_display_captions_get):
- (ewk_view_setting_should_display_captions_set):
- (ewk_view_setting_should_display_subtitles_set):
- (ewk_view_setting_should_display_text_descriptions_get):
- (ewk_view_setting_should_display_text_descriptions_set):
-
-2013-01-10 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Add gstreamer 1.0.5 to jhbuild
- https://bugs.webkit.org/show_bug.cgi?id=106178
-
- Reviewed by Laszlo Gombos.
-
- Fix compilation error when using gstreamer 1.0.
-
- * WebCoreSupport/FullscreenVideoControllerEfl.cpp:
- * WebCoreSupport/FullscreenVideoControllerEfl.h:
-
-2013-01-08 Mark Lam <mark.lam@apple.com>
-
- Removed the need for the ProposedDatabase mechanism.
- https://bugs.webkit.org/show_bug.cgi?id=106292.
-
- Reviewed by Sam Weinig.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::exceededDatabaseQuota):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
-
-2013-01-07 Mike West <mkwst@chromium.org>
-
- Make the IFRAME_SEAMLESS flag runtime-enabled.
- https://bugs.webkit.org/show_bug.cgi?id=106213
-
- Reviewed by Ojan Vafai.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setSeamlessIFramesEnabled):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- Add a toggle for seamless IFrames to EFL's DRTSuport.
-
-2013-01-04 Adam Klein <adamk@chromium.org>
-
- Remove ENABLE_MUTATION_OBSERVERS #define
- https://bugs.webkit.org/show_bug.cgi?id=105459
-
- Reviewed by Ryosuke Niwa.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::deliverAllMutationsIfNecessary):
-
-2012-12-23 Alexey Proskuryakov <ap@apple.com>
-
- <rdar://problem/12808377> Network process should respect cookie accept policy
- https://bugs.webkit.org/show_bug.cgi?id=105684
-
- Reviewed by Sam Weinig.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- * WebCoreSupport/PlatformStrategiesEfl.h:
- CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
-
-2012-12-22 Alexey Proskuryakov <ap@apple.com>
-
- Add a separate class for networking related storage
- https://bugs.webkit.org/show_bug.cgi?id=105676
-
- Reviewed by Sam Weinig.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::cookiesForDOM):
- (PlatformStrategiesEfl::setCookiesFromDOM):
- (PlatformStrategiesEfl::cookiesEnabled):
- (PlatformStrategiesEfl::cookieRequestHeaderFieldValue):
- (PlatformStrategiesEfl::getRawCookies):
- (PlatformStrategiesEfl::deleteCookie):
- * WebCoreSupport/PlatformStrategiesEfl.h:
- Cookie functions now take a NetworkStorageSession, not a NetworkingContext.
-
-2012-12-21 Seokju Kwon <seokju.kwon@gmail.com>
-
- [EFL] Add guard around ContextMenuItemTagInspectElement
- https://bugs.webkit.org/show_bug.cgi?id=105267
-
- Reviewed by Ryosuke Niwa.
-
- Need INSPECTOR guard for using ContextMenuItemTagInspectElement.
-
- * WebCoreSupport/AssertMatchingEnums.cpp:
-
-2012-12-21 Kangil Han <kangil.han@samsung.com>
-
- [EFL][WK1] Obsolete a case in test_ewk_frame api test to not make bot sick
- https://bugs.webkit.org/show_bug.cgi?id=105142
-
- Reviewed by Gyuyoung Kim.
-
- BUG 49246 has changed load behavior on malformed url input.
- That is why test_ewk_frame api test is timed out.
- To not make bot sick, this patch comments out that test case at a moment.
-
- * tests/test_ewk_frame.cpp:
- (TEST_F):
-
-2012-12-20 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Build break with latest EFL libraries.
- https://bugs.webkit.org/show_bug.cgi?id=104827
-
- Reviewed by Laszlo Gombos.
-
- * WebCoreSupport/ChromeClientEfl.h: Removed unnecessary declaration.
- * WebCoreSupport/DumpRenderTreeSupportEfl.h: Ditto.
- * WebCoreSupport/EditorClientEfl.h: Ditto.
- * WebCoreSupport/FrameNetworkingContextEfl.h: Ditto.
- * WebCoreSupport/PageClientEfl.h: Ditto.
-
-2012-12-18 Alexey Proskuryakov <ap@apple.com>
-
- Remove unnecessary functions from CookiesStrategy
- https://bugs.webkit.org/show_bug.cgi?id=105369
-
- Reviewed by Brady Eidson.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- * WebCoreSupport/PlatformStrategiesEfl.h:
-
-2012-12-16 Seokju Kwon <seokju.kwon@gmail.com>
-
- Fix unused parameter compile warnings
- https://bugs.webkit.org/show_bug.cgi?id=105089
-
- Reviewed by Kentaro Hara.
-
- Use UNUSED_PARAM macro to fix build warning -Wunused-parameter.
-
- * ewk/ewk_view.cpp:
- (ewk_view_inspector_show):
- (ewk_view_inspector_close):
- (ewk_view_inspector_view_get):
- (ewk_view_inspector_view_set):
-
-2012-12-15 Anders Carlsson <andersca@apple.com>
-
- Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
- https://bugs.webkit.org/show_bug.cgi?id=105122
-
- Reviewed by Andreas Kling.
-
- Update for WebCore changes.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::convertMainResourceLoadToDownload):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (FrameLoaderClientEfl):
-
-2012-12-15 Mark Lam <mark.lam@apple.com>
-
- Re-landing patch for "Introducing the DatabaseStrategy and database servers".
- https://bugs.webkit.org/show_bug.cgi?id=104934.
-
- Not reviewed.
-
- Merged from r137767. Previously reviewed by Sam Weinig.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::createDatabaseStrategy):
- * WebCoreSupport/PlatformStrategiesEfl.h:
- (PlatformStrategiesEfl):
-
-2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r137767.
- http://trac.webkit.org/changeset/137767
- https://bugs.webkit.org/show_bug.cgi?id=105062
-
- Broke Mac builds. (Requested by mlam on #webkit).
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- * WebCoreSupport/PlatformStrategiesEfl.h:
- (PlatformStrategiesEfl):
-
-2012-12-14 Mark Lam <mark.lam@apple.com>
-
- Introducing the DatabaseStrategy and database servers.
- https://bugs.webkit.org/show_bug.cgi?id=104934.
-
- Reviewed by Sam Weinig.
-
- The database server is currently a placeholder that does nothing.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::createDatabaseStrategy):
- * WebCoreSupport/PlatformStrategiesEfl.h:
- (PlatformStrategiesEfl):
-
-2012-12-13 Seokju Kwon <seokju.kwon@gmail.com>
-
- Fix unused parameter compile warnings
- https://bugs.webkit.org/show_bug.cgi?id=104907
-
- Reviewed by Kentaro Hara.
-
- Use UNUSED_PARAM macro to fix build warning -Wunused-parameter
- when ENABLE_INSPECTOR is disabled.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateInWebInspector):
-
-2012-12-13 Jussi Kukkonen <jussi.kukkonen@intel.com>
-
- [EFL][GTK] Don't call deprecated g_type_init when glib => 2.35
- https://bugs.webkit.org/show_bug.cgi?id=103209
-
- Reviewed by Kenneth Rohde Christiansen.
-
- g_type_init() is deprecated from 2.35.0 onwards. Don't call it
- in that case to avoid warnings and/or build failure.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
-
-2012-12-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Regression(r137568): Broke layout test on EFL WK1
- https://bugs.webkit.org/show_bug.cgi?id=104895
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Fix layout test crash after r137568 because ewk_view.cpp has kept unused networkInfoClient member variable
- using OwnPtr. The r137568 lets NetworkInfoClientEfl destroy by WebCore::NetworkInfoController.
-
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
-
-2012-12-12 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- NetworkInfoController needs to support destructor
- https://bugs.webkit.org/show_bug.cgi?id=104642
-
- Reviewed by Kentaro Hara.
-
- Though NetworkInfoController can be referenced by each port in order to update network status change,
- there is no virtual interface to destroy it. Beside each port client also needs to be destroyed when
- controller is destroyed.
-
- * WebCoreSupport/NetworkInfoClientEfl.cpp:
- (WebCore::NetworkInfoClientEfl::networkInfoControllerDestroyed):
- (WebCore):
- * WebCoreSupport/NetworkInfoClientEfl.h:
- (NetworkInfoClientEfl):
-
-2012-12-12 Seokju Kwon <seokju.kwon@gmail.com>
-
- [EFL] Refactor duplicate code into EflInspectorUtilities
- https://bugs.webkit.org/show_bug.cgi?id=104329
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Remove duplicated work to get the resource path for inspector.
- And use WebCore::inspectorResourcePath().
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorClientEfl::inspectorFilesPath):
-
-2012-12-12 Mark Lam <mark.lam@apple.com>
-
- Encapsulate externally used webdatabase APIs in DatabaseManager.
- https://bugs.webkit.org/show_bug.cgi?id=104741.
-
- Reviewed by Sam Weinig.
-
- Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
- and DatabaseContext directly. This is to prepare for upcoming webkit2
- refactoring.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::exceededDatabaseQuota):
- * ewk/ewk_security_origin.cpp:
- (ewk_security_origin_web_database_usage_get):
- (ewk_security_origin_web_database_quota_get):
- (ewk_security_origin_web_database_quota_set):
- (ewk_security_origin_web_database_get_all):
- * ewk/ewk_settings.cpp:
- (ewk_settings_web_database_path_set):
- * ewk/ewk_web_database.cpp:
- (ewk_web_database_display_name_get):
- (ewk_web_database_expected_size_get):
- (ewk_web_database_filename_get):
- (ewk_web_database_size_get):
- (ewk_web_database_remove):
- (ewk_web_database_remove_all):
-
-2012-12-12 Alexey Proskuryakov <ap@apple.com>
-
- Make LOG() work in WebProcess and NetworkProcess
- https://bugs.webkit.org/show_bug.cgi?id=104718
-
- Reviewed by Tim Horton.
-
- * ewk/ewk_main.cpp: Include InitializeLogging.h
-
-2012-12-11 Kihong Kwon <kihong.kwon@samsung.com>
-
- Vibration API: IDL type doesn't match implementation type
- https://bugs.webkit.org/show_bug.cgi?id=103899
-
- Reviewed by Kentaro Hara.
-
- According to WebIDL, "unsigned long" corresponds to "unsigned" in the platform.
- Therefore unsigned long need to be changed to unsigned for the Vibration API.
- - Change a parameter type of vibrate function from unsigned long to unsigned.
-
- * WebCoreSupport/VibrationClientEfl.cpp:
- (WebCore::VibrationClientEfl::vibrate):
- * WebCoreSupport/VibrationClientEfl.h:
- (VibrationClientEfl):
-
-2012-12-11 Seokju Kwon <seokju.kwon@gmail.com>
-
- [EFL] Remove unused headers
- https://bugs.webkit.org/show_bug.cgi?id=104661
-
- Reviewed by Ryosuke Niwa.
-
- Header inclusion cleanup.
- Remove "NotImplemented.h".
-
- * WebCoreSupport/PopupMenuEfl.cpp:
- * ewk/ewk_intent.cpp:
-
-2012-12-11 Mike West <mkwst@chromium.org>
-
- Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
- https://bugs.webkit.org/show_bug.cgi?id=66371
-
- Reviewed by Pavel Feldman.
-
- Drops WebCore::MessageType from the addMessageToConsole method.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::addMessageToConsole):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
-
-2012-12-05 Halton Huo <halton.huo@intel.com>
-
- [CMake] Unify coding style for CMake files
- https://bugs.webkit.org/show_bug.cgi?id=103605
-
- Reviewed by Laszlo Gombos.
-
- Update cmake files(.cmake, CMakeLists.txt) with following style rules:
- 1. Indentation
- 1.1 Use spaces, not tabs.
- 1.2 Four spaces as indent.
- 2. Spacing
- 2.1 Place one space between control statements and their parentheses.
- For eg, if (), else (), elseif (), endif (), foreach (),
- endforeach (), while (), endwhile (), break ().
- 2.2 Do not place spaces between function and macro statements and
- their parentheses. For eg, macro(), endmacro(), function(),
- endfunction().
- 2.3 Do not place spaces between a command or function or macro and its
- parentheses, or between a parenthesis and its content. For eg,
- message("testing") not message( "testing") or message ("testing" )
- 2.4 No space at line ending.
- 3. Lowercase when call commands macros and functions. For eg,
- add_executable() not ADD_EXECUTABLE(), set() not SET().
-
- * DefaultTheme/CMakeLists.txt:
-
-2012-11-30 Mihai Maerean <mmaerean@adobe.com>
-
- [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
- https://bugs.webkit.org/show_bug.cgi?id=101192
-
- Reviewed by Hajime Morita.
-
- Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
-
- Tests: No new tests because there is no functional change.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setCSSRegionsEnabled):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2012-11-29 Alexey Proskuryakov <ap@apple.com>
-
- [WK2] Forward cookie jar calls to NetworkProcess
- https://bugs.webkit.org/show_bug.cgi?id=103457
-
- Reviewed by Darin Adler.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::cookiesForDOM):
- (PlatformStrategiesEfl::setCookiesFromDOM):
- (PlatformStrategiesEfl::cookiesEnabled):
- (PlatformStrategiesEfl::cookieRequestHeaderFieldValue):
- (PlatformStrategiesEfl::getRawCookies):
- (PlatformStrategiesEfl::deleteCookie):
- (PlatformStrategiesEfl::getHostnamesWithCookies):
- (PlatformStrategiesEfl::deleteCookiesForHostname):
- (PlatformStrategiesEfl::deleteAllCookies):
-
-2012-11-29 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Broken rendering occurs when scrolling in ewk_view_single.
- https://bugs.webkit.org/show_bug.cgi?id=77325
-
- Reviewed by Gyuyoung Kim.
-
- After r104687, broken rendering occurs when scrolling contents.
- It's because scrollWidth can be smaller than width of image buffer.
-
- This patch fixes it and renames parameter to avoid confusion.
-
- * ewk/ewk_view_single.cpp:
- (_ewk_view_screen_move):
- (_ewk_view_single_scroll_process_single):
-
-2012-11-28 Ryuan Choi <ryuan.choi@gmail.com>
-
- [EFL] Generate big_button_theme.edj
- https://bugs.webkit.org/show_bug.cgi?id=103511
-
- Reviewed by Gyuyoung Kim.
-
- big_button_theme.edj, binary file which is used for test, should be generated.
-
- * DefaultTheme/CMakeLists.txt:
- Introduced macro and new target to share files of default theme instead
- of adding many files for big_button_theme.
- * DefaultTheme/widget/button/button.edc:
- Implemented for big_button_theme.
-
-2012-11-28 Ryuan Choi <ryuan.choi@gmail.com>
-
- [EFL] Refactor theme to choose whether to support foreground color of selection
- https://bugs.webkit.org/show_bug.cgi?id=102037
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * DefaultTheme/default.edc:
- Refactored color classes from active/inactive to foreground/background.
-
-2012-11-27 James Simonsen <simonjam@chromium.org>
-
- Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
- https://bugs.webkit.org/show_bug.cgi?id=102151
-
- Reviewed by Adam Barth.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_contents_set_internal):
-
-2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r135786.
- http://trac.webkit.org/changeset/135786
- https://bugs.webkit.org/show_bug.cgi?id=103379
-
- It made 3 plugin tests timeout on several platforms (Requested
- by Ossy on #webkit).
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_uri_set):
- (_ewk_frame_contents_set_internal):
-
-2012-11-26 James Simonsen <simonjam@chromium.org>
-
- Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
- https://bugs.webkit.org/show_bug.cgi?id=102151
-
- Reviewed by Adam Barth.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_contents_set_internal):
-
-2012-11-24 Viatcheslav Ostapenko <v.ostapenko@samsung.com>
-
- [EFL] Layout test comes to crash on WK1
- https://bugs.webkit.org/show_bug.cgi?id=103170
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Switch off accelerated compositing for WK1 because GraphicsContext3D is
- missing direct rendering implementation that is required for EFL WK1.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
-
- Disambiguate innerNodeFramePoint and mainFramePoint
- https://bugs.webkit.org/show_bug.cgi?id=98139
-
- Reviewed by Julien Chaffraix.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_hit_test_new):
-
-2012-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r135295.
- http://trac.webkit.org/changeset/135295
- https://bugs.webkit.org/show_bug.cgi?id=102834
-
- This patch causes assertion to some layout tests on chromium
- (Requested by jianli on #webkit).
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_uri_set):
- (_ewk_frame_contents_set_internal):
-
-2012-11-20 James Simonsen <simonjam@chromium.org>
-
- Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
- https://bugs.webkit.org/show_bug.cgi?id=102151
-
- Reviewed by Adam Barth.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_contents_set_internal):
-
-2012-11-19 Tony Chang <tony@chromium.org>
-
- Remove 'is' prefix from WebSettings::isWebSecurityEnabled and WebSettings::isSpatialNavigationEnabled
- https://bugs.webkit.org/show_bug.cgi?id=102548
-
- Reviewed by Adam Barth.
-
- Rename call to WebCore::Settings.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2012-11-16 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r134694.
- http://trac.webkit.org/changeset/134694
- https://bugs.webkit.org/show_bug.cgi?id=102481
-
- it made API test crash on EFL port (Requested by gyuyoung on
- #webkit).
-
- * DefaultTheme/default.edc:
-
-2012-11-15 Kenneth Rohde Christiansen <kenneth@webkit.org>
-
- Rename member vars in ViewportArgument to match css-device-adapt
- https://bugs.webkit.org/show_bug.cgi?id=102355
-
- Reviewed by Gyuyoung Kim.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new): Update to reflect name change.
-
-2012-11-15 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed. Fix build break when using --no-tiled-backing-store option.
-
- * ewk/ewk_frame_private.h:
- (WebCore):
-
-2012-11-14 Ryuan Choi <ryuan.choi@gmail.com>
-
- [EFL] Port tiled backing store
- https://bugs.webkit.org/show_bug.cgi?id=71352
-
- Reviewed by Gyuyoung Kim.
-
- Added ewk_view_setting_tiled_backing_store_enabled_{get|set} to give possibility
- to use WebCore's tiled backing store in WebKit/Efl port. This makes WebKit/Efl
- compliant with WebKit's generic solution of tiled backing store.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::invalidateRootView):
- (WebCore):
- (WebCore::ChromeClientEfl::visibleRectForTiledBackingStore):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
- * ewk/ewk_frame_private.h:
- Declared missing classes which used in this file.
- * ewk/ewk_paint_context.cpp:
- (ewk_paint_context_paint): Implemented to paint tiled backing store
- * ewk/ewk_view.cpp:
- (ewk_view_setting_tiled_backing_store_enabled_set):
- Added API to enable/disable the WebCore's tiled backing store.
- (ewk_view_setting_tiled_backing_store_enabled_get):
- Added API to query if the WebCore's tiled backing store is enabled.
- (ewk_view_tiled_backing_store_invalidate):
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h:
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_smart_repaints_process):
- Implemented to update visible area of tiled backing store.
- * tests/test_ewk_view.cpp: Added test case of ewk_view_setting_tiled_backing_store.
- (TEST_F):
-
-2012-11-14 Ryuan Choi <ryuan.choi@gmail.com>
-
- [EFL] Refactor theme to choose whether to support foreground color of selection
- https://bugs.webkit.org/show_bug.cgi?id=102037
-
- Reviewed by Gyuyoung Kim.
-
- * DefaultTheme/default.edc:
- Refactored color classes from active/inactive to foreground/background.
-
-2012-11-12 KyungTae Kim <ktf.kim@samsung.com>
-
- [EFL] In ewk_tiled_backing_store_pre_render_region, the 'slicer' may be uninitialized
- https://bugs.webkit.org/show_bug.cgi?id=102038
-
- Reviewed by Gyuyoung Kim.
-
- To fix build warning -Wuninitialized,
- initialize the 'slicer' in ewk_tiled_backing_store_pre_render_region.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (ewk_tiled_backing_store_pre_render_region):
-
-2012-11-09 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
-
- [EFL][DRT] Force a repaint before tracking repaint rects.
- https://bugs.webkit.org/show_bug.cgi?id=101743
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::forceLayout): Added.
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-11-07 Emil A Eklund <eae@chromium.org>
-
- Unreviewed EFL build fix.
-
- * ewk/ewk_view.cpp:
-
-2012-11-01 Seonae Kim <sunaeluv.kim@samsung.com>
-
- [EFL][DRT] Support Geolocation
- https://bugs.webkit.org/show_bug.cgi?id=97427
-
- Reviewed by Gyuyoung Kim.
-
- Implement methods to use GeolocationClientMock in DumpRenderTree.
- This client attaches to the page whenever a view is created.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::attachClientToPage):
- (DumpRenderTreeSupportEfl::resetGeolocationClientMock):
- (DumpRenderTreeSupportEfl::setMockGeolocationPermission):
- (DumpRenderTreeSupportEfl::setMockGeolocationPosition):
- (DumpRenderTreeSupportEfl::setMockGeolocationPositionUnavailableError):
- (DumpRenderTreeSupportEfl::numberOfPendingGeolocationPermissionRequests):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-10-31 Michał Pakuła vel Rutka <m.pakula@samsung.com>
-
- [EFL][DRT] EventSender requires contextClick implementation
- https://bugs.webkit.org/show_bug.cgi?id=86091
-
- Reviewed by Gyuyoung Kim.
-
- Add a pointer to parent menu in Ewk_Context_Menu_Item and a getter
- function to allow selecting a context menu item without having
- parent menu pointer in DumpRenderTree EventSender.
- Three unit tests added due ewk API changes.
-
- * ewk/ewk_contextmenu.cpp:
- (_Ewk_Context_Menu_Item):
- (ewk_context_menu_item_new):
- (ewk_context_menu_item_parent_get):
- (ewk_context_menu_item_append):
- * ewk/ewk_contextmenu.h:
- * ewk/ewk_view.cpp:
- (ewk_view_context_menu_get):
- * ewk/ewk_view.h:
- * tests/test_ewk_contextmenu.cpp: Added.
- (TEST_F):
- * tests/test_ewk_view.cpp:
- (TEST_F):
-
-2012-10-30 Seokju Kwon <seokju.kwon@samsung.com>
-
- [EFL] Fix failure to highlight nodes on web inspector
- https://bugs.webkit.org/show_bug.cgi?id=100303
-
- Reviewed by Gyuyoung Kim.
-
- It is not working to highlight nodes on web inspector
- when using 'Single Backing Store'.
- Add code for drawing it if there is the highlighted node.
-
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_smart_repaints_process):
-
-2012-10-30 Jinwoo Song <jinwoo7.song@samsung.com>
-
- [EFL] Refactor tooltip callback signal in WebKit1
- https://bugs.webkit.org/show_bug.cgi?id=100571
-
- Reviewed by Gyuyoung Kim.
-
- Separate tooltip callback signal into 'tooltip,text,set'
- and 'tooltip,text,unset' to be consistent with WebKit2.
-
- * ewk/ewk_view.cpp:
- (ewk_view_tooltip_text_set):
- * ewk/ewk_view.h:
-
-2012-10-26 Hyowon Kim <hw1008.kim@samsung.com>
-
- [Texmap][EFL] Implementation of AC related functions in ChromeClientEfl and ewkView.
- https://bugs.webkit.org/show_bug.cgi?id=82315
-
- Reviewed by Kenneth Rohde Christiansen.
-
- This patch implements accelerated-compositing-related functions
- to enter accelerated-compositing mode and sync layers
- in ChromeClientEfl and ewkView.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::attachRootGraphicsLayer):
- (WebCore::ChromeClientEfl::setNeedsOneShotDrawingSynchronization):
- (WebCore::ChromeClientEfl::scheduleCompositingLayerFlush):
- (WebCore::ChromeClientEfl::allowedCompositingTriggers):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (_ewk_view_priv_del):
- (_ewk_view_accelerated_compositing_cb):
- Sync and render layers.
- (_ewk_view_accelerated_compositing_context_create_if_needed):
- Create a new AcceleratedCompositingContext.
- (ewk_view_accelerated_compositing_object_create):
- Create a new evas_image_object act as render target surface.
- (ewk_view_accelerated_compositing_context_get):
- Return the GraphicsContext3D for accelerated compositing.
- (ewk_view_root_graphics_layer_set):
- Set the root layer to AcceleratedCompositingContext.
- (ewk_view_mark_for_sync):
- Mark the evas_image_object for accelerated compositing as dirty to make it update.
- * ewk/ewk_view_private.h:
- (WebCore):
-
-2012-10-24 Brady Eidson <beidson@apple.com>
-
- Add a strategy for loader customization.
- https://bugs.webkit.org/show_bug.cgi?id=100278
-
- Reviewed by Alexey Proskuryakov.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::createLoaderStrategy):
- * WebCoreSupport/PlatformStrategiesEfl.h:
- (PlatformStrategiesEfl):
-
-2012-10-23 Alexey Proskuryakov <ap@apple.com>
-
- Add a strategy for shared workers
- https://bugs.webkit.org/show_bug.cgi?id=100165
-
- Reviewed by Brady Eidson.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::createPasteboardStrategy):
- (PlatformStrategiesEfl::createSharedWorkerStrategy):
- (PlatformStrategiesEfl::createVisitedLinkStrategy):
- * WebCoreSupport/PlatformStrategiesEfl.h:
-
-2012-10-23 Hyowon Kim <hw1008.kim@samsung.com>
-
- [Texmap][EFL] Add AcceleratedCompositingContextEfl to the build system.
- https://bugs.webkit.org/show_bug.cgi?id=88630
-
- Reviewed by Gyuyoung Kim.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp: Modify the #include file.
-
-2012-10-23 Andras Becsi <andras.becsi@digia.com>
-
- Remove devicePixelRatio from ViewportAttributes
- https://bugs.webkit.org/show_bug.cgi?id=99845
-
- Reviewed by Adam Barth.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_viewport_attributes_compute):
- Pass the device pixel ratio as a function argument.
-
-2012-10-22 Ryuan Choi <ryuan.choi@gmail.com>
-
- [EFL] pc files should use DATA_INSTALL_DIR for datadir
- https://bugs.webkit.org/show_bug.cgi?id=99961
-
- Reviewed by Gyuyoung Kim.
-
- * ewebkit.pc.in: Used DATA_INSTALL_DIR instead of hardcoded `shared/XXX`
-
-2012-10-22 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
- https://bugs.webkit.org/show_bug.cgi?id=98514
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_view_create_for_view):
-
-2012-10-21 Seokju Kwon <seokju.kwon@samsung.com>
-
- [EFL] Fix failure to access the inspector resources
- https://bugs.webkit.org/show_bug.cgi?id=99816
-
- Reviewed by Gyuyoung Kim.
-
- access() returns -1, if path has a file protocol like "file://".
- And I have removed it from the first argument of access().
- If not, inspectorBaseURL() or inspectorFilesPath() always returns WEB_INSPECTOR_DIR.
- Then all layout test related to inspector can fail after installing webkit package.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorClientEfl::inspectorFilesPath):
-
-2012-10-20 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
-
- [EFL][DRT] Implement tracking and painting repaint rectangles.
- https://bugs.webkit.org/show_bug.cgi?id=99838
-
- Reviewed by Gyuyoung Kim.
-
- Add the required DumpRenderTreeSupport plumbing functions to
- interact with FrameView and track/obtain repaint rectangles for
- DumpRenderTree.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled):
- (DumpRenderTreeSupportEfl::setTracksRepaints):
- (DumpRenderTreeSupportEfl::resetTrackedRepaints):
- (DumpRenderTreeSupportEfl::isTrackingRepaints):
- (DumpRenderTreeSupportEfl::trackedRepaintRects):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-10-18 Kangil Han <kangil.han@samsung.com>
-
- [EFL] Add unit test for ewk_frame_source_get.
- https://bugs.webkit.org/show_bug.cgi?id=95984
-
- Reviewed by Gyuyoung Kim.
-
- Add three unit test cases to verify ewk_frame_source_get function.
- Additionally, insert code to check if uri exists in order to return error since view itself has blank html.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_source_get):
- * tests/test_ewk_frame.cpp: Added.
- (initBuffer):
- (TEST_F):
-
-2012-10-17 Byungwoo Lee <bw80.lee@samsung.com>
-
- Fix build warnings : -Wunused-parameter, -Wunused-variable
- https://bugs.webkit.org/show_bug.cgi?id=99539
-
- Reviewed by Kentaro Hara.
-
- Fix build warnings about unused parameter or unused variable when
- WTF_USE_TILED_BACKING_STORE option is enabled.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::attachRootGraphicsLayer):
- (WebCore::ChromeClientEfl::delegatedScrollRequested):
-
-2012-10-17 Byungwoo Lee <bw80.lee@samsung.com>
-
- [EFL] Add background color to the checkbox theme.
- https://bugs.webkit.org/show_bug.cgi?id=98788
-
- Reviewed by Gyuyoung Kim.
-
- Background color is added to the checkbox theme for identifying
- checkbox status easily.
-
- Checkbox theme uses images which has transparent background, and the
- theme itself doesn't have the background color.
-
- When the background of checkbox is black, checked/unchecked status
- cannot be distinguished because check mark color is black.
-
- And it is hard to identify whether the checkbox is disabled or not,
- because there is no background color in the checkbox theme.
-
- Instead of adding background color to the edc script, background
- images are added because the shape of the check box can be various.
-
- * DefaultTheme/widget/check/check.edc:
- * DefaultTheme/widget/check/img_check_bg_enabled.png: Added.
- * DefaultTheme/widget/check/img_check_bg_disabled.png: Added.
-
-2012-10-17 Byungwoo Lee <bw80.lee@samsung.com>
-
- [EFL] Add background color to the radio button theme.
- https://bugs.webkit.org/show_bug.cgi?id=98852
-
- Reviewed by Gyuyoung Kim.
-
- Background color is added to the radio button theme for identifying
- radio button status easily.
-
- Radio button theme uses images which has transparent background.
-
- When the background of radio button is black, checked/unchecked status
- cannot be distinguished because check mark color is black.
-
- And it is hard to identify whether the radio button is disabled or not,
- because there is no background color in the radio button theme.
-
- * DefaultTheme/widget/radio/img_radio_bg_disabled.png: Added.
- * DefaultTheme/widget/radio/img_radio_bg_enabled.png: Added.
- * DefaultTheme/widget/radio/radio.edc:
-
-2012-10-15 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL][WK2] Implement Favicons API
- https://bugs.webkit.org/show_bug.cgi?id=99087
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Remove ewk_util now that its code has been moved
- to CairoUtilitiesEfl in WebCore.
-
- * ewk/ewk_history.cpp:
- (ewk_history_item_icon_object_add):
- * ewk/ewk_settings.cpp:
- (ewk_settings_icon_database_icon_object_get):
-
-2012-10-15 Dongwoo Joshua Im <dw.im@samsung.com>
-
- [EFL] Set the basepath of the File System API.
- https://bugs.webkit.org/show_bug.cgi?id=98344
-
- Reviewed by Gyuyoung Kim.
-
- Set the basepath of the File System API using the internal setter function.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body): Call the setter function with the default path.
- * ewk/ewk_settings.cpp:
- (ewk_settings_file_system_path_set): Set the given path as the base path of the file system.
- * ewk/ewk_settings_private.h: Add ewk_settings_file_system_path_set.
-
-2012-10-14 Sam Weinig <sam@webkit.org>
-
- Make UserScript and UserStyleSheet value objects that are copyable
- https://bugs.webkit.org/show_bug.cgi?id=99275
-
- Reviewed by Tim Horton.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::addUserScript):
- (DumpRenderTreeSupportEfl::addUserStyleSheet):
- Update for new PageGroup function signatures.
-
-2012-10-11 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Remove "web" word in web inspector
- https://bugs.webkit.org/show_bug.cgi?id=98724
-
- Reviewed by Laszlo Gombos.
-
- *web* word is redundant in web inspector. Beside r130494 and r130479 removed *web* from EFL WK2.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::notifyInspectorDestroy):
- (WebCore::InspectorClientEfl::openInspectorFrontend):
- (WebCore::InspectorFrontendClientEfl::InspectorFrontendClientEfl):
- (WebCore::InspectorFrontendClientEfl::~InspectorFrontendClientEfl):
- * ewk/ewk_view.cpp:
- (ewk_view_inspector_show):
- (ewk_view_inspector_close):
- (ewk_view_inspector_view_get):
- (ewk_view_inspector_view_set):
- * ewk/ewk_view.h:
-
-2012-10-10 Jon Lee <jonlee@apple.com>
-
- [WK2] Activate plugins when user clicks on snapshot
- https://bugs.webkit.org/show_bug.cgi?id=98328
- <rdar://problem/12426681>
-
- Reviewed by Brady Eidson.
-
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (WebCore::FrameLoaderClientEfl::recreatePlugin): Stub implementation of recreatePlugin().
-
-2012-10-10 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Use ewk_view_paint instead of ewk_view_paint_contents in ewk_view_single.
- https://bugs.webkit.org/show_bug.cgi?id=98716
-
- Reviewed by Kenneth Rohde Christiansen.
-
- ewk_view_paint is the wrapper of ScrollView::paint and
- ewk_view_paint_contents is the wrapper of FrameView::paintContents.
-
- Because FrameView::paintContents just draw contents,
- ewk_view_single should use ewk_view_paint instead of ewk_view_paint_contents
- like other ports.
-
- * ewk/ewk_view.cpp:
- (ewk_view_paint):
- Moved updateLayoutAndStyleIfNeededRecursive to share ewk_view_paint.
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_smart_repaints_process):
- Modified to call ewk_view_paint.
-
-2012-10-10 Jaehun Lim <ljaehun.lim@samsung.com>
-
- [EFL] Use Evas function instead of memcpy
- https://bugs.webkit.org/show_bug.cgi?id=98483
-
- Reviewed by Gyuyoung Kim.
-
- Evas supports evas_object_image_data_copy_set() to copy raw image data.
- Change memcpy() with evas_object_image_data_copy_set().
-
- Spell out variable names and refactor variable declaration statements.
-
- No new tests, no functionality was changed.
-
- * ewk/ewk_util.cpp:
- (ewk_util_image_from_cairo_surface_add):
-
-2012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
-
- Rename first/second to key/value in HashMap iterators
- https://bugs.webkit.org/show_bug.cgi?id=82784
-
- Reviewed by Eric Seidel.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::getPluginInfo):
- * ewk/ewk_intent.cpp:
- (ewk_intent_extra_get):
-
-2012-10-05 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Fix window resizing / moving in WK1 and WKTR
- https://bugs.webkit.org/show_bug.cgi?id=98486
-
- Reviewed by Gyuyoung Kim.
-
- Fix ChromeClientEfl::windowRect() code to use
- ecore_evas_request_geometry_get() instead of
- evas_object_geometry_get() and therefore avoid
- returning incorrect values when the engine has
- not processed a call to ecore_evas_move_resize()
- yet. This fixes a couple of layout tests.
-
- The code was also refactored a bit for
- consistency with the WebKit2 EFL implementation.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::windowRect):
- (WebCore::ChromeClientEfl::setWindowRect):
-
-2012-10-04 Simon Fraser <simon.fraser@apple.com>
-
- Final part of "sync" to "flush" renaming
- https://bugs.webkit.org/show_bug.cgi?id=98430
-
- Reviewed by Tim Horton.
-
- Change method names on GraphicsLayer and GraphicsLayerClient that
- refer to "sync" to use the term "flush" instead, to be consistent
- with the rest of the code.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- (WebCore::AcceleratedCompositingContext::syncLayersNow):
- (WebCore::AcceleratedCompositingContext::attachRootGraphicsLayer):
-
-2012-10-04 Simon Fraser <simon.fraser@apple.com>
-
- Standardize on "flush" terminology for compositing layer flushing/syncing
- https://bugs.webkit.org/show_bug.cgi?id=98321
-
- Reviewed by Simon Fraser.
-
- Rename compositing-related methods that refer to "syncing" to instead
- refer to "flushing".
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::scheduleCompositingLayerFlush):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
-
-2012-10-04 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] webintents/web-intents-failure.html is failing
- https://bugs.webkit.org/show_bug.cgi?id=98349
-
- Reviewed by Gyuyoung Kim.
-
- After r130344, OpaqueJSString().string() returns
- an empty string instead of a null one. Therefore,
- we need to update the check in
- DumpRenderTreeSupportEfl::sendWebIntentResponse().
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::sendWebIntentResponse):
-
-2012-10-04 Christophe Dumez <christophe.dumez@intel.com>
-
- Regression(r130363): Broke unit tests
- https://bugs.webkit.org/show_bug.cgi?id=98341
-
- Reviewed by Gyuyoung Kim.
-
- Fix WebKitEFL unit tests to use X11 as
- well.
-
- * tests/UnitTestUtils/EWKTestBase.cpp:
- (EWKUnitTests::EWKTestBase::SetUp):
- * tests/UnitTestUtils/EWKTestEnvironment.h:
- (EWKTestEnvironment):
- * tests/UnitTestUtils/EWKTestView.cpp:
- (EWKUnitTests::EWKTestView::init):
- * tests/UnitTestUtils/EWKTestView.h:
- (EWKTestView):
-
-2012-10-03 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Default.edj should be generated although ENABLE_WEBKIT disabled.
- https://bugs.webkit.org/show_bug.cgi?id=97753
-
- Reviewed by Laszlo Gombos.
-
- default.edj is used in both webkit/efl and webkit2/efl.
- However, it has been generated only when ENABLE_WEBKIT is enabled.
-
- This patch separates the script which generates default.edj
- from source/webkit/platformefl.cmake.
-
- * DefaultTheme/CMakeLists.txt:
- Extracted from Source/WebKit/PlatformEfl.cmake and sanitized.
-
-2012-10-03 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Enable use of X11 in DumpRenderTree / WebKitTestRunner
- https://bugs.webkit.org/show_bug.cgi?id=98231
-
- Reviewed by Gyuyoung Kim.
-
- Initialize ecore_x library in ewk_main since it is used by
- WebKitEFL.
-
- * ewk/ewk_main.cpp:
- (ewk_init):
- (ewk_shutdown):
-
-2012-10-03 Kangil Han <kangil.han@samsung.com>
-
- Fix unused parameter compile warnings.
- https://bugs.webkit.org/show_bug.cgi?id=98243
-
- Reviewed by Alexey Proskuryakov.
-
- Fixed unused parameter compile warning by removing page parameter name and UNUSED_PARAM usage.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::getPluginInfo):
-
-2012-10-03 Jinwoo Song <jinwoo7.song@samsung.com>
-
- [EFL] Change the reversed expected and actual parameter in WebKit1 unit tests
- https://bugs.webkit.org/show_bug.cgi?id=98276
-
- Reviewed by Laszlo Gombos.
-
- Expected value should be at first and actual value be followed in ASSERT_STREQ().
-
- * tests/test_ewk_view.cpp:
- (TEST_F):
-
-2012-10-02 Carlos Garcia Campos <cgarcia@igalia.com>
-
- [GTK] Add API to get the web view that initiated a custom URI request to WebKit2 GTK+
- https://bugs.webkit.org/show_bug.cgi?id=97895
-
- Reviewed by Martin Robinson.
-
- * WebCoreSupport/FrameNetworkingContextEfl.cpp:
- (WebCore::FrameNetworkingContextEfl::initiatingPageID): Stub
- implementation.
- * WebCoreSupport/FrameNetworkingContextEfl.h:
- (FrameNetworkingContextEfl): Added.
-
-2012-10-02 Krzysztof Czech <k.czech@samsung.com>
-
- [EFL][UT] Refactoring an implementation of testing framework for wk1.
- https://bugs.webkit.org/show_bug.cgi?id=94925
-
- Reviewed by Gyuyoung Kim.
-
- The reason of changing, was to adjust current implementation to use gtest features
- related to cleaning (SetUp, TearDown), cleaning code in terms of useless methods
- and lastly to make framework easier to use.
-
- * tests/UnitTestUtils/EWKTestBase.cpp:
- (EWKUnitTests::EWKTestBase::EWKTestBase):
- (EWKUnitTests::EWKTestBase::webView): Returns current webview.
- (EWKUnitTests::EWKTestBase::SetUp):
- Before test is started, SetUp is called.
- Used this to initialize test view.
- (EWKUnitTests::EWKTestBase::onLoadFinished):
- (EWKUnitTests::EWKTestBase::waitUntilLoadFinished): It waits till test page will be properly loaded.
- (EWKUnitTests::EWKTestBase::loadUrl): Starts loading test page.
- * tests/UnitTestUtils/EWKTestBase.h:
- * tests/UnitTestUtils/EWKTestEnvironment.cpp:
- Used to have global SetUp and TearDown.
- Global SetUp starts initialization of webkit wherease
- global TearDown shuts it down. Generally we would like to have
- only one initialization of webkit while tests are executed.
- (EWKUnitTests):
- (EWKUnitTests::EWKTestEnvironment::EWKTestEnvironment):
- (EWKUnitTests::EWKTestEnvironment::SetUp): Starts initialization of webkit.
- (EWKUnitTests::EWKTestEnvironment::TearDown): Shuts down of webkit.
- * tests/UnitTestUtils/EWKTestEnvironment.h:
- (EWKUnitTests):
- (EWKTestEnvironment):
- (EWKUnitTests::EWKTestEnvironment::useX11Window):
- * tests/UnitTestUtils/EWKTestView.cpp:
- (EWKUnitTests::EWKTestView::EWKTestView):
- (EWKUnitTests::EWKTestView::init): Starts initialization of test view.
- * tests/UnitTestUtils/EWKTestView.h:
- (EWKTestView):
- * tests/test_ewk_view.cpp: adjusted current unit tests to new implementation.
- (TEST_F):
- * tests/test_runner.cpp: entry point of all tests.
- (parseCustomArguments):
- (main):
-
-2012-10-01 Brady Eidson <beidson@apple.com>
-
- Remove the Safari 2 -> Safari 3 icon database import code.
- https://bugs.webkit.org/show_bug.cgi?id=98113
-
- Reviewed by Maciej Stachowiak.
-
- Nuke the performImport() IconDatabaseClient method.
-
- * WebCoreSupport/IconDatabaseClientEfl.cpp:
- * WebCoreSupport/IconDatabaseClientEfl.h:
-
-2012-09-28 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports
- https://bugs.webkit.org/show_bug.cgi?id=97547
-
- Reviewed by Adam Barth.
-
- Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
- inside WebCore::FrameLoaderClientEfl::canShowMIMEType().
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::canShowMIMEType):
-
-2012-09-28 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL][DRT] EFL DRT should disable visited links tracking by default
- https://bugs.webkit.org/show_bug.cgi?id=97881
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Added aux DumpRenderTreeSupportEfl::setShouldTrackVisitedLinks() function.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setShouldTrackVisitedLinks):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-09-27 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] No way to exit video fullscreen mode once entered
- https://bugs.webkit.org/show_bug.cgi?id=97631
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Fix default theme so that we have 2 fullscreen buttons, one
- to enter fullscreen mode and another to exit it.
-
- New icon by Alexander Shalamov.
-
- * DefaultTheme/widget/mediacontrol/fullscreenbutton/enterfullscreenbutton.png: Added.
- * DefaultTheme/widget/mediacontrol/fullscreenbutton/exitfullscreenbutton.png: Added.
- * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreen_button.edc:
- * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreenbutton.png: Removed.
-
-2012-09-26 Jinwoo Song <jinwoo7.song@samsung.com>
-
- [EFL] Fix the typo in the ewk_view_fullscreen_exit()
- https://bugs.webkit.org/show_bug.cgi?id=97635
-
- Reviewed by Gyuyoung Kim.
-
- Fix the silly typo in the ewk_view_fullscreen_exit() API.
-
- * ewk/ewk_view.cpp:
- (ewk_view_fullscreen_exit):
-
-2012-09-25 Jinwoo Song <jinwoo7.song@samsung.com>
-
- [EFL] Add fullscreen set/get APIs and callbacks
- https://bugs.webkit.org/show_bug.cgi?id=97421
-
- Reviewed by Gyuyoung Kim.
-
- Add setting APIs for JavaScript Fullscreen API and also add two callbacks to ewk_view API,
- so that UI could customise behavior when fullscreen mode is requested.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::enterFullScreenForElement):
- (WebCore::ChromeClientEfl::exitFullScreenForElement):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (ewk_view_setting_enable_fullscreen_get):
- (ewk_view_setting_enable_fullscreen_set):
- (ewk_view_fullscreen_enter):
- (ewk_view_fullscreen_exit):
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h:
- * tests/test_ewk_view.cpp:
- (ewkViewEnableFullscreenCb):
- (TEST):
-
-2012-09-25 Beth Dakin <bdakin@apple.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=95397
- Need to merge didFirstVisuallyNonEmptyLayout and
- didNewFirstVisuallyNonEmptyLayout
- -and corresponding-
- <rdar://problem/10791680>
-
- Reviewed by Sam Weinig.
-
- Remove dispatchDidFirstLayout,
- dispatchDidFirstVisuallyNonEmptyLayout, and
- dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality
- is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidLayout):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (FrameLoaderClientEfl):
-
- It is now necessary to opt into getting any of the
- "layout milestone" notifications.
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2012-09-24 Dominik Röttsches <dominik.rottsches@intel.com>
-
- [EFL][DRT] Enable Regions support
- https://bugs.webkit.org/show_bug.cgi?id=83897
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Activating CSS regions by default for EWK views.
-
- * ewk/ewk_view.cpp: Switch CSS regions on by default.
- (_ewk_view_priv_new):
-
-2012-09-23 Byungwoo Lee <bw80.lee@gmail.com>
-
- Fix build warnings : -Wunused-parameter, -Wparentheses, -Wuninitialized.
- https://bugs.webkit.org/show_bug.cgi?id=97306
-
- Reviewed by Benjamin Poulain.
-
- Fix build warning about -Wunused-parameter on FrameLoaderClientEfl.cpp
- by using ASSERT_UNUSED() macro.
- Fix build warning aboug -Wparentheses on ewk_frame.cpp by adding
- additional brace for the assign statement.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidChangeIcons):
- * ewk/ewk_frame.cpp:
- (ewk_frame_resources_location_get):
-
-2012-09-21 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EventSender should mimic CTRL+o emacs shortcut
- https://bugs.webkit.org/show_bug.cgi?id=97224
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Fix bad use of temporary object causing wrong editing
- callback dumping.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::shouldInsertText):
-
-2012-09-20 Jinwoo Song <jinwoo7.song@samsung.com>
-
- [EFL] Change the log macro names to be more consistent with EINA LOG
- https://bugs.webkit.org/show_bug.cgi?id=97158
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Some log macro names in WebKit1 are inconsistent with EINA LOG names
- such as WRN/INF not WARN/INFO.
-
- #define WRN(...) EINA_LOG_DOM_WARN(_ewk_log_dom, __VA_ARGS__)
- #define INF(...) EINA_LOG_DOM_INFO(_ewk_log_dom, __VA_ARGS__)
-
- This patch changes the such names to be consistent with EINA LOG's names.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_smart_resize):
- (ewk_frame_source_get):
- (ewk_frame_uri_changed):
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
- * ewk/ewk_private.h:
- * ewk/ewk_tiled_backing_store.cpp:
- (_ewk_tiled_backing_store_render):
- (_ewk_tiled_backing_store_recalc_renderers):
- (_ewk_tiled_backing_store_smart_calculate_offset_force):
- (_ewk_tiled_backing_store_smart_calculate_offset):
- (ewk_tiled_backing_store_pre_render_relative_radius):
- * ewk/ewk_tiled_matrix.cpp:
- (ewk_tile_matrix_free):
- (ewk_tile_matrix_tile_exact_get):
- (_ewk_tile_matrix_slicer_setup):
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_add_console_message):
- (_ewk_view_smart_run_javascript_alert):
- (_ewk_view_smart_run_javascript_confirm):
- (_ewk_view_smart_should_interrupt_javascript):
- (_ewk_view_smart_run_javascript_prompt):
- (_ewk_view_smart_pre_render_region):
- (_ewk_view_smart_pre_render_relative_radius):
- (_ewk_view_smart_pre_render_start):
- (_ewk_view_smart_pre_render_cancel):
- (_ewk_view_smart_disable_render):
- (_ewk_view_smart_enable_render):
- (ewk_view_bg_color_set):
- (ewk_view_zoom_set):
- (ewk_view_zoom_weak_set):
- (ewk_view_zoom_animated_set):
- (ewk_view_statusbar_text_set):
- (ewk_view_exceeded_application_cache_quota):
- (ewk_view_exceeded_database_quota):
- (ewk_view_scroll):
- (ewk_view_popup_new):
- (ewk_view_popup_destroy):
- (ewk_view_popup_selected_set):
- (ewk_view_color_chooser_new):
- (ewk_view_color_chooser_destroy):
- (ewk_view_color_chooser_color_set):
- (ewk_view_color_chooser_changed):
- (ewk_view_zoom_range_set):
- * ewk/ewk_view_private.h:
-
-2012-09-19 Jinwoo Song <jinwoo7.song@samsung.com>
-
- Fix unused parameter compile warnings in WebKit/WebKit2
- https://bugs.webkit.org/show_bug.cgi?id=96742
-
- Reviewed by Gyuyoung Kim.
-
- Fix unused parameter compile warning messages(-Wunused-parameter) in WebKit during EFL build.
- WebCore's warning messages were fixed in r128570.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::createWindow):
- (WebCore::ChromeClientEfl::mouseDidMoveOverElement):
- (WebCore::ChromeClientEfl::print):
- (WebCore::ChromeClientEfl::reachedMaxAppCacheSize):
- (WebCore::ChromeClientEfl::invalidateContents):
- (WebCore::ChromeClientEfl::invalidateRootView):
- (WebCore::ChromeClientEfl::invalidateContentsAndRootView):
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::handleInputMethodKeydown):
- (WebCore::EditorClientEfl::getGuessesForWord):
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveAuthenticationChallenge):
- (WebCore::FrameLoaderClientEfl::dispatchDidCancelAuthenticationChallenge):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
- (WebCore::FrameLoaderClientEfl::createFrame):
- (WebCore::FrameLoaderClientEfl::createJavaAppletWidget):
- (WebCore::FrameLoaderClientEfl::shouldStopLoadingForHistoryItem):
- (WebCore::FrameLoaderClientEfl::canShowMIMETypeAsHTML):
- (WebCore::FrameLoaderClientEfl::setTitle):
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveContentLength):
- (WebCore::FrameLoaderClientEfl::dispatchDidLoadResourceFromMemoryCache):
- (WebCore::FrameLoaderClientEfl::setMainDocumentError):
- * WebCoreSupport/FullscreenVideoControllerEfl.cpp:
- (FullscreenVideoController::showHud):
- (FullscreenVideoController::setVolume):
- (FullscreenVideoController::setCurrentTime):
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::notifyWebInspectorDestroy):
- (WebCore::InspectorFrontendSettingsEfl::getProperty):
- (WebCore::InspectorFrontendSettingsEfl::setProperty):
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::getPluginInfo):
- * ewk/ewk_auth_soup.cpp:
- (ewk_auth_soup_dialog_class_init):
- (ewk_auth_soup_dialog_init):
- (ewk_auth_soup_dialog_session_feature_init):
- (session_authenticate):
- * ewk/ewk_file_chooser.cpp:
- (ewk_file_chooser_allows_directory_upload_get):
- * ewk/ewk_frame.cpp:
- (ewk_frame_feed_focus_out):
- (ewk_frame_view_state_save):
- (ewk_frame_plugin_create):
- * ewk/ewk_js.cpp:
- (ewk_js_object_new):
- (ewk_js_object_free):
- (ewk_js_object_view_get):
- (ewk_js_object_properties_get):
- (ewk_js_object_name_get):
- (ewk_js_object_invoke):
- (ewk_js_object_type_get):
- (ewk_js_object_type_set):
- (ewk_js_variant_free):
- (ewk_js_variant_array_free):
- * ewk/ewk_tiled_model.cpp:
- (tile_account):
- (_ewk_tile_account_allocated):
- (_ewk_tile_account_freed):
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_add_console_message):
- (_ewk_view_smart_run_javascript_alert):
- (_ewk_view_smart_run_javascript_confirm):
- (_ewk_view_smart_should_interrupt_javascript):
- (_ewk_view_smart_run_javascript_prompt):
- (_ewk_view_smart_move):
- (_ewk_view_smart_contents_resize):
- (_ewk_view_editor_command_string_get):
- (ewk_view_popup_new):
- (ewk_view_js_object_add):
- (ewk_view_accelerated_compositing_object_create):
- (ewk_view_accelerated_compositing_context_get):
- (ewk_view_setting_web_audio_get):
- (ewk_view_setting_web_audio_set):
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_smart_bg_color_set):
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_updates_process_pre):
- (_ewk_view_tiled_contents_size_changed_cb):
- (_ewk_view_tiled_smart_bg_color_set):
-
-2012-09-19 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r128995.
- http://trac.webkit.org/changeset/128995
- https://bugs.webkit.org/show_bug.cgi?id=97114
-
- Causes the api tests to segfault. (Requested by rakuco on
- #webkit).
-
- * tests/UnitTestUtils/EWKTestBase.cpp:
- (EWKUnitTests::EWKTestBase::init):
- (EWKUnitTests::EWKTestBase::shutdownAll):
- (EWKUnitTests::EWKTestBase::startTest):
- (EWKUnitTests::EWKTestBase::endTest):
- (EWKUnitTests::EWKTestBase::createTest):
- (EWKUnitTests):
- (EWKUnitTests::EWKTestBase::runTest):
- * tests/UnitTestUtils/EWKTestBase.h:
- (EWKUnitTests):
- (EWKTestBase):
- * tests/UnitTestUtils/EWKTestView.cpp:
- (EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas):
- (EWKUnitTests::EWKTestEcoreEvas::evas):
- (EWKUnitTests):
- (EWKUnitTests::EWKTestEcoreEvas::show):
- (EWKUnitTests::EWKTestView::EWKTestView):
- (EWKUnitTests::EWKTestView::init):
- (EWKUnitTests::EWKTestView::show):
- (EWKUnitTests::EWKTestView::mainFrame):
- (EWKUnitTests::EWKTestView::evas):
- (EWKUnitTests::EWKTestView::bindEvents):
- * tests/UnitTestUtils/EWKTestView.h:
- (EWKTestEcoreEvas):
- (EWKUnitTests):
- (EWKTestView):
- * tests/test_ewk_view.cpp:
- (ewkViewEditableGetCb):
- (TEST):
- (ewkViewUriGetCb):
- * tests/test_runner.cpp:
- (main):
-
-2012-09-19 Krzysztof Czech <k.czech@samsung.com>
-
- [EFL][UT] Refactoring an implementation of testing framework for wk1.
- https://bugs.webkit.org/show_bug.cgi?id=94925
-
- Reviewed by Gyuyoung Kim.
-
- The reason of changing, was to adjust current implementation to use gtest features
- related to cleaning (SetUp, TearDown), cleaning code in terms of useless methods
- and lastly to make framework easier to use.
-
- * tests/UnitTestUtils/EWKTestBase.cpp:
- (EWKUnitTests::EWKTestBase::EWKTestBase): Added to initialize test view.
- (EWKUnitTests::EWKTestBase::webView): Returns current webview.
- (EWKUnitTests::EWKTestBase::SetUp):
- Before test is started, SetUp is called.
- Used this to initialize efl and test view.
- (EWKUnitTests::EWKTestBase::TearDown):
- TearDown is called as soon as test is completed.
- Used this to properly shutdown efl and clean test view.
- (EWKUnitTests::EWKTestBase::onLoadFinished):
- (EWKUnitTests::EWKTestBase::waitUntilLoadFinished): It waits till test page will be properly loaded.
- (EWKUnitTests::EWKTestBase::loadUrl): Starts loading test page.
- * tests/UnitTestUtils/EWKTestBase.h:
- * tests/UnitTestUtils/EWKTestView.cpp:
- (EWKUnitTests::EWKTestView::EWKTestView):
- (EWKUnitTests::EWKTestView::init): Initialize test view.
- * tests/UnitTestUtils/EWKTestView.h:
- (EWKTestView):
- * tests/test_ewk_view.cpp:
- (TEST_F):
- * tests/test_runner.cpp:
- (main):
-
-2012-09-19 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EFL's DRT does not support overriding 'WebKitCSSRegionsEnabled' preference
- https://bugs.webkit.org/show_bug.cgi?id=97100
-
- Reviewed by Gyuyoung Kim.
-
- Add DumpRenderTree support method to set the
- 'WebKitCSSRegionsEnabled' preference.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setCSSRegionsEnabled):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-09-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
-
- Evas_Object* is a ref'ed structure, so tread it as such
- https://bugs.webkit.org/show_bug.cgi?id=96659
-
- Reviewed by Adam Barth.
-
- Replace OwnPtr<Evas_Object> with RefPtr.
-
- * tests/UnitTestUtils/EWKTestView.cpp:
- (EWKUnitTests::EWKTestView::init):
- * tests/UnitTestUtils/EWKTestView.h:
- (EWKTestView):
-
-2012-09-14 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed, rolling out r128507.
- http://trac.webkit.org/changeset/128507
- https://bugs.webkit.org/show_bug.cgi?id=96659
-
- Revert. r128507 makes too many crashes in EFL layout test bots.
-
- * tests/UnitTestUtils/EWKTestView.cpp:
- (EWKUnitTests::EWKTestView::init):
- * tests/UnitTestUtils/EWKTestView.h:
- (EWKTestView):
-
-2012-09-13 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Remove a lot of C'ism from Ewk_Tiled_Matrix
- https://bugs.webkit.org/show_bug.cgi?id=96638
-
- Reviewed by Gyuyoung Kim.
-
- Remove a lot of C'ism from Ewk_Tiled_Matrix and
- fix the code so that it follows coding style.
-
- * ewk/ewk_tiled_matrix.cpp:
- (_Ewk_Tile_Matrix):
- (ewk_tile_matrix_entry_get):
- (_ewk_tile_matrix_cell_free):
- (_ewk_tile_matrix_tile_free):
- (ewk_tile_matrix_zoom_level_set):
- (ewk_tile_matrix_entry_new):
- (ewk_tile_matrix_invalidate):
- (ewk_tile_matrix_free):
- (ewk_tile_matrix_resize):
- (ewk_tile_matrix_size_get):
- (ewk_tile_matrix_unused_cache_get):
- (ewk_tile_matrix_tile_exact_get):
- (ewk_tile_matrix_tile_exact_exists):
- (ewk_tile_matrix_tile_new):
- (ewk_tile_matrix_tile_put):
- (ewk_tile_matrix_tile_updates_clear):
- (_ewk_tile_matrix_slicer_setup):
- (ewk_tile_matrix_update):
- (ewk_tile_matrix_updates_process):
- (ewk_tile_matrix_updates_clear):
- (ewk_tile_matrix_dbg):
- (ewk_tile_matrix_freeze):
- (ewk_tile_matrix_thaw):
- * ewk/ewk_tiled_matrix_private.h:
-
-2012-09-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
-
- Evas_Object* is a ref'ed structure, so tread it as such
- https://bugs.webkit.org/show_bug.cgi?id=96659
-
- Reviewed by Adam Barth.
-
- Replace OwnPtr<Evas_Object> with RefPtr.
-
- * tests/UnitTestUtils/EWKTestView.cpp:
- (EWKUnitTests::EWKTestView::init):
- * tests/UnitTestUtils/EWKTestView.h:
- (EWKTestView):
-
-2012-09-13 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Remove a lot of C'ism from Ewk_Tiled_Backing_Store
- https://bugs.webkit.org/show_bug.cgi?id=96631
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Remove a lot of C'ism from Ewk_Tiled_Backing_Store and
- fix coding style.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_Ewk_Tiled_Backing_Store_Item):
- (_Ewk_Tiled_Backing_Store_Data):
- (_ewk_tiled_backing_store_updates_process):
- (_ewk_tiled_backing_store_flush):
- (_ewk_tiled_backing_store_tile_new):
- (_ewk_tiled_backing_store_item_resize):
- (_ewk_tiled_backing_store_tile_associate):
- (_ewk_tiled_backing_store_tile_dissociate):
- (_ewk_tiled_backing_store_tile_dissociate_all):
- (_ewk_tiled_backing_store_pre_render_request_add):
- (_ewk_tiled_backing_store_pre_render_request_del):
- (_ewk_tiled_backing_store_pre_render_request_first):
- (_ewk_tiled_backing_store_pre_render_request_clear):
- (_ewk_tiled_backing_store_pre_render_request_process_single):
- (_ewk_tiled_backing_store_item_process_idler_start):
- (_ewk_tiled_backing_store_disable_render):
- (_ewk_tiled_backing_store_enable_render):
- (_ewk_tiled_backing_store_item_fill):
- (_ewk_tiled_backing_store_item_add):
- (_ewk_tiled_backing_store_item_smooth_scale_set):
- (_ewk_tiled_backing_store_changed):
- (_ewk_tiled_backing_store_view_cols_end_del):
- (_ewk_tiled_backing_store_view_cols_end_add):
- (_ewk_tiled_backing_store_view_row_del):
- (_ewk_tiled_backing_store_view_rows_range_del):
- (_ewk_tiled_backing_store_view_rows_all_del):
- (_ewk_tiled_backing_store_smart_member_del):
- (_ewk_tiled_backing_store_smart_member_add):
- (_ewk_tiled_backing_store_mem_dbg):
- (_ewk_tiled_backing_store_sig_usr):
- (_ewk_tiled_backing_store_smart_add):
- (_ewk_tiled_backing_store_smart_del):
- (_ewk_tiled_backing_store_smart_show):
- (_ewk_tiled_backing_store_smart_hide):
- (_ewk_tiled_backing_store_recalc_renderers):
- (_ewk_tiled_backing_store_smart_calculate_size):
- (_ewk_tiled_backing_store_view_dbg):
- (_ewk_tiled_backing_store_view_wrap_up):
- (_ewk_tiled_backing_store_view_wrap_down):
- (_ewk_tiled_backing_store_view_wrap_left):
- (_ewk_tiled_backing_store_view_wrap_right):
- (_ewk_tiled_backing_store_view_refill):
- (_ewk_tiled_backing_store_view_pos_apply):
- (_ewk_tiled_backing_store_smart_calculate_offset_force):
- (_ewk_tiled_backing_store_smart_calculate_offset):
- (_ewk_tiled_backing_store_smart_calculate_pos):
- (_ewk_tiled_backing_store_fill_renderers):
- (_ewk_tiled_backing_store_smart_calculate):
- (ewk_tiled_backing_store_render_cb_set):
- (ewk_tiled_backing_store_tile_unused_cache_get):
- (_ewk_tiled_backing_store_scroll_full_offset_set_internal):
- (ewk_tiled_backing_store_scroll_full_offset_set):
- (ewk_tiled_backing_store_scroll_full_offset_add):
- (_ewk_tiled_backing_store_zoom_set_internal):
- (ewk_tiled_backing_store_zoom_set):
- (ewk_tiled_backing_store_zoom_weak_set):
- (ewk_tiled_backing_store_fix_offsets):
- (ewk_tiled_backing_store_zoom_weak_smooth_scale_set):
- (ewk_tiled_backing_store_alpha_set):
- (ewk_tiled_backing_store_update):
- (ewk_tiled_backing_store_updates_process_pre_set):
- (ewk_tiled_backing_store_updates_process_post_set):
- (ewk_tiled_backing_store_disabled_update_set):
- (ewk_tiled_backing_store_flush):
- (ewk_tiled_backing_store_pre_render_tile_add):
- (ewk_tiled_backing_store_pre_render_spiral_queue):
- (ewk_tiled_backing_store_pre_render_region):
- (ewk_tiled_backing_store_pre_render_relative_radius):
- (ewk_tiled_backing_store_pre_render_cancel):
- (ewk_tiled_backing_store_disable_render):
- (ewk_tiled_backing_store_enable_render):
- * ewk/ewk_tiled_backing_store_private.h:
- (_Ewk_Tile_Stats):
- (_Ewk_Tile):
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_render_cb):
- (_ewk_view_tiled_smart_backing_store_add):
-
-2012-09-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
-
- [EFL][DRT] Implement LayoutTestController::layerTreeAsText
- https://bugs.webkit.org/show_bug.cgi?id=82294
-
- Reviewed by Gyuyoung Kim.
-
- Add a support method for getting layerTreeAsText.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::layerTreeAsText):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-09-12 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r127876.
- http://trac.webkit.org/changeset/127876
- https://bugs.webkit.org/show_bug.cgi?id=96600
-
- mouse click doesn't work for spin button if spin button in
- iframe (Requested by yosin on #webkit).
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_hit_test_new):
-
-2012-09-12 KyungTae Kim <ktf.kim@samsung.com>
-
- [EFL] Support download attribute feature
- https://bugs.webkit.org/show_bug.cgi?id=96462
-
- Reviewed by Gyuyoung Kim.
-
- Add suggested_name field on _Ewk_Download and set it on startDownload
- to get suggested name passed as a download attribute.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::download):
- (WebCore::FrameLoaderClientEfl::startDownload):
- * ewk/ewk_view.h:
-
-2012-09-10 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Create a toggle button for closed captions
- https://bugs.webkit.org/show_bug.cgi?id=96259
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Add closed caption toggling button to default WebKitEFL
- theme.
-
- * DefaultTheme/default.edc:
- * DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption.png: Added.
- * DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption_disabled.png: Added.
- * DefaultTheme/widget/mediacontrol/togglecaptionsbutton/toggle_captions_button.edc: Added.
-
-2012-09-09 Emil A Eklund <eae@chromium.org>
-
- Rename Node::getRect/getPixelSnappedRect and remove ContainerNode::getRect
- https://bugs.webkit.org/show_bug.cgi?id=81413
-
- Reviewed by David Hyatt.
-
- Update ewk_frame to call pixelSnappedBoundingBox.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_focused_element_geometry_get):
-
-2012-09-07 Benjamin Poulain <bpoulain@apple.com>
-
- Rename the ustring() accessor to string()
- https://bugs.webkit.org/show_bug.cgi?id=95919
-
- Reviewed by Geoffrey Garen.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::sendWebIntentResponse):
- (DumpRenderTreeSupportEfl::deliverWebIntent):
- Aslo update the code from the UString->String conversion through StringImpl.
-
-2012-09-07 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Use same default minimum logical font size in DRT and WTR
- https://bugs.webkit.org/show_bug.cgi?id=96116
-
- Reviewed by Martin Robinson.
-
- Add DRT helper function to set the minimum logical
- font size setting.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setMinimumLogicalFontSize):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-09-07 Allan Sandfeld Jensen <allan.jensen@nokia.com>
-
- Simplify hitTestResultAtPoint and nodesFromRect APIs
- https://bugs.webkit.org/show_bug.cgi?id=95720
-
- Reviewed by Antonio Gomes.
-
- Update calls to new API.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_hit_test_new):
-
-2012-09-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed, rolling out r127839.
- http://trac.webkit.org/changeset/127839
- https://bugs.webkit.org/show_bug.cgi?id=90603
-
- This patch was landed with wrong implementation and policy.
-
- * WebCoreSupport/NotificationPresenterClientEfl.cpp:
- (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
- (WebCore::NotificationPresenterClientEfl::requestPermission):
- (WebCore::NotificationPresenterClientEfl::checkPermission):
- (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
- * WebCoreSupport/NotificationPresenterClientEfl.h:
- (NotificationPresenterClientEfl):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h:
-
-2012-09-07 Kihong Kwon <kihong.kwon@samsung.com>
-
- [EFL] Support the permission function of the Web Notification.
- https://bugs.webkit.org/show_bug.cgi?id=90603
-
- Reviewed by Gyuyoung Kim.
-
- Implement permission related functions of Web Notifications.
- checkPermission for Notification.permissionLevel().
- requestPermission for Notification.requestPermission().
- In addition, if the application(like a browser) has permitted domains already,
- it can be cached using ewk_view_notification_permissions_store.
-
- * WebCoreSupport/NotificationPresenterClientEfl.cpp:
- (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
- (WebCore::NotificationPresenterClientEfl::requestPermission):
- (WebCore::NotificationPresenterClientEfl::checkPermission):
- (WebCore::NotificationPresenterClientEfl::addToPermissionCache):
- (WebCore):
- (WebCore::NotificationPresenterClientEfl::setPermission):
- * WebCoreSupport/NotificationPresenterClientEfl.h:
- (WebCore):
- (NotificationPresenterClientEfl):
- (WebCore::NotificationPresenterClientEfl::requestPermission):
- (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_notification_permission_store):
- (ewk_view_notification_permissions_set):
- (ewk_view_notification_permission_request):
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h:
-
-2012-09-05 Sam Weinig <sam@webkit.org>
-
- Part 2 of removing PlatformString.h, remove PlatformString.h
- https://bugs.webkit.org/show_bug.cgi?id=95931
-
- Reviewed by Adam Barth.
-
- Remove PlatformString.h
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * WebCoreSupport/InspectorClientEfl.cpp:
-
-2012-09-06 Kangil Han <kangil.han@samsung.com>
-
- [EFL] Remove unnecessary logic in ewk_frame_source_get.
- https://bugs.webkit.org/show_bug.cgi?id=95828
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Removed unnecessary logic that checks if <html> tag exists in document.
- WebKit automatically fill out <html></html> tags if they are not existed.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_source_get):
-
-2012-09-05 Kangil Han <kangil.han@samsung.com>
-
- [EFL] Remove '+=' usage in String
- https://bugs.webkit.org/show_bug.cgi?id=95808
-
- Reviewed by Benjamin Poulain.
-
- Replaced use of String operator '+=' with StringBuilder.append*() in order to adopt efficient String concatenation.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_source_get): Removed unnecessary strlen usage.
-
-2012-09-05 Kaustubh Atrawalkar <kaustubh@motorola.com>
-
- [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
- https://bugs.webkit.org/show_bug.cgi?id=92735
-
- Reviewed by Hajime Morita.
-
- Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-09-04 Michał Pakuła vel Rutka <m.pakula@samsung.com>
-
- [EFL] Context menu restore.
- https://bugs.webkit.org/show_bug.cgi?id=74179
-
- Reviewed by Gyuyoung Kim.
-
- Adds context menu support for EFL port using non-CROSS_PLATFORM_CONTEXT_MENUS
- approach, the same as used in WebKit2.
-
- * WebCoreSupport/ContextMenuClientEfl.cpp: Added.
- (WebCore):
- (WebCore::ContextMenuClientEfl::contextMenuDestroyed):
- (WebCore::ContextMenuClientEfl::getCustomMenuFromDefaultItems):
- (WebCore::ContextMenuClientEfl::contextMenuItemSelected):
- (WebCore::ContextMenuClientEfl::downloadURL):
- (WebCore::ContextMenuClientEfl::lookUpInDictionary):
- (WebCore::ContextMenuClientEfl::speak):
- (WebCore::ContextMenuClientEfl::isSpeaking):
- (WebCore::ContextMenuClientEfl::stopSpeaking):
- (WebCore::ContextMenuClientEfl::searchWithGoogle):
- * WebCoreSupport/ContextMenuClientEfl.h: Added.
- (WebCore):
- (ContextMenuClientEfl):
- * ewk/ewk_contextmenu.cpp: Removed ewk_context_menu_customize implementation.
- (ewk_context_menu_destroy): Added freeing context menu.
- (ewk_context_menu_new): Added filling ewk_contextmenu list.
- (ewk_context_menu_item_append):
- * ewk/ewk_contextmenu_private.h: Removed ewk_context_menu_customize and changed ewk_context_menu_new definition.
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (_ewk_view_priv_del):
- (ewk_view_context_menu_forward_event):
-
-2012-09-04 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Drop default theme concept
- https://bugs.webkit.org/show_bug.cgi?id=94778
-
- Reviewed by Gyuyoung Kim.
-
- * ewk/ewk_view.h:
- Updated doxygen document not to mention default theme.
-
-2012-09-03 Jinwoo Song <jinwoo7.song@samsung.com>
-
- [EFL] Fix e_dbus_shutdown() error when exiting the Minibrowser
- https://bugs.webkit.org/show_bug.cgi?id=95636
-
- Reviewed by Gyuyoung Kim.
-
- Invoke stopUpdating() in the destructor of BatteryClinetEfl()
- to call e_ukit_shutdown() and e_dbus_shutdown() if and when
- stopUpdating() has not been called explicitly.
-
- * WebCoreSupport/BatteryClientEfl.cpp:
- (BatteryClientEfl::~BatteryClientEfl):
- * WebCoreSupport/BatteryClientEfl.h:
- (BatteryClientEfl):
-
-2012-09-03 Jinwoo Song <jinwoo7.song@samsung.com>
-
- [EFL] Use WebKitVersion.h to get version information
- https://bugs.webkit.org/show_bug.cgi?id=95669
-
- Reviewed by Gyuyoung Kim.
-
- Use WEBKIT_MAJOR_VERSION and WEBKIT_MINOR_VERSION
- in the WebKitVersion.h
-
- Relocate the StorageTracker.h to keep the sorted order.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_default_user_agent_get):
-
-2012-09-01 Jinwoo Song <jinwoo7.song@samsung.com>
-
- [EFL] Refactoring the DumpRenderTreeSupportEfl
- https://bugs.webkit.org/show_bug.cgi?id=95544
-
- Reviewed by Gyuyoung Kim.
-
- There are lots of repeated codes for getting the WebCore::Frame
- and WebCore::Page. To reduce these duplications, simple macros
- are added.
-
- No new tests, just refactoring.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::activeAnimationsCount):
- (DumpRenderTreeSupportEfl::callShouldCloseOnWebView):
- (DumpRenderTreeSupportEfl::clearFrameName):
- (DumpRenderTreeSupportEfl::clearOpener):
- (DumpRenderTreeSupportEfl::elementDoesAutoCompleteForElementWithId):
- (DumpRenderTreeSupportEfl::frameChildren):
- (DumpRenderTreeSupportEfl::frameParent):
- (DumpRenderTreeSupportEfl::layoutFrame):
- (DumpRenderTreeSupportEfl::numberOfPages):
- (DumpRenderTreeSupportEfl::pageSizeAndMarginsInPixels):
- (DumpRenderTreeSupportEfl::pageProperty):
- (DumpRenderTreeSupportEfl::pauseAnimation):
- (DumpRenderTreeSupportEfl::pauseTransition):
- (DumpRenderTreeSupportEfl::pendingUnloadEventCount):
- (DumpRenderTreeSupportEfl::renderTreeDump):
- (DumpRenderTreeSupportEfl::responseMimeType):
- (DumpRenderTreeSupportEfl::selectionRectangle):
- (DumpRenderTreeSupportEfl::suitableDRTFrameName):
- (DumpRenderTreeSupportEfl::setDefersLoading):
- (DumpRenderTreeSupportEfl::setLoadsSiteIconsIgnoringImageLoadingSetting):
- (DumpRenderTreeSupportEfl::addUserScript):
- (DumpRenderTreeSupportEfl::clearUserScripts):
- (DumpRenderTreeSupportEfl::addUserStyleSheet):
- (DumpRenderTreeSupportEfl::clearUserStyleSheets):
- (DumpRenderTreeSupportEfl::executeCoreCommandByName):
- (DumpRenderTreeSupportEfl::findString):
- (DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled):
- (DumpRenderTreeSupportEfl::isCommandEnabled):
- (DumpRenderTreeSupportEfl::setSmartInsertDeleteEnabled):
- (DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled):
- (DumpRenderTreeSupportEfl::evaluateInWebInspector):
- (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
- (DumpRenderTreeSupportEfl::globalContextRefForFrame):
- (DumpRenderTreeSupportEfl::setInteractiveFormValidationEnabled):
- (DumpRenderTreeSupportEfl::setValidationMessageTimerMagnification):
- (DumpRenderTreeSupportEfl::setAuthorAndUserStylesEnabled):
- (DumpRenderTreeSupportEfl::setComposition):
- (DumpRenderTreeSupportEfl::hasComposition):
- (DumpRenderTreeSupportEfl::compositionRange):
- (DumpRenderTreeSupportEfl::confirmComposition):
- (DumpRenderTreeSupportEfl::firstRectForCharacterRange):
- (DumpRenderTreeSupportEfl::selectedRange):
-
-2012-08-31 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Add proper support for navigator.onLine and associated events
- https://bugs.webkit.org/show_bug.cgi?id=95532
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Remove ewk_network_state_notifier_online_set() API since
- the EFL port no longer relies on the client application to
- provide it with the online state.
-
- * ewk/ewk_network.cpp:
- * ewk/ewk_network.h:
-
-2012-08-31 Jinwoo Song <jinwoo7.song@samsung.com>
-
- [EFL] Simplify FrameLoaderClinetEfl by adding a private method.
- https://bugs.webkit.org/show_bug.cgi?id=95444
-
- Reviewed by Gyuyoung Kim.
-
- In the FrameLoaderClientEfl, the codes which checks that
- if current frame is main frame are frequently used.
- This patch adds a private method and replaces those codes
- with the method to simplify.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidChangeLocationWithinPage):
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveIcon):
- (WebCore::FrameLoaderClientEfl::dispatchDidStartProvisionalLoad):
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveTitle):
- (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
- (WebCore::FrameLoaderClientEfl::dispatchDidFailProvisionalLoad):
- (WebCore::FrameLoaderClientEfl::transitionToCommittedForNewPage):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (WebCore::FrameLoaderClientEfl::isLoadingMainFrame):
-
-2012-08-30 Benjamin Poulain <bpoulain@apple.com>
-
- Replace JSC::UString by WTF::String
- https://bugs.webkit.org/show_bug.cgi?id=95271
-
- Reviewed by Geoffrey Garen.
-
- Replace UString by String.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::sendWebIntentResponse):
- * ewk/ewk_frame.cpp:
- (ewk_frame_script_execute):
-
-2012-08-29 Kamil Blank <k.blank@samsung.com>
-
- [EFL] Add setting API for allow universal/file access from file URLs.
- https://bugs.webkit.org/show_bug.cgi?id=83121
-
- Reviewed by Eric Seidel.
-
- Make it possible to enable allow universal/file access from file URLs.
- Default value for both settings is true.
-
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (ewk_view_setting_allow_universal_access_from_file_urls_set): Function sets if locally loaded documents
- are allowed to access remote urls.
- (ewk_view_setting_allow_universal_access_from_file_urls_get):
- (ewk_view_setting_allow_file_access_from_file_urls_set): Function sets if locally loaded documents
- are allowed to access other local urls.
- (ewk_view_setting_allow_file_access_from_file_urls_get):
- * ewk/ewk_view.h:
-
-2012-08-29 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Add *explicit* keyword to constructors in WebCoreSupport
- https://bugs.webkit.org/show_bug.cgi?id=95307
-
- Reviewed by Kentaro Hara.
-
- Added explicit keyword in constructors in order to avoid implicit type conversion.
-
- * WebCoreSupport/ColorChooserEfl.h:
- (ColorChooserEfl):
- * WebCoreSupport/PopupMenuEfl.h:
- (PopupMenuEfl):
- * WebCoreSupport/SearchPopupMenuEfl.h:
- (SearchPopupMenuEfl):
-
-2012-08-29 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Move several files to remove webkit1 dependency from WebCore.
- https://bugs.webkit.org/show_bug.cgi?id=95264
-
- Reviewed by Gyuyoung Kim.
-
- ColorChooserEfl.cpp, PopupMenuEfl.cpp and SearchPopupMenuEfl.cpp are WebKit1/Efl
- specific files and they can not be shared with WebKit2/Efl.
-
- In order to remove WebKit dependency from WebCore, this patch moves them
- to WebKit/efl/WebCoreSupport.
-
- * WebCoreSupport/ColorChooserEfl.cpp: Renamed from Source/WebCore/platform/efl/ColorChooserEfl.cpp.
- (WebCore):
- (WebCore::ColorChooserEfl::ColorChooserEfl):
- (WebCore::ColorChooserEfl::~ColorChooserEfl):
- (WebCore::ColorChooserEfl::setSelectedColor):
- (WebCore::ColorChooserEfl::endChooser):
- * WebCoreSupport/ColorChooserEfl.h: Renamed from Source/WebCore/platform/efl/ColorChooserEfl.h.
- (WebCore):
- (ColorChooserEfl):
- * WebCoreSupport/PopupMenuEfl.cpp: Renamed from Source/WebCore/platform/efl/PopupMenuEfl.cpp.
- (WebCore):
- (WebCore::PopupMenuEfl::PopupMenuEfl):
- (WebCore::PopupMenuEfl::~PopupMenuEfl):
- (WebCore::PopupMenuEfl::show):
- (WebCore::PopupMenuEfl::hide):
- (WebCore::PopupMenuEfl::updateFromElement):
- (WebCore::PopupMenuEfl::disconnectClient):
- * WebCoreSupport/PopupMenuEfl.h: Renamed from Source/WebCore/platform/efl/PopupMenuEfl.h.
- (WebCore):
- (PopupMenuEfl):
- (WebCore::PopupMenuEfl::client):
- * WebCoreSupport/SearchPopupMenuEfl.cpp: Renamed from Source/WebCore/platform/efl/SearchPopupMenuEfl.cpp.
- (WebCore):
- (WebCore::SearchPopupMenuEfl::SearchPopupMenuEfl):
- (WebCore::SearchPopupMenuEfl::popupMenu):
- (WebCore::SearchPopupMenuEfl::saveRecentSearches):
- (WebCore::SearchPopupMenuEfl::loadRecentSearches):
- (WebCore::SearchPopupMenuEfl::enabled):
- * WebCoreSupport/SearchPopupMenuEfl.h: Renamed from Source/WebCore/platform/efl/SearchPopupMenuEfl.h.
- (WebCore):
- (SearchPopupMenuEfl):
-
-2012-08-28 Seokju Kwon <seokju.kwon@samsung.com>
-
- [EFL] Add support for localization to the Web Inspector
- https://bugs.webkit.org/show_bug.cgi?id=92961
-
- Reviewed by Gyuyoung Kim.
-
- Implement InspectorFrontendClientEfl::localizedStringsURL()
- to return the URL of the localizedStrings.js.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorClientEfl::openInspectorFrontend):
- (WebCore::InspectorClientEfl::inspectorFilesPath):
- (WebCore::InspectorFrontendClientEfl::localizedStringsURL):
-
-2012-08-28 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r126914.
- http://trac.webkit.org/changeset/126914
- https://bugs.webkit.org/show_bug.cgi?id=95239
-
- it breaks everything and fixes nothing (Requested by pizlo on
- #webkit).
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::getPluginInfo):
- * ewk/ewk_intent.cpp:
- (ewk_intent_extra_get):
-
-2012-08-28 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
-
- Rename first/second to key/value in HashMap iterators
- https://bugs.webkit.org/show_bug.cgi?id=82784
-
- Reviewed by Eric Seidel.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::getPluginInfo):
- * ewk/ewk_intent.cpp:
- (ewk_intent_extra_get):
-
-2012-08-28 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] WebKit EFL updates view on HTTP 204 response
- https://bugs.webkit.org/show_bug.cgi?id=95199
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Ignore HTTP responses which have status code equal
- to 204 (No Content).
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse):
-
-2012-08-28 Thiago Marcos P. Santos <thiago.santos@intel.com>
-
- [EFL] Rename knob images to thumb on the default theme
- https://bugs.webkit.org/show_bug.cgi?id=95186
-
- Reviewed by Kenneth Rohde Christiansen.
-
- WebKit reefers to these handles as thumb instead of knob. Let's make
- it coherent on EFL.
-
- * DefaultTheme/widget/slider/slider.edc:
- * DefaultTheme/widget/slider/slider_thumb_h.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_h.png.
- * DefaultTheme/widget/slider/slider_thumb_press_h.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_h.png.
- * DefaultTheme/widget/slider/slider_thumb_press_v.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_v.png.
- * DefaultTheme/widget/slider/slider_thumb_v.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_v.png.
-
-2012-08-28 Thiago Marcos P. Santos <thiago.santos@intel.com>
-
- [EFL] Range input ignores padding
- https://bugs.webkit.org/show_bug.cgi?id=94595
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Updated default theme to paint the slider thumb in a different step.
- This was done by splitting the thumb into a separated group.
-
- * DefaultTheme/widget/slider/slider.edc:
-
-2012-08-27 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r126836.
- http://trac.webkit.org/changeset/126836
- https://bugs.webkit.org/show_bug.cgi?id=95163
-
- Broke all Apple ports, EFL, and Qt. (Requested by tkent on
- #webkit).
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::getPluginInfo):
- * ewk/ewk_intent.cpp:
- (ewk_intent_extra_get):
-
-2012-08-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
-
- Rename first/second to key/value in HashMap iterators
- https://bugs.webkit.org/show_bug.cgi?id=82784
-
- Reviewed by Eric Seidel.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
- * WebCoreSupport/PlatformStrategiesEfl.cpp:
- (PlatformStrategiesEfl::getPluginInfo):
- * ewk/ewk_intent.cpp:
- (ewk_intent_extra_get):
-
-2012-08-27 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- Rename RegisterProtocolHandler API to NavigatorContentUtils
- https://bugs.webkit.org/show_bug.cgi?id=94920
-
- Reviewed by Adam Barth.
-
- Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
- RegisterProtocolHandlerClientEfl is renamed to NavigatorContentUtilsClientEfl.
-
- * WebCoreSupport/NavigatorContentUtilsClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp.
- (WebCore):
- (WebCore::customHandlerDataCreate):
- (WebCore::customHandlerDataDelete):
- (WebCore::NavigatorContentUtilsClientEfl::create):
- (WebCore::NavigatorContentUtilsClientEfl::NavigatorContentUtilsClientEfl):
- (WebCore::NavigatorContentUtilsClientEfl::registerProtocolHandler):
- (WebCore::NavigatorContentUtilsClientEfl::isProtocolHandlerRegistered):
- (WebCore::NavigatorContentUtilsClientEfl::unregisterProtocolHandler):
- * WebCoreSupport/NavigatorContentUtilsClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/RegisterProtocolHandlerClientEfl.h.
- (NavigatorContentUtilsClientEfl):
- (WebCore::NavigatorContentUtilsClientEfl::~NavigatorContentUtilsClientEfl):
- * ewk/ewk_custom_handler.cpp:
- * ewk/ewk_custom_handler_private.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
-
-2012-08-23 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Remove ewk_tile_matrix_tile_update.
- https://bugs.webkit.org/show_bug.cgi?id=63437
-
- Reviewed by Gyuyoung Kim.
-
- * ewk/ewk_tiled_matrix.cpp:
- Removed ewk_tile_matrix_tile_update and ewk_tile_matrix_tile_update_full
- which are dead code.
- * ewk/ewk_tiled_matrix_private.h: Ditto.
-
-2012-08-21 Kihong Kwon <kihong.kwon@samsung.com>
-
- [EFL][GTK][BlackBerry] Fix build error in the DeviceOrientationClient
- https://bugs.webkit.org/show_bug.cgi?id=94586
-
- Reviewed by Kentaro Hara.
-
- Fix build error in the DeviceOrientationClientEfl.cpp.
- It is occured because DeviceOrientation is changed to DeviceOrientationData in the WebCore.
-
- * WebCoreSupport/DeviceOrientationClientEfl.cpp:
- (WebCore::DeviceOrientationClientEfl::lastOrientation):
-
-2012-08-20 Thiago Marcos P. Santos <thiago.santos@intel.com>
-
- Regression(r124945): Build is broken when touch events is disabled
- https://bugs.webkit.org/show_bug.cgi?id=94466
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Added missing guards around touch events code.
-
- * ewk/ewk_touch_event.cpp:
- * ewk/ewk_touch_event_private.h:
-
-2012-08-17 Thiago Marcos P. Santos <thiago.santos@intel.com>
-
- [EFL] Change font family/script on layout tests causes flakiness
- https://bugs.webkit.org/show_bug.cgi?id=94327
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Always set the font on WebCore even if the font family is the same. It
- has to be done because the script value might have also changed.
- Settings::set*FontFamily() has an implicit UScriptCode
- parameter that will set the script back to the defaults.
-
- * ewk/ewk_view.cpp:
- (ewk_view_font_family_name_set):
-
-2012-08-14 Adam Barth <abarth@webkit.org>
-
- Delete Frame::domWindow() and Frame::existingDOMWindow()
- https://bugs.webkit.org/show_bug.cgi?id=93990
-
- Reviewed by Eric Seidel.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::pendingUnloadEventCount):
- * ewk/ewk_frame.cpp:
- (ewk_frame_intent_deliver):
-
-2012-08-13 Tom Sepez <tsepez@chromium.org>
-
- [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
- https://bugs.webkit.org/show_bug.cgi?id=93283
-
- Reviewed by Eric Seidel.
-
- Change the client redirectDataToPlugin method(s) to expect the possibility of
- a NULL argument, keeping existing behaviour otherwise.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::redirectDataToPlugin):
-
-2012-08-12 Krzysztof Czech <k.czech@samsung.com>
-
- [EFL][UT] Delete shutdown method.
- https://bugs.webkit.org/show_bug.cgi?id=90785
-
- Reviewed by Eric Seidel.
-
- EWKTestBase class already has a shutdownAll method that can be used instead of shutdown.
-
- * tests/UnitTestUtils/EWKTestBase.cpp:
- * tests/UnitTestUtils/EWKTestBase.h:
- (EWKTestBase):
-
-2012-08-09 Carlos Garcia Campos <cgarcia@igalia.com>
-
- Handle SSL errors for SOUP
- https://bugs.webkit.org/show_bug.cgi?id=90267
-
- Reviewed by Martin Robinson.
-
- Ignore SSL errors by default for compatibility.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
-
-2012-08-07 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Remove PlatformTouchEventEfl and PlatformTouchPointEfl
- https://bugs.webkit.org/show_bug.cgi?id=93270
-
- Reviewed by Eric Seidel.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_feed_touch_event):
- * ewk/ewk_touch_event.cpp: Added.
- (WebKitPlatformTouchPoint):
- (WebKitPlatformTouchPoint::WebKitPlatformTouchPoint):
- Added to initialize members of PlatformTouchPoint.
- (WebKitPlatformTouchEvent):
- (WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
- Added to initialize members of PlatformTouchEvent.
- (EWKPrivate):
- (EWKPrivate::platformTouchEvent):
- Converted Ewk_Touch_Event to PlatformTouchEvent.
- * ewk/ewk_touch_event_private.h:
- (EWKPrivate):
-
-2012-08-07 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- CUSTOM_SCHEME_HANDLER flag should depend on REGISTER_PROTOCOL_HANDLER
- https://bugs.webkit.org/show_bug.cgi?id=93081
-
- Reviewed by Adam Barth.
-
- CUSTOM_SCHEME_HANDLER #if guards are enclosed in the REGISTER_PROTOCOL_HANDLER guards.
-
- * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp:
- (WebCore::RegisterProtocolHandlerClientEfl::registerProtocolHandler):
- * WebCoreSupport/RegisterProtocolHandlerClientEfl.h:
- * ewk/ewk_custom_handler.cpp:
- (ewk_custom_handler_register_protocol_handler):
- * ewk/ewk_custom_handler_private.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2012-08-06 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] [GTK] Register Protocol Handler Client is never deleted
- https://bugs.webkit.org/show_bug.cgi?id=92745
-
- Reviewed by Gustavo Noronha Silva.
-
- Added usage of OwnPtr to manage register protocol handler client pointer.
-
- * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp:
- (WebCore::RegisterProtocolHandlerClientEfl::create): Factory function returning smart pointer.
- (WebCore):
- * WebCoreSupport/RegisterProtocolHandlerClientEfl.h:
- (RegisterProtocolHandlerClientEfl):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
-
-2012-08-01 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][Regression] Build break with NETSCAPE_PLUGIN_API after r123604
- https://bugs.webkit.org/show_bug.cgi?id=92937
-
- Unreviewed build fix.
-
- r123604 replaced strdup to eina_stringshare, but related codes are not
- changed properly.
- This patch changes remained code to use eina_stringshare.
-
- * ewk/ewk_js.cpp:
- (ewk_js_variant_to_npvariant):
- (ewk_js_property_free):
- (ewk_js_npvariant_to_variant):
- (ewk_js_variant_free):
- (ewk_js_variant_array_free):
- * ewk/ewk_js.h:
-
-2012-07-29 YoungTaeck Song <youngtaeck.song@samsung.com>
-
- [WK2][EFL] TILED_BACKING_STORE support on Efl WebKit2
- https://bugs.webkit.org/show_bug.cgi?id=91582
-
- Reviewed by Noam Rosenthal.
-
- Add a dummy function for fixing building error when enabling TILED_BACKING_STORE.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore):
- (WebCore::ChromeClientEfl::delegatedScrollRequested):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
-
-2012-07-27 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Regression(r123858): Default navigation policy decision was switched to "reject"
- https://bugs.webkit.org/show_bug.cgi?id=92507
-
- Reviewed by Kentaro Hara.
-
- After r92466, the default navigation policy is to reject the request if the
- client does not make a decision explicitly. The default policy should be
- to accept. This broke ewk_view unit tests.
-
- * ewk/ewk_view.cpp:
- (ewk_view_navigation_policy_decision):
-
-2012-07-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Fix wrong return value in EWK_VIEW_XXX macro.
- https://bugs.webkit.org/show_bug.cgi?id=92466
-
- Reviewed by Simon Hausmann.
-
- There are wrong return values in EWK_VIEW_XXX macros. The wrong return values
- should be fixed. In addition, API description is also modified according to returned
- value change.
-
- * ewk/ewk_view.cpp:
- (ewk_view_setting_minimum_timer_interval_get):
- (ewk_view_navigation_policy_decision):
- (ewk_view_page_rect_get):
- (ewk_view_setting_enable_xss_auditor_get):
- * ewk/ewk_view.h:
-
-2012-07-27 Kihong Kwon <kihong.kwon@samsung.com>
-
- [EFL] Change prototype of run_open_panel
- https://bugs.webkit.org/show_bug.cgi?id=91956
-
- Reviewed by Kentaro Hara.
-
- In order to support all of the file chooser attributes,
- change the types of parameters in run_open_panel method.
- i.e., change "Eina_Bool allows_multiple_files, Eina_List *accept_types"
- to "Ewk_File_Chooser *file_chooser"
- In addition, Efl can support the capture attribute for HTML media capture.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::runOpenPanel):
- * ewk/ewk_view.cpp:
- (ewk_view_run_open_panel):
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h:
-
-2012-07-26 Seokju Kwon <seokju.kwon@samsung.com>
-
- [EFL] Highlight the element under mouse on web inspector
- https://bugs.webkit.org/show_bug.cgi?id=91592
-
- Reviewed by Kentaro Hara.
-
- Implement highlighting the nodes when using the web inspector.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorClientEfl::highlight):
- (WebCore::InspectorClientEfl::hideHighlight):
- (WebCore::InspectorClientEfl::invalidateView):
- (WebCore):
- * WebCoreSupport/InspectorClientEfl.h:
- (InspectorClientEfl):
- * ewk/ewk_paint_context.cpp:
- (ewk_paint_context_paint_contents):
-
-2012-07-26 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL][WK2] Implement Network Information provider
- https://bugs.webkit.org/show_bug.cgi?id=92343
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Make NetworkInfoClientEfl use NetworkInfoProviderEfl
- from WebCore to avoid code duplication with WebKit2.
-
- * WebCoreSupport/NetworkInfoClientEfl.cpp:
- (WebCore::NetworkInfoClientEfl::startUpdating):
- (WebCore::NetworkInfoClientEfl::stopUpdating):
- (WebCore::NetworkInfoClientEfl::bandwidth):
- (WebCore::NetworkInfoClientEfl::metered):
- (WebCore):
- * WebCoreSupport/NetworkInfoClientEfl.h:
- (WebCore):
- (NetworkInfoClientEfl):
-
-2012-07-26 Zoltan Nyul <zoltan.nyul@intel.com>
-
- [EFL] EFL port should use XDG paths
- https://bugs.webkit.org/show_bug.cgi?id=91719
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Using xdg paths instead of home/.webkit directory for application
- cache, web-database and local-storage.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
-
-2012-07-26 Kaustubh Atrawalkar <kaustubh@motorola.com>
-
- [DRT] LTC:: pageNumberForElementById() could be moved to Internals
- https://bugs.webkit.org/show_bug.cgi?id=92091
-
- Reviewed by Adam Barth.
-
- Move the pageNumberForElementById from LayoutTestCotroller to Internals and
- remove the old platform specific implementations as it exclusively tests WebCore functionality.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
-
-2012-07-25 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Use eina_stringshare_add instead of strdup.
- https://bugs.webkit.org/show_bug.cgi?id=92072
-
- Reviewed by Kentaro Hara.
-
- Eina of EFL libraries supports a string functionality that replaces strdup. So, EFL port needs
- to replace strdup with eina_stringshare_add function.
-
- In addition, some API descriptions need to be modified according to ewk APIs's parameter and
- return type change.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::runJavaScriptPrompt):
- * ewk/ewk_cookies.cpp:
- (ewk_cookies_get_all):
- (ewk_cookies_cookie_free):
- * ewk/ewk_cookies.h:
- * ewk/ewk_frame.cpp:
- (ewk_frame_script_execute):
- (ewk_frame_selection_get):
- (ewk_frame_resources_location_get):
- (ewk_frame_plain_text_get):
- * ewk/ewk_frame.h:
- * ewk/ewk_intent.cpp:
- (ewk_intent_suggestions_get):
- (ewk_intent_extra_get):
- (ewk_intent_extra_names_get):
- * ewk/ewk_intent.h:
- * ewk/ewk_js.cpp:
- (ewk_js_variant_to_npvariant):
- (ewk_js_object_new):
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_run_javascript_prompt):
- (ewk_view_selection_get):
- (ewk_view_run_javascript_prompt):
- (ewk_view_run_open_panel):
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h:
-
-2012-07-25 Kihong Kwon <kihong.kwon@samsung.com>
-
- [EFL] Add File Chooser API
- https://bugs.webkit.org/show_bug.cgi?id=91957
-
- Reviewed by Hajime Morita.
-
- Add APIs for file chooser. These APIs allow an application(like a browser) queries informations
- about multiple files allowed, directory upload allowed, accept mimetypes list,
- accept file extentions list, selected files list and capture to support HTML media capture.
-
- * ewk/EWebKit.h:
- * ewk/ewk_file_chooser.cpp: Added.
- (_Ewk_File_Chooser):
- (ewk_file_chooser_allows_multiple_files_get):
- (ewk_file_chooser_allows_directory_upload_get):
- (ewk_file_chooser_accept_mimetypes_get):
- (ewk_file_chooser_accept_file_extentions_get):
- (ewk_file_chooser_selected_files_get):
- (ewk_file_chooser_capture_get):
- (ewk_file_chooser_new):
- (ewk_file_chooser_free):
- * ewk/ewk_file_chooser.h: Added.
- * ewk/ewk_file_chooser_private.h: Added.
- (WebCore):
-
-2012-07-23 Pierre Rossi <pierre.rossi@gmail.com>
-
- Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
- https://bugs.webkit.org/show_bug.cgi?id=91006
-
- Reviewed by Ryosuke Niwa.
-
- Removed numTouchEventHandlersChanged stub.
-
- * WebCoreSupport/ChromeClientEfl.h:
-
-2012-07-22 Kent Tamura <tkent@chromium.org>
-
- Rename ENABLE_METER_TAG and ENABLE_PROGRESS_TAG to ENABLE_METER_ELEMENT and ENABLE_PROGRESS_ELEMENT respectively
- https://bugs.webkit.org/show_bug.cgi?id=91941
-
- Reviewed by Kentaro Hara.
-
- A flag name for an elmement should be ENABLE_*_ELEMENT.
-
- * DefaultTheme/default.edc:
-
-2012-07-20 Kihong Kwon <kihong.kwon@samsung.com>
-
- [EFL] Remove unused headers from ewk_security_origin
- https://bugs.webkit.org/show_bug.cgi?id=91914
-
- Reviewed by Noam Rosenthal.
-
- There are some unused header in the ewk_security_origin.h/cpp
- We need to remove them.
-
- * ewk/ewk_security_origin.cpp:
- * ewk/ewk_security_origin.h:
-
-2012-07-20 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Proxy configuration should honor the no_proxy environment variable
- https://bugs.webkit.org/show_bug.cgi?id=91747
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Use the new custom proxy resolver from WebCore in
- WebKit1-EFL's ewk_network_proxy_uri_set() / get(),
- instead of the less flexible SOUP_SESSION_PROXY_URI
- SoupSession property.
-
- * ewk/ewk_network.cpp:
- (ewk_network_proxy_uri_set):
- (ewk_network_proxy_uri_get):
-
-2012-07-20 Thiago Marcos P. Santos <thiago.santos@intel.com>
-
- [EFL] Fix build when protocol handler and custom scheme is disabled
- https://bugs.webkit.org/show_bug.cgi?id=91840
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Fixed namespace closing bracket positioning.
-
- * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp:
- (WebCore):
-
-2012-07-20 Kihong Kwon <kihong.kwon@samsung.com>
-
- [EFL] Check parameters of ewk APIs in ewk_security_origin
- https://bugs.webkit.org/show_bug.cgi?id=91833
-
- Reviewed by Kentaro Hara.
-
- For preventing crash, check parameters of ewk APIs in the ewk_security_origin.cpp.
-
- * ewk/ewk_security_origin.cpp:
- (ewk_security_origin_port_get):
- (ewk_security_origin_web_database_usage_get):
- (ewk_security_origin_web_database_quota_get):
- (ewk_security_origin_web_database_quota_set):
- (ewk_security_origin_application_cache_quota_set):
- (ewk_security_origin_application_cache_clear):
- (ewk_security_origin_web_database_get_all):
- (ewk_security_origin_free):
- * ewk/ewk_security_origin.h:
-
-2012-07-19 Kihong Kwon <kihong.kwon@samsung.com>
-
- [EFL] Enable interactive form validation
- https://bugs.webkit.org/show_bug.cgi?id=91711
-
- Reviewed by Ryosuke Niwa.
-
- Enable interactive form validation on the Efl.
- This makes we can validate data at form elements.
- In addition, it is already enabled in the DRT.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2012-07-18 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Add central error management to EFL port
- https://bugs.webkit.org/show_bug.cgi?id=91598
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Make use of ErrorsEfl header from WebCore in
- EFL's FrameLoaderClient now that we have
- a central place for errors.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::cancelledError):
- (WebCore::FrameLoaderClientEfl::blockedError):
- (WebCore::FrameLoaderClientEfl::cannotShowURLError):
- (WebCore::FrameLoaderClientEfl::interruptedForPolicyChangeError):
- (WebCore::FrameLoaderClientEfl::cannotShowMIMETypeError):
- (WebCore::FrameLoaderClientEfl::fileDoesNotExistError):
- (WebCore::FrameLoaderClientEfl::pluginWillHandleLoadError):
- (WebCore::FrameLoaderClientEfl::shouldFallBack):
-
-2012-07-18 Seokju Kwon <seokju.kwon@samsung.com>
-
- [EFL][DRT] Add support for Web Inspector in WebKit-EFL DRT
- https://bugs.webkit.org/show_bug.cgi?id=87935
-
- Reviewed by Andreas Kling.
-
- Add implementation of DumpRenderTreeSupportEfl::evaluateInWebInspector().
- Some scripts for test should be evaluated in frontend.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateInWebInspector):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-07-17 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Replace 0 by NULL in public headers documentation
- https://bugs.webkit.org/show_bug.cgi?id=91470
-
- Reviewed by Dirk Pranke.
-
- Use NULL instead of 0 for pointer types in public
- C headers.
-
- * ewk/ewk_contextmenu.h:
- * ewk/ewk_cookies.h:
- * ewk/ewk_frame.h:
- * ewk/ewk_intent.h:
- * ewk/ewk_intent_request.h:
- * ewk/ewk_network.h:
- * ewk/ewk_security_origin.h:
- * ewk/ewk_settings.h:
- * ewk/ewk_view.h:
- * ewk/ewk_window_features.h:
-
-2012-07-17 Vivek Galatage <vivekgalatage@gmail.com>
-
- Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
- https://bugs.webkit.org/show_bug.cgi?id=91196
-
- Reviewed by Pavel Feldman.
-
- Refactoring InspectorClients. InspectorClient::openInspectorFrontend
- now returning the InspectorFrontendChannel.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorClientEfl::openInspectorFrontend):
- * WebCoreSupport/InspectorClientEfl.h:
- (InspectorClientEfl):
-
-2012-07-17 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Move codes related to theme setting from Widget to RenderTheme
- https://bugs.webkit.org/show_bug.cgi?id=89842
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_view_create_for_view): Removed codes which set theme in FrameView.
- * ewk/ewk_view.cpp:
- (ewk_view_theme_set): Called RenderThemeEfl::setThemePath instead of setting theme in FrameView.
-
-2012-07-16 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Add RegisterProtocolHandlerClient to the Modules/protocolhandler
- https://bugs.webkit.org/show_bug.cgi?id=90940
-
- Reviewed by Hajime Morita.
-
- As a step to let protocol handler be moved to the modules, RegisterProtocolHandlerClient needs
- to be added to the Modules/protocolhandler. Because ChromeClient has some virtual functions for
- protocol handlers, virtual functions should be moved to RegisterProtocolHandlerClient
-
- In order to support this, RegisterProtocolHandlerClientEfl class is added and ewk_view registers
- RegisterProtocolHandlerClientEfl. In addition, existing concrete functions in ChromeClientEfl are moved
- to RegisterProtocolHandlerClientEfl.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore):
- * WebCoreSupport/ChromeClientEfl.h:
- * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp: Added.
- (WebCore):
- (WebCore::customHandlerDataCreate):
- (WebCore::customHandlerDataDelete):
- (WebCore::RegisterProtocolHandlerClientEfl::RegisterProtocolHandlerClientEfl):
- (WebCore::RegisterProtocolHandlerClientEfl::registerProtocolHandler):
- (WebCore::RegisterProtocolHandlerClientEfl::isProtocolHandlerRegistered):
- (WebCore::RegisterProtocolHandlerClientEfl::unregisterProtocolHandler):
- * WebCoreSupport/RegisterProtocolHandlerClientEfl.h: Added.
- (RegisterProtocolHandlerClientEfl):
- (WebCore::RegisterProtocolHandlerClientEfl::~RegisterProtocolHandlerClientEfl):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2012-07-16 Kihong Kwon <kihong.kwon@samsung.com>
-
- Remove setController from BatteryClient
- https://bugs.webkit.org/show_bug.cgi?id=90944
-
- Reviewed by Adam Barth.
-
- BatteryClient doesn't need to keep m_controller,
- because BatteryController can be accessed using BatteryController::from().
- Remove m_controller and Add ewk view evas object to BatteryClientEfl.
- And change all m_controller to BatteryController::from.
-
- * WebCoreSupport/BatteryClientEfl.cpp:
- (BatteryClientEfl::BatteryClientEfl):
- (BatteryClientEfl::didChangeBatteryStatus):
- * WebCoreSupport/BatteryClientEfl.h:
- (BatteryClientEfl):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2012-07-15 Kihong Kwon <kihong.kwon@samsung.com>
-
- [EFL] Add a API for getting security origin string
- https://bugs.webkit.org/show_bug.cgi?id=90936
-
- Reviewed by Ryosuke Niwa.
-
- Support to change from Ewk_Security_Origin to string on the API level.
- Add ewk_security_origin_string_get for getting security origin string.
-
- * ewk/ewk_security_origin.cpp:
- (_Ewk_Security_Origin):
- (ewk_security_origin_string_get):
- (ewk_security_origin_free):
- (ewk_security_origin_new):
- * ewk/ewk_security_origin.h:
-
-2012-07-15 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Move files guarded by #ifdef to existing file list.
- https://bugs.webkit.org/show_bug.cgi?id=91336
-
- Reviewed by Ryosuke Niwa.
-
- Some EFL files are already guared by #ifdef. So, cmake files doesn't need to guard
- them again. In addition, some files are missing #ifdef guard its header files.
-
- * WebCoreSupport/DeviceMotionClientEfl.h:
- * WebCoreSupport/InspectorClientEfl.h:
- * WebCoreSupport/NetworkInfoClientEfl.h:
- * WebCoreSupport/VibrationClientEfl.h:
-
-2012-07-13 Kihong Kwon <kihong.kwon@samsung.com>
-
- [EFL] Add const to the parameter of getters in ewk_security_origin
- https://bugs.webkit.org/show_bug.cgi?id=90954
-
- Reviewed by Kentaro Hara.
-
- Move initialization of strings for protocol and host to the ewk_security_origin_new method,
- which allows to add const qualifier for ewk_security_origin_protocol_get and ewk_security_origin_host_get.
- In addition, add null checks to the getters.
-
- * ewk/ewk_security_origin.cpp:
- (ewk_security_origin_protocol_get):
- (ewk_security_origin_host_get):
- (ewk_security_origin_new):
- * ewk/ewk_security_origin.h:
-
-2012-07-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Add *explicit* keyword to constructor which has a parameter
- https://bugs.webkit.org/show_bug.cgi?id=91207
-
- Reviewed by Zoltan Herczeg.
-
- Add *explicit* keyword to contructor which has a parameter in order to avoid implicit type conversion.
-
- * WebCoreSupport/EditorClientEfl.h:
- (EditorClientEfl):
- * WebCoreSupport/InspectorClientEfl.h:
- (InspectorClientEfl):
- * WebCoreSupport/PageClientEfl.h:
- (PageClientEfl):
- * WebCoreSupport/VibrationClientEfl.h:
- (VibrationClientEfl):
-
-2012-07-10 Adam Barth <abarth@webkit.org>
-
- LayoutTestController.dumpConfigurationForViewport should move to Internals
- https://bugs.webkit.org/show_bug.cgi?id=45652
-
- Reviewed by Eric Seidel.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-07-09 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Battery status code needs refactoring to be reused in WebKit2
- https://bugs.webkit.org/show_bug.cgi?id=90760
-
- Reviewed by Hajime Morita.
-
- Add BatteryClientEfl to WebKit, which uses BatteryProviderEfl from
- WebCore internally.
-
- * WebCoreSupport/BatteryClientEfl.cpp: Added.
- (BatteryClientEfl::BatteryClientEfl):
- (BatteryClientEfl::setController):
- (BatteryClientEfl::startUpdating):
- (BatteryClientEfl::stopUpdating):
- (BatteryClientEfl::batteryControllerDestroyed):
- (BatteryClientEfl::didChangeBatteryStatus):
- * WebCoreSupport/BatteryClientEfl.h: Renamed from Source/WebCore/platform/efl/BatteryClientEfl.h.
- (WebCore):
- (BatteryClientEfl):
- (BatteryClientEfl::~BatteryClientEfl):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2012-07-09 Adam Klein <adamk@chromium.org>
-
- Rename WebCore::WebKitMutationObserver to WebCore::MutationObserver
- https://bugs.webkit.org/show_bug.cgi?id=90810
-
- Reviewed by Ojan Vafai.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::deliverAllMutationsIfNecessary):
-
-2012-07-09 Krzysztof Czech <k.czech@samsung.com>
-
- [EFL] Simplify runTest function by defining default arguments.
- https://bugs.webkit.org/show_bug.cgi?id=90525
-
- Reviewed by Chang Shu.
-
- Default arguments will simplify macro RUN_TEST.
- Function will only have one mandatory argument, callback test function.
- Added static modifiers to callback functions.
-
- * tests/UnitTestUtils/EWKTestBase.h:
- (EWKTestBase):
- * tests/test_ewk_view.cpp:
- (ewkViewEditableGetCb):
- (TEST):
- (ewkViewUriGetCb):
-
-2012-07-08 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] REGRESSION (r122035): fullscreen/exit-full-screen-iframe.html is crashing
- https://bugs.webkit.org/show_bug.cgi?id=90735
-
- Reviewed by Antonio Gomes.
-
- Keep a reference to the Element passed to enterFullScreenForElement() so
- that we can reuse it later in exitFullScreenForElement(). This is needed
- because the Element passed to exitFullScreenForElement() may be null.
- This fixes the crash for the fullscreen/exit-full-screen-iframe.html
- test introduced in r122035.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::enterFullScreenForElement):
- (WebCore::ChromeClientEfl::exitFullScreenForElement):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
-
-2012-07-07 Jinwoo Song <jinwoo7.song@samsung.com>
-
- [EFL] Fix build break when Accelerated Compositing is on.
- https://bugs.webkit.org/show_bug.cgi?id=90718
-
- Unreviewed build fix.
-
- ewk_view_accelerated_compositing_XXX APIs are in ewk_view_private.h
-
- * WebCoreSupport/PageClientEfl.cpp:
- (PageClientEfl::createEvasObjectForAcceleratedCompositing):
- (PageClientEfl::acceleratedCompositingContext):
- * WebCoreSupport/PageClientEfl.h:
- (PageClientEfl):
-
-2012-07-06 Seokju Kwon <seokju.kwon@samsung.com>
-
- [EFL] Add Web Inspector to WebKit-EFL
- https://bugs.webkit.org/show_bug.cgi?id=83865
-
- Reviewed by Pavel Feldman.
-
- EFL port implementation for Web Inspector.
- Implementation of InspectorClientEfl and InspectorFrontendClientEfl
- for using the Web Inspector in WebKit-EFL with new EWK APIs.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::notifyWebInspectorDestroy):
- (WebCore):
- (InspectorFrontendSettingsEfl):
- (WebCore::InspectorFrontendSettingsEfl::getProperty):
- (WebCore::InspectorFrontendSettingsEfl::setProperty):
- (WebCore::InspectorClientEfl::InspectorClientEfl):
- (WebCore::InspectorClientEfl::~InspectorClientEfl):
- (WebCore::InspectorClientEfl::inspectorDestroyed):
- (WebCore::InspectorClientEfl::openInspectorFrontend):
- (WebCore::InspectorClientEfl::closeInspectorFrontend):
- (WebCore::InspectorClientEfl::bringFrontendToFront):
- (WebCore::InspectorClientEfl::sendMessageToFrontend):
- (WebCore::InspectorClientEfl::releaseFrontendPage):
- (WebCore::InspectorClientEfl::inspectorFilesPath):
- (WebCore::InspectorFrontendClientEfl::InspectorFrontendClientEfl):
- (WebCore::InspectorFrontendClientEfl::~InspectorFrontendClientEfl):
- (WebCore::InspectorFrontendClientEfl::localizedStringsURL):
- (WebCore::InspectorFrontendClientEfl::hiddenPanels):
- (WebCore::InspectorFrontendClientEfl::bringToFront):
- (WebCore::InspectorFrontendClientEfl::closeWindow):
- (WebCore::InspectorFrontendClientEfl::inspectedURLChanged):
- (WebCore::InspectorFrontendClientEfl::attachWindow):
- (WebCore::InspectorFrontendClientEfl::detachWindow):
- (WebCore::InspectorFrontendClientEfl::setAttachedWindowHeight):
- (WebCore::InspectorFrontendClientEfl::destroyInspectorWindow):
- * WebCoreSupport/InspectorClientEfl.h:
- (WebCore):
- (InspectorClientEfl):
- (InspectorFrontendClientEfl):
- (WebCore::InspectorFrontendClientEfl::disconnectInspectorClient):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (ewk_view_web_inspector_show):
- (ewk_view_web_inspector_close):
- (ewk_view_web_inspector_view_get):
- (ewk_view_web_inspector_view_set):
- * ewk/ewk_view.h:
-
-2012-07-05 Kihong Kwon <kihong.kwon@samsung.com>
-
- [EFL] Change class name from NotificationClientEfl to NotificationPresenterClientEfl.
- https://bugs.webkit.org/show_bug.cgi?id=90542
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Change class name from NotificationClientEfl to NotificationPresenterClientEfl
- to be in line with other ports.(qt, chromium, blackberry)
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * WebCoreSupport/NotificationPresenterClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.cpp.
- (WebCore):
- (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
- (WebCore::NotificationPresenterClientEfl::~NotificationPresenterClientEfl):
- (WebCore::NotificationPresenterClientEfl::show):
- (WebCore::NotificationPresenterClientEfl::cancel):
- (WebCore::NotificationPresenterClientEfl::notificationObjectDestroyed):
- (WebCore::NotificationPresenterClientEfl::notificationControllerDestroyed):
- (WebCore::NotificationPresenterClientEfl::requestPermission):
- (WebCore::NotificationPresenterClientEfl::checkPermission):
- (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
- * WebCoreSupport/NotificationPresenterClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.h.
- (WebCore):
- (NotificationPresenterClientEfl):
-
-2012-07-02 Benjamin Poulain <bpoulain@apple.com>
-
- Do not do any logging initialization when logging is disabled
- https://bugs.webkit.org/show_bug.cgi?id=90228
-
- Reviewed by Simon Fraser.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
-
-2012-07-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Rename NotificationPresenterEfl with NotificationClientEfl
- https://bugs.webkit.org/show_bug.cgi?id=90370
-
- Reviewed by Csaba Osztrogonác.
-
- Bug 80488 renamed NotificationPresenter with NotificationClient. So, EFL port needs to adjust it as well.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * WebCoreSupport/NotificationClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp.
- (WebCore):
- (WebCore::NotificationClientEfl::NotificationClientEfl):
- (WebCore::NotificationClientEfl::~NotificationClientEfl):
- (WebCore::NotificationClientEfl::show):
- (WebCore::NotificationClientEfl::cancel):
- (WebCore::NotificationClientEfl::notificationObjectDestroyed):
- (WebCore::NotificationClientEfl::notificationControllerDestroyed):
- (WebCore::NotificationClientEfl::requestPermission):
- (WebCore::NotificationClientEfl::checkPermission):
- (WebCore::NotificationClientEfl::cancelRequestsForPermission):
- * WebCoreSupport/NotificationClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h.
- (WebCore):
- (NotificationClientEfl):
-
-2012-06-29 Krzysztof Czech <k.czech@samsung.com>, Tomasz Morawski <t.morawski@samsung.com>
-
- [EFL] Implementation of testing framework and unit tests for WebKit-EFL port.
- https://bugs.webkit.org/show_bug.cgi?id=68509
-
- Reviewed by Chang Shu.
-
- Testing framework is based on gtest library. Gtest library is part of the WebKit project. Framework is devided into base part and view part.
- Base part takes care of efl initialization, defines test macros and prepares test to run. View part is a context of each test.
-
- * tests/UnitTestUtils/EWKTestBase.cpp: Added.
- (EWKUnitTests):
- (EWKUnitTests::EWKTestBase::init):
- (EWKUnitTests::EWKTestBase::shutdown):
- (EWKUnitTests::EWKTestBase::shutdownAll):
- (EWKUnitTests::EWKTestBase::startTest):
- (EWKUnitTests::EWKTestBase::endTest):
- (EWKUnitTests::EWKTestBase::createTest):
- (EWKUnitTests::EWKTestBase::runTest):
- * tests/UnitTestUtils/EWKTestBase.h: Added.
- (EWKUnitTests):
- (EWKTestBase):
- * tests/UnitTestUtils/EWKTestConfig.h: Added.
- (Config):
- * tests/UnitTestUtils/EWKTestView.cpp: Added.
- (EWKUnitTests):
- (EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas):
- (EWKUnitTests::EWKTestEcoreEvas::evas):
- (EWKUnitTests::EWKTestEcoreEvas::show):
- (EWKUnitTests::EWKTestView::EWKTestView):
- (EWKUnitTests::EWKTestView::init):
- (EWKUnitTests::EWKTestView::show):
- (EWKUnitTests::EWKTestView::mainFrame):
- (EWKUnitTests::EWKTestView::evas):
- (EWKUnitTests::EWKTestView::bindEvents):
- * tests/UnitTestUtils/EWKTestView.h: Added.
- (EWKUnitTests):
- (EWKTestEcoreEvas):
- (EWKTestView):
- (EWKUnitTests::EWKTestView::webView):
- * tests/resources/default_test_page.html: Added.
- * tests/test_ewk_view.cpp: Added.
- (ewkViewEditableGetCb):
- (TEST):
- (ewkViewUriGetCb):
- * tests/test_runner.cpp: Added.
- (parseCustomArguments):
- (main):
-
-2012-06-29 Konrad Piascik <kpiascik@rim.com>
-
- Don't hardcode target dpi of 160 (it should be 96 on desktop)
- https://bugs.webkit.org/show_bug.cgi?id=88114
-
- Reviewed by Adam Barth.
-
- Updated the call to computeViewportAttributes.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::dumpConfigurationForViewport):
- * ewk/ewk_view.cpp:
- (_ewk_view_viewport_attributes_compute):
-
-2012-06-27 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r121398.
- http://trac.webkit.org/changeset/121398
- https://bugs.webkit.org/show_bug.cgi?id=90136
-
- broke efl build (Requested by ryuan on #webkit).
-
- * tests/UnitTestUtils/EWKTestBase.cpp: Removed.
- * tests/UnitTestUtils/EWKTestBase.h: Removed.
- * tests/UnitTestUtils/EWKTestConfig.h: Removed.
- * tests/UnitTestUtils/EWKTestView.cpp: Removed.
- * tests/UnitTestUtils/EWKTestView.h: Removed.
- * tests/resources/default_test_page.html: Removed.
- * tests/test_ewk_view.cpp: Removed.
- * tests/test_runner.cpp: Removed.
-
-2012-06-27 Krzysztof Czech <k.czech@samsung.com>
-
- [EFL] Implementation of testing framework and unit tests for WebKit-EFL port.
- https://bugs.webkit.org/show_bug.cgi?id=68509
-
- Reviewed by Chang Shu.
-
- Testing framework is based on gtest library. Gtest library is part of the WebKit project. Framework is devided into base part and view part.
- Base part takes care of efl initialization, defines test macros and prepares test to run. View part is a context of each test.
-
- * tests/UnitTestUtils/EWKTestBase.cpp: Added.
- (EWKUnitTests):
- (EWKUnitTests::EWKTestBase::init):
- (EWKUnitTests::EWKTestBase::shutdown):
- (EWKUnitTests::EWKTestBase::shutdownAll):
- (EWKUnitTests::EWKTestBase::startTest):
- (EWKUnitTests::EWKTestBase::endTest):
- (EWKUnitTests::EWKTestBase::createTest):
- (EWKUnitTests::EWKTestBase::runTest):
- * tests/UnitTestUtils/EWKTestBase.h: Added.
- (EWKUnitTests):
- (EWKTestBase):
- * tests/UnitTestUtils/EWKTestConfig.h: Added.
- (Config):
- * tests/UnitTestUtils/EWKTestView.cpp: Added.
- (EWKUnitTests):
- (EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas):
- (EWKUnitTests::EWKTestEcoreEvas::evas):
- (EWKUnitTests::EWKTestEcoreEvas::show):
- (EWKUnitTests::EWKTestView::EWKTestView):
- (EWKUnitTests::EWKTestView::init):
- (EWKUnitTests::EWKTestView::show):
- (EWKUnitTests::EWKTestView::mainFrame):
- (EWKUnitTests::EWKTestView::evas):
- (EWKUnitTests::EWKTestView::bindEvents):
- * tests/UnitTestUtils/EWKTestView.h: Added.
- (EWKUnitTests):
- (EWKTestEcoreEvas):
- (EWKTestView):
- (EWKUnitTests::EWKTestView::webView):
- * tests/resources/default_test_page.html: Added.
- * tests/test_ewk_view.cpp: Added.
- (ewkViewEditableGetCb):
- (TEST):
- (ewkViewUriGetCb):
- * tests/test_runner.cpp: Added.
- (parseCustomArguments):
- (main):
-
-2012-06-25 Mark Hahnenberg <mhahnenberg@apple.com>
-
- JSLock should be per-JSGlobalData
- https://bugs.webkit.org/show_bug.cgi?id=89123
-
- Reviewed by Geoffrey Garen.
-
- Changed all sites that used JSLock to instead use the new JSLockHolder
- and pass in the correct JS context that the code is about to interact with that
- needs protection. Also added a couple JSLocks to places that didn't already
- have it that needed it.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_script_execute):
- * ewk/ewk_view.cpp:
- (ewk_view_js_object_add):
-
-2012-06-26 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Change return type in bandwidth attribute of network information API
- https://bugs.webkit.org/show_bug.cgi?id=89959
-
- Reviewed by Adam Barth.
-
- According to network information API spec, bandwidth attribute should return double type.
- But, existing implementation has used *long* and *unsigned int* types.
-
- * WebCoreSupport/NetworkInfoClientEfl.cpp:
- (WebCore::NetworkInfoClientEfl::bandwidth):
- * WebCoreSupport/NetworkInfoClientEfl.h:
- (NetworkInfoClientEfl):
-
-2012-06-25 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Implement Network Information API
- https://bugs.webkit.org/show_bug.cgi?id=87067
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Implement NetworkInfoClientEfl.cpp using eeze library. However, this patch only
- supports this feature on ethernet interface.
-
- * WebCoreSupport/NetworkInfoClientEfl.cpp:
- (WebCore):
- (WebCore::NetworkInfoClientEfl::NetworkInfoClientEfl):
- (WebCore::NetworkInfoClientEfl::startUpdating):
- (WebCore::NetworkInfoClientEfl::stopUpdating):
- (WebCore::NetworkInfoClientEfl::bandwidth):
- (WebCore::NetworkInfoClientEfl::metered):
- * WebCoreSupport/NetworkInfoClientEfl.h:
- (NetworkInfoClientEfl):
-
-2012-06-23 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r121058.
- http://trac.webkit.org/changeset/121058
- https://bugs.webkit.org/show_bug.cgi?id=89809
-
- Patch causes plugins tests to crash in GTK debug builds
- (Requested by zdobersek on #webkit).
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_script_execute):
- * ewk/ewk_view.cpp:
- (ewk_view_js_object_add):
-
-2012-06-22 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL][WK2] Support keyboard event
- https://bugs.webkit.org/show_bug.cgi?id=89268
-
- Reviewed by Chang Shu.
-
- Extract keyDownCommandsMap and keyPressCommandsMap to share WebKit1/Efl and WebKit2/Efl.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::interpretKeyEvent):
-
-2012-06-20 Mark Hahnenberg <mhahnenberg@apple.com>
-
- JSLock should be per-JSGlobalData
- https://bugs.webkit.org/show_bug.cgi?id=89123
-
- Reviewed by Gavin Barraclough.
-
- Changed all sites that used JSLock to instead use the new JSLockHolder
- and pass in the correct JS context that the code is about to interact with that
- needs protection.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_script_execute):
- * ewk/ewk_view.cpp:
- (ewk_view_js_object_add):
-
-2012-06-22 Amy Ousterhout <aousterh@chromium.org>
-
- Renamed DeviceOrientation to DeviceOrientationData
- https://bugs.webkit.org/show_bug.cgi?id=88663
-
- Reviewed by Steve Block.
-
- Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
- This change makes DeviceOrientationData consistent with DeviceMotionData.
-
- * WebCoreSupport/DeviceOrientationClientEfl.h:
- (DeviceOrientationClientEfl):
-
-2012-06-19 Sergio Villar Senin <svillar@igalia.com>
-
- Calling nativeImageForCurrentFrame() causes assertion failure: m_verifier.isSafeToUse()
- https://bugs.webkit.org/show_bug.cgi?id=67582
-
- Reviewed by David Levin.
-
- Use synchronousNativeIconForPageURL() to retrieve favicons.
-
- * ewk/ewk_history.cpp:
- (ewk_history_item_icon_surface_get):
- (ewk_history_item_icon_object_add):
- * ewk/ewk_settings.cpp:
- (ewk_settings_icon_database_icon_surface_get):
- (ewk_settings_icon_database_icon_object_add):
-
-2012-06-19 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EFL's LayoutTestController does not support setTextDirection
- https://bugs.webkit.org/show_bug.cgi?id=87481
-
- Reviewed by Hajime Morita.
-
- Add new Ewk_View method to set the text direction, by calling
- Editor::setBaseWritingDirection() internally, as Mac and Chromium
- ports do.
-
- * WebCoreSupport/AssertMatchingEnums.cpp:
- * ewk/ewk_view.cpp:
- (ewk_view_text_direction_set):
- * ewk/ewk_view.h:
-
-2012-06-15 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EFL's LayoutTestController does not support titleTextDirection
- https://bugs.webkit.org/show_bug.cgi?id=86475
-
- Reviewed by Hajime Morita.
-
- Emit the "title,changed" signal even if the title direction has
- changed but not its text.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_title_set):
-
-2012-06-14 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Move cursor related code from WidgetEfl to ewk_view and EflScreenUtilities.
- https://bugs.webkit.org/show_bug.cgi?id=88803
-
- Reviewed by Chang Shu.
-
- Because WebProcess can not control cursor,
- setCursor should be passed to ChromeClient like other ports.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::setCursor):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new): Check whether ecore_x can be used.
- (_ewk_view_priv_del):
- (_ewk_view_smart_add):
- Change order of initialization to use base structure in _ewk_view_priv_new.
- (ewk_view_cursor_set): Moved from Widget::applyCursor.
- * ewk/ewk_view_private.h:
- (WebCore):
-
-2012-06-14 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL] [DRT] Implement setDomainRelaxationForbiddenForURLScheme in EFL DRT
- https://bugs.webkit.org/show_bug.cgi?id=84577
-
- Reviewed by Ryosuke Niwa.
-
- Add missing implementation setDomainRelaxationForbiddenForURLScheme to
- EFL's DumpRenderTreeSupport to allow disabling domain relaxation.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setDomainRelaxationForbiddenForURLScheme):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-06-13 Amy Ousterhout <aousterh@chromium.org>
-
- Rename currentDeviceMotion to lastMotion in DeviceMotionClient
- https://bugs.webkit.org/show_bug.cgi?id=88854
-
- Reviewed by Adam Barth.
-
- Rename the function currentDeviceMotion to lastMotion in DeviceMotionClient.
- This makes it consistent with the similar function lastOrientation in DeviceOrientationClient.
-
- * WebCoreSupport/DeviceMotionClientEfl.cpp:
- (WebCore::DeviceMotionClientEfl::lastMotion):
- * WebCoreSupport/DeviceMotionClientEfl.h:
- (DeviceMotionClientEfl):
-
-2012-06-12 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Enable SHADOW_DOM flag
- https://bugs.webkit.org/show_bug.cgi?id=87732
-
- Reviewed by Kentaro Hara.
-
- Add Ewk setting to toggle Shadow DOM support at runtime.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_shadow_dom_enable_get):
- (ewk_settings_shadow_dom_enable_set):
- * ewk/ewk_settings.h:
-
-2012-06-11 Kaustubh Atrawalkar <kaustubh@motorola.com>
-
- [DRT] LTC:: counterValueForElementById() could be moved to Internals.
- https://bugs.webkit.org/show_bug.cgi?id=84406
-
- Reviewed by Hajime Morita.
-
- Move the counterValueForElementById from LayoutTestCotroller to Internals and
- remove the old platform specific implementations as it exclusively tests WebCore functionality.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
-
-2012-06-05 Adam Barth <abarth@webkit.org>
-
- Remove support for target-densitydpi in the viewport meta tag
- https://bugs.webkit.org/show_bug.cgi?id=88047
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2012-06-05 Dongwoo Im <dw.im@samsung.com>
-
- Add 'isProtocolHandlerRegistered' and 'unregisterProtocolHandler'.
- https://bugs.webkit.org/show_bug.cgi?id=73176
-
- Reviewed by Adam Barth.
-
- Two more APIs are added in Custom Scheme Handler specification.
- http://dev.w3.org/html5/spec/Overview.html#custom-handlers
- One is 'isProtocolHandlerRegistered' to query whether the specific URL
- is registered or not.
- The other is 'unregisterProtocolHandler' to remove the registered URL.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::customHandlerDataCreate):
- (WebCore::customHandlerDataDelete):
- (WebCore::ChromeClientEfl::registerProtocolHandler):
- (WebCore):
- (WebCore::ChromeClientEfl::isProtocolHandlerRegistered): Query if the handler is registered.
- (WebCore::ChromeClientEfl::unregisterProtocolHandler): Unregister the registered handler.
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
- * ewk/ewk_custom_handler.cpp:
- (ewk_custom_handler_is_protocol_handler_registered): Query if the handler is registered.
- (ewk_custom_handler_unregister_protocol_handler): Unregister the registered handler.
- * ewk/ewk_custom_handler_private.h: Adds private function.
- * ewk/ewk_view.h: Adds enumeration.
-
-2012-06-04 Tomasz Morawski <t.morawski@samsung.com>
-
- [EFL] Refactor ewk_view_context_paint code.
- https://bugs.webkit.org/show_bug.cgi?id=85588
-
- Reviewed by Hajime Morita.
-
- The main purpose of this change is reduce size of ewk_view.h/cpp files and make use of ewk_view_context_paint
- object by ewk_view_single and ewk_view_tiled instead of direct operations on cairo.
- The code is more objective and looks very simple now.
- Remove ewk_view_context_paint code from ewk_view h/cpp file and move it to separate new ewk_context_paint file.
- The ewk_view_context_paint has been renamed to ewk_context_paint and it is not binded to view on creation time.
-
- * ewk/ewk_paint_context.cpp: Added.
- Functions renamed and moved from ewk_view to ewk_paint_context file.
- (ewk_paint_context_new):
- (ewk_paint_context_from_image_new): New function.
- (ewk_paint_context_from_image_data_new): New function.
- (ewk_paint_context_free):
- (ewk_paint_context_save):
- (ewk_paint_context_restore):
- (ewk_paint_context_clip):
- (ewk_paint_context_scale):
- (ewk_paint_context_translate):
- (ewk_paint_context_paint): Added FrameView parameter.
- (ewk_paint_context_paint_contents): Added FrameView parameter.
- * ewk/ewk_paint_context_private.h: Added.
- (_Ewk_Paint_Context):
- * ewk/ewk_private.h: Functions ewk_view_paint and ewk_view_paint_contents moved from ewk_view.h.
- * ewk/ewk_tiled_backing_store.h: Removed unused include.
- * ewk/ewk_view.cpp: Moved all function releated to paint context object to new ewk_paint_context file.
- (_Ewk_View_Private_Data):
- (ewk_view_paint): Changed function according change in ewk_paint_context_paint function.
- (ewk_view_paint_contents): Changed function according change in ewk_paint_context_paint_contents function.
- * ewk/ewk_view.h: Removed all paint context functions and ewk_view_paint, ewk_view_paint_contents function from
- public API.
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_smart_repaints_process):
- Refactor of _ewk_view_single_smart_repaints_process function.
- Removed goto statements.
- Removed variables declaration from function beginning.
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_render_cb): Make use of ewk_paint_context object instead of direction operation on cairo.
- Looks simpler and more objective.
-
-2012-06-03 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Add ewk_custom_handler_private.h for ewk_custom_handler.cpp
- https://bugs.webkit.org/show_bug.cgi?id=88163
-
- Reviewed by Ryosuke Niwa.
-
- EFL WK1 decided to divide up ewk_private.h into each file's XXX_private.h file
- in order to maintain internal functions more easily. Bug 73176 is adding new
- internal functions to ewk_custom_hanlder.cpp. So, ewk_custom_handler.cpp needs
- to have _private.h file as well.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * ewk/ewk_custom_handler.cpp:
- * ewk/ewk_custom_handler_private.h: Added.
- * ewk/ewk_view_private.h:
-
-2012-06-01 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EFL port does not enable WEB_INTENTS_TAG flag
- https://bugs.webkit.org/show_bug.cgi?id=86866
-
- Reviewed by Adam Barth.
-
- Implement registerIntentService() in EFL's FrameLoaderClient.
- Emit a "intent,service,register" signal on the frame when a new Web
- Intent service registers.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore):
- (WebCore::FrameLoaderClientEfl::registerIntentService):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (FrameLoaderClientEfl):
- * ewk/ewk_frame.cpp:
- (ewk_frame_intent_service_register):
- * ewk/ewk_frame.h:
- * ewk/ewk_frame_private.h:
-
-2012-06-01 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] ewk_intent_data_get() is not needed and can be removed
- https://bugs.webkit.org/show_bug.cgi?id=88072
-
- Reviewed by Adam Barth.
-
- Remove ewk_intent_data_get() method from Ewk_Intent. Intent data is
- serialized and does not need to be publicly exposed. The browser only
- needs action and type to match with services.
-
- * ewk/ewk_intent.cpp:
- (_Ewk_Intent):
- (ewk_intent_action_get):
- (ewk_intent_type_get):
- (ewk_intent_service_get):
- (ewk_intent_free):
- * ewk/ewk_intent.h:
-
-2012-06-01 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EFL's LayoutTestController needs to implement deliverWebIntent
- https://bugs.webkit.org/show_bug.cgi?id=86865
-
- Reviewed by Adam Barth.
-
- Add method on Ewk_Frame to deliver an intent.
- Add helper function to DumpRenderTreeSupportEfl to deliver a Web
- Intent.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::deliverWebIntent):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
- * ewk/ewk_frame.cpp:
- (ewk_frame_intent_deliver):
- * ewk/ewk_frame.h:
-
-2012-06-01 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r119228.
- http://trac.webkit.org/changeset/119228
- https://bugs.webkit.org/show_bug.cgi?id=88098
-
- Caused the EFL debug bot to crash. (Requested by rakuco on
- #webkit).
-
- * ewk/ewk_main.cpp:
- (ewk_init):
-
-2012-06-01 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] [DRT] editing/execCommand/paste-and-match-style-event.html crashes
- https://bugs.webkit.org/show_bug.cgi?id=86961
-
- Reviewed by Csaba Osztrogonác.
-
- Call ecore_x_init() in ewk_init() to initialize the ecore_x library.
- This avoids crashing upong calling WebCore::systemBeep() which uses
- ecore_x_bell() internally.
-
- * ewk/ewk_main.cpp:
- (ewk_init):
-
-2012-06-01 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] New signals in ewk_view to enable global history delegate functionality
- https://bugs.webkit.org/show_bug.cgi?id=86343
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Global history delegate is an interface for WebKit clients to manage their own global history store.
- The new ewk_view signals do the following:
- 1) report that a navigation happened within the view and give the navigation details.
- 2) report that view performed a client redirect and give source and destination uris.
- 3) report that view performed a server redirect and give source and destination uris.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::updateGlobalHistoryRedirectLinks): implementation added.
- (WebCore::FrameLoaderClientEfl::updateGlobalHistory): implementation added.
- * ewk/ewk_view.h: Added new signals and data types.
-
-2012-06-01 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL] Implement PlatformStrategies
- https://bugs.webkit.org/show_bug.cgi?id=86946
-
- Reviewed by Carlos Garcia Campos.
-
- Enable PLATFORM_STRATEGIES for EFL platform.
-
- * WebCoreSupport/PlatformStrategiesEfl.cpp: Added, code was moved
- from platform/PluginDataEfl.
- (PlatformStrategiesEfl::initialize): Initialize platform strategies.
- (PlatformStrategiesEfl::PlatformStrategiesEfl):
- (PlatformStrategiesEfl::createCookiesStrategy): Return this.
- (PlatformStrategiesEfl::createPluginStrategy): Ditto.
- (PlatformStrategiesEfl::createVisitedLinkStrategy): Ditto.
- (PlatformStrategiesEfl::createPasteboardStrategy): Return 0, since
- PasteboardStrategy is only used by mac code for now.
- (PlatformStrategiesEfl::notifyCookiesChanged):
- (PlatformStrategiesEfl::refreshPlugins): Refresh the plugin
- database. Code executes only when NETSCAPE_PLUGIN_API is ON.
- (PlatformStrategiesEfl::getPluginInfo): Initialize plugins and
- populate the given vector with plugins information. Code executes
- only when NETSCAPE_PLUGIN_API is ON.
- (PlatformStrategiesEfl::isLinkVisited): Return whether the given
- hash is a visited link of the page group.
- (PlatformStrategiesEfl::addVisitedLink): Add the given hash to the
- page group visited links.
- * WebCoreSupport/PlatformStrategiesEfl.h: Added.
- (PlatformStrategiesEfl):
- * ewk/ewk_main.cpp: Initialize PlatformStrategiesEfl.
- (_ewk_init_body):
-
-2012-05-31 Alexander Shalamov <alexander.shalamov@intel.com>
-
- [EFL] <input type="number"> is not a spinbutton
- https://bugs.webkit.org/show_bug.cgi?id=86846
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Implemented spinner widget.
-
- * DefaultTheme/default.edc:
- * DefaultTheme/widget/spinner/sp_bg.png: Added.
- * DefaultTheme/widget/spinner/sp_down_default.png: Added.
- * DefaultTheme/widget/spinner/sp_down_hover.png: Added.
- * DefaultTheme/widget/spinner/sp_down_pressed.png: Added.
- * DefaultTheme/widget/spinner/sp_up_default.png: Added.
- * DefaultTheme/widget/spinner/sp_up_hover.png: Added.
- * DefaultTheme/widget/spinner/sp_up_pressed.png: Added.
- * DefaultTheme/widget/spinner/spinner.edc: Added.
-
-2012-05-31 Hajime Morrita <morrita@chromium.org>
-
- REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
- https://bugs.webkit.org/show_bug.cgi?id=86859
-
- Reviewed by Ryosuke Niwa.
-
- * WebCoreSupport/EditorClientEfl.h:
- (WebCore::EditorClientEfl::requestCheckingOfString):
-
-2012-05-31 Jussi Kukkonen <jussi.kukkonen@intel.com>
-
- [EFL][DRT] LayoutTestController does not implement clearApplicationCacheForOrigin
- https://bugs.webkit.org/show_bug.cgi?id=86195
-
- Reviewed by Gustavo Noronha Silva.
-
- add new function to clear security origin application cache,
- and a function to create a security origin from url string.
- Reindent the header to match new longer return signature.
-
- * ewk/ewk_security_origin.cpp:
- (ewk_security_origin_application_cache_clear):
- (ewk_security_origin_new_from_string):
- * ewk/ewk_security_origin.h:
-
-2012-05-30 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EFL's DRT should print the number of MessagePorts for new each new intent
- https://bugs.webkit.org/show_bug.cgi?id=86841
-
- Reviewed by Adam Barth.
-
- Add EWKPrivate method to retrieve the internal WebCore object for a Ewk_Intent.
- Add helper function to DumpRenderTreeSupportEfl that returns the MessagePorts
- for a Ewk_Intent object so that the DRT can print information about them.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::intentMessagePorts):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
- (WebCore):
- * ewk/ewk_intent.cpp:
- (EWKPrivate):
- (EWKPrivate::coreIntent):
- * ewk/ewk_intent_private.h:
- (EWKPrivate):
-
-2012-05-30 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Ewk_Intent_Request's postResult/postFailure should take serialized script values in argument
- https://bugs.webkit.org/show_bug.cgi?id=87829
-
- Reviewed by Adam Barth.
-
- Ewk_Intent_Request's postResult/postFailure methods now take
- SerializedScriptValues in argument instead of strings. The client can
- now post results of any type, not just strings, which is according to
- spec. Those methods are now moved to private header and a helper
- function was added to DumpRenderTreeSupportEfl so that the DRT can
- still send intent results.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::sendWebIntentResponse):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
- * ewk/ewk_intent_private.h:
- (WebCore):
- * ewk/ewk_intent_request.cpp:
- (ewk_intent_request_result_post):
- (ewk_intent_request_failure_post):
- * ewk/ewk_intent_request.h:
-
-2012-05-29 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Compilation warning in DumpRenderTreeView.cpp
- https://bugs.webkit.org/show_bug.cgi?id=87636
-
- Reviewed by Filip Pizlo.
-
- Fix return type of exceeded_application_cache_quota callback, it
- should be int64_t, not uint64_t.
-
- * ewk/ewk_view.h:
-
-2012-05-25 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
-
- WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
- https://bugs.webkit.org/show_bug.cgi?id=42328
-
- Reviewed by Eric Seidel.
-
- Removed unneeded setJavaScriptProfilingEnabled function from DRT after its
- move to windows.internals.settings.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-25 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] API for PageGroup visited links hash populating
- https://bugs.webkit.org/show_bug.cgi?id=86370
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Added "populate,visited,links" ewk_view signal that tells to the client managing
- persistent history storage to fill the visited links cache.
- Added API for the PageGroup visited links hash populating.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::populateVisitedLinks): Implementation added (sends notification).
- (WebCore):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (ewk_view_visited_link_add): PageGroup visited links hash populating.
- * ewk/ewk_view.h:
-
-2012-05-24 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL][DRT] LayoutTestController's setCacheModel() implementation
- https://bugs.webkit.org/show_bug.cgi?id=86840
-
- Reviewed by Csaba Osztrogonác.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setDeadDecodedDataDeletionInterval): Aux wrapper function for DRT.
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-24 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EFL's LayoutTestController needs to implement sendWebIntentResponse
- https://bugs.webkit.org/show_bug.cgi?id=86867
-
- Reviewed by Adam Barth.
-
- ewk_intent_request_failure_post() should call
- WebCore::IntentRequest::postFailure(), not
- WebCore::IntentRequest::postResult().
-
- * ewk/ewk_intent_request.cpp:
- (ewk_intent_request_failure_post):
-
-2012-05-24 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] The EFL port has no support for title directionality
- https://bugs.webkit.org/show_bug.cgi?id=86462
-
- Reviewed by Gustavo Noronha Silva.
-
- Define a new Ewk_Text_With_Direction type to store the direction of
- the text along with the text itself. This is needed to support text
- directionality in EFL port.
-
- Use the new Ewk_Text_With_Direction type for the frame title. Updated
- "title,changed" signal, title getter/setter and Ewk_Hit_Test struct.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveTitle):
- * ewk/ewk_frame.cpp:
- (Ewk_Frame_Smart_Data):
- (_ewk_frame_smart_del):
- (ewk_frame_title_get):
- (ewk_frame_hit_test_free):
- (ewk_frame_hit_test_new):
- (ewk_frame_title_set):
- * ewk/ewk_frame.h:
- * ewk/ewk_frame_private.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (ewk_view_title_get):
- (ewk_view_title_set):
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h:
-
-2012-05-23 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EFL's DRT does not print didFailProvisionalLoadWithError messages
- https://bugs.webkit.org/show_bug.cgi?id=85956
-
- Reviewed by Gustavo Noronha Silva.
-
- Add new "load,provisional,failed" signal on the frame and the view to
- complement the "load,provisional" one.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidFailProvisionalLoad):
- * ewk/ewk_frame.cpp:
- (ewk_frame_load_provisional_failed):
- * ewk/ewk_frame.h:
- * ewk/ewk_frame_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_load_provisional_failed):
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h:
-
-2012-05-23 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EFL's DRT needs to call Settings::setValidationMessageTimerMagnification(-1)
- https://bugs.webkit.org/show_bug.cgi?id=86366
-
- Reviewed by Antonio Gomes.
-
- Add helper function to DumpRenderTreeSupportEfl to set the validation
- message timer magnification.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setValidationMessageTimerMagnification):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-22 Dongwoo Im <dw.im@samsung.com>
-
- [EFL] Implements the registerProtocolHandler method and option.
- https://bugs.webkit.org/show_bug.cgi?id=73638
-
- Reviewed by Andreas Kling.
-
- The registerProtocolHandler() method allows Web sites to register themselves
- as possible handlers for particular schemes.
-
- http://dev.w3.org/html5/spec/Overview.html#dom-navigator-registerprotocolhandler
-
- * WebCoreSupport/ChromeClientEfl.cpp: Adds a new function.
- (WebCore):
- (WebCore::customHandlersDataCreate): Creates and fills the data object.
- (WebCore::customHandlersDataDelete): Deletes the data object.
- (WebCore::ChromeClientEfl::registerProtocolHandler): Registers a protocol and the handler of it.
- * WebCoreSupport/ChromeClientEfl.h: Adds a prototype.
- (ChromeClientEfl):
- * ewk/ewk_custom_handlers.cpp: Added.
- (ewk_custom_handlers_register_protocol_handler):
- * ewk/ewk_view.h: Adds Data structure.
- * ewk/ewk_view_private.h: Adds private function.
-
-2012-05-22 Kangil Han <kangil.han@samsung.com>
-
- [EFL][DRT] Implement touch event
- https://bugs.webkit.org/show_bug.cgi?id=86720
-
- Reviewed by Hajime Morita.
-
- Currently EFL DRT doesn't support touch event.
- Therefore, this patch enabled it and implemented some eventSender function callbacks.
-
- * ewebkit.pc.in:
- * ewk/ewk_frame.cpp:
- (ewk_frame_feed_touch_event):
- * ewk/ewk_frame.h:
-
-2012-05-22 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EFL's DRT needs to print information about received Web Intents
- https://bugs.webkit.org/show_bug.cgi?id=86864
-
- Reviewed by Adam Barth.
-
- * ewk/ewk_intent.cpp:
- (ewk_intent_suggestions_get): Add function to retrieve suggested
- service URLs for an intent.
- (ewk_intent_extra_names_get): Add function to retrieve names of
- extra metadata for an intent.
- (ewk_intent_new): Correctly initialize Ewk_Intent members to avoid
- crashes.
- (ewk_intent_free): Unref shared strings.
- * ewk/ewk_intent.h:
-
-2012-05-22 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL] Add support to enable/disable DOM paste
- https://bugs.webkit.org/show_bug.cgi?id=85040
-
- Reviewed by Gustavo Noronha Silva.
-
- Add support to enable/disable DOM paste setting so that document.execCommand()
- allows paste command when this setting is enabled. Also, update documentation
- for scripts_can_access_clipboard setting in ewk_view.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_setting_scripts_can_access_clipboard_set):
- * ewk/ewk_view.h:
-
-2012-05-21 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] Clients should be able to set page cache capacity.
- https://bugs.webkit.org/show_bug.cgi?id=86960
-
- Reviewed by Csaba Osztrogonác.
-
- Exported memory page cache capacity getter and setter functions.
- Those will be used both by clients and DRT Layout Test Controller.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_page_cache_capacity_get):
- (ewk_settings_page_cache_capacity_set):
- * ewk/ewk_settings.h:
-
-2012-05-21 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
-
- Move setEditingBehavior() from layoutTestController to window.internals
- https://bugs.webkit.org/show_bug.cgi?id=42689
-
- Reviewed by Hajime Morita and Kenneth Rohde Christiansen.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-21 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Minor style fixes in web intents code are needed
- https://bugs.webkit.org/show_bug.cgi?id=86986
-
- Reviewed by Adam Barth.
-
- * ewk/EWebKit.h: Add new intent headers.
- * ewk/ewk_frame.h: Add missing underscores to EwkIntentRequest type.
-
-2012-05-20 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] ewk_view navigation_policy_decision() input parameters should be extended
- https://bugs.webkit.org/show_bug.cgi?id=85048
-
- Reviewed by Antonio Gomes.
-
- Introduced new enum Ewk_Navigation_Type cloning WebCore::NavigationType.
- Extended ewk_view navigation_policy_decision() input parameters with new
- navigationType parameter. This paramater gives more data for making a
- navigation policy decision and also provides dumping necessary for many Layout
- testcases.
-
- * WebCoreSupport/AssertMatchingEnums.cpp:
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
- * ewk/ewk_frame.h:
- * ewk/ewk_view_private.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (ewk_view_navigation_policy_decision):
- * ewk/ewk_view.h:
-
-2012-05-18 Raphael Kubo da Costa <rakuco@webkit.org>
-
- [EFL][DRT] Make it possible to enable CSS Grid Layout.
- https://bugs.webkit.org/show_bug.cgi?id=86921
-
- Reviewed by Tony Chang.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-18 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Web Intents code is not compiling
- https://bugs.webkit.org/show_bug.cgi?id=85364
-
- Reviewed by Adam Barth.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp: Add missing header include.
- * ewk/ewk_intent_private.h: Ditto.
- * ewk/ewk_intent_request.cpp:
- (ewk_intent_request_new): Do not PassRefPtr after it becomes 0.
-
-2012-05-18 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Default values for ewk_view video tracks settings should be documented
- https://bugs.webkit.org/show_bug.cgi?id=85169
-
- Reviewed by Antonio Gomes.
-
- Document default values for video tracks settings in ewk_view.
-
- * ewk/ewk_view.h:
-
-2012-05-18 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] Text input events are emitted for nodes that do not allow editing.
- https://bugs.webkit.org/show_bug.cgi?id=86836
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Text input events are not anymore emitted for nodes that do not allow editing.
- This can be checked with fast/events/key-events-in-input-button.html test output.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::handleEditingKeyboardEvent): Returns false if the node cannot edit.
-
-2012-05-18 MORITA Hajime <morrita@google.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=85515
- Stale frame in WebCore::SpellChecker::didCheckSucceeded
-
- Reviewed by Ryosuke Niwa.
-
- * WebCoreSupport/EditorClientEfl.h:
- (WebCore::EditorClientEfl::frameWillDetachPage):
-
-2012-05-18 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL] DRT needs an implementation of layoutTestController.setSerializeHTTPLoads
- https://bugs.webkit.org/show_bug.cgi?id=86101
-
- Reviewed by Ryosuke Niwa.
-
- Add missing implementation setSerializeHTTPLoads to EFL's
- DumpRenderTreeSupport to allow testing resource load order.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setSerializeHTTPLoads):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-18 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] appcache tests are flaky
- https://bugs.webkit.org/show_bug.cgi?id=86619
-
- Reviewed by Ryosuke Niwa.
-
- No longer set the application cache path in ewk_main since the
- path can only be set once and this prevents DRT (or apps) to set
- it. Update the ewk_settings documentation to reflect these
- changes.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
- * ewk/ewk_settings.h:
-
-2012-05-18 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Add simple implementation of Web Intents
- https://bugs.webkit.org/show_bug.cgi?id=86354
-
- Reviewed by Eric Seidel.
-
- Add new EFL wrappers for WebCore's Intent and IntentRequest.
- Implement dispatchIntent() in EFL's FrameLoaderClient and emit a new
- "intent,new" signal on the frame to notify clients of new intent
- requests.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore):
- (WebCore::FrameLoaderClientEfl::dispatchIntent):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (FrameLoaderClientEfl):
- * ewk/ewk_frame.cpp:
- (ewk_frame_intent_new):
- * ewk/ewk_frame.h:
- * ewk/ewk_frame_private.h:
- * ewk/ewk_intent.cpp: Added.
- (_Ewk_Intent):
- (ewk_intent_action_get):
- (ewk_intent_type_get):
- (ewk_intent_data_get):
- (ewk_intent_service_get):
- (ewk_intent_extra_get):
- (ewk_intent_new):
- (ewk_intent_free):
- * ewk/ewk_intent.h: Added.
- * ewk/ewk_intent_private.h: Added.
- (WebCore):
- * ewk/ewk_intent_request.cpp: Added.
- (_Ewk_Intent_Request):
- (ewk_intent_request_ref):
- (ewk_intent_request_unref):
- (ewk_intent_request_intent_get):
- (ewk_intent_request_result_post):
- (ewk_intent_request_failure_post):
- (ewk_intent_request_new):
- * ewk/ewk_intent_request.h: Added.
-
-2012-05-17 Raphael Kubo da Costa <rakuco@webkit.org>
-
- [EFL][DRT] Call resetInternalsObject() after each test.
- https://bugs.webkit.org/show_bug.cgi?id=86793
-
- Reviewed by Antonio Gomes.
-
- We need to reset the internals object's settings after running
- each test so that there are no interferences between each test's
- results.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::globalContextRefForFrame):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-17 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- Memory leak in NetworkInfoClient
- https://bugs.webkit.org/show_bug.cgi?id=86603
-
- Reviewed by Adam Barth.
-
- Fix a memory leak in NetworkInfoClient by using OwnPtr and making
- the client to be owned by the View.
-
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
-
-2012-05-17 Hironori Bono <hbono@chromium.org>
-
- [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
- https://bugs.webkit.org/show_bug.cgi?id=86591
-
- Reviewed by Ryosuke Niwa.
-
- This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
- function to remove platform-specific code from Editor::respondToChangedSelection
- function.
-
- No new tests, no change in behavior.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::shouldEraseMarkersAfterChangeSelection):
- (WebCore):
- * WebCoreSupport/EditorClientEfl.h:
- (EditorClientEfl):
-
-2012-05-17 Thiago Marcos P. Santos <thiago.santos@intel.com>
-
- [EFL] Add API for Web Database handling
- https://bugs.webkit.org/show_bug.cgi?id=85178
-
- Reviewed by Antonio Gomes.
-
- Add API for Web Database. This API will allow a browser
- to query information about size, name, filename and remove
- databases based on the origin. It will be also possible to
- list all databases for a given origin.
-
- * ewk/EWebKit.h:
- * ewk/ewk_security_origin.cpp:
- (ewk_security_origin_web_database_get_all):
- * ewk/ewk_security_origin.h:
- * ewk/ewk_settings.cpp:
- * ewk/ewk_settings.h:
- * ewk/ewk_web_database.cpp: Added.
- (_Ewk_Web_Database):
- (ewk_web_database_display_name_get):
- (ewk_web_database_expected_size_get):
- (ewk_web_database_filename_get):
- (ewk_web_database_name_get):
- (ewk_web_database_security_origin_get):
- (ewk_web_database_size_get):
- (ewk_web_database_remove):
- (ewk_web_database_remove_all):
- (ewk_web_database_free):
- (ewk_web_database_list_free):
- (ewk_web_database_new):
- * ewk/ewk_web_database.h: Added.
- * ewk/ewk_web_database_private.h: Copied from Source/WebKit/efl/ewk/EWebKit.h.
- (WebCore):
-
-2012-05-17 Mariusz Grzegorczyk <mariusz.g@samsung.com>
-
- [EFL] [DRT] EFL's DumpRenderTree should support LayoutTestController's dumpEditingCallbacks()
- https://bugs.webkit.org/show_bug.cgi?id=84835
-
- Reviewed by Eric Seidel.
-
- * WebCoreSupport/EditorClientEfl.cpp: Call appropriate callbacks for editing actions.
- (WebCore::EditorClientEfl::shouldDeleteRange):
- (WebCore::EditorClientEfl::shouldBeginEditing):
- (WebCore::EditorClientEfl::shouldEndEditing):
- (WebCore::EditorClientEfl::shouldInsertText):
- (WebCore::EditorClientEfl::shouldChangeSelectedRange):
- (WebCore::EditorClientEfl::shouldApplyStyle):
- (WebCore::EditorClientEfl::didBeginEditing):
- (WebCore::EditorClientEfl::didEndEditing):
- (WebCore::EditorClientEfl::shouldInsertNode):
- * WebCoreSupport/EditorClientEfl.h: Add structures needed by editing callbacks.
- (Ewk_Should_Insert_Node_Event):
- (Ewk_Should_Insert_Text_Event):
- (Ewk_Should_Change_Selected_Range_Event):
- (Ewk_Should_Apply_Style_Event):
-
-2012-05-17 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Do not check NULL pointer allocated by new.
- https://bugs.webkit.org/show_bug.cgi?id=86610
-
- Reviewed by Ryosuke Niwa.
-
- WebKit-Efl doesn't check pointers that are initialized by new.
- Those checks are not needed because new operator doesn't return NULL.
- Only an overloaded version of new returns NULL pointer.
-
- * ewk/ewk_tiled_matrix.cpp:
- (ewk_tile_matrix_entry_new):
- * ewk/ewk_view.cpp:
- (_ewk_view_core_frame_new):
-
-2012-05-17 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] fast/frames/frame-crash-with-page-cache.html is crashing
- https://bugs.webkit.org/show_bug.cgi?id=85879
-
- Reviewed by Noam Rosenthal.
-
- _ewk_frame_smart_del() is considering now that the frame can be present in cache.
- loader()->detachFromParent() is only applied for the main frame.
- loader()->cancelAndClear() is not used anymore.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_smart_del):
-
-2012-05-16 Tomasz Morawski <t.morawski@samsung.com>
-
- [EFL] Restore accidentally changed copyrights.
- https://bugs.webkit.org/show_bug.cgi?id=86471
-
- Reviewed by Antonio Gomes.
-
- Restore accidentally changed copyrights.
-
- * ewk/ewk_js_private.h:
- * ewk/ewk_security_origin_private.h:
- * ewk/ewk_view_private.h:
-
-2012-05-16 Kihong Kwon <kihong.kwon@samsung.com>
-
- [EFL] Support for Battery Status API on the WebKit-Efl
- https://bugs.webkit.org/show_bug.cgi?id=83254
-
- Reviewed by Chang Shu.
-
- The set of e_dbus libraries, e_ukit library in particular, enables to support all types of battery status events (e.g., charging, chargingTime, dischargingTime, level).
-
- * WebCoreSupport/BatteryClientEfl.cpp:
- (WebCore::BatteryClientEfl::BatteryClientEfl):
- (WebCore::BatteryClientEfl::startUpdating):
- (WebCore::BatteryClientEfl::stopUpdating):
- (WebCore::BatteryClientEfl::setBatteryStatus):
- (WebCore):
- (WebCore::BatteryClientEfl::timerFired):
- (WebCore::BatteryClientEfl::getBatteryStatus):
- (WebCore::BatteryClientEfl::setBatteryClient):
- * WebCoreSupport/BatteryClientEfl.h:
- (WebCore::BatteryClientEfl::batteryStatus):
- (BatteryClientEfl):
-
-2012-05-16 Thiago Marcos P. Santos <thiago.santos@intel.com>
-
- [EFL] Fix uninitialized struct member added by r117258
- https://bugs.webkit.org/show_bug.cgi?id=86611
-
- Reviewed by Gustavo Noronha Silva.
-
- When adding a new member to _Ewk_View_Smart_Class,
- EWK_VIEW_SMART_CLASS_VERSION needs to be updated.
-
- * ewk/ewk_view.h:
-
-2012-05-16 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EFL's LayoutTestController does not implement setApplicationCacheOriginQuota
- https://bugs.webkit.org/show_bug.cgi?id=85585
-
- Reviewed by Gustavo Noronha Silva.
-
- Add new function to Ewk_Security_Origin to set the application cache
- quota. Implement reachedApplicationCacheOriginQuota in
- ChromeClientEfl. Add function to the Ewk_View to report that the
- application cache quota was reached.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota):
- * ewk/ewk_security_origin.cpp:
- (ewk_security_origin_application_cache_quota_set):
- * ewk/ewk_security_origin.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (ewk_view_exceeded_application_cache_quota):
- * ewk/ewk_view.h:
- * ewk/ewk_view_private.h:
-
-2012-05-16 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] EFL's LayoutTestController evaluateScriptInIsolatedWorld implementation
- https://bugs.webkit.org/show_bug.cgi?id=83776
-
- Reviewed by Tor Arne Vestbø.
-
- Added helper new function implementing JS script evaluation in an isolated world.
- Worlds are cached by their id.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-16 Michał Pakuła vel Rutka <m.pakula@samsung.com>
-
- [EFL] Add new commands for Ewk_Editor_Command.
- https://bugs.webkit.org/show_bug.cgi?id=74921
-
- Reviewed by Hajime Morita.
-
- Add new commands for Ewk_Editor_Command enum and introduce new table to keep
- enum and string values in sync.
-
- * ewk/ewk_view.cpp: Added a table with EditorCommand struct elements.
- (EditorCommand): Added structure consisting of enum and string value.
- (_Ewk_View_Private_Data):
- (_ewk_view_editor_command_string_get): Added.
- (ewk_view_editor_command_execute):
- * ewk/ewk_view.h: Ewk_Editor_Command enum extended.
-
-2012-05-15 Kihong Kwon <kihong.kwon@samsung.com>
-
- [EFL] Enable Fullscreen API
- https://bugs.webkit.org/show_bug.cgi?id=85870
-
- Reviewed by Antonio Gomes.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::supportsFullScreenForElement):
- Add check routine if the full screen is enabled by page setting.
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- Add full screen setting to be true.
-
-2012-05-15 Tomasz Morawski <t.morawski@samsung.com>
-
- [EFL] Split ewk_private.h file to multiple private files.
- https://bugs.webkit.org/show_bug.cgi?id=84572
-
- Reviewed by Antonio Gomes.
-
- Split ewk_private file to multiple private files.
- Delete ewk_logging.h and ewk_tiled_private.h files and removed tiled_backing_store logging domain.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/EditorClientEfl.cpp:
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- * ewk/ewk_auth.cpp:
- * ewk/ewk_auth_soup.cpp:
- (detach):
- * ewk/ewk_auth_soup_private.h: Renamed from Source/WebKit/efl/ewk/ewk_auth_soup.h.
- * ewk/ewk_contextmenu_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h.
- (WebCore):
- * ewk/ewk_frame.cpp:
- * ewk/ewk_frame_private.h: Added.
- (WebCore):
- (EWKPrivate):
- * ewk/ewk_history.cpp:
- * ewk/ewk_history_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h.
- (WebCore):
- (EWKPrivate):
- * ewk/ewk_js.cpp:
- * ewk/ewk_js_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h.
- (_Ewk_JS_Object):
- * ewk/ewk_main.cpp:
- * ewk/ewk_network.cpp:
- * ewk/ewk_private.h:
- (WebCore):
- * ewk/ewk_security_origin_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h.
- (WebCore):
- * ewk/ewk_settings.cpp:
- * ewk/ewk_settings_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h.
- * ewk/ewk_tiled_backing_store.cpp:
- (_Ewk_Tiled_Backing_Store_Item):
- (ewk_tiled_backing_store_add):
- * ewk/ewk_tiled_backing_store_private.h: Renamed from Source/WebKit/efl/ewk/ewk_tiled_backing_store.h.
- (_Ewk_Tile_Stats):
- (_Ewk_Tile):
- * ewk/ewk_tiled_matrix.cpp:
- * ewk/ewk_tiled_matrix_private.h: Renamed from Source/WebKit/efl/ewk/ewk_tiled_matrix.h.
- * ewk/ewk_tiled_model.cpp:
- (tile_account):
- * ewk/ewk_tiled_model_private.h: Renamed from Source/WebKit/efl/ewk/ewk_tiled_model.h.
- * ewk/ewk_util.cpp:
- * ewk/ewk_util_private.h: Renamed from Source/WebKit/efl/ewk/ewk_util.h.
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- * ewk/ewk_view_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h.
- (WebCore):
- (EWKPrivate):
- * ewk/ewk_view_single.cpp:
- * ewk/ewk_view_tiled.cpp:
- * ewk/ewk_window_features.cpp:
- * ewk/ewk_window_features_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h.
-
-2012-05-14 Raphael Kubo da Costa <rakuco@webkit.org>
-
- [EFL] Remove ewk_view_core_page_get().
- https://bugs.webkit.org/show_bug.cgi?id=86326
-
- Reviewed by Antonio Gomes.
-
- Right now, we have both ewk_view_core_page_get() and
- EWKPrivate::corePage() doing the same thing, but the latter is
- better encapsulated.
-
- Remove the former then.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
- (WebCore::AcceleratedCompositingContext::syncLayersNow): Add
- missing ewk_private.h and use EWKPrivate::corePage().
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::createWindow): Use
- EWKPrivate::corePage().
- * ewk/ewk_private.h: Remove ewk_view_core_page_get() declaration.
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (EWKPrivate::corePage): Fix coding style while here.
-
-2012-05-11 Dominik Röttsches <dominik.rottsches@intel.com>
-
- [EFL][DRT] Input Attribute Placeholder RefTests failing
- https://bugs.webkit.org/show_bug.cgi?id=85603
-
- Reviewed by Hajime Morita.
-
- Removing color classes which we don't need anymore after
- RenderThemeEfl.cpp is less aggressively overriding styling.
-
- * DefaultTheme/default.edc:
-
-2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Move resumeAnimations to use Internals interface
- https://bugs.webkit.org/show_bug.cgi?id=86063
-
- Reviewed by Alexey Proskuryakov.
-
- Remove resumeAnimations functions, because it is able to work in the
- cross-port way through the Internals interface.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-10 Kangil Han <kangil.han@samsung.com>
-
- [EFL][DRT] Editor doesn't cancel composition as change of value
- https://bugs.webkit.org/show_bug.cgi?id=85122
-
- Reviewed by Martin Robinson.
-
- IME composition should be cancelled when the value of input element is changed programmatically.
- However, EFL port doesn't cancel as change of value.
- Therefore, this patch will fix the bug.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::respondToChangedSelection):
-
-2012-05-10 Dominik Röttsches <dominik.rottsches@intel.com>
-
- [EFL][DRT] ewk_view_paint_contents may trigger assertion failure
- https://bugs.webkit.org/show_bug.cgi?id=85058
-
- Reviewed by Gustavo Noronha Silva.
-
- Fixing assertion failure triggered in media/media-fragment cases.
- The assertion is hit because of a race between scheduleRelayout() and
- the EWK's idle tiling painting. This is exposed by test cases
- that rapidly insert child nodes to the document which lead to
- scheduleRelayout() calls. Using the general purpose defensive
- layout function, not causing any extra relayout work if there's
- nothing to be done, but still avoiding the assertion failure if
- layout is needed.
-
- * ewk/ewk_view.cpp:
- (ewk_view_paint):
- (ewk_view_paint_contents):
-
-2012-05-10 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r116633.
- http://trac.webkit.org/changeset/116633
- https://bugs.webkit.org/show_bug.cgi?id=86093
-
- Breaks EFL tests (Requested by kov on #webkit).
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-10 Alexander Shalamov <alexander.shalamov@intel.com>
-
- [EFL] LayoutTestController needs implementation of setTabKeyCyclesThroughElements
- https://bugs.webkit.org/show_bug.cgi?id=82864
-
- Reviewed by Gustavo Noronha Silva.
-
- Add missing implementation for setTabKeyCyclesThroughElements to EFL's
- DumpRenderTreeSupport.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setTabKeyCyclesThroughElements):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-10 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL][DRT] Clear added user style sheets before a new testcase execution.
- https://bugs.webkit.org/show_bug.cgi?id=84792
-
- Reviewed by Gustavo Noronha Silva.
-
- Add a helper function for clearing of the added user style sheets.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::clearUserStyleSheets):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-09 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Move suspendAnimations to use Internals interface.
- https://bugs.webkit.org/show_bug.cgi?id=85986
-
- Reviewed by Ryosuke Niwa.
-
- Remove suspendAnimations functions, because it is able to work in the
- cross-port way through the Internals interface.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-09 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL][DRT] EFL's DRT needs to support LayoutTestController.dumpIconChanges()
- https://bugs.webkit.org/show_bug.cgi?id=84435
-
- Reviewed by Antonio Gomes.
-
- Emit a "icon,changed" signal on the frame when its favion changed.
- Clarify that the "icon,loaded" signal is only emitted for the main
- frame.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveIcon):
- (WebCore::FrameLoaderClientEfl::dispatchDidChangeIcons):
- * ewk/ewk_frame.cpp:
- (ewk_frame_icon_changed):
- * ewk/ewk_frame.h:
- * ewk/ewk_private.h:
-
-2012-05-09 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL][DRT] LayoutTestController addUserScript implementation
- https://bugs.webkit.org/show_bug.cgi?id=84718
-
- Reviewed by Antonio Gomes.
-
- Added helper functions for adding/clearing of user scripts.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::addUserScript):
- (DumpRenderTreeSupportEfl::clearUserScripts):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-08 Kangil Han <kangil.han@samsung.com>
-
- [EFL][DRT] Implement TextInputController.
- https://bugs.webkit.org/show_bug.cgi?id=78559
-
- Reviewed by Martin Robinson.
-
- TextInputController has been created for an input emulation purpose in DRT.
- However, not like other ports, EFL doesn't have it.
- Therefore, this patch will enable EFL port to have an input emulation in DRT.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setComposition):
- (DumpRenderTreeSupportEfl::hasComposition):
- (DumpRenderTreeSupportEfl::compositionRange):
- (DumpRenderTreeSupportEfl::confirmComposition):
- (DumpRenderTreeSupportEfl::firstRectForCharacterRange):
- (DumpRenderTreeSupportEfl::selectedRange):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-04-23 Raphael Kubo da Costa <rakuco@webkit.org>
-
- [EFL] Pass a WTF::String directly from DRT to ewebkit when possible
- https://bugs.webkit.org/show_bug.cgi?id=84634
-
- Reviewed by Gustavo Noronha Silva.
-
- Drop unnecessary const char* -> WTF::String conversions by
- creating String objects directly in LayoutTestController out of
- JSStringRef's and passing them to DumpRenderTreeSupportEfl.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setValueForUser):
- (DumpRenderTreeSupportEfl::addUserStyleSheet):
- (DumpRenderTreeSupportEfl::findString):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-08 Krzysztof Czech <k.czech@samsung.com>
-
- [EFL] Update documentation of ewk_frame_contents_alternate_set and ewk_view_zoom_range_set.
- https://bugs.webkit.org/show_bug.cgi?id=84588
-
- Reviewed by Eric Seidel.
-
- In ewk_frame_contents_alternate_set, param unreachableUri is required, must not be 0.
- In ewk_view_zoom_range_set, function returns EINA_FALSE only on failure,
- not when zoom range is changed.
-
- * ewk/ewk_frame.h:
- * ewk/ewk_view.h:
-
-2012-05-07 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] Page caching permission from EFL's FrameLoaderClient
- https://bugs.webkit.org/show_bug.cgi?id=85620
-
- Reviewed by Gustavo Noronha Silva.
-
- FrameLoaderClientEfl::canCachePage() returns true.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::canCachePage):
-
-2012-05-07 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Icon database path may be NULL when a new path was set.
- https://bugs.webkit.org/show_bug.cgi?id=82456
-
- Reviewed by Andreas Kling.
-
- ewk_settings_icon_database_path_set calls asynchronous method WebCore::iconDatabase().open().
- There is no notification when the new path is set by WebCore.
- Moreover ewk_settings_icon_database_path_set keeps the new path in a local variable.
-
- To retrieve path to icon database ewk_settings_icon_database_path_get can be called.
- It first checks flags whether icon databse is opened and enabled. There is possibility
- that icon database has been set through API but it hasn't been opened by WebCore yet.
- So as a result ewk_settings_icon_database_path_get returns NULL because WebCore hasn't
- set an appropriate flag yet.
-
- It may happen while icon database set/get sequences.
- Information whether icon database is opened/enabled should be exposed by separate API.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_icon_database_path_get): Skip checking whether icon database is opened, enabled.
- * ewk/ewk_settings.h:
-
-2012-05-07 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL][DRT] Implement LayoutTestController::execCommand
- https://bugs.webkit.org/show_bug.cgi?id=82286
-
- Reviewed by Antonio Gomes.
-
- Add missing implementation execCommand and isCommandEnabled to EFL's
- DumpRenderTreeSupport to execute an internal command and check if the
- command is enabled.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::executeCoreCommandByName):
- (DumpRenderTreeSupportEfl::isCommandEnabled):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-06 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] EFL's LayoutTestController setJavaScriptCanAccessClipboard implementation
- https://bugs.webkit.org/show_bug.cgi?id=83687
-
- Reviewed by Antonio Gomes.
-
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (ewk_view_setting_scripts_can_access_clipboard_get):
- (ewk_view_setting_scripts_can_access_clipboard_set):
- * ewk/ewk_view.h:
-
-2012-05-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Convert isPageBoxVisible to use Internals interface.
- https://bugs.webkit.org/show_bug.cgi?id=85692
-
- Reviewed by Darin Adler.
-
- Remove isPageBoxVisible functions, because it is able to work in the
- cross-port way through the Internals interface.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-04 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Implement layoutTestController.dumpResourceResponseMIMETypes
- https://bugs.webkit.org/show_bug.cgi?id=84941
-
- Reviewed by Martin Robinson.
-
- Extend Ewk_Frame_Resource_Response structure to pass resource MIME type
- information.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest):
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):
- * ewk/ewk_frame.h:
-
-2012-05-04 Nate Chapin <japhet@chromium.org>
-
- Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
- https://bugs.webkit.org/show_bug.cgi?id=85533
-
- Reviewed by Alexey Proskuryakov.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::FrameLoaderClientEfl):
- (WebCore):
- (WebCore::FrameLoaderClientEfl::finishedLoading):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (WebCore::FrameLoaderClientEfl::makeRepresentation):
- (WebCore::FrameLoaderClientEfl::revertToProvisionalState):
- (FrameLoaderClientEfl):
-
-2012-05-04 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Frame load callbacks output is missing for redirections
- https://bugs.webkit.org/show_bug.cgi?id=85173
-
- Reviewed by Antonio Gomes.
-
- Add a few redirection-related signals on the ewk_frame so that EFL's
- DumpRenderTree can print the expected output when
- LayoutTestController's dumpFrameLoadCallbacks() returns true.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest):
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveServerRedirectForProvisionalLoad):
- (WebCore::FrameLoaderClientEfl::dispatchWillPerformClientRedirect):
- * ewk/ewk_frame.cpp:
- (ewk_frame_redirect_provisional_load):
- (ewk_frame_redirect_requested):
- * ewk/ewk_frame.h:
- * ewk/ewk_private.h:
-
-2012-05-04 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] LayoutTestController does not support overriding WebKitLoadSiteIconsKey
- https://bugs.webkit.org/show_bug.cgi?id=85171
-
- Reviewed by Andreas Kling.
-
- Add a helper function to DumpRenderTreeSupportEfl to override the
- "WebKitLoadSiteIconsKey" setting on the view page.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setLoadsSiteIconsIgnoringImageLoadingSetting):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-05-03 Fady Samuel <fsamuel@chromium.org>
-
- Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
- https://bugs.webkit.org/show_bug.cgi?id=70609
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::dumpConfigurationForViewport):
-
-2012-04-18 Jon Honeycutt <jhoneycutt@apple.com>
-
- FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
- information about the form being submitted
- https://bugs.webkit.org/show_bug.cgi?id=84297
-
- Reviewed by Andy Estes.
-
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (WebCore::FrameLoaderClientEfl::dispatchWillSendSubmitEvent):
- Updated method declaration.
-
-2012-05-02 Emil A Eklund <eae@chromium.org>
-
- Fix usage of layout types in platform code
- https://bugs.webkit.org/show_bug.cgi?id=85392
-
- Reviewed by Eric Seidel.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_focused_element_geometry_get):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (ewk_view_scale_set):
-
-2012-05-02 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] Hyperlink auditing ewk_view setting
- https://bugs.webkit.org/show_bug.cgi?id=84451
-
- Reviewed by Antonio Gomes.
-
- Exporting new ewk_view setting: hyperlinkAuditingEnabled - enbles/disables hyperlink auditing.
-
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (ewk_view_setting_enable_hyperlink_auditing_get):
- (ewk_view_setting_enable_hyperlink_auditing_set):
- * ewk/ewk_view.h:
-
-2012-05-02 Dongwoo Im <dw.im@samsung.com>
-
- [EFL] Fix typo introduced in r115800.
- https://bugs.webkit.org/show_bug.cgi?id=85354
-
- Reviewed by Nikolas Zimmermann.
-
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data): Assign 1 bit to the boolean attribute, webAudio.
-
-2012-05-02 Dongwoo Im <dw.im@samsung.com>
-
- [EFL] Implement the Web Audio API feature.
- https://bugs.webkit.org/show_bug.cgi?id=78688
-
- Reviewed by Philippe Normand.
-
- Implement the Web Audio API feature on the EFL port.
- https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html
-
- * ewk/ewk_view.cpp: Add the setter/getter of the webaudio feature.
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (ewk_view_setting_web_audio_get): Enable/disable the Web Audio API feature.
- (ewk_view_setting_web_audio_set): Query if the Web Audio API feature is enabled.
- * ewk/ewk_view.h: Add the prototypes.
-
-2012-04-27 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] ResourceError domain needs to be properly set in FrameLoaderClient
- https://bugs.webkit.org/show_bug.cgi?id=84129
-
- Reviewed by Nate Chapin.
-
- Properly set ResourceError objects' domain instead of using a generic
- one. This allows WebKit and NSURL errors to be distinguished, which is
- required to properly print out information in EFL's DumpRenderTree
- when dumpResourceLoadCallbacks() returns true.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::cancelledError):
- (WebCore::FrameLoaderClientEfl::blockedError):
- (WebCore::FrameLoaderClientEfl::cannotShowURLError):
- (WebCore::FrameLoaderClientEfl::interruptedForPolicyChangeError):
- (WebCore::FrameLoaderClientEfl::cannotShowMIMETypeError):
- (WebCore::FrameLoaderClientEfl::fileDoesNotExistError):
- (WebCore::FrameLoaderClientEfl::pluginWillHandleLoadError):
-
-2012-04-27 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] tabsToLinks ewk_view setting
- https://bugs.webkit.org/show_bug.cgi?id=84340
-
- Exporting new ewk_view setting: tabsToLinks - enbles/disables tab key focusing of page elements.
-
- Reviewed by Antonio Gomes.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::keyboardUIMode):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (ewk_view_setting_include_links_in_focus_chain_get):
- (ewk_view_setting_include_links_in_focus_chain_set):
- * ewk/ewk_view.h:
-
-2012-04-27 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] DRT should support LayoutTestController's dumpResourceLoadCallbacks()
- https://bugs.webkit.org/show_bug.cgi?id=81891
-
- Reviewed by Philippe Normand.
-
- New "load,resource,finished", "load,resource,failed", and
- "resource,response,received" signals were added to notify about different
- resource load events. These additional signals are needed for proper
- support of LayoutTestController's dumpResourceLoadCallbacks() in EFL's
- DumpRenderTree.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::assignIdentifierToInitialRequest):
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):
- (WebCore::FrameLoaderClientEfl::dispatchDidFinishLoading):
- (WebCore::FrameLoaderClientEfl::dispatchDidFailLoading):
- * ewk/ewk_frame.cpp:
- (ewk_frame_response_received):
- (ewk_frame_load_finished):
- (ewk_frame_load_resource_finished):
- (ewk_frame_load_resource_failed):
- (ewk_frame_load_error):
- * ewk/ewk_frame.h:
- * ewk/ewk_private.h:
- * ewk/ewk_view.h:
-
-2012-04-26 Martin Robinson <mrobinson@igalia.com>
-
- [Cairo] Wrap cairo surfaces in a class when storing native images
- https://bugs.webkit.org/show_bug.cgi?id=83611
-
- Reviewed by Alejandro G. Castro.
-
- * ewk/ewk_history.cpp: Updated to reflect addition of NativeImageCario.
- * ewk/ewk_settings.cpp: Ditto.
-
-2012-04-26 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] Enable VIDEO_TRACK feature
- https://bugs.webkit.org/show_bug.cgi?id=84830
-
- Reviewed by Gustavo Noronha Silva.
-
- Add functions on the ewk_view to toggle runtime support for text
- tracks in HTML5 video.
-
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (ewk_view_setting_should_display_subtitles_get):
- (ewk_view_setting_should_display_subtitles_set):
- (ewk_view_setting_should_display_captions_get):
- (ewk_view_setting_should_display_captions_set):
- (ewk_view_setting_should_display_text_descriptions_get):
- (ewk_view_setting_should_display_text_descriptions_set):
- * ewk/ewk_view.h:
-
-2012-04-26 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL] [DRT] LayoutTestController needs implementation of setJavaScriptProfilingEnabled
- https://bugs.webkit.org/show_bug.cgi?id=84576
-
- Reviewed by Martin Robinson.
-
- Add missing implementation setJavaScriptProfilingEnabled to EFL's
- DumpRenderTreeSupport. This setting allows layout tests to start
- JavaScript profiling.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setJavaScriptProfilingEnabled):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-04-26 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
-
- [EFL] WebGL support ewk_view setting
- https://bugs.webkit.org/show_bug.cgi?id=84534
-
- Reviewed by Antonio Gomes.
-
- Exporting new ewk_view setting: webGLEnabled - enbles/disables WebGL support.
-
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (ewk_view_setting_enable_webgl_get):
- (ewk_view_setting_enable_webgl_set):
- * ewk/ewk_view.h:
-
-2012-04-26 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL][DRT] "resource,request,willsend" signal needs to provide more information
- https://bugs.webkit.org/show_bug.cgi?id=84670
-
- Reviewed by Andreas Kling.
-
- The "resource,request,willsend" signal now provides more information
- about the network request as well as information about the possible
- redirect response. This extra information will be needed to support
- LayoutTestController's dumpResourceLoadCallbacks() in EFL's
- DumpRenderTree.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest):
- (WebCore::FrameLoaderClientEfl::assignIdentifierToInitialRequest):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
- * ewk/ewk_frame.cpp:
- (ewk_frame_request_will_send):
- * ewk/ewk_frame.h:
- * ewk/ewk_private.h:
- * ewk/ewk_view.h:
-
-2012-04-23 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] EFL's LayoutTestController does not implement elementDoesAutoCompleteForElementWithId
- https://bugs.webkit.org/show_bug.cgi?id=84425
-
- Reviewed by Antonio Gomes.
-
- Add a helper function to DumpRenderTreeSupportEfl, returning
- whether or not an element does perform autocompletion.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::elementDoesAutoCompleteForElementWithId):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-04-20 Thiago Marcos P. Santos <thiago.santos@intel.com>
-
- [EFL] Add Security Origin API
- https://bugs.webkit.org/show_bug.cgi?id=84023
-
- Added an API to get a Security Origin handle from a Ewk_Frame. This is
- needed for fine grained security policy. This new API will also allow
- to define quota and get usage information of a Web Storage based on its
- Security Origin.
-
- Reviewed by Antonio Gomes.
-
- * ewk/EWebKit.h:
- * ewk/ewk_frame.cpp:
- (ewk_frame_security_origin_get):
- * ewk/ewk_frame.h:
- * ewk/ewk_security_origin.cpp: Added.
- (ewk_security_origin_protocol_get):
- (ewk_security_origin_host_get):
- (ewk_security_origin_port_get):
- (ewk_security_origin_web_database_usage_get):
- (ewk_security_origin_web_database_quota_get):
- (ewk_security_origin_web_database_quota_set):
- (ewk_security_origin_free):
- (ewk_security_origin_new):
- * ewk/ewk_security_origin.h: Added.
-
-2012-04-20 Kamil Blank <k.blank@samsung.com>
-
- [EFL] Add setting API for author and user styles.
- https://bugs.webkit.org/show_bug.cgi?id=82860
-
- Reviewed by Daniel Bates.
-
- Add missing implementation setAuthorAndUserStylesEnabled to EFL's
- DumpRenderTreeSupport.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
-
-2012-04-19 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] dispatchDidCancelClientRedirect needs implementation
- https://bugs.webkit.org/show_bug.cgi?id=83669
-
- Reviewed by Antonio Gomes.
-
- Emit a new "redirect,cancelled" signal on the ewk_frame when a
- redirect is cancelled. This is needed by EFL's DumpRenderTree to dump
- frame load callbacks information.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidCancelClientRedirect):
- * ewk/ewk_frame.cpp:
- (ewk_frame_redirect_cancelled):
- * ewk/ewk_frame.h:
- * ewk/ewk_private.h:
-
-2012-04-17 Christophe Dumez <christophe.dumez@intel.com>
-
- EFL's LayoutTestController does not implement callShouldCloseOnWebView
- https://bugs.webkit.org/show_bug.cgi?id=82301
-
- Reviewed by Martin Robinson.
-
- Implement callShouldCloseOnWebView in EFL's LayoutTestController by
- calling shouldClose() on the FrameLoader, allowing the related
- test to be removed from the skip list.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::callShouldCloseOnWebView):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-04-17 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] FrameLoaderClient should send "load,finished" signal for all frame, not just the main one
- https://bugs.webkit.org/show_bug.cgi?id=84052
-
- Reviewed by Antonio Gomes.
-
- Emit the "load,finished" signal from dispatchDidFinishLoad() / instead of
- postProgressFinishedNotification() in order to send notifications all frames,
- not just the main one.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::postProgressFinishedNotification):
- (WebCore::FrameLoaderClientEfl::dispatchDidFinishLoad):
- (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad):
-
-2012-04-17 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL] Add setting API to enable/disable XSSAuditor
- https://bugs.webkit.org/show_bug.cgi?id=83281
-
- Add setting API to enable or disable WebKit's XSSAuditor to protect
- from reflective cross-site scripting attacks. Also, emit the signal
- 'xss,detected' and provide addition information received from
- XSSAuditor when reflected XSS is encountered in the page.
-
- Reviewed by Antonio Gomes.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::didDetectXSS):
- * ewk/ewk_frame.cpp:
- (ewk_frame_xss_detected):
- * ewk/ewk_frame.h:
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (ewk_view_setting_enable_xss_auditor_get):
- (ewk_view_setting_enable_xss_auditor_set):
- * ewk/ewk_view.h:
-
-2012-04-17 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] DRT should support LayoutTestController's dumpFrameLoadCallbacks()
- https://bugs.webkit.org/show_bug.cgi?id=83030
-
- Reviewed by Antonio Gomes.
-
- Emit "load,started" and "onload,event" signals needed to support
- LayoutTestController's dumpFrameLoadCallbacks() in EFL's DumpRenderTree.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidHandleOnloadEvents):
- (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
- (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad):
- * ewk/ewk_frame.cpp:
- (ewk_frame_load_committed):
- (ewk_frame_load_started):
- * ewk/ewk_frame.h:
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (ewk_view_load_started):
- (ewk_view_onload_event):
- * ewk/ewk_view.h:
-
-2012-04-17 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r114376.
- http://trac.webkit.org/changeset/114376
- https://bugs.webkit.org/show_bug.cgi?id=84155
-
- Wrong patch version committed, asked by the patch author.
- (Requested by rakuco on #webkit).
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::postProgressFinishedNotification):
- (WebCore::FrameLoaderClientEfl::dispatchDidFinishLoad):
- (WebCore::FrameLoaderClientEfl::dispatchDidHandleOnloadEvents):
- (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
- (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (FrameLoaderClientEfl):
- * ewk/ewk_frame.cpp:
- * ewk/ewk_frame.h:
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- * ewk/ewk_view.h:
-
-2012-04-17 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] DRT should support LayoutTestController's dumpFrameLoadCallbacks()
- https://bugs.webkit.org/show_bug.cgi?id=83030
-
- Reviewed by Antonio Gomes.
-
- Implement support for LayoutTestController's dumpFrameLoadCallbacks()
- in EFL's DumpRenderTree. We no longer emit the "load,finished" signal
- from postProgressFinishedNotification() since it is already emitted
- from dispatchDidFinishLoad(). This avoids unwanted extra signals we
- prevent some tests from passing (e.g.
- http/tests/security/mixedContent/about-blank-iframe-in-main-frame.html).
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::postProgressFinishedNotification):
- (WebCore::FrameLoaderClientEfl::dispatchDidFinishLoad):
- (WebCore::FrameLoaderClientEfl::dispatchDidHandleOnloadEvents):
- (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
- (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (FrameLoaderClientEfl):
- * ewk/ewk_frame.cpp:
- (ewk_frame_load_committed):
- * ewk/ewk_frame.h:
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (ewk_view_onload_event):
- * ewk/ewk_view.h:
-
-2012-04-17 Mariusz Grzegorczyk <mariusz.g@samsung.com>
-
- [EFL][WK2] Fix build break when CONTEXT_MENUS is disabled.
- https://bugs.webkit.org/show_bug.cgi?id=83285
-
- Reviewed by Ryosuke Niwa.
-
- Remove WebCore namespace from PageClientEfl.
-
- * WebCoreSupport/PageClientEfl.cpp:
- (WebCore):
- * WebCoreSupport/PageClientEfl.h:
- * ewk/ewk_private.h:
- (EWKPrivate):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (EWKPrivate::corePageClient):
-
-2012-04-13 Thiago Marcos P. Santos <thiago.santos@intel.com>
-
- [EFL] Add API for color chooser
- https://bugs.webkit.org/show_bug.cgi?id=83692
-
- Added new API to enable browsers to display a custom color picker
- when an input field of type "color" is activated.
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore):
- (WebCore::ChromeClientEfl::createColorChooser):
- (WebCore::ChromeClientEfl::removeColorChooser):
- (WebCore::ChromeClientEfl::updateColorChooser):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
- * ewk/ewk_private.h:
- (WebCore):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (ewk_view_color_chooser_new):
- (ewk_view_color_chooser_destroy):
- (ewk_view_color_chooser_color_set):
- (ewk_view_color_chooser_changed):
- * ewk/ewk_view.h:
-
-2012-04-11 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL] LayoutTestController needs implementation of pageProperty
- https://bugs.webkit.org/show_bug.cgi?id=82449
-
- Add missing implementation pageProperty to EFL's
- DumpRenderTreeSupport.
-
- Reviewed by Antonio Gomes.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::pageProperty):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-04-10 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL] LayoutTestController needs implementation of addUserStyleSheet
- https://bugs.webkit.org/show_bug.cgi?id=82446
-
- Add missing implementation addUserStyleSheet to EFL's
- DumpRenderTreeSupport.
-
- Reviewed by Antonio Gomes.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::addUserStyleSheet):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-04-04 Raphael Kubo da Costa <rakuco@webkit.org>
-
- Another unreviewed attempt at getting the EFL build bot to a
- healthy state by forcing a rebuild.
-
- * ewk/ewk_cookies.h:
-
-2012-04-04 Raphael Kubo da Costa <rakuco@webkit.org>
-
- Unreviewed; touch a file to check if the EFL build bot is back to
- normal.
-
- * ewk/ewk_cookies.h:
-
-2012-04-04 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL][DRT] Catch the "resource,request,willsend" signal
- https://bugs.webkit.org/show_bug.cgi?id=82192
-
- Reviewed by Gustavo Noronha Silva.
-
- EFL's FrameLoaderClient now emits the "resource,request,willsend"
- signal on the view for all resources about to be loaded, not just the
- main frame. Also adds a boolean flag to Ewk_Frame_Resource_Request to
- distinguish the request for the main frame from those for
- sub-resources.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest):
- (WebCore::FrameLoaderClientEfl::assignIdentifierToInitialRequest):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
- * ewk/ewk_frame.h:
- * ewk/ewk_view.h:
-
-2012-04-04 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL] DRT support for computedStyleIncludingVisitedInfo
- https://bugs.webkit.org/show_bug.cgi?id=82190
-
- Add missing implementation computedStyleIncludingVisitedInfo to EFL's
- DumpRenderTreeSupport.
-
- Reviewed by Antonio Gomes.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::computedStyleIncludingVisitedInfo):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-04-04 Dominik Röttsches <dominik.rottsches@linux.intel.com>
-
- [EFL][DRT] FrameloaderClientEfl needs to handle media content correctly
- https://bugs.webkit.org/show_bug.cgi?id=83020
-
- Reviewed by Hajime Morita.
-
- Implementing handling of media content type and media documents
- in the respective FrameLoaderClientEfl callbacks.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::committedLoad): Cancel loading for media documents.
- (WebCore::FrameLoaderClientEfl::canShowMIMEType): Let media content types through.
- (WebCore):
- (WebCore::FrameLoaderClientEfl::pluginWillHandleLoadError): Returning appropriate error type.
- (WebCore::FrameLoaderClientEfl::shouldFallBack): Falling back as well for media handled by media player.
-
-2012-04-04 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Change ewk_settings_icon_database_icon_object_add to proper API name.
- https://bugs.webkit.org/show_bug.cgi?id=82438
-
- Reviewed by Andreas Kling.
-
- The purpose of ewk_settings_icon_database_icon_object_add is to get icon
- for the given URL. This function doesn't add anything to database.
- Documentation and API name are adjusted.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_icon_database_icon_object_get):
- * ewk/ewk_settings.h:
-
-2012-04-03 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL] DRT support for setInteractiveFormValidationEnabled
- https://bugs.webkit.org/show_bug.cgi?id=82050
-
- Add a setting setInteractiveFormValidationEnabled to EFL's
- DumpRenderTreeSupport.
-
- Reviewed by Antonio Gomes.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setInteractiveFormValidationEnabled):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-04-03 Christophe Dumez <christophe.dumez@intel.com>
-
- [EFL] LayoutTestController needs implementation of setDefersLoading
- https://bugs.webkit.org/show_bug.cgi?id=82890
-
- Reviewed by Philippe Normand.
-
- Implement setDefersLoading() in EFL's LayoutTestController so that the
- corresponding test case can be removed from the skip list.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setDefersLoading):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-04-03 Alexander Shalamov <alexander.shalamov@intel.com>
-
- [EFL] LayoutTestController needs implementation of pageSizeAndMarginsInPixels
- https://bugs.webkit.org/show_bug.cgi?id=82589
-
- Add missing implementation for pageSizeAndMarginsInPixels to EFL's
- DumpRenderTreeSupport.
-
- Reviewed by Philippe Normand.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::pageSizeAndMarginsInPixels):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-04-02 Alexander Shalamov <alexander.shalamov@intel.com>
-
- [EFL] LayoutTestController needs implementation of isPageBoxVisible
- https://bugs.webkit.org/show_bug.cgi?id=82591
-
- Add missing implementation for isPageBoxVisible to EFL's
- DumpRenderTreeSupport.
-
- Reviewed by Hajime Morita.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::isPageBoxVisible):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-04-01 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Support the Network Information API
- https://bugs.webkit.org/show_bug.cgi?id=73528
-
- Reviewed by Adam Barth.
-
- Add NetworkInfoClientEfl to support network information API. However,
- functions are not implemented yet.
-
- * WebCoreSupport/NetworkInfoClientEfl.cpp: Added.
- (WebCore::NetworkInfoClientEfl::NetworkInfoClientEfl):
- (WebCore):
- (WebCore::NetworkInfoClientEfl::~NetworkInfoClientEfl):
- (WebCore::NetworkInfoClientEfl::startUpdating):
- (WebCore::NetworkInfoClientEfl::stopUpdating):
- (WebCore::NetworkInfoClientEfl::bandwidth):
- (WebCore::NetworkInfoClientEfl::metered):
- * WebCoreSupport/NetworkInfoClientEfl.h: Added.
- (NetworkInfoClientEfl):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
-
-2012-03-30 Patrick Gansterer <paroga@webkit.org>
-
- [EFL] Correct <wtf/*.h> include paths.
- https://bugs.webkit.org/show_bug.cgi?id=82741
-
- Reviewed by Andreas Kling.
-
- Modify the #include declarations for several EFL-related files
- so that the wtf types are included using the full path.
-
- * ewk/ewk_frame.cpp:
- * ewk/ewk_tiled_backing_store.cpp:
- (_Ewk_Tiled_Backing_Store_Item):
- * ewk/ewk_tiled_matrix.cpp:
-
-2012-03-30 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
-
- Add a "preview" state to Page Visibility API implementation
- https://bugs.webkit.org/show_bug.cgi?id=81355
-
- Reviewed by Adam Barth.
-
- Updating the Page Visibility API implementation to the current spec version.
-
- * WebCoreSupport/AssertMatchingEnums.cpp:
- * ewk/ewk_view.h:
-
-2012-03-28 Nate Chapin <japhet@chromium.org>
-
- Remove dispatchDidLoadMainResource callback, since no
- port implements it.
- https://bugs.webkit.org/show_bug.cgi?id=82539
-
- Reviewed by Alexey Proskuryakov.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (FrameLoaderClientEfl):
-
-2012-03-27 Carlos Garcia Campos <cgarcia@igalia.com>
-
- [SOUP] Implement missing methods in CookieJarSoup
- https://bugs.webkit.org/show_bug.cgi?id=82082
-
- Reviewed by Martin Robinson.
-
- * ewk/ewk_cookies.cpp:
- (ewk_cookies_clear): Use soupCookieJar() instead of
- defaultCookieJar().
- (ewk_cookies_get_all): Ditto.
- (ewk_cookies_cookie_del): Ditto.
- (ewk_cookies_policy_set): Ditto.
- (ewk_cookies_policy_get): Ditto.
-
-2012-03-23 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL][DRT] Implement LayoutTestController's methods related with editing.
- https://bugs.webkit.org/show_bug.cgi?id=80136
-
- Reviewed by Ryosuke Niwa.
-
- Implements DumpRenderTreeSupportEfl's and EditorClientEfl's methods related with editing.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setSmartInsertDeleteEnabled): New function.
- (DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled): New function.
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::setSmartInsertDeleteEnabled): New function.
- (WebCore):
- (WebCore::EditorClientEfl::smartInsertDeleteEnabled): Add implementation.
- (WebCore::EditorClientEfl::setSelectTrailingWhitespaceEnabled): New function.
- (WebCore::EditorClientEfl::isSelectTrailingWhitespaceEnabled): Add implementation.
- (WebCore::EditorClientEfl::EditorClientEfl):
- * WebCoreSupport/EditorClientEfl.h:
- (EditorClientEfl):
-
-2012-03-22 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL] [DRT] Implement LayoutTestController::markerTextForListItem()
- https://bugs.webkit.org/show_bug.cgi?id=81512
-
- Add missing implementation markerTextForListItem to EFL's
- DumpRenderTreeSupport.
-
- Reviewed by Antonio Gomes.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::markerTextForListItem):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-03-22 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
-
- [EFL] Implement LayoutTestController::setEditingBehavior
- https://bugs.webkit.org/show_bug.cgi?id=81124
-
- Add missing implementation setEditingBehavior to EFL's
- DumpRenderTreeSupport. This setting controls various editing
- behaviors that differ between platforms.
-
- Reviewed by Martin Robinson.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setEditingBehavior):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-03-22 Krzysztof Czech <k.czech@samsung.com>
-
- [EFL] Change returned view mode in case of NULL of ewkView.
- https://bugs.webkit.org/show_bug.cgi?id=81636
-
- Reviewed by Eric Seidel.
-
- Function ewk_view_mode_get returns wrong view mode in case of NULL of ewkView.
-
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (ewk_view_mode_get):
-
-2012-03-22 Hyowon Kim <hw1008.kim@samsung.com>
-
- [EFL] Add PageClientEfl to WebCoreSupport.
- https://bugs.webkit.org/show_bug.cgi?id=80748
-
- Reviewed by Noam Rosenthal.
-
- This patch adds PageClientEfl for implementaion of accelerated compositing.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::platformPageClient):
- * WebCoreSupport/PageClientEfl.cpp: Added.
- (WebCore):
- (WebCore::PageClientEfl::PageClientEfl):
- (WebCore::PageClientEfl::~PageClientEfl):
- (WebCore::PageClientEfl::createEvasObjectForAcceleratedCompositing):
- Just call ewk_view_accelerated_compositing_object_create().
- (WebCore::PageClientEfl::acceleratedCompositingContext):
- Just call ewk_view_accelerated_compositing_context_get().
- * WebCoreSupport/PageClientEfl.h: Added.
- (WebCore):
- (PageClientEfl):
- (WebCore::PageClientEfl::view): Return ewkView.
- * ewk/ewk_private.h:
- (WebCore):
- (EWKPrivate):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data): Add OwnPtr<PageClientEfl>.
- (_ewk_view_priv_new): Create a new PageClientEfl.
- (ewk_view_accelerated_compositing_object_create): Not implemented.
- (ewk_view_accelerated_compositing_context_get): Not implemented.
- (EWKPrivate::corePageClient): Return the PageClientEfl pointer.
- (EWKPrivate):
-
-2012-03-19 Adam Barth <abarth@webkit.org>
-
- Remove support for "magic" iframe
- https://bugs.webkit.org/show_bug.cgi?id=81590
-
- Reviewed by Eric Seidel.
-
- Remove FrameLoaderClient methods that no longer exist.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (FrameLoaderClientEfl):
-
-2012-03-16 Kihong Kwon <kihong.kwon@samsung.com>
-
- Support for Battery Status API
- https://bugs.webkit.org/show_bug.cgi?id=62698
-
- Add BatteryClientEfl class implementation for the layout tests now.
- BatteryClientEfl class is not fully implemented in this patch.
- (It will be completed by other patch as necessary in the Efl port.)
- http://www.w3.org/TR/battery-status/
-
- Reviewed by Adam Barth.
-
- * WebCoreSupport/BatteryClientEfl.cpp: Added.
- (WebCore):
- (WebCore::BatteryClientEfl::BatteryClientEfl):
- (WebCore::BatteryClientEfl::setController):
- (WebCore::BatteryClientEfl::startUpdating):
- (WebCore::BatteryClientEfl::stopUpdating):
- (WebCore::BatteryClientEfl::batteryControllerDestroyed):
- (WebCore::BatteryClientEfl::setBatteryStatus):
- * WebCoreSupport/BatteryClientEfl.h: Added.
- (WebCore):
- (BatteryClientEfl):
- (WebCore::BatteryClientEfl::~BatteryClientEfl):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
-
-2012-03-13 Jon Lee <jonlee@apple.com>
-
- Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
- https://bugs.webkit.org/show_bug.cgi?id=80922
- <rdar://problem/11035082>
-
- Reviewed by Jian Li.
-
- You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
- LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
- new API. Therefore, APIs that are common between the two will have:
- #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
-
- This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
- the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
-
- Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
- * WebCoreSupport/NotificationPresenterClientEfl.cpp:
- * WebCoreSupport/NotificationPresenterClientEfl.h:
-
-2012-03-13 Adam Barth <abarth@webkit.org> && Benjamin Poulain <bpoulain@apple.com>
-
- Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
- https://bugs.webkit.org/show_bug.cgi?id=78853
-
- Reviewed by Adam Barth.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
-
-2012-03-13 ChangSeok Oh <shivamidow@gmail.com>
-
- [EFL] [DRT] Implement scheduleAsynchronousKeyDown.
- https://bugs.webkit.org/show_bug.cgi?id=79601
-
- Reviewed by Gustavo Noronha Silva.
-
- Added a new API to deliver all mutations explicitly.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::deliverAllMutationsIfNecessary):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-03-13 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Remove a duplicate allocation of matrix entry.
- https://bugs.webkit.org/show_bug.cgi?id=79362
-
- Reviewed by Zoltan Herczeg.
-
- A matrix entry is created when calling ewk_matrix_new.
- Another matrix is created inside ewk_tile_matrix_zoom_level_set.
- This patch is for getting rid of a duplicated creation of the matrix.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_Ewk_Tiled_Backing_Store_Item):
- (_ewk_tiled_backing_store_zoom_set_internal):
- * ewk/ewk_tiled_matrix.cpp:
- (ewk_tile_matrix_new):
- (ewk_tile_matrix_zoom_level_set):
- (ewk_tile_matrix_entry_new):
- (ewk_tile_matrix_size_get):
- * ewk/ewk_tiled_matrix.h:
-
-2012-03-09 Jon Lee <jonlee@apple.com>
-
- Rename NotificationPresenter to NotificationClient
- https://bugs.webkit.org/show_bug.cgi?id=80488
- <rdar://problem/10965558>
-
- Reviewed by Kentaro Hara.
-
- Refactor to use renamed WebCore::NotificationClient.
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::notificationPresenter):
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
-
-2012-03-08 Hyowon Kim <hw1008.kim@samsung.com>
-
- [Texmap][EFL] Implementation of AcceleratedCompositingContext for EFL port
- https://bugs.webkit.org/show_bug.cgi?id=80266
-
- Reviewed by Noam Rosenthal.
-
- This patch adds EFL's implementation of AcceleratedCompositingContext to WebCoreSupport.
-
- * WebCoreSupport/AcceleratedCompositingContextEfl.cpp: Added.
- (WebCore):
- (WebCore::AcceleratedCompositingContext::create):
- (WebCore::AcceleratedCompositingContext::AcceleratedCompositingContext):
- (WebCore::AcceleratedCompositingContext::~AcceleratedCompositingContext):
- (WebCore::AcceleratedCompositingContext::initialize):
- (WebCore::AcceleratedCompositingContext::syncLayersNow):
- (WebCore::AcceleratedCompositingContext::renderLayers):
- (WebCore::AcceleratedCompositingContext::attachRootGraphicsLayer):
- (WebCore::AcceleratedCompositingContext::context):
- * WebCoreSupport/AcceleratedCompositingContextEfl.h: Added.
- (WebCore):
- (AcceleratedCompositingContext):
-
-2012-03-02 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Enabling 'Inspect Element' in Ewk_Context_Menu_Action.
- https://bugs.webkit.org/show_bug.cgi?id=79646
-
- Reviewed by Andreas Kling.
-
- INSPECTOR feature is already enabled for WebKit-Efl port (OptionsEfl.cmake).
- As a result WebCore's ContextMenuAction contains ContextMenuItemTagInspectElement
- and enums order has been changed. WebKit-Efl has to synchronize ContextMenuAction
- with Ewk_Context_Menu_Action.
- To avoid similar case in the feature I added checks between WebCore and
- WebKit-EFL's enums by using COMPILE_ASSERT_MATCHING_ENUM.
-
- * WebCoreSupport/AssertMatchingEnums.cpp:
- * ewk/ewk_contextmenu.h:
-
-2012-02-29 Tomasz Morawski <t.morawski@samsung.com>
-
- [EFL] Replace malloc/calloc/free to new/delete.
- https://bugs.webkit.org/show_bug.cgi?id=75848
-
- Reviewed by Hajime Morita.
-
- Replaced almost all malloc/calloc/free to new/delete operator and where it was possible smart pointers were also
- used. Left few c memory allocation by intention to not mix c and c++ memory managment. Left malloc for Ewk_Tile
- object due to const fields present in Ewk_tile structure.
-
- * ewk/ewk_auth_soup.cpp:
- * ewk/ewk_contextmenu.cpp:
- (ewk_context_menu_unref):
- (ewk_context_menu_item_new):
- (ewk_context_menu_item_free):
- (ewk_context_menu_new):
- * ewk/ewk_cookies.cpp:
- (ewk_cookies_get_all):
- (ewk_cookies_cookie_free):
- * ewk/ewk_frame.cpp:
- (ewk_frame_hit_test_free):
- (ewk_frame_hit_test_new):
- * ewk/ewk_history.cpp:
- (ewk_history_item_new_from_core):
- (_ewk_history_item_free):
- (ewk_history_new):
- (ewk_history_free):
- * ewk/ewk_tiled_backing_store.cpp:
- (_Ewk_Tiled_Backing_Store_Item):
- (_ewk_tiled_backing_store_pre_render_request_add):
- (_ewk_tiled_backing_store_pre_render_request_del):
- (_ewk_tiled_backing_store_pre_render_request_flush):
- (_ewk_tiled_backing_store_pre_render_request_clear):
- (_ewk_tiled_backing_store_item_add):
- (_ewk_tiled_backing_store_item_del):
- * ewk/ewk_tiled_matrix.cpp:
- (_ewk_tile_matrix_tile_free):
- (ewk_tile_matrix_new):
- (ewk_tile_matrix_zoom_level_set):
- (ewk_tile_matrix_invalidate):
- (ewk_tile_matrix_free):
- * ewk/ewk_tiled_model.cpp:
- (tile_account):
- (ewk_tile_unused_cache_new):
- (_ewk_tile_unused_cache_free):
- (ewk_tile_unused_cache_clear):
- (ewk_tile_unused_cache_flush):
- (ewk_tile_unused_cache_tile_get):
- (ewk_tile_unused_cache_tile_put):
- * ewk/ewk_tiled_private.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_core_frame_new):
- (_ewk_view_priv_new):
- (_ewk_view_priv_del):
- (ewk_view_core_page_get):
- (ewk_view_popup_new):
- (ewk_view_popup_destroy):
- (EWKPrivate::corePage):
- * ewk/ewk_window_features.cpp:
- (ewk_window_features_unref):
- (ewk_window_features_new_from_core):
-
-2012-02-27 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Pairing up between evas_object_image_data_get and evas_object_image_data_set.
- https://bugs.webkit.org/show_bug.cgi?id=79031
-
- Reviewed by Zoltan Herczeg.
-
- - Get the pixel data when the cairo surface is created.
- - evas_object_image_data_get increases the reference count and returns the image buffer pointer.
- evas_object_image_data_set decreases the reference count and when the ref count become zero,
- the function releases the cached image inside evas engine.
- We should make a pair between evas_object_image_data_set/get to return evas resource.
-
- * ewk/ewk_tiled_backing_store.h:
- (_Ewk_Tile):
- * ewk/ewk_tiled_model.cpp:
- (tile_account):
- (ewk_tile_new):
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_render_cb):
-
-2012-02-26 Hajime Morrita <morrita@chromium.org>
-
- Move ChromeClient::showContextMenu() to ContextMenuClient
- https://bugs.webkit.org/show_bug.cgi?id=79427
-
- Reviewed by Adam Barth.
-
- * WebCoreSupport/ChromeClientEfl.h:
- (ChromeClientEfl):
-
-2012-02-24 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL][DRT] Implement setValueForUser and setAutofilled.
- https://bugs.webkit.org/show_bug.cgi?id=79237
-
- Reviewed by Andreas Kling.
-
- Adds missing implementation setValueForUser and setAutofilled to EFL's DumpRenderTreeSupport.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::setValueForUser):
- (DumpRenderTreeSupportEfl::setAutofilled):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-02-24 Shinya Kawanaka <shinyak@chromium.org>
-
- SpellCheckRequest needs to know the context where the spellcheck happened.
- https://bugs.webkit.org/show_bug.cgi?id=79320
-
- Reviewed by Hajime Morita.
-
- * WebCoreSupport/EditorClientEfl.h:
- (WebCore::EditorClientEfl::requestCheckingOfString):
-
-2012-02-21 Ryosuke Niwa <rniwa@webkit.org>
-
- Remove the remaining uses of CSSStyleDeclaration in Editor
- https://bugs.webkit.org/show_bug.cgi?id=78939
-
- Reviewed by Enrica Casucci.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::shouldApplyStyle):
- * WebCoreSupport/EditorClientEfl.h:
- (EditorClientEfl):
-
-2012-02-22 Ryosuke Niwa <rniwa@webkit.org>
-
- Remove the remaining uses of CSSStyleDeclaration in Editor
- https://bugs.webkit.org/show_bug.cgi?id=78939
-
- Reviewed by Enrica Casucci.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::shouldApplyStyle):
- * WebCoreSupport/EditorClientEfl.h:
- (EditorClientEfl):
-
-2012-02-20 Kihong Kwon <kihong.kwon@samsung.com>
-
- Add a new API for the Vibration API(W3C).
- https://bugs.webkit.org/show_bug.cgi?id=72010
-
- Reviewed by Hajime Morita.
-
- Implementation for the Vibration API feature to the EFL-port layer.
- http://dev.w3.org/2009/dap/vibration/
- There are two methods for vibration API.
- - vibrate : Vibrate device for receiving as a parameter.
- - cancelVibrate : Cancel current vibration.
-
- * CMakeListsEfl.txt:
- * WebCoreSupport/VibrationClientEfl.cpp: Added.
- (WebCore):
- (WebCore::VibrationClientEfl::VibrationClientEfl):
- (WebCore::VibrationClientEfl::vibrate):
- (WebCore::VibrationClientEfl::cancelVibration):
- (WebCore::VibrationClientEfl::vibrationDestroyed):
- * WebCoreSupport/VibrationClientEfl.h: Added.
- (WebCore):
- (VibrationClientEfl):
- (WebCore::VibrationClientEfl::~VibrationClientEfl):
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
-
-2012-02-17 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Unreviewed, adapt to the changes introduced in r107973.
-
- SVN r107973 moved some libsoup feature initialization code to
- WebCore, but only changed the GTK+ bits in WebKit.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body): Do not initialize the content sniffer and the
- decoder here, the initialization is now done in WebCore.
-
-2012-02-17 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- Unreviewed, fix the build with ENABLE(DEVICE_ORIENTATION) after
- r107518. The EFL EWS bot doesn't enable that flag, so the breakage
- was not spotted earlier.
-
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
-
-2012-01-31 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [soup] Add support for multiple SoupSessions.
- https://bugs.webkit.org/show_bug.cgi?id=77341
-
- Add the necessary infrastructure to support multiple SoupSessions. Each
- WebView now has a "session" property, which defaults to
- ResourceHandle::defaultSession() and can be changed to another
- SoupSession by the user.
-
- Some API in ewk_network and ewk_view which required SoupSession to be a
- valid type in the headers has now been moved inside #if USE(SOUP)
- ifdefs so we can actually the required Soup header and avoid build
- problems with duplicate typedefs.
-
- * CMakeListsEfl.txt:
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::createNetworkingContext):
- * WebCoreSupport/FrameNetworkingContextEfl.cpp: Copied from Source/WebKit/efl/WebCoreSupport/FrameNetworkingContextEfl.h.
- (WebCore):
- (WebCore::FrameNetworkingContextEfl::create):
- (WebCore::FrameNetworkingContextEfl::FrameNetworkingContextEfl):
- (WebCore::FrameNetworkingContextEfl::soupSession):
- * WebCoreSupport/FrameNetworkingContextEfl.h:
- (FrameNetworkingContextEfl):
- * ewk/ewk_cookies.h: Mention this API is only valid with the
- default SoupSession.
- * ewk/ewk_network.cpp:
- (ewk_network_default_soup_session_get): Define only if USE(SOUP) is set.
- * ewk/ewk_network.h: Ditto, and mention this API is only valid with the
- default SoupSession.
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
- (ewk_view_soup_session_get):
- (ewk_view_soup_session_set):
- * ewk/ewk_view.h:
- ():
-
-2012-02-15 Sadrul Habib Chowdhury <sadrul@chromium.org>
-
- Notify ChromeClient when touch-event handlers are installed/removed.
- https://bugs.webkit.org/show_bug.cgi?id=77440
-
- Reviewed by Darin Fisher and Ryosuke Niwa.
-
- * WebCoreSupport/ChromeClientEfl.h:
- (WebCore::ChromeClientEfl::numTouchEventHandlersChanged):
-
-2012-02-15 Gustavo Lima Chaves <glima@profusion.mobi>
-
- [EFL] Add missing libsoup to (pkgconfig) dependency requirements
- https://bugs.webkit.org/show_bug.cgi?id=78702
-
- Unreviewed build fix.
-
- * ewebkit.pc.in: Now that bug 77874 had its patch landed, we
- always require libsoup as a dependency for the EFL port. The
- 'Require' session of this file has to contemplate that, otherwise
- code linking with ewebkit will fail to lookup to libsoup's header
- files.
-
-2012-02-13 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [CMake] Merge WebKitEfl.cmake into FindEFL.cmake.
- https://bugs.webkit.org/show_bug.cgi?id=78566
-
- Reviewed by Daniel Bates.
-
- * CMakeListsEfl.txt: Do not include WebKitEfl.cmake.
-
-2012-02-11 Nikolas Zimmermann <nzimmermann@rim.com>
-
- Convert svg/animations to use SMIL methods for driving the timeline
- https://bugs.webkit.org/show_bug.cgi?id=78422
-
- Reviewed by Dirk Schulze.
-
- Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
- Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-02-06 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Drop support for the Curl network backend.
- https://bugs.webkit.org/show_bug.cgi?id=77874
-
- Reviewed by Eric Seidel.
-
- Nobody seems to be maintaining the Curl backend in WebCore, the
- EFL port developers all seem to be using the Soup backend and the
- port itself has many features which are only implemented for the
- latter.
-
- * CMakeListsEfl.txt: Unconditionally build soup-dependent files
- and always add the glib/soup include directories and libraries.
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):
- Remove USE(SOUP) checks.
- * ewk/ewk_auth.cpp:
- (ewk_auth_show_dialog_callback_set): Ditto.
- (ewk_auth_credentials_set): Ditto.
- * ewk/ewk_cookies.cpp:
- (ewk_cookies_file_set): Ditto.
- (ewk_cookies_clear): Ditto.
- (ewk_cookies_get_all): Ditto.
- (ewk_cookies_cookie_del): Ditto.
- (ewk_cookies_cookie_free): Ditto.
- (ewk_cookies_policy_set): Ditto.
- (ewk_cookies_policy_get): Ditto.
- * ewk/ewk_frame.cpp:
- (ewk_frame_certificate_status_get): Ditto.
- * ewk/ewk_main.cpp:
- (_ewk_init_body): Ditto.
- * ewk/ewk_network.cpp:
- (ewk_network_proxy_uri_set): Ditto.
- (ewk_network_proxy_uri_get): Ditto.
- (ewk_network_tls_certificate_check_get): Ditto.
- (ewk_network_tls_certificate_check_set): Ditto.
- (ewk_network_tls_ca_certificates_path_get): Ditto.
- (ewk_network_tls_ca_certificates_path_set): Ditto.
- (ewk_network_default_soup_session_get): Ditto.
- * ewk/ewk_network.h: Update apidox for
- ewk_network_default_soup_session_get() now that libsoup is the
- only available backend.
-
-2012-02-09 Gustavo Lima Chaves <glima@profusion.mobi>
-
- [EFL] Introducing functions to set local storage db path and clear
- those dbs.
- https://bugs.webkit.org/show_bug.cgi?id=77107
-
- This patch exposes the web local storage tracker database path
- setting cabability, introduced on bug 77006, to the EFL port of
- WebKit. Particularly, we have our own storage tracker client
- object, to initialize the storage tracker backend on ewk_init().
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * CMakeListsEfl.txt:
- * WebCoreSupport/StorageTrackerClientEfl.cpp: Added.
- (WebCore):
- (WebCore::StorageTrackerClientEfl::dispatchDidModifyOrigin):
- (WebCore::StorageTrackerClientEfl::didFinishLoadingOrigins):
- * WebCoreSupport/StorageTrackerClientEfl.h: Added.
- (WebCore):
- (StorageTrackerClientEfl):
- * ewk/ewk_main.cpp:
- (trackerClient):
- (_ewk_init_body):
- * ewk/ewk_settings.cpp:
- (ewk_settings_local_storage_path_set):
- (ewk_settings_local_storage_path_get):
- (ewk_settings_local_storage_database_clear):
- (ewk_settings_local_storage_database_origin_clear):
- * ewk/ewk_settings.h:
-
-2012-02-07 Krzysztof Czech <k.czech@samsung.com>
-
- [EFL] Add missing initialization of editable variable.
- https://bugs.webkit.org/show_bug.cgi?id=77948
-
- Reviewed by Eric Seidel.
-
- The value of editable in Ewk_Frame_Smart_Data struct is not set.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_editable_set):
-
-2012-02-06 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Define to prevent a single backing-store application from calling the tiled view function.
- https://bugs.webkit.org/show_bug.cgi?id=77842
-
- Reviewed by Andreas Kling.
-
- The define prevents an application using single backing store from calling tiled cache function.
- The tiled APIs opened to outer should check the view type before being called.
-
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (ewk_view_frame_view_creation_notify):
- * ewk/ewk_view_tiled.cpp:
- (ewk_view_tiled_unused_cache_get):
- (ewk_view_tiled_unused_cache_set):
-
-2012-02-06 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Adopt C++ style using camelCase and full variable names.
- https://bugs.webkit.org/show_bug.cgi?id=76378
-
- Reviewed by Andreas Kling.
-
- Modify the code to use camelCase and spell out variable names instead of using abbreviations.
- Modify the comments which do not match with actual parameters and correct misspelled words.
- Adopt EFL Coding style in header files.
- The logic of the code is not changed.
-
- * ewk/ewk_cookies.h:
- * ewk/ewk_frame.cpp:
- (ewk_frame_selection_get):
- (ewk_frame_feed_focus_in):
- (EWKPrivate::coreFrame):
- * ewk/ewk_frame.h:
- * ewk/ewk_history.cpp:
- (ewk_history_item_new):
- (ewk_history_item_title_get):
- (ewk_history_item_title_alternate_get):
- (ewk_history_item_uri_get):
- (ewk_history_item_uri_original_get):
- * ewk/ewk_network.h:
- * ewk/ewk_tiled_backing_store.cpp:
- (_Ewk_Tiled_Backing_Store_Item):
- (_Ewk_Tiled_Backing_Store_Data):
- (_ewk_tiled_backing_store_tile_associate):
- (_ewk_tiled_backing_store_tile_dissociate):
- (_ewk_tiled_backing_store_pre_render_request_clear):
- (_ewk_tiled_backing_store_pre_render_request_process_single):
- (_ewk_tiled_backing_store_item_fill):
- (_ewk_tiled_backing_store_item_add):
- (_ewk_tiled_backing_store_item_smooth_scale_set):
- (_ewk_tiled_backing_store_view_cols_end_add):
- (_ewk_tiled_backing_store_view_rows_all_del):
- (_ewk_tiled_backing_store_render):
- (_ewk_tiled_backing_store_mem_dbg):
- (_ewk_tiled_backing_store_sig_usr):
- (_ewk_tiled_backing_store_smart_add):
- (_ewk_tiled_backing_store_smart_del):
- (_ewk_tiled_backing_store_smart_move):
- (_ewk_tiled_backing_store_smart_resize):
- (_ewk_tiled_backing_store_recalc_renderers):
- (_ewk_tiled_backing_store_view_dbg):
- (_ewk_tiled_backing_store_view_wrap_up):
- (_ewk_tiled_backing_store_view_wrap_down):
- (_ewk_tiled_backing_store_view_wrap_left):
- (_ewk_tiled_backing_store_view_refill):
- (_ewk_tiled_backing_store_view_pos_apply):
- (_ewk_tiled_backing_store_smart_calculate_offset_force):
- (_ewk_tiled_backing_store_smart_calculate_offset):
- (_ewk_tiled_backing_store_smart_calculate_pos):
- (_ewk_tiled_backing_store_smart_calculate):
- (_ewk_tiled_backing_store_scroll_full_offset_set_internal):
- (ewk_tiled_backing_store_scroll_full_offset_set):
- (ewk_tiled_backing_store_scroll_full_offset_add):
- (_ewk_tiled_backing_store_zoom_set_internal):
- (ewk_tiled_backing_store_zoom_set):
- (ewk_tiled_backing_store_zoom_weak_set):
- (ewk_tiled_backing_store_fix_offsets):
- (ewk_tiled_backing_store_flush):
- (ewk_tiled_backing_store_pre_render_region):
- (ewk_tiled_backing_store_pre_render_relative_radius):
- * ewk/ewk_tiled_backing_store.h:
- (_Ewk_Tile):
- * ewk/ewk_tiled_matrix.cpp:
- (_Ewk_Tile_Matrix):
- (_ewk_tile_matrix_cell_free):
- (_ewk_tile_matrix_tile_free):
- (ewk_tile_matrix_new):
- (ewk_tile_matrix_free):
- (ewk_tile_matrix_unused_cache_get):
- (ewk_tile_matrix_tile_exact_get):
- (ewk_tile_matrix_tile_new):
- (ewk_tile_matrix_tile_put):
- (ewk_tile_matrix_dbg):
- (ewk_tile_matrix_freeze):
- (ewk_tile_matrix_thaw):
- * ewk/ewk_tiled_matrix.h:
- * ewk/ewk_tiled_model.cpp:
- (tile_account):
- (ewk_tile_updates_process):
- (ewk_tile_unused_cache_tile_put):
- (ewk_tile_unused_cache_dbg):
- * ewk/ewk_tiled_model.h:
- * ewk/ewk_util.h:
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_smart_focus_in):
- (_ewk_view_smart_pre_render_region):
- (ewk_view_pre_render_region):
- (ewk_view_toolbars_visible_get):
- (ewk_view_statusbar_visible_get):
- (ewk_view_scrollbars_visible_get):
- (ewk_view_menubar_visible_get):
- (ewk_view_zoom_range_set):
- * ewk/ewk_view.h:
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_smart_repaints_process):
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_smart_backing_store_add):
- (_ewk_view_tiled_smart_add):
- (ewk_view_tiled_unused_cache_get):
- (ewk_view_tiled_unused_cache_set):
-
-2012-02-05 ChangSeok Oh <shivamidow@gmail.com>
-
- [EFL] Enable WebGL with glx backend
- https://bugs.webkit.org/show_bug.cgi?id=77308
-
- Reviewed by Martin Robinson.
-
- Activated WebGL feature.
-
- * ewk/ewk_view.cpp:
- (_Ewk_View_Private_Data):
- (_ewk_view_priv_new):
-
-2012-02-05 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Remove g_thread_init() calls
- https://bugs.webkit.org/show_bug.cgi?id=77828
-
- Reviewed by Andreas Kling.
-
- g_thread_init has been deprecated since glib 2.32. This function is no longer necessary.
- The GLib threading system is automatically initialized at the start of your program.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
-
-2012-02-02 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Add contentsSize flag into ewk_tiled_backing_store's private data.
- https://bugs.webkit.org/show_bug.cgi?id=77586
-
- Reviewed by Andreas Kling.
-
- As both zoom and content size change are identified by model flag,
- ewk_tiled_backing_store can not detect the conflict between them.
- In order to prevent conflict between zoom and contents size change,
- contentsSize flag is newly added.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_Ewk_Tiled_Backing_Store_Item):
- (_Ewk_Tiled_Backing_Store_Data):
- (_ewk_tiled_backing_store_smart_calculate):
- (ewk_tiled_backing_store_contents_resize):
-
-2012-02-02 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Remove check for ENABLE_GTK_PLUGINS_SUPPORT
- https://bugs.webkit.org/show_bug.cgi?id=77647
-
- Reviewed by Martin Robinson.
-
- There is no clear reason why this check was in place (it came with the
- upstreaming of the port), but ENABLE_GTK_PLUGINS_SUPPORT is not set
- anywhere, and the build system does not even check for the presence of
- GTK+ when building.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
-
-2012-01-31 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Add basic DRT/Efl implementation to support viewport test.
- https://bugs.webkit.org/show_bug.cgi?id=77320
-
- Reviewed by Andreas Kling.
-
- Add dumpConfigurationForViewport.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::dumpConfigurationForViewport):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2012-01-31 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Set content hint information for ewk_view_single.
- https://bugs.webkit.org/show_bug.cgi?id=77319
-
- Reviewed by Ryosuke Niwa.
-
- The content hint information corresponding to opengl_x11 engine is set
- for the image object which ewk_view_single owns when evas is based on
- opengl_x11 engine.
-
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_smart_backing_store_add):
-
-2012-01-30 Eunsol Park <eunsol47.park@samsung.com>
-
- [EFL] Define the names of view smart class
- https://bugs.webkit.org/show_bug.cgi?id=76370
-
- Reviewed by Andreas Kling.
-
- Strings of ewk_tiled_view's name were defined differently,
- so the definitions were modified to make users not confused.
-
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_smart_class_new):
- * ewk/ewk_view_tiled.cpp:
- (ewk_view_tiled_smart_set):
- (_ewk_view_tiled_smart_class_new):
-
-2012-01-26 Tomasz Morawski <t.morawski@samsung.com>
-
- [EFL] Added missing NETSCAPE_PLUGIN_API macro.
- https://bugs.webkit.org/show_bug.cgi?id=77093
-
- Reviewed by Andreas Kling.
-
- The ewk_view_js_window_object_clear function should be inside ENABLE(NETSCAPE_PLUGIN_API) macro.
-
- * ewk/ewk_view.cpp:
-
-2012-01-17 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Use static const insted of #define macro.
- https://bugs.webkit.org/show_bug.cgi?id=76499
-
- Reviewed by Hajime Morita.
-
- WebKit coding style prefers const to #define. EFL port needs to use const insted of #define macro.
- This patch replace global variables defined by #define with const.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_ewk_tiled_backing_store_smart_add):
- (_ewk_tiled_backing_store_zoom_set_internal):
- * ewk/ewk_tiled_backing_store.h:
- * ewk/ewk_tiled_matrix.cpp:
- (ewk_tile_matrix_new):
- * ewk/ewk_view.cpp:
- (_ewk_view_repaint_add):
- (_ewk_view_repaints_flush):
- (_ewk_view_scroll_add):
- (_ewk_view_scrolls_flush):
- (_ewk_view_priv_new):
- (ewk_view_base_smart_set):
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_smart_pre_render_start):
-
-2012-01-13 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Emit "resource,request,willsend" from ewk_view.
- https://bugs.webkit.org/show_bug.cgi?id=76292
-
- Reviewed by Andreas Kling.
-
- Make ewk_view dispatch the "resource,request,willsend" signal as well,
- so that it is possible to know whether the request is for the main
- frame itself or for anything else.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest):
- * ewk/ewk_view.h:
-
-2012-01-16 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Build fix when using pango as font backends.
- https://bugs.webkit.org/show_bug.cgi?id=76368
-
- Unreviewed build fix.
-
- * ewk/ewk_view.cpp: include RefPtrCairo.h
-
-2012-01-13 Leandro Pereira <leandro@profusion.mobi>
-
- [EFL] SecurityPolicy whitelist interface should be exposed to EWebKit
- https://bugs.webkit.org/show_bug.cgi?id=76082
-
- Reviewed by Andreas Kling.
-
- * CMakeListsEfl.txt: Added reference to ewk_security_policy.{cpp,h}.
- * ewk/EWebKit.h: Include ewk_security_policy.h.
- * ewk/ewk_security_policy.cpp: Added.
- (ewk_security_policy_whitelist_origin_add): Implemented thin layer around SecurityPolicy::addOriginAccessWhitelistEntry().
- (ewk_security_policy_whitelist_origin_del): Implemented thin layer around SecurityPolicy::removeOriginAccessWhitelistEntry().
- (ewk_security_policy_whitelist_origin_reset): Implemented thin layer around SecurityPolicy::resetOriginAccessWhitelists().
- * ewk/ewk_security_policy.h: Added.
-
-2012-01-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Remove extern "C" from ewk_private.h
- https://bugs.webkit.org/show_bug.cgi?id=76250
-
- Reviewed by Andreas Kling.
-
- ewk_private.h defines internal functions used by WebKit itself. There is no chance to be used by C application.
- So, extern "C" keyword is unneeded in ewk_private.h.
-
- * ewk/ewk_private.h:
-
-2012-01-13 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Add 'Copy Image Address' to context menu.
- https://bugs.webkit.org/show_bug.cgi?id=76153
-
- Reviewed by Andreas Kling.
-
- Adds EWK_CONTEXT_MENU_ITEM_TAG_COPY_IMAGE_URL_TO_CLIPBOARD to Ewk_Context_Menu_Action to synchronize it with ContextMenuItem.h
-
- * ewk/ewk_contextmenu.h:
-
-2012-01-13 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Add visible field into ewk_tiled_backing_store's data.
- https://bugs.webkit.org/show_bug.cgi?id=76165
-
- Reviewed by Nikolas Zimmermann.
-
- Using of evas_object_visible_get() API can't gurantee the correctness of
- evas_object's visible status if it's called inside of evas_object's
- smart_show() method.
- So, a visible flag for the ewk_tiled_backing_store is added.
- In addition, as tiles are not visible, ewk_tiled_backing_store will push
- its own tiles into the cache when it disapear.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_ewk_tiled_backing_store_updates_process):
- (_ewk_tiled_backing_store_item_process_idler_start):
- (_ewk_tiled_backing_store_item_fill):
- (_ewk_tiled_backing_store_smart_member_add):
- (_ewk_tiled_backing_store_smart_show):
- (_ewk_tiled_backing_store_smart_hide):
-
-2012-01-13 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Unused code cleanup on ewk_tiled_model.cpp.
- https://bugs.webkit.org/show_bug.cgi?id=76031
-
- Reviewed by Ryosuke Niwa.
-
- Remove unused code from ewk_tiled_model.cpp.
-
- * ewk/ewk_tiled_model.cpp:
-
-2012-01-12 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Move macro checking to functions' definition in ewk_js.cpp.
- https://bugs.webkit.org/show_bug.cgi?id=76037
-
- Reviewed by Andreas Kling.
-
- Moves macro checking to functions' definition instead of duplicate them in source depending on macro value.
- It's known practice in WebKit and EFL port.
- Duplicating functions in the same file whose return value is different may confuse user,
- especially if macro isn't included in a patch.
-
- * ewk/ewk_js.cpp:
- (ewk_js_object_new):
- (ewk_js_object_free):
- (ewk_js_object_view_get):
- (ewk_js_object_properties_get):
- (ewk_js_object_name_get):
- (ewk_js_object_invoke):
- (ewk_js_object_type_get):
- (ewk_js_object_type_set):
- (ewk_js_variant_free):
- (ewk_js_variant_array_free):
-
-2012-01-12 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Modify some API's implementation to let it directly pass Eina_Rectangle into IntRect.
- https://bugs.webkit.org/show_bug.cgi?id=75695
-
- Reviewed by Andreas Kling.
-
- Dereference Eina_Rectangle pointers so the shorter IntRect constructor can be used.
-
- * ewk/ewk_view.cpp:
- (ewk_view_paint_context_clip):
- (ewk_view_paint_context_paint):
- (ewk_view_paint_context_paint_contents):
- (ewk_view_paint):
- (ewk_view_paint_contents):
-
-2012-01-11 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Refactor single backing store scroll code.
- https://bugs.webkit.org/show_bug.cgi?id=75243
-
- Reviewed by Zoltan Herczeg.
-
- Remove the duplicated code and refactor the scroll procedure.
- Wherever the page is scrolled, there are one screen copy and two updates.
- This patch optimises the scroll procedure by less calculation.
-
- * ewk/ewk_view_single.cpp:
- (_ewk_view_screen_move):
- (_ewk_view_single_scroll_process_single):
-
-2012-01-11 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Fix page rendering issue on ewk_view_tiled.
- https://bugs.webkit.org/show_bug.cgi?id=75686
-
- Reviewed by Andreas Kling.
-
- As for now the discard of ewk_tiled_backing_store doesn't reset its own contents size information
- and ewk_tiled_backing_store just ignores the request if new contents size change request would contain
- the same size compared to the one that it owns,
- contents size change request coming from ChromeClientEfl::contentsSizeChanged() API can be skipped
- and therefore web page can't be presented properly.
- In order to resolve this, I just add code to reset contents size information which ewk_tiled_backing_store owns
- when it discards its own data.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (ewk_tiled_backing_store_flush):
-
-2012-01-10 Tomasz Morawski <t.morawski@samsung.com>
-
- [EFL] Added smart pointers to Ewk_View_Paint_Context class and done minor refactoring.
- https://bugs.webkit.org/show_bug.cgi?id=75837
-
- Reviewed by Ryosuke Niwa.
-
- Changed graphicContext raw pointer to OwnPtr smart pointer.
- Renamed cr to cairo and made it a RefPtr.
-
- * ewk/ewk_view.cpp:
- (ewk_view_paint_context_new): Adjust to auto pointers use.
- (ewk_view_paint_context_free): Removed explicit raw pointers delete.
- Adjust to auto pointers use:
- (ewk_view_paint_context_save):
- (ewk_view_paint_context_restore):
- (ewk_view_paint_context_clip):
- (ewk_view_paint_context_paint):
- (ewk_view_paint_context_paint_contents):
-
-2012-01-09 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Add getter for Ewk_JS_Object::view.
- https://bugs.webkit.org/show_bug.cgi?id=75868
-
- Reviewed by Andreas Kling.
-
- So far the view associated with a given JS object was a private
- property only accessible to ewk itself. This does not make much sense,
- as one often needs to know which view a certain method was invoked
- from, for example.
-
- * ewk/ewk_js.cpp:
- (ewk_js_object_view_get):
- * ewk/ewk_js.h:
-
-2012-01-06 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Add new pre-rendering code.
- https://bugs.webkit.org/show_bug.cgi?id=73430
-
- Reviewed by Zoltan Herczeg.
-
- Add new pre-rendering code to pre-render the view area more efficiently.
- At first find centered view position where backing store starts to queuing the render request from.
- And append the request into the tiled backing store in spiral order.
-
- * ewk/ewk_private.h:
- * ewk/ewk_tiled_backing_store.cpp:
- (ewk_tiled_backing_store_pre_render_tile_add):
- (ewk_tiled_backing_store_pre_render_spiral_queue):
- * ewk/ewk_tiled_backing_store.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_pre_render_start):
- (ewk_view_base_smart_set):
- (ewk_view_pre_render_start):
- * ewk/ewk_view.h:
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_rect_collision_check):
- (_ewk_view_tiled_rect_collision_resolve):
- (_ewk_view_tiled_smart_pre_render_start):
- (ewk_view_tiled_smart_set):
-
-2012-01-05 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Invalidation request for ewk_view can be discarded without rendering.
- https://bugs.webkit.org/show_bug.cgi?id=71564
-
- Reviewed by Hajime Morita.
-
- As ewk_view discards a queue for invalidation requests
- as soon as it proceeds the repaint step, the newly produced invalidation requests
- from ewk_view_layout_if_needed_recursive API can be discarded
- and unpainted dirty area can occur.
- As this issue is just caused by use of flush API in repaint step,
- (internal API) ewk_view_repaints_get is replaced with ewk_view_repaints_pop
- in order to make sure that old invalidation requests are removed from queue.
- And in addition to that, ewk_view_repaint_add is modified
- in order to let queue of invalidation requests keep a proper size.
- As a result flush API won't be used for the repaint step.
-
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_repaint_add):
- (_ewk_view_smart_calculate):
- (ewk_view_repaints_pop):
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_smart_repaints_process):
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_smart_repaints_process):
-
-2012-01-04 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Refactor the way using cairo in ewk_tiled_backing_store.
- https://bugs.webkit.org/show_bug.cgi?id=74993
-
- Reviewed by Nikolas Zimmermann.
-
- For now there are cairo related code scattered around the ewk_tiled_backing_store.
- From the point of code complexity view, it doesn't look good and I couldn't notice any benefit of it.
- So, this patch will let cairo related code be used only for painting operation.
-
- * ewk/ewk_tiled_backing_store.h:
- * ewk/ewk_tiled_matrix.cpp:
- (ewk_tile_matrix_tile_new):
- * ewk/ewk_tiled_model.cpp:
- (ewk_tile_new):
- (ewk_tile_free):
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_render_cb):
-
-2012-01-03 Jon Lee <jonlee@apple.com>
-
- Leak of WebNotificationClient when page is destroyed
- https://bugs.webkit.org/show_bug.cgi?id=74980
- <rdar://problem/10611231>
-
- Reviewed by Mark Rowe.
-
- * WebCoreSupport/NotificationPresenterClientEfl.cpp:
- (WebCore::NotificationPresenterClientEfl::notificationControllerDestroyed): Stub implementation, because
- the notification presenter is unimplemented.
- * WebCoreSupport/NotificationPresenterClientEfl.h:
-
-2012-01-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Remove whitespace/declaration style exception
- https://bugs.webkit.org/show_bug.cgi?id=75424
-
- Reviewed by David Levin.
-
- EFL port doesn't need to avoid *whitespace/declaration* exception because of coding
- style change. However, EWebLauncher and MiniBrowser need to use EFL coding style because
- they are EFL application.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- * ewk/ewk_frame.cpp:
- (ewk_frame_feed_touch_event):
- * ewk/ewk_tiled_matrix.cpp:
- (ewk_tile_matrix_invalidate):
- * ewk/ewk_view.cpp:
-
-2012-01-01 Eunmi Lee <eunmi15.lee@samsung.com>
-
- [EFL] Move function to get dpi to the WebCore/platform/efl/EflScreenUtilities.cpp.
- https://bugs.webkit.org/show_bug.cgi?id=75292
-
- Reviewed by Andreas Kling.
-
- Move ewk_util_dpi_get() function in the ewk_util.cpp to the
- WebCore/platform/efl/EflScreenUtilities.cpp in order to use it in the WebKit2.
- The function's name is changed to getDPI().
-
- * ewk/ewk_private.h:
- * ewk/ewk_util.cpp:
- (ewk_util_image_from_cairo_surface_add):
- * ewk/ewk_view.cpp:
- (_ewk_view_viewport_attributes_compute):
-
-2011-12-27 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Remove duplicate code and remove entry after freeing the matrix.
- https://bugs.webkit.org/show_bug.cgi?id=75073
-
- Reviewed by Ryosuke Niwa.
-
- Remove duplicate ewk_tile_unused_cache_freeze code.
- Entry matrix should free first before removing entry in inlist,
- because in eina_matrixsparce_free callback entry pointer is referenced to decrease the reference count.
-
- * ewk/ewk_tiled_matrix.cpp:
- (ewk_tile_matrix_free):
-
-2011-12-26 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Last parameter of ewk_view_scroll is always true.
- https://bugs.webkit.org/show_bug.cgi?id=75157
-
- Reviewed by Andreas Kling.
-
- Remove unnecessary parameter in ewk_view_scroll and related code, because
- it's always true and ewk_view_tile can scroll when it is only true.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::scroll):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_scroll_add):
- (ewk_view_scroll):
- * ewk/ewk_view.h:
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_smart_scrolls_process):
-
-2011-12-23 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- Unreviewed; fix build with ENABLE(NETSCAPE_PLUGIN_API).
-
- * ewk/ewk_js.cpp: Include ewk_logging.h for ERR().
-
-2011-12-22 Mariusz Grzegorczyk <mariusz.g@samsung.com>
-
- [EFL] Missing plugins support for efl port
- https://bugs.webkit.org/show_bug.cgi?id=44505
-
- Reviewed by Anders Carlsson.
-
- Implementation of ewk_frame_plugin_create() - creating PluginView.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_plugin_create):
-
-2011-12-22 Eunmi Lee <eunmi15.lee@samsung.com>
-
- [EFL] Remove unused parameter names.
- https://bugs.webkit.org/show_bug.cgi?id=74702
-
- Reviewed by Eric Seidel.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_on_focus_in):
- (_ewk_view_on_focus_out):
- (_ewk_view_on_mouse_wheel):
- (_ewk_view_on_mouse_down):
- (_ewk_view_on_mouse_up):
- (_ewk_view_on_mouse_move):
- (_ewk_view_on_key_down):
- (_ewk_view_on_key_up):
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_on_del):
-
-2011-12-22 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Invalidation request for outside of visible area doesn't seem to occur when tiled view is used.
- https://bugs.webkit.org/show_bug.cgi?id=70873
-
- Reviewed by Anders Carlsson.
-
- In order to guarantee the paint outside of viewport when ewk_view_tiled is used,
- ewk_frame_paint_full_set should be called by ewk_frame_view_create_for_view
- when frame is created because frame view can be created newly as soon as page is created.
- But for the ewk_view_single, as it doesn't need to paint outside of viewport,
- ewk_frame_paint_full_set must not be called for ewk_view_single.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::transitionToCommittedForNewPage):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_frame_view_creation_notify):
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_smart_add):
- (ewk_view_tiled_smart_set):
-
-2011-12-21 Michał Pakuła vel Rutka <m.pakula@samsung.com>
-
- [EFL] Add 'Select All' option to context menus in WebKit-EFL.
- https://bugs.webkit.org/show_bug.cgi?id=74920
-
- Reviewed by Eric Seidel.
-
- Enable 'Select All' option to context menus called on input fields in WebKit-EFL
- as it is enabled in GTK and QT ports.
-
- * ewk/ewk_contextmenu.h: Add new context menu option 'Select All'.
-
-2011-12-19 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Change the behavior of ewk_view_scale_set.
- https://bugs.webkit.org/show_bug.cgi?id=70078
-
- Reviewed by Eric Seidel.
-
- Remove center point basis zoom alignment from ewk_view_scale_set to call
- Page::setPageScaleFactor without any adjustment.
-
- * ewk/ewk_view.cpp:
- (ewk_view_scale_set):
- * ewk/ewk_view.h:
-
-2011-12-19 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- Unreviewed; fix the build with ENABLE(TOUCH_EVENTS) after r103167.
-
- This partly reverts r102297: the Touch{Start,Move,End,Cancel} events
- are not in a separate enum anymore (they are part of
- WebCore::PlatformEvent), so the assertions in AssertMatchingEnums.cpp
- always fail. Setting EWK_TOUCH_START to TouchStart feels even more
- hackish, so we just convert the types manually again for now.
-
- * WebCoreSupport/AssertMatchingEnums.cpp:
- * ewk/ewk_frame.cpp:
- (ewk_frame_feed_touch_event):
-
-2011-12-17 Sam Weinig <sam@webkit.org>
-
- Make PlatformTouchEvent inherit from PlatformEvent
- https://bugs.webkit.org/show_bug.cgi?id=74777
-
- Reviewed by Andreas Kling.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_feed_touch_event):
- Rename TouchEventType to PlatformEvent::Type.
-
-2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
-
- Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
- https://bugs.webkit.org/show_bug.cgi?id=74748
-
- Reviewed by Eric Seidel.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::registerUndoStep):
- (WebCore::EditorClientEfl::registerRedoStep):
- * WebCoreSupport/EditorClientEfl.h:
-
-2011-12-16 Sam Weinig <sam@webkit.org>
-
- Give PlatformEvents a base class
- https://bugs.webkit.org/show_bug.cgi?id=74685
-
- Reviewed by Anders Carlsson.
-
- Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
- and PlatformGestureEvent and move Type enumeration and modifiers down to it.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
-
-2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
-
- Only EditCommandComposition should implement unapply and reapply
- https://bugs.webkit.org/show_bug.cgi?id=74490
-
- Reviewed by Eric Seidel.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::registerCommandForUndo):
- (WebCore::EditorClientEfl::registerCommandForRedo):
- (WebCore::EditorClientEfl::undo):
- (WebCore::EditorClientEfl::redo):
- * WebCoreSupport/EditorClientEfl.h:
-
-2011-12-15 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Clean up and refactor the memory cache functions in ewk_settings.
- https://bugs.webkit.org/show_bug.cgi?id=72140
-
- Reviewed by Antonio Gomes.
-
- Use a better naming prefix, as "ewk_settings_cache" was too general,
- and make it possible to pass all parameters to
- MemoryCache::setCapacities().
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_object_cache_capacity_set):
- (ewk_settings_object_cache_enable_get):
- (ewk_settings_object_cache_enable_set):
- * ewk/ewk_settings.h:
-
-2011-12-15 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Add a few more web database functions to ewk_settings.
- https://bugs.webkit.org/show_bug.cgi?id=72148
-
- Reviewed by Antonio Gomes.
-
- Add code to change the default quota (there as only a getter so far)
- and one to clear the databases.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_web_database_default_quota_set):
- (ewk_settings_web_database_clear):
- * ewk/ewk_settings.h:
-
-2011-12-14 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Change efl style variable name with WebKit style for internal functions.
- https://bugs.webkit.org/show_bug.cgi?id=74474
-
- Reviewed by Ryosuke Niwa.
-
- In order to be more compliant with WebKit coding style, variable names of internal functions
- should be changed with WebKit coding style.
-
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_scroll):
-
-2011-12-14 Jing Zhao <jingzhao@chromium.org>
-
- Opening two popup menus by dispatchEvent() makes problems.
- https://bugs.webkit.org/show_bug.cgi?id=73304
-
- Reviewed by Kent Tamura.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::hasOpenedPopup): Not implemented.
- * WebCoreSupport/ChromeClientEfl.h: Overrides hasOpenedPopup().
-
-2011-12-12 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Add API to query the validity of a frame's SSL certificate.
- https://bugs.webkit.org/show_bug.cgi?id=74302
-
- Reviewed by Gustavo Noronha Silva.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_certificate_status_get):
- * ewk/ewk_frame.h:
-
-2011-12-12 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Add API to notify that mixed content has been loaded.
- https://bugs.webkit.org/show_bug.cgi?id=74301
-
- Reviewed by Gustavo Noronha Silva.
-
- When mixed content is displayed/run, both frames and views
- emit the proper signals to notify API users.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::didDisplayInsecureContent):
- (WebCore::FrameLoaderClientEfl::didRunInsecureContent):
- * ewk/ewk_frame.cpp:
- (ewk_frame_view_create_for_view):
- (ewk_frame_mixed_content_displayed_get):
- (ewk_frame_mixed_content_run_get):
- (ewk_frame_mixed_content_displayed_set):
- (ewk_frame_mixed_content_run_set):
- * ewk/ewk_frame.h:
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_frame_main_cleared):
- (ewk_view_mixed_content_displayed_get):
- (ewk_view_mixed_content_run_get):
- (ewk_view_mixed_content_displayed_set):
- (ewk_view_mixed_content_run_set):
- * ewk/ewk_view.h:
-
-2011-12-12 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Add API to manage root X.509 CA certificates.
- https://bugs.webkit.org/show_bug.cgi?id=74300
-
- Reviewed by Martin Robinson.
-
- * ewk/ewk_network.cpp:
- (ewk_network_tls_ca_certificates_path_get):
- (ewk_network_tls_ca_certificates_path_set):
- * ewk/ewk_network.h:
-
-2011-12-12 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Add API to control whether SSL certificates should be checked.
- https://bugs.webkit.org/show_bug.cgi?id=74299
-
- Reviewed by Martin Robinson.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body): Explicitly disable certificate checks by default.
- * ewk/ewk_network.cpp:
- (ewk_network_tls_certificate_check_get):
- (ewk_network_tls_certificate_check_set):
- * ewk/ewk_network.h:
-
-2011-12-07 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Introduce AssertMatchingEnums.cpp.
- https://bugs.webkit.org/show_bug.cgi?id=65238
-
- Reviewed by Filip Pizlo.
-
- Add AssertMatchingEnums.cpp to assert that various WebKit API enum values
- match to WebCore defined enum values.
-
- * CMakeListsEfl.txt: add AssertMatchingEnums.cpp.
- * WebCoreSupport/AssertMatchingEnums.cpp: Added.
- * ewk/ewk_frame.cpp:
- (ewk_frame_feed_touch_event): remove switch statement wichi convert WebKit API enum value to WebCore defined enum values.
- (ewk_frame_text_selection_type_get): Ditto.
- * ewk/ewk_view.cpp:
- (ewk_view_mode_set): Ditto.
- (ewk_view_mode_get): Ditto.
- (ewk_view_visibility_state_set): Ditto.
- (ewk_view_visibility_state_get): Ditto.
- * ewk/ewk_frame.h: fix order of enum values.
- * ewk/ewk_view.h: add missing enum value.
-
-2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>
-
- Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
- https://bugs.webkit.org/show_bug.cgi?id=73986
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
-
-2011-12-05 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Do not lose message flags when converting to/from Soup Requests/Responses
- https://bugs.webkit.org/show_bug.cgi?id=73924
-
- Reviewed by Gustavo Noronha Silva.
-
- Apply the same change added to the GTK+ port in r55086 to prevent
- soup message flags from being lost by updating the request flags when
- a response is received.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):
-
-2011-12-04 Kangil Han <kangil.han@samsung.com>
-
- [EFL] Fix broken UTF-8 characters issue on editor command.
- https://bugs.webkit.org/show_bug.cgi?id=73516
-
- Reviewed by Ryosuke Niwa.
-
- The issue has been described that Korean character is broken on pasting copied text.
- In my analysis, this is from lack of format change between C style UTF-8 character pointer and C++ style String reference.
- Therefore, this patch will convert types to resolve the problem.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_editor_command):
-
-2011-12-03 ChangSeok Oh <shivamidow@gmail.com>
-
- [EFL] Revise ewk_view_fixed_layout_size_set
- https://bugs.webkit.org/show_bug.cgi?id=73401
-
- Reviewed by Eric Seidel.
-
- Improve readability and replace forceLayout to setNeedsLayout,
- since it sometimes causes double drawing.
-
- * ewk/ewk_view.cpp:
- (ewk_view_fixed_layout_size_set):
-
-2011-12-02 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Remove entry pointer before freeing it from matrix.
- https://bugs.webkit.org/show_bug.cgi?id=73625
-
- Reviewed by Ryosuke Niwa.
-
- To prevent leaving dangling pointer on the matrix, remove the entry before freeing it.
-
- * ewk/ewk_tiled_matrix.cpp:
- (ewk_tile_matrix_free):
-
-2011-12-01 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Cleanup includes to reduce code complexity.
- https://bugs.webkit.org/show_bug.cgi?id=73540
-
- Reviewed by Gustavo Noronha Silva.
-
- EWebKit.h is a list of public header files for application to use WebKit/Efl.
- This patch removes EWebKit.h in internal files to reduce unnecessary includes.
- In addition, reorders optional includes to fix style.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- * WebCoreSupport/EditorClientEfl.cpp:
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- * ewk/ewk_auth_soup.cpp:
- * ewk/ewk_contextmenu.cpp:
- * ewk/ewk_cookies.cpp:
- * ewk/ewk_frame.cpp:
- * ewk/ewk_history.cpp:
- * ewk/ewk_main.cpp:
- * ewk/ewk_private.h:
- * ewk/ewk_settings.cpp:
- * ewk/ewk_util.cpp:
- * ewk/ewk_view.cpp:
- * ewk/ewk_view_single.cpp:
- * ewk/ewk_view_tiled.cpp:
- * ewk/ewk_window_features.cpp:
-
-2011-12-01 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Remove the ewk_protocol_handler-related code
- https://bugs.webkit.org/show_bug.cgi?id=73018
-
- Reviewed by Martin Robinson.
-
- This functionality has been broken since r99364, which stopped setting
- the "webkit-resource" property needed by
- ewk_protocol_handler_soup.cpp.
-
- After giving it some thought, it looks clear that this code should not
- be in ewk at all: it is very backend-specific (even in the function
- signatures it expects), and it only allows callers to register schemes
- once and provide a single handler to all of them, which does not make
- much sense.
-
- Client code using WebKit-EFL with the soup backend should be
- responsible for creating their own request handlers (ie. subclass
- SoupRequest) instead.
-
- For that to be possible, a function which returns the default
- SoupSession used by WebKit has been added.
-
- * CMakeListsEfl.txt:
- * ewk/ewk_network.cpp:
- (ewk_network_default_soup_session_get):
- * ewk/ewk_network.h:
- * ewk/ewk_private.h:
- * ewk/ewk_protocol_handler.cpp: Removed.
- * ewk/ewk_protocol_handler.h: Removed.
- * ewk/ewk_protocol_handler_soup.cpp: Removed.
- * ewk/ewk_protocol_handler_soup.h: Removed.
- * ewk/ewk_view.cpp:
- * ewk/ewk_view.h:
-
-2011-11-30 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed. Fix build error when NOTIFICATIONS feature is enabled.
-
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-11-30 Alexey Proskuryakov <ap@apple.com>
-
- Remove an unneeded argument from FrameLoaderClient::download
- https://bugs.webkit.org/show_bug.cgi?id=73486
-
- Reviewed by Andreas Kling.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::download):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- Updated for the change.
-
-2011-11-30 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Apply alpha channel into ewk_tiled_backing_store's tile objects.
- https://bugs.webkit.org/show_bug.cgi?id=73015
-
- Reviewed by Chang Shu.
-
- Add alpha_set API to tiled backing store to apply alpha channel on tile objects.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_ewk_tiled_backing_store_tile_associate):
- (ewk_tiled_backing_store_alpha_set):
- * ewk/ewk_tiled_backing_store.h:
- * ewk/ewk_view.h:
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_smart_bg_color_set):
- (ewk_view_tiled_smart_set):
-
-2011-11-30 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Remove duplicated UA information function.
- https://bugs.webkit.org/show_bug.cgi?id=73104
-
- Reviewed by Filip Pizlo.
-
- Though ewk_setting already implemented an internal function for UA(user agent) information,
- FrameLoaderClientEfl has used duplicated function for UA information. So, this patch removes
- the UA information function of FrameLoaderClientEfl and uses an internal UA information function
- of ewk_setting. In addition, UA infomation function is enhanced for other ports.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::composeUserAgent):
- * ewk/ewk_settings.cpp:
- (ewk_settings_default_user_agent_get):
-
-2011-11-30 Tomasz Morawski <t.morawski@samsung.com>
-
- [EFL] Added DEFAULT_CACHE_SIZE define.
- https://bugs.webkit.org/show_bug.cgi?id=73120
-
- Reviewed by Filip Pizlo.
-
- Remove form code 40960000 value used in code directly and replaced it by DEFAULT_CACHE_SIZE define. The code
- looks cleaner now.
-
- * ewk/ewk_tiled_matrix.cpp:
- (ewk_tile_matrix_new):
-
-2011-11-28 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Rename abbreviated value names to cpp style names.
- https://bugs.webkit.org/show_bug.cgi?id=73193
-
- Reviewed by Andreas Kling.
-
- Rename abbreviated values name to cpp style names in ewk_single/tiled_view.cpp.
-
- * ewk/ewk_view_single.cpp:
- (_ewk_view_4b_move_region_up):
- (_ewk_view_4b_move_region_down):
- (_ewk_view_4b_move_line_left):
- (_ewk_view_4b_move_line_right):
- (_ewk_view_4b_move_region_left):
- (_ewk_view_4b_move_region_right):
- (_ewk_view_4b_move_region):
- (_ewk_view_single_scroll_process_single):
- (_ewk_view_single_smart_repaints_process):
- * ewk/ewk_view_tiled.cpp:
- (_ewk_view_tiled_smart_scrolls_process):
- (_ewk_view_tiled_smart_repaints_process):
-
-2011-11-26 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r101193.
- http://trac.webkit.org/changeset/101193
- https://bugs.webkit.org/show_bug.cgi?id=73158
-
- Breaks Windows and Qt minimal. (Requested by pfeldman on
- #webkit).
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- * WebCoreSupport/InspectorClientEfl.h:
-
-2011-11-24 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Add implementation considering ewk_tiled_backing_store's visible status.
- https://bugs.webkit.org/show_bug.cgi?id=71791
-
- Reviewed by Gustavo Noronha Silva.
-
- In order to prevent rendering and pre-rendering while backing store is hidden,
- its visibility is checked and pre-rendering is handled whenever backing store is shown or hidden.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_ewk_tiled_backing_store_item_process_idler_start):
- (_ewk_tiled_backing_store_item_fill):
- (_ewk_tiled_backing_store_smart_show):
- (_ewk_tiled_backing_store_smart_hide):
- (ewk_tiled_backing_store_add):
-
-2011-11-22 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: remove Inspector::bringToFront from the protocol.
- https://bugs.webkit.org/show_bug.cgi?id=72937
-
- Reviewed by Yury Semikhatsky.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorClientEfl::bringFrontendToFront):
- * WebCoreSupport/InspectorClientEfl.h:
-
-2011-11-21 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Add more appcache functions to ewk_settings.
- https://bugs.webkit.org/show_bug.cgi?id=72143
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Add a few more functions to make it possible to have more control over
- the offline web application features.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_application_cache_max_quota_get):
- (ewk_settings_application_cache_max_quota_set):
- (ewk_settings_application_cache_clear):
- * ewk/ewk_settings.h:
-
-2011-10-17 Antonio Gomes <agomes@rim.com>
-
- Pass a Frame* parameter in EditorClient::respondToChangedSelection
- https://bugs.webkit.org/show_bug.cgi?id=70248
-
- Reviewed by Ryosuke Niwa.
-
- * WebCoreSupport/EditorClientEfl.cpp: Make use of the newly added Frame* parameter.
- (WebCore::EditorClientEfl::respondToChangedSelection):
- * WebCoreSupport/EditorClientEfl.h:
-
-2011-11-17 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Add matrix list to reuse tile matrix for each different zoom level.
- https://bugs.webkit.org/show_bug.cgi?id=68595
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Add matrix list to keep each tile matrix corresponding to each different zoom level when zoom level is changed.
- Then backing store can reuse tile matrix by getting it from this matrix list.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_ewk_tiled_backing_store_model_matrix_create):
- (_ewk_tiled_backing_store_smart_calculate):
- (_ewk_tiled_backing_store_zoom_set_internal):
- * ewk/ewk_tiled_matrix.cpp:
- (ewk_tile_matrix_entry_get):
- (_ewk_tile_matrix_cell_free):
- (_ewk_tile_matrix_tile_free):
- (ewk_tile_matrix_new):
- (ewk_tile_matrix_zoom_level_set):
- (ewk_tile_matrix_invalidate):
- (ewk_tile_matrix_free):
- (ewk_tile_matrix_tile_new):
- * ewk/ewk_tiled_matrix.h:
-
-2011-11-17 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Clean up the use of DATA_DIR in the buildsystem
- https://bugs.webkit.org/show_bug.cgi?id=72681
-
- Reviewed by Daniel Bates.
-
- Instead of messing with BUILD_DATA_DIR and PARENT_SCOPE, just use
- THEME_BINARY_DIR as defined in OptionsEfl.cmake.
-
- * CMakeListsEfl.txt:
-
-2011-11-16 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Use standard booleand data type in struct.
- https://bugs.webkit.org/show_bug.cgi?id=72565
-
- Reviewed by Martin Robinson.
-
- Change *Eina_Bool* usages with *bool* in member variables of internal struct.
-
- * ewk/ewk_contextmenu.cpp:
- * ewk/ewk_frame.cpp:
- * ewk/ewk_tiled_backing_store.cpp:
- * ewk/ewk_view.cpp:
-
-2011-11-16 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Add ewk_settings_memory_cache_clear().
- https://bugs.webkit.org/show_bug.cgi?id=72141
-
- Reviewed by Kenneth Rohde Christiansen.
-
- This is the same as Qt's QWebSettings::clearMemoryCaches() and is
- responsible for clearing, among others, the page, memory and font
- caches.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_memory_cache_clear):
- * ewk/ewk_settings.h:
-
-2011-11-16 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Clean up the web database-related functions in ewk_settings.
- https://bugs.webkit.org/show_bug.cgi?id=72139
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Mostly remove some unnecessary ENABLE(SQL_DATABASE) checks and use a
- more standard naming scheme for the related static variables.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_web_database_default_quota_get):
- (ewk_settings_web_database_path_set):
- (ewk_settings_web_database_path_get):
- * ewk/ewk_settings.h: Document the default web database path on disk.
-
-2011-11-16 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Clean up the offline apps-related functions in ewk_settings.
- https://bugs.webkit.org/show_bug.cgi?id=72132
-
- Reviewed by Kenneth Rohde Christiansen.
-
- `ewk_settings_cache' and `ewk_view_setting_cache' are too common
- prefixes for code that is related only to the HTML5 app cache
- features.
-
- Use `ewk_settings_application_cache' and
- `ewk_view_setting_application_cache' instead.
-
- While here, improve the documentation and use a more common naming
- scheme for the static variable which holds the cache path.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
- * ewk/ewk_settings.cpp:
- (ewk_settings_application_cache_path_set):
- (ewk_settings_application_cache_path_get):
- * ewk/ewk_settings.h:
- * ewk/ewk_view.cpp:
- (ewk_view_setting_application_cache_get):
- (ewk_view_setting_application_cache_set):
- * ewk/ewk_view.h:
-
-2011-11-15 Anders Carlsson <andersca@apple.com>
-
- HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
- https://bugs.webkit.org/show_bug.cgi?id=72397
-
- Reviewed by Dan Bernstein.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::rootViewToScreen):
- (WebCore::ChromeClientEfl::screenToRootView):
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-11-14 Anders Carlsson <andersca@apple.com>
-
- HostWindow invalidation functions should use root view coordinates
- https://bugs.webkit.org/show_bug.cgi?id=72338
-
- Reviewed by Dan Bernstein.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::invalidateRootView):
- (WebCore::ChromeClientEfl::invalidateContentsAndRootView):
- (WebCore::ChromeClientEfl::invalidateContentsForSlowScroll):
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-11-15 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Use EINA_SAFETY_ON_NULL_RETURN_VAL for NULL checks instead of EINA_SAFETY_ON_FALSE_RETURN_VAL.
- https://bugs.webkit.org/show_bug.cgi?id=70091
-
- Reviewed by Filip Pizlo.
-
- Replaces EINA_SAFETY_ON_FALSE_RETURN_VAL by EINA_SAFETY_ON_NULL_RETURN_VAL for NULL checks in compliance
- with WebKit-EFL functions.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_contents_set):
- (ewk_frame_contents_alternate_set):
-
-2011-11-14 Jongseok Yang <js45.yang@samsung.com>
-
- [EFL] Update ewk_frame_script_execute to return the result for JavaScript
- https://bugs.webkit.org/show_bug.cgi?id=65972
-
- Reviewed by Antonio Gomes.
-
- It executes the javascript and converts the result to a string using toString.
- And it returns the memory-allocated pointer for the value.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_script_execute):
- * ewk/ewk_frame.h:
-
-2011-11-13 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Improve the documentation of ewk_view_setting_local_storage_*.
- https://bugs.webkit.org/show_bug.cgi?id=72135
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Add some "see also" pointers, mention the default paths used for local
- storage and document how things will not be persisted to disk if a
- storage path is not set.
-
- * ewk/ewk_view.h:
-
-2011-11-13 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Simplify eina_stringshare usage in ewk_settings.
- https://bugs.webkit.org/show_bug.cgi?id=72127
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Actually use the eina_stringshare functions in a sane way.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_web_database_path_set): Just use
- eina_stringshare_replace instead of doing needless checks and using
- eina_stringshare_add.
- (ewk_settings_cache_directory_path_set): Ditto.
- (ewk_settings_icon_database_path_set): Ditto and always call
- eina_stringshare_del, as passing NULL to it is just a NOP.
-
-2011-11-11 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Remove unused flags in pre-render implementation
- https://bugs.webkit.org/show_bug.cgi?id=65504
-
- The high priority pre-render flag was not used anywhere,
- so we can get rid of the whole concept and always consider the requests have low priority
-
- Reviewed by Daniel Bates.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_ewk_tiled_backing_store_pre_render_request_add):
- (ewk_tiled_backing_store_pre_render_region):
- (ewk_tiled_backing_store_pre_render_relative_radius):
-
-2011-11-09 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Remove unnecessary casts when creating the WebCoreSupport objects in ewk_view.
- https://bugs.webkit.org/show_bug.cgi?id=71891
-
- Reviewed by Antonio Gomes.
-
- This is C++ code, there is no need to cast the new objects to their
- parents when creating them.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2011-11-09 Tomasz Morawski <t.morawski@samsung.com>
-
- [EFL] Removed unused variable
- https://bugs.webkit.org/show_bug.cgi?id=71877
-
- Reviewed by Andreas Kling.
-
- Removed unused rect variable declaration and renamed rect1 variable to rect.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_ewk_tiled_backing_store_smart_calculate):
-
-2011-11-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Need to replace api's object parameter with proper name.
- https://bugs.webkit.org/show_bug.cgi?id=71553
-
- Fix wrong parameter names in tiled backing store functions and ewk_view_xxx files.
-
- Reviewed by Filip Pizlo.
-
- * ewk/ewk_tiled_backing_store.cpp:
- * ewk/ewk_view_single.cpp:
- * ewk/ewk_view_tiled.cpp:
-
-2011-11-07 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Emit the "frame,created" signal earlier.
- https://bugs.webkit.org/show_bug.cgi?id=71696
-
- Reviewed by Kenneth Rohde Christiansen.
-
- FrameLoader::loadURLIntoChildFrame will trigger the machinery that will call
- FrameLoaderClientEfl::dispatchDidStartProvisionalLoad. However, since we were
- emitting the "frame,created" signal after that, applications would connect to
- it after some other frame signals had already been emitted. Should help tests
- such as http/tests/loading/empty-subframe.html pass.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_child_add):
- * ewk/ewk_view.cpp:
- (ewk_view_frame_create):
-
-2011-11-04 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] DRT: Fix the order of the items in the dumped history list.
- https://bugs.webkit.org/show_bug.cgi?id=71562
-
- It did not make much sense to hold the history list in a map, as we do not need
- the keys. And the printed items must be sorted by target, which is more easily
- done with a vector.
-
- Should make tests such as http/tests/navigation/error404-frames.html pass.
-
- Reviewed by Antonio Gomes.
-
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- (DumpRenderTreeSupportEfl::childHistoryItems):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h:
-
-2011-11-04 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Use standard booleand data type.
- https://bugs.webkit.org/show_bug.cgi?id=71433
-
- This is a fourth step in order to be more compliant with WebKit coding style.
- Use standard boolean data type instead of efl boolean data type. It makes efl port
- is more close to webkit coding style.
-
- Reviewed by Zoltan Herczeg.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- * ewk/ewk_contextmenu.cpp:
- * ewk/ewk_cookies.cpp:
- * ewk/ewk_frame.cpp:
- * ewk/ewk_history.cpp:
- * ewk/ewk_js.cpp:
- * ewk/ewk_main.cpp:
- * ewk/ewk_network.cpp:
- * ewk/ewk_private.h:
- * ewk/ewk_protocol_handler.cpp:
- * ewk/ewk_protocol_handler_soup.cpp:
- * ewk/ewk_settings.cpp:
- * ewk/ewk_tiled_backing_store.cpp:
- * ewk/ewk_tiled_matrix.cpp:
- * ewk/ewk_tiled_model.cpp:
- * ewk/ewk_util.cpp:
- * ewk/ewk_view.cpp:
- * ewk/ewk_view_single.cpp:
- * ewk/ewk_view_tiled.cpp:
-
-2011-11-03 Tomasz Morawski <t.morawski@samsung.com>
-
- [EFL] Added ewk_tile_memory_size_get function
- https://bugs.webkit.org/show_bug.cgi?id=71213
-
- Reviewed by Anders Carlsson.
-
- Added the ewk_tile_memory_size_get function returns size of used memory by given tile. Simplify and cleanup
- the code.
-
- * ewk/ewk_tiled_model.cpp:
- (ewk_tile_memory_size_get):
- (ewk_tile_unused_cache_flush):
- (ewk_tile_unused_cache_tile_get):
- (ewk_tile_unused_cache_tile_put):
- * ewk/ewk_tiled_model.h:
-
-2011-11-03 Darin Adler <darin@apple.com>
-
- Change remaining callers of releaseRef to call leakRef
- https://bugs.webkit.org/show_bug.cgi?id=71422
-
- Reviewed by Darin Fisher.
-
- * ewk/ewk_history.cpp:
- (ewk_history_item_new): Use leakRef.
-
-2011-11-02 Darin Adler <darin@apple.com>
-
- Change remaining callers of releaseRef to call leakRef
- https://bugs.webkit.org/show_bug.cgi?id=71422
-
- Reviewed by Darin Fisher.
-
- * ewk/ewk_history.cpp:
- (ewk_history_item_new): Use leakRef.
-
-2011-11-03 Mark Hahnenberg <mhahnenberg@apple.com>
-
- De-virtualize JSObject::className
- https://bugs.webkit.org/show_bug.cgi?id=71428
-
- Reviewed by Sam Weinig.
-
- Added className to the MethodTable, changed all the virtual
- implementations of className to static ones, and replaced
- all call sites with corresponding lookups in the MethodTable.
-
- * ewk/ewk_js.cpp:
- (ewk_js_npobject_to_object):
-
-2011-11-03 Fady Samuel <fsamuel@chromium.org>
-
- Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
- https://bugs.webkit.org/show_bug.cgi?id=70609
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_viewport_attributes_compute):
-
-2011-11-03 Dongwoo Im <dw.im@samsung.com>
-
- [EFL] Enable the Page Visibility API.
- https://bugs.webkit.org/show_bug.cgi?id=69127
-
- Reviewed by Adam Barth.
-
- Implement methods to enable the Page Visibility API on EFL port.
- (http://www.w3.org/TR/page-visibility)
-
- When the visibility status of the page is changed, browser could
- inform the status to WebKit using the APIs below.
-
- * ewk/ewk_view.cpp: Add setter/getter functions to query/set page visibility state.
- (ewk_view_visibility_state_set): Sets the page visibility status.
- (ewk_view_visibility_state_get): Gets the page visibility status.
- * ewk/ewk_view.h: Add public prototypes.
-
-2011-11-02 Tom Sepez <tsepez@chromium.org>
-
- XSSAuditor is silent
- https://bugs.webkit.org/show_bug.cgi?id=70973
-
- Reviewed by Adam Barth.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::didDetectXSS):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-11-02 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Fix build break when DEBUG_MEM_LEAKS is enabled.
- https://bugs.webkit.org/show_bug.cgi?id=71349
-
- Unreviewed build fix.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_ewk_tiled_backing_store_smart_del): remove wrong assignment
- * ewk/ewk_tiled_matrix.cpp: define __STDC_FORMAT_MACROS to use PRIu64
- (ewk_tile_matrix_free): s/tileMatrixm/tileMatrix
- (ewk_tile_matrix_dbg): s/tm/tileMatrix
- * ewk/ewk_tiled_model.cpp: define __STDC_FORMAT_MACROS to use PRIu64
- (_ewk_tile_account_get): remove REALLOC_OR_OOM_RET
-
-2011-11-02 ChangSeok Oh <shivamidow@gmail.com>
-
- [EFL] Dirty area is not updated with requestAnimationFrame.
- https://bugs.webkit.org/show_bug.cgi?id=70170
-
- Some additional dirty areas caused by re-layout have ignored
- since updateLayoutAndSytleIfNeedeRecursive is called after gathering dirty area to repaint.
- So ewk_view_layout_if_needed_recursive is relocated before getting dirty areas.
-
- Reviewed by Eric Seidel.
-
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_smart_repaints_process):
-
-2011-10-31 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Rename ewk_view_setting_scripts_window_open_{get,set} after r93833
- https://bugs.webkit.org/show_bug.cgi?id=71228
-
- Reviewed by Antonio Gomes.
-
- r93833 has introduced
- ewk_view_setting_scripts_can_close_windows_{get,set}, but its
- counterpart to allow scripts to open windows kept its weird name.
-
- This makes the functions to allow windows to open and close windows to
- have confusingly different name patterns.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_setting_scripts_can_open_windows_get):
- (ewk_view_setting_scripts_can_open_windows_set):
- * ewk/ewk_view.h:
-
-2011-10-31 Tomasz Morawski <t.morawski@samsung.com>
-
- [EFL] Make cache flush when max size of cache has been changed
- https://bugs.webkit.org/show_bug.cgi?id=70805
-
- Reviewed by Ryosuke Niwa.
-
- Calls the ewk_tile_unused_cache_auto_flush function after changing max
- size of cache when ewk_tile_unused_cache_max_set is called. Without
- this change when new value is lower than the old one the cache may use
- more memory than max value set. This situation is not expected by the
- user.
-
- * ewk/ewk_tiled_model.cpp:
- (ewk_tile_unused_cache_max_set):
-
-2011-10-28 Jochen Eisinger <jochen@chromium.org>
-
- Rename a number of methods mentioning JavaScript to just Script instead
- https://bugs.webkit.org/show_bug.cgi?id=71105
-
- Reviewed by Adam Barth.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_setting_enable_scripts_set):
-
-2011-10-27 Gustavo Lima Chaves <glima@profusion.mobi>
-
- [EFL] Fix variable renaming issue inside ewk_view.cpp
- https://bugs.webkit.org/show_bug.cgi?id=71020
-
- Unreviewed build fix.
-
- * ewk/ewk_view.cpp:
- (ewk_view_js_object_add):
-
-2011-10-26 Zalan Bujtas <zbujtas@gmail.com>
-
- Name viewport change event consistently.
- https://bugs.webkit.org/show_bug.cgi?id=70901
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Use ViewportPropertiesDidChange term consistently throughout WebKit.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::dispatchViewportPropertiesDidChange):
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-10-26 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Private function _ewk_view_viewport_attributes_compute takes an internal data of ewk_view.
- https://bugs.webkit.org/show_bug.cgi?id=66366
-
- Reviewed by Ryosuke Niwa.
-
- Passes to _ewk_view_viewport_attributes_compute an internal data of ewk_view instead of the view object.
- Adds to ewk_view_viewport_attributes_get NULL checks to avoid unexpected results since this is API.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_viewport_attributes_compute):
- (ewk_view_viewport_attributes_get):
-
-2011-10-25 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- Fix occurrence of unpainted tiles while scrolling and zooming.
- https://bugs.webkit.org/show_bug.cgi?id=70711
-
- Reviewed by Adam Barth.
-
- Cast one of operatees to float type when ewk_tiled_backing_store calculate tiles list on viewport.
- For the proper calculation to generate a float number, at least one of operatees must be a float type.
- But, currently both two operatees to calculate the number of tiles on viewport routine aren't float type,
- so it generates smaller result than expected result when it is using ceil API.
- As a result, it can lose a line of tiles which should be displayed in viewport area while scrolling and zooming.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_ewk_tiled_backing_store_recalc_renderers):
- (ewk_tiled_backing_store_zoom_weak_set):
-
-2011-10-25 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Move assignment of some variables out of loop for ewk_tiled_backing_store.
- https://bugs.webkit.org/show_bug.cgi?id=67588
-
- Some of variables which aren't related with loop count or other variables
- inside of loop are moved out of loop.
-
- Reviewed by Adam Barth.
-
- * ewk/ewk_tiled_backing_store.cpp:
- (_ewk_tiled_backing_store_view_wrap_up):
- (_ewk_tiled_backing_store_view_wrap_down):
- (_ewk_tiled_backing_store_view_wrap_left):
- (_ewk_tiled_backing_store_view_wrap_right):
-
-2011-10-25 Mark Hahnenberg <mhahnenberg@apple.com>
-
- Remove putVirtual
- https://bugs.webkit.org/show_bug.cgi?id=70740
-
- Reviewed by Geoffrey Garen.
-
- Removed all declarations and definitions of putVirtual.
- Also replaced all call sites to putVirtual with a
- corresponding lookup in the MethodTable.
-
- * ewk/ewk_view.cpp:
- (ewk_view_js_object_add):
-
-2011-10-25 Ivan Briano <ivan@profusion.mobi>
-
- [EFL] Add function to get geometry of focused element
- https://bugs.webkit.org/show_bug.cgi?id=70728
-
- Reviewed by Antonio Gomes.
-
- Added function to ewk_frame to get the geometry of the focused
- element within the frame object.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_focused_element_geometry_get): Retrieves the geometry of
- the focused element within the given frame object.
- * ewk/ewk_frame.h:
-
-2011-10-25 Ivan Briano <ivan@profusion.mobi>
-
- [EFL] Add necessary information for callback instropection
- https://bugs.webkit.org/show_bug.cgi?id=70735
-
- Reviewed by Antonio Gomes.
-
- Provide the information about smart callbacks emitted by the ewk_view
- object, so that these can be easily forwarded by other objects or used
- by bindings in other languages without having to keep track of all of
- them manually.
-
- * ewk/ewk_view.cpp:
- (ewk_view_base_smart_set):
-
-2011-10-24 Ivan Briano <ivan@profusion.mobi>
-
- [EFL] Build fix. Rename all instances of a variable when it gets changed
- https://bugs.webkit.org/show_bug.cgi?id=70732
-
- Unreviewed build fix.
-
- * ewk/ewk_js.cpp:
- (ewk_js_property_set): s/obj/object/
- * ewk/ewk_view.cpp:
- (ewk_view_js_object_add): s/exec/executeState/
-
-2011-10-21 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Change efl style local variables with WebKit coding Style.
- https://bugs.webkit.org/show_bug.cgi?id=69988
-
- Reviewed by Antonio Gomes.
-
- Change *sd* variable name with *smartData*. Some variables were changed by Bug 69988.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_view_get):
- (ewk_frame_uri_set):
- (ewk_frame_uri_get):
- (ewk_frame_contents_size_get):
- (ewk_frame_load_document_finished):
- (ewk_frame_load_error):
- (ewk_frame_title_set):
- (ewk_frame_uri_changed):
- (ewk_frame_editor_client_selection_changed):
- (ewk_frame_editor_client_contents_changed):
- (EWKPrivate::coreFrame):
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_pre_render_region):
- (_ewk_view_smart_pre_render_relative_radius):
- (_ewk_view_smart_pre_render_cancel):
- (_ewk_view_smart_disable_render):
- (_ewk_view_smart_enable_render):
- (EWKPrivate::corePage):
- * ewk/ewk_view_single.cpp:
- (_ewk_view_single_smart_add):
- (_ewk_view_single_smart_resize):
-
-2011-10-21 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Change efl style local variables with WebKit coding Style.
- https://bugs.webkit.org/show_bug.cgi?id=69988
-
- Reviewed by Antonio Gomes.
-
- In common with Bug 69073, this is a third step in order to be more compliant with WebKit coding style.
- We have used one-letter| two-letter local variable according to efl style. However, it's
- more difficult for other reviewers to review EFL patches. So, this patch changes efl style
- local variable with meaningful one.
-
- - Use *menu* instead of *o* in comment of ewk_contextmenu.cpp.
- - Use *list* instead of *l* local variable
- - Use *ewkPolicy* instead of *ewk_policy* in ewk_cookies.cpp
- - Use *smartData* instead of *sd* local variable for Ewk_XXXX_Smart_Data struct.
- - Use *width*, *height* instead of *w*, *h* local variables.
- - Use *scrollX*, *scrollY*, *scrollWidth*, *scrollHeight*, *centerX*, *centerY*, *deltaX*, *deltaY*,
- *baseX*, *baseY* instead of *sx*, *sy*, *sw*, *sh*, *cx*, *cy*, *dx*, *dy*, *bx*, *by*.
- - Use *red*, *green*, *blue*, *alpha*, *contentRed*, *contentGreen*, *contentBlue* and *contentAlpha*
- instead of *r*,*g*,*b*,*a*,*cr*,*cg*,*cb*,*ca*.
- - Use *tilePositionX*, *tilePositionY* instead of *ox*,*oy* in tiled backingstore files.
- - Use *object* instead of *obj*
- - Use *length* instead of *len*
- - Use *coreFrame* instead of *cf*
- - Use *buffer* instead of *buf*
- - Use *item* instead of *i*
- - Use *currentColumn*, *currentRow* instead of *m_col*, *m_row*
- - Remove "_" in local variable.
- - And so on.
-
- * ewk/ewk_auth_soup.cpp:
- * ewk/ewk_contextmenu.cpp:
- * ewk/ewk_cookies.cpp:
- * ewk/ewk_frame.cpp:
- * ewk/ewk_history.cpp:
- * ewk/ewk_js.cpp:
- * ewk/ewk_main.cpp:
- * ewk/ewk_settings.cpp:
- * ewk/ewk_tiled_backing_store.cpp:
- * ewk/ewk_tiled_matrix.cpp:
- * ewk/ewk_tiled_model.cpp:
- * ewk/ewk_view.cpp:
-
-2011-10-21 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] ewk_view_mode_get uses dedicated macros instead of standard NULL checking.
- https://bugs.webkit.org/show_bug.cgi?id=65680
-
- Reviewed by Ryosuke Niwa.
-
- Generally API methods using macros NULL checking in WebKit-EFL.
- The macros ensure that code is smaller, version of view object
- is checked and error message is displayed if NULL is passed.
-
- * ewk/ewk_view.cpp:
- (ewk_view_mode_get):
-
-2011-10-19 Rafael Antognolli <antognolli@profusion.mobi>
-
- [EFL] Fix typos on ewk_view and ewk_js.
- https://bugs.webkit.org/show_bug.cgi?id=70430
-
- Unreviewed build fix.
-
- Fixes for typos that were introduced when renaming variables to follow
- webkit coding style.
-
- * ewk/ewk_js.cpp:
- (ewk_js_property_set):
- (ewk_js_class_new):
- (ewk_js_npobject_to_object):
- (ewk_js_object_new):
- (ewk_js_object_invoke):
- (ewk_js_object_type_get):
- (ewk_js_object_type_set):
- (ewk_js_variant_free):
- * ewk/ewk_view.cpp:
- (ewk_view_js_object_add):
-
-2011-10-18 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] DRT: Clear list of visited pages before each test.
- https://bugs.webkit.org/show_bug.cgi?id=70355
-
- Reviewed by Antonio Gomes.
-
- Add ewk_history_clear as a way to clear the list of visited pages in a
- Ewk_History, in a similar fashion to Qt's QWebHistory::clear().
-
- * ewk/ewk_history.cpp:
- (ewk_history_clear):
- * ewk/ewk_history.h:
-
-2011-10-18 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Remove const modifier from ctx_menu functions.
- https://bugs.webkit.org/show_bug.cgi?id=70090
-
- Reviewed by Andreas Kling.
-
- Functions ewk_context_menu_show and ewk_context_menu_custom_get
- have got const modifer to ensure that Ewk_Context_Menu won't be
- changed. The methods emit events through
- evas_object_smart_callback_call with Ewk_Context_Menu as parameter
- which is converted to void *. In this case an application which
- receives those events may change Ewk_Context_Menu.
-
- Additionaly the name of ewk_context_menu_custom_get has been changed
- to ewk_context_menu_customize because an application is able to
- modify the items of context menu.
-
- * ewk/ewk_contextmenu.cpp:
- (ewk_context_menu_customize):
- (ewk_context_menu_show):
- * ewk/ewk_private.h:
-
-2011-10-17 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Expose the kit() frame function to the rest of ewk.
- https://bugs.webkit.org/show_bug.cgi?id=70253
-
- Reviewed by Antonio Gomes.
-
- Now that we have the EWKPrivate namespace, it makes sense to make the
- kit() function accessible there instead of having it as a static local
- function in ewk_frame.
-
- While on it, get rid of ewk_frame_core_get, which is obsolete after
- EWKPrivate::coreFrame.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::respondToChangedSelection):
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::callPolicyFunction):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
- (WebCore::FrameLoaderClientEfl::didTransferChildFrameToNewDocument):
- (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
- (WebCore::FrameLoaderClientEfl::dispatchCreatePage):
- (WebCore::FrameLoaderClientEfl::createNetworkingContext):
- * ewk/ewk_frame.cpp:
- (_ewk_frame_loader_efl_get):
- (_ewk_frame_children_iterator_next):
- (ewk_frame_child_find):
- (ewk_frame_hit_test_new):
- (EWKPrivate::kitFrame):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_setting_encoding_custom_get):
- (ewk_view_setting_encoding_custom_set):
-
-2011-10-17 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Do not check for Frame::contentRenderer() in ewk_view_repaint.
- https://bugs.webkit.org/show_bug.cgi?id=70118
-
- Reviewed by Kenneth Rohde Christiansen.
-
- When we have a scrollbar with an actual width, there might be a call
- to ChromeClientEfl::invalidateContentsAndWindow() after
- Document::detach() was called, making the call to contentRenderer()
- return 0 even though everything is fine.
-
- Example test case: animations/animation-shorthand.html.
-
- * ewk/ewk_view.cpp:
- (ewk_view_repaint):
-
-2011-10-17 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Set a default charset when creating a view.
- https://bugs.webkit.org/show_bug.cgi?id=69771
-
- Reviewed by Antonio Gomes.
-
- Most (or all) ports default to iso-8859-1 when creating a view (or their
- equivalent of a view), so we should do that too.
-
- This makes fast/dom/Document/document-charset.html pass.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2011-10-14 Mark Hahnenberg <mhahnenberg@apple.com>
-
- Rename virtual put to putVirtual
- https://bugs.webkit.org/show_bug.cgi?id=69851
-
- Reviewed by Darin Adler.
-
- Renamed virtual versions of put to putVirtual in prepration for
- adding the static put to the MethodTable in ClassInfo since the
- compiler gets mad if the virtual and static versions have the same
- name.
-
- * ewk/ewk_view.cpp:
- (ewk_view_js_object_add):
-
-2011-10-14 Mark Hahnenberg <mhahnenberg@apple.com>
-
- Rename virtual put to putVirtual
- https://bugs.webkit.org/show_bug.cgi?id=69851
-
- Reviewed by Darin Adler.
-
- Renamed virtual versions of put to putVirtual in prepration for
- adding the static put to the MethodTable in ClassInfo since the
- compiler gets mad if the virtual and static versions have the same
- name.
-
- * ewk/ewk_view.cpp:
- (ewk_view_js_object_add):
-
-2011-10-14 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Bump class version after r97421.
- https://bugs.webkit.org/show_bug.cgi?id=70102
-
- Reviewed by Joseph Pecoraro.
-
- r97421 changed the signature of the run_open_panel virtual method in
- Ewk_Smart_Class, so we need to bump the class version.
-
- * ewk/ewk_view.h:
-
-2011-10-14 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Add DumpRenderTreeSupportEfl
- https://bugs.webkit.org/show_bug.cgi?id=68458
-
- Reviewed by Kenneth Rohde Christiansen.
-
- This class is similar to their counterparts present in the Qt and GTK+
- ports, and it is responsible for providing an interface to certain
- WebCore methods needed by DumpRenderTree.
-
- * CMakeListsEfl.txt: Conditionally add the svg directories to the
- include path.
- * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: Added.
- (DumpRenderTreeSupportEfl::DumpRenderTreeSupportEfl):
- (DumpRenderTreeSupportEfl::~DumpRenderTreeSupportEfl):
- (DumpRenderTreeSupportEfl::activeAnimationsCount):
- (DumpRenderTreeSupportEfl::clearFrameName):
- (DumpRenderTreeSupportEfl::clearOpener):
- (DumpRenderTreeSupportEfl::counterValueByElementId):
- (DumpRenderTreeSupportEfl::frameChildren):
- (DumpRenderTreeSupportEfl::frameParent):
- (DumpRenderTreeSupportEfl::layoutFrame):
- (DumpRenderTreeSupportEfl::numberOfPages):
- (DumpRenderTreeSupportEfl::numberOfPagesForElementId):
- (DumpRenderTreeSupportEfl::pauseAnimation):
- (DumpRenderTreeSupportEfl::pauseSVGAnimation):
- (DumpRenderTreeSupportEfl::pauseTransition):
- (DumpRenderTreeSupportEfl::pendingUnloadEventCount):
- (DumpRenderTreeSupportEfl::renderTreeDump):
- (DumpRenderTreeSupportEfl::responseMimeType):
- (DumpRenderTreeSupportEfl::resumeAnimations):
- (DumpRenderTreeSupportEfl::selectionRectangle):
- (DumpRenderTreeSupportEfl::suitableDRTFrameName):
- (DumpRenderTreeSupportEfl::suspendAnimations):
- (DumpRenderTreeSupportEfl::findString):
- (DumpRenderTreeSupportEfl::garbageCollectorCollect):
- (DumpRenderTreeSupportEfl::garbageCollectorCollectOnAlternateThread):
- (DumpRenderTreeSupportEfl::javaScriptObjectsCount):
- (DumpRenderTreeSupportEfl::workerThreadCount):
- (DumpRenderTreeSupportEfl::childHistoryItems):
- (DumpRenderTreeSupportEfl::historyItemTarget):
- (DumpRenderTreeSupportEfl::isTargetItem):
- (DumpRenderTreeSupportEfl::setMockScrollbarsEnabled):
- * WebCoreSupport/DumpRenderTreeSupportEfl.h: Added.
- * ewk/ewk_frame.cpp:
- (EWKPrivate::coreFrame): Export the WebCore::Frame* related to an
- ewk_frame.
- * ewk/ewk_history.cpp: Remove functions which have been moved to
- DumpRenderTreeSupportEfl.
- (_ewk_history_item_list_get): _ewk_history_item_new ->
- ewk_history_item_new_from_core.
- (ewk_history_history_item_back_get): Ditto.
- (ewk_history_history_item_current_get): Ditto.
- (ewk_history_history_item_forward_get): Ditto.
- (ewk_history_history_item_nth_get): Ditto.
- (ewk_history_item_new): Ditto.
- (ewk_history_item_new_from_core): Rename from _ewk_history_item_new.
- (EWKPrivate::coreHistoryItem): Export the WebCore::HistoryItem*
- related to an Ewk_History_Item.
- * ewk/ewk_private.h: Create the EWKPrivate namespace, remove functions
- which have been moved to DumpRenderTreeSupportEfl.
- * ewk/ewk_util.cpp: Remove functions which have been moved to
- DumpRenderTreeSupportEfl.
- * ewk/ewk_view.cpp:
- (EWKPrivate::corePage): Export the WebCore::Page* related to an
- ewk_view.
-
-2011-10-13 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL]: Move from FileChooserSettings deprecatedAcceptType to acceptMIMETypes
- https://bugs.webkit.org/show_bug.cgi?id=70002
-
- Reviewed by Joseph Pecoraro.
-
- Adapt to the changes introduced in r97336 and r97338 by using a vector
- of strings instead of a single string in runOpenPanel().
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::runOpenPanel):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_run_open_panel): Change signature; accept a Vector<String>
- instead of a char*. Build an Eina_List to pass for child classes.
- * ewk/ewk_view.h:
-
-2011-10-13 Leandro Pereira <leandro@profusion.mobi>
-
- Unreviewed; revert some changes introduced in r97329 which are
- unrelated to the patch and reverted other patches themselves.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_smart_del): Remove warning again.
- (ewk_frame_contents_size_get): Check for Frame and FrameView again.
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new): Revert back default font size change.
-
-2011-10-12 Joseph Pecoraro <joepeck@webkit.org>
-
- Pass Parsed Accept Attribute MIME Types to WebKit Clients
- https://bugs.webkit.org/show_bug.cgi?id=69598
-
- Reviewed by Kent Tamura.
-
- EFL uses the deprecated accept string. They can switch
- to an Eina_List if they want to update their API.
-
- * src/ChromeClientImpl.cpp:
- (WebKit::ChromeClientImpl::runOpenPanel):
-
-2011-10-12 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Change efl style parameter variables with WebKit coding Style
- https://bugs.webkit.org/show_bug.cgi?id=69073
-
- Reviewed by Antonio Gomes.
-
- This is a third step in order to be more compliant with WebKit coding style.
- We have used one-letter| two-letter parameter according to efl style. However, it's more difficult
- for other reviewers to review EFL patches. So, this patch changes efl style parameters
- with meaningful one.
-
- Majors changes are listed below,
-
- - Use ewkFrame instead of o parameter in ewk_frame.cpp.
- - Use ewkView instead of o parameter in ewk_view.cpp.
- - Use menu and item instead of o parameter in ewk_contextmenu.cpp.
- - Use ewkTile instead of o parameter in ewk_tile_xxx.cpp.
- - Use tile parameter name instead of t parameter in ewk_tile_xxx.cpp.
- - Use smartData instead of sd parameter for Ewk_XXXX_Smart_Data struct.
- - Use width, height instead of w, h parameter.
- - Use xxxEvent instead of ev parameter for event. (e.g. downEvent, upEvent, wheelEvent)
- - Use scrollX, scrollY, scrollWidth, scrollHeight, centerX, centerY, deltaX, deltaY instead of sx, xy, sw,
- sh, cx, cy, dx, dy.
- - Use tileUnusedCache instead of tuc parameter in tiled backing store.
- - Use red, green, blue and alpha instead of r,g,b,a.
- - Remove "_" from parameter variable.
- - Run demarchi's coding style script for ewk_tile_xxx.cpp files.
- - Remove *void* parameter in ewk_tile_xxx.cpp's internal functions.
-
- * ewk/ewk_auth_soup.cpp:
- * ewk/ewk_contextmenu.cpp:
- * ewk/ewk_cookies.cpp:
- * ewk/ewk_frame.cpp:
- * ewk/ewk_history.cpp:
- * ewk/ewk_js.cpp:
- * ewk/ewk_protocol_handler_soup.cpp:
- * ewk/ewk_settings.cpp:
- * ewk/ewk_tiled_backing_store.cpp:
- * ewk/ewk_tiled_backing_store.h:
- * ewk/ewk_tiled_matrix.cpp:
- * ewk/ewk_tiled_matrix.h:
- * ewk/ewk_tiled_model.cpp:
- * ewk/ewk_tiled_model.h:
- * ewk/ewk_view.cpp:
- * ewk/ewk_view_single.cpp:
- * ewk/ewk_view_tiled.cpp:
- * ewk/ewk_window_features.cpp:
-
-2011-10-10 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Do not cache a frame's contents size.
- https://bugs.webkit.org/show_bug.cgi?id=69772
-
- Reviewed by Antonio Gomes.
-
- As part of the process of experimenting with having scrollbars with
- an actual size, it became clear that setting the contents size via
- ChromeClient::contentsSizeChanged() and keeping the value around does
- not work.
-
- Case in point: FrameView::adjustViewSize() can result in nested
- ScrollView::updateScrollbars() calls in which the innermost ones run
- ChromeClient::contentsSizeChanged() before the outermost ones. This
- means the ewk_frame's smart data will store an old value.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_contents_size_get):
- (ewk_frame_contents_size_changed):
-
-2011-10-09 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Refactor zoom related APIs.
- https://bugs.webkit.org/show_bug.cgi?id=62842
-
- Current zoom apis can't support the case of using both page zoom and text
- zoom.
-
- As a first step to refactor, this split ewk_{view|frame}_zoom_{get|set}
- to use both page_zoom and text zoom individually.
- In addition, introduce ewk_view_scale_{get|set} to support proportional scaling.
-
- ewk_view_zoom_{get|set} will remain unchanged until the behavior of smart_zoom
- was changed.
-
- Reviewed by Antonio Gomes.
-
- * ewk/ewk_frame.cpp: Remove ewk_frame_zoom_text_only_{get|set}.
- (ewk_frame_page_zoom_get): Renamed from ewk_frame_zoom_get().
- (ewk_frame_page_zoom_set): Renamed from ewk_frame_zoom_set().
- (ewk_frame_text_zoom_get): Extracted from ewk_frame_zoom_get().
- (ewk_frame_text_zoom_set): Extracted from ewk_frame_zoom_set().
- * ewk/ewk_frame.h:
- * ewk/ewk_view.cpp: Remove ewk_view_zoom_text_only_{get|set}
- (_ewk_view_smart_zoom_set): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
- (ewk_view_zoom_get): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
- (ewk_view_page_zoom_get): Extracted from ewk_view_zoom_get().
- (ewk_view_page_zoom_set): Extracted from ewk_view_zoom_set().
- (ewk_view_scale_get): Added.
- (ewk_view_scale_set): Added.
- (ewk_view_text_zoom_get): Extracted from ewk_view_zoom_get().
- (ewk_view_text_zoom_set): Extracted from ewk_view_zoom_set().
- (ewk_view_zoom_weak_set): Change ewk_frame_zoom_get to ewk_frame_page_zoom_get().
- (ewk_view_zoom_animated_set): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
- (ewk_view_pre_render_region): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
- (ewk_view_pre_render_relative_radius): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
- * ewk/ewk_view.h:
-
-2011-10-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Change data type of parameter in ewk_view_viewport_attributes_get().
- https://bugs.webkit.org/show_bug.cgi?id=69505
-
- Reviewed by Andreas Kling.
-
- ewk_view_viewport_attributes_get() has used implicit casting for width and height of viewport.
- However, it is better to use *int* data type as parameter data type instead of *float* casting.
-
- * ewk/ewk_view.cpp:
- (ewk_view_viewport_attributes_get):
- * ewk/ewk_view.h:
-
-2011-10-04 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Only set when the custom encoding is different from existing value
- https://bugs.webkit.org/show_bug.cgi?id=69061
-
- Reviewed by Hajime Morita.
-
- Only set the custom encoding value if it is different from the current value, to avoid
- reloading the page.
-
- * ewk/ewk_view.cpp:
- (ewk_view_setting_encoding_custom_set):
-
-2011-10-04 Rémi Duraffort <remi.duraffort@st.com>
-
- [EFL] Fix compilation when SQLite and/or libxslt are not installed in /usr/include
- https://bugs.webkit.org/show_bug.cgi?id=69338
-
- Unreviewed build fix
-
- * CMakeListsEfl.txt:
-
-2011-10-03 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Rename ewk_tiled_*.c to ewk_tiled_*.cpp
- https://bugs.webkit.org/show_bug.cgi?id=68599
-
- Use a C++ compiler for these files and fix compile issues and coding style.
-
- Reviewed by Hajime Morita.
-
- * CMakeListsEfl.txt:
- * ewk/ewk_tiled_backing_store.cpp: Renamed from Source/WebKit/efl/ewk/ewk_tiled_backing_store.c.
- * ewk/ewk_tiled_backing_store.h:
- * ewk/ewk_tiled_matrix.cpp: Renamed from Source/WebKit/efl/ewk/ewk_tiled_matrix.c.
- * ewk/ewk_tiled_model.cpp: Renamed from Source/WebKit/efl/ewk/ewk_tiled_model.c.
-
-2011-09-29 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Use C++ type cast instead of C style type cast
- https://bugs.webkit.org/show_bug.cgi?id=68321
-
- Reviewed by Martin Robinson.
-
- This is a second step in order to be more compliant with WebKit coding style.
- The second step is to change C-type casting with C++-type casting in .cpp files.
-
- In addition, remained efl style '*' pointer placements are moved to the right place as well.
-
- * ewk/ewk_auth_soup.cpp:
- * ewk/ewk_contextmenu.cpp:
- * ewk/ewk_frame.cpp:
- * ewk/ewk_history.cpp:
- * ewk/ewk_view.cpp:
- * ewk/ewk_view_single.cpp:
- * ewk/ewk_view_tiled.cpp:
-
-2011-09-29 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] API to get plain text of the frame
- https://bugs.webkit.org/show_bug.cgi?id=67114
-
- Reviewed by Ryosuke Niwa.
-
- Add a function to return a frame's contents converted to plain text,
- as already exposed by other ports and needed by DRT when dumping a
- frame's contents.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_plain_text_get):
- * ewk/ewk_frame.h:
-
-2011-09-28 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Remove useless assignment code in _ewk_tiled_backing_store_zoom_set_internal.
- https://bugs.webkit.org/show_bug.cgi?id=68594
-
- As the 1st assignment of local variable bx in _ewk_tiled_backing_store_zoom_set_internal
- isn't effective at all, this patch just removes it.
-
- Reviewed by Ryosuke Niwa.
-
- * ewk/ewk_tiled_backing_store.c:
- (_ewk_tiled_backing_store_zoom_set_internal):
-
-2011-09-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Remove *void* parameter in internal functions
- https://bugs.webkit.org/show_bug.cgi?id=68867
-
- Reviewed by Andreas Kling.
-
- As a step to let ewk be compliant with webkit coding style,
- we need to remove *void* parameter in internal functions.
-
- * ewk/ewk_private.h:
- * ewk/ewk_settings.cpp:
- (ewk_settings_web_database_default_quota_get):
- * ewk/ewk_util.cpp:
- (ewk_util_dpi_get):
-
-2011-09-28 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Allow to skip count parameter in ewk_view_repaints_get and ewk_view_scroll_requests_get.
- https://bugs.webkit.org/show_bug.cgi?id=65842
-
- Reviewed by Ryosuke Niwa.
-
- Makes the count parameter in ewk_view_repaints_get and ewk_view_scroll_requests_get
- as an optional parameter. Developer may pass NULL to skip returning the number of elements
- of the requested array.
-
- * ewk/ewk_view.cpp:
- (ewk_view_repaints_get):
- (ewk_view_scroll_requests_get):
-
-2011-09-28 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] URL of resources are not decoded.
- https://bugs.webkit.org/show_bug.cgi?id=66540
-
- Reviewed by Ryosuke Niwa.
-
- Fix ewk_frame_resources_location_get which was returning the encoded URL of resources.
- As a result characters for instance, %20 occurred. For now returned strings are decoded.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_resources_location_get):
-
-2011-09-27 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Make ewk_view emit the "load,document,finished" signal.
- https://bugs.webkit.org/show_bug.cgi?id=66782
-
- Reviewed by Antonio Gomes.
-
- Currently, only ewk_frame emits the "load,document,finished" signal
- when FrameLoaderClientEfl::dispatchDidFinishDocumentLoad() calls
- ewk_frame_load_document_finished().
-
- However, in some cases it is not even possible to connect to the
- "frame,created" signal to properly monitor the
- "load,document,finished" signal, as the former is not emitted.
- fast/frames/frame-unload-crash.html, for example, has a page with an
- iframe inside an iframe, and this innermost iframe does not seem to be
- loaded via FrameLoaderClientEfl::createFrame (which calls all the
- machinery which then emits the "frame,created" signal).
-
- We now make ewk_frame_load_document_finished() call the newly-created
- ewk_view_load_document_finished() function, whose job is to emit the
- "load,document,signal" with the frame as its parameter. This way, one
- can just connect to the view and make sure all the signals will get
- delivered.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_load_document_finished):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_load_document_finished):
- * ewk/ewk_view.h:
-
-2011-09-26 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [CMake] Remove FindFreetype.cmake
- https://bugs.webkit.org/show_bug.cgi?id=68778
-
- Reviewed by Adam Barth.
-
- CMake has provided its own FindFreetype.cmake forever, so there is no
- need to have another implementation in WebKit.
-
- * CMakeListsEfl.txt: Use FREETYPE_{LIBRARIES,INCLUDE_DIRS} instead of
- Freetype_{LIBRARIES,INCLUDE_DIRS}.
-
-2011-09-26 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- [EFL] Add virtual method to notify user when wrapping focus
- https://bugs.webkit.org/show_bug.cgi?id=68699
-
- Reviewed by Antonio Gomes.
-
- Add a virtual method to ewk_view, so the Chrome gets notified if we
- finished focusing all the items and would start over. This way the
- browser can decide to handle the subsequent focus changes among its
- widgets.
-
- * WebCoreSupport/ChromeClientEfl.cpp: call ewk_view's virtual method to
- give it a chance to grab focus
- (WebCore::ChromeClientEfl::canTakeFocus):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp: add virtual method
- (ewk_view_focus_can_cycle):
- * ewk/ewk_view.h: add focus direction enum and virtual method
-
-2011-09-24 Adam Barth <abarth@webkit.org>
-
- Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
- https://bugs.webkit.org/show_bug.cgi?id=68767
-
- Reviewed by Eric Seidel.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota):
- * WebCoreSupport/ChromeClientEfl.h:
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
- * ewk/ewk_settings.cpp:
- (ewk_settings_cache_directory_path_set):
- (ewk_settings_cache_directory_path_get):
-
-2011-09-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- [EFL] Revert pointer operator coding style in ewk
- https://bugs.webkit.org/show_bug.cgi?id=68231
-
- Reviewed by Antonio Gomes.
-
- The WebKit coding style mandates that "(...) in C++ code - Both pointer
- types and reference types should be written with no space between the
- type name and the * or &.". Until now EFL port was using the
- coding-style of the library for platform code instead of WebKit's.
-
- We are now trying to be more compliant with WebKit coding-style so it's
- easier for other reviewers to review EFL code. The first step in this
- direction is to move the '*' and '&' of pointers and references to the
- right place.
-
- This patch was generated with 'uncrustify' with the configure file
- attached to the respective but report. There was one fix that had to be
- manually made in order to keep the 'check-webkit-style' happy: a
- function definition with a meaningless name. Other functions like this
- exist but they will be fixed by a later patch.
-
- Some nice side-effects of using uncrustify:
-
- - Whitespace cleanup on comments
- - Function parameters are aligned to the open parenthesis
- - Remove tab characters
-
-2011-09-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- [EFL] Don't try to free user-provided list
- https://bugs.webkit.org/show_bug.cgi?id=68356
-
- Reviewed by Antonio Gomes.
-
- A coding-style cleanup revealed that we were using EINA_LIST_FREE in a
- wrong manner. If we intended to free the data, we should call free()
- (or whatever function is required to destroy it). However not only did
- it use the wrong EFL api but it also introduced a change in behavior,
- freeing user-provided data.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_feed_touch_event): do not free user-provided data.
-
-2011-09-21 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Fix alphabetical sorting problem
- https://bugs.webkit.org/show_bug.cgi?id=68505
-
- Reviewed by Philippe Normand.
-
- * ewk/ewk_util.cpp: Fix wrong alphabetical sorting problem.
-
-2011-09-20 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Call FrameLoader::detachFromParent() when destroying a frame.
- https://bugs.webkit.org/show_bug.cgi?id=66855
-
- Reviewed by Antonio Gomes.
-
- Most other ports call this method somewhere when the frame is being
- removed, as it performs some destruction calls which, in our case, at
- least makes sure onunload events get delivered properly in
- fast/frames/iframe-reparenting-adopt-node.html.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_smart_del): Call FrameLoader::detachFromParent()
-
-2011-09-17 Mihai Parparita <mihaip@chromium.org>
-
- FrameLoaderClient BackForwardList-related methods are unsued
- https://bugs.webkit.org/show_bug.cgi?id=68293
-
- Reviewed by Darin Adler.
-
- Remove FrameLoaderClient methods that were added by r51629, since only
- the old (since-deleted) Android port needed them.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-09-15 Adam Barth <abarth@webkit.org>
-
- Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
- https://bugs.webkit.org/show_bug.cgi?id=68205
-
- Reviewed by Eric Seidel.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * WebCoreSupport/ChromeClientEfl.h:
- * ewk/ewk_settings.cpp:
- (ewk_settings_web_database_default_quota_get):
- (ewk_settings_web_database_path_set):
- (ewk_settings_web_database_path_get):
-
-2011-09-14 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Add NULL checks to ewk_window_features_new_from_core and ewk_view_window_create.
- https://bugs.webkit.org/show_bug.cgi?id=64932
-
- Reviewed by Eric Seidel.
-
- It prevents the crash while allocating memory for the new window.
-
- * ewk/ewk_view.cpp:
- (ewk_view_window_create):
- * ewk/ewk_window_features.cpp:
- (ewk_window_features_new_from_core):
-
-2011-09-13 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Do not always return the cached frame name.
- https://bugs.webkit.org/show_bug.cgi?id=66856
-
- Reviewed by Antonio Gomes.
-
- When a frame has its parent changed (via adoptNode and appendChild,
- for example), the frame name will change, so we need to account for
- that case and change the cached name when needed.
-
- This should make fast/frames/iframe-reparenting-unique-name.html pass.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_name_get):
-
-2011-09-12 Flavio Ceolin <flavio.ceolin@profusion.mobi>
-
- Reviewed by Martin Robinson.
-
- [EFL] Add custom network resource handler
- https://bugs.webkit.org/show_bug.cgi?id=44759
-
- This patch adds support for handling user-specific protocols.
- It allows browsers to intercept and handle non-standard url schemes (such as preferences://)
- allowing to load some resource from non-http/file storage, like a tar/zip/eet.
-
- * CMakeListsEfl.txt:
- * ewk/ewk_protocol_handler.cpp: Added.
- * ewk/ewk_protocol_handler.h: Added.
- * ewk/ewk_protocol_handler_soup.cpp: Added.
- * ewk/ewk_protocol_handler_soup.h: Added.
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_protocol_handler_set):
- (ewk_view_protocol_handler_unset):
- (ewk_view_protocol_handler_resource_get):
- * ewk/ewk_view.h:
-
-2011-09-04 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Rename ewk_view_(single|tiled).c to ewk_view_(single|tiled).cpp
- https://bugs.webkit.org/show_bug.cgi?id=66542
-
- Use a C++ compiler for these files, so that they can include the C++-using
- ewk_private.h.
-
- Reviewed by Daniel Bates.
-
- * CMakeListsEfl.txt:
- * ewk/ewk_view_single.cpp: Renamed from Source/WebKit/efl/ewk/ewk_view_single.c.
- (_ewk_view_single_on_del):
- (_ewk_view_single_smart_add):
- (_ewk_view_single_smart_backing_store_add):
- (_ewk_view_single_smart_resize):
- (_ewk_view_4b_move_region_up):
- (_ewk_view_4b_move_region_down):
- (_ewk_view_4b_move_line_left):
- (_ewk_view_4b_move_line_right):
- (_ewk_view_4b_move_region_left):
- (_ewk_view_4b_move_region_right):
- (_ewk_view_4b_move_region):
- (_ewk_view_single_scroll_process_single):
- (_ewk_view_single_smart_scrolls_process):
- (_ewk_view_single_smart_repaints_process):
- (_ewk_view_single_smart_zoom_weak_set):
- (_ewk_view_single_smart_zoom_weak_smooth_scale_set):
- (_ewk_view_single_smart_bg_color_set):
- (ewk_view_single_smart_set):
- (_ewk_view_single_smart_class_new):
- (ewk_view_single_add):
- * ewk/ewk_view_tiled.cpp: Renamed from Source/WebKit/efl/ewk/ewk_view_tiled.c.
- (_ewk_view_tiled_render_cb):
- (_ewk_view_tiled_updates_process_pre):
- (_ewk_view_tiled_smart_backing_store_add):
- (_ewk_view_tiled_contents_size_changed_cb):
- (_ewk_view_tiled_smart_add):
- (_ewk_view_tiled_smart_scrolls_process):
- (_ewk_view_tiled_smart_repaints_process):
- (_ewk_view_tiled_smart_contents_resize):
- (_ewk_view_tiled_smart_zoom_set):
- (_ewk_view_tiled_smart_zoom_weak_set):
- (_ewk_view_tiled_smart_zoom_weak_smooth_scale_set):
- (_ewk_view_tiled_smart_flush):
- (_ewk_view_tiled_smart_pre_render_region):
- (_ewk_view_tiled_smart_pre_render_relative_radius):
- (_ewk_view_tiled_smart_pre_render_cancel):
- (_ewk_view_tiled_smart_disable_render):
- (_ewk_view_tiled_smart_enable_render):
- (ewk_view_tiled_smart_set):
- (_ewk_view_tiled_smart_class_new):
- (ewk_view_tiled_add):
- (ewk_view_tiled_unused_cache_get):
- (ewk_view_tiled_unused_cache_set):
-
-2011-09-02 Leandro Pereira <leandro@profusion.mobi>
-
- Unreviewed build fix after r67110.
-
- * ewk/ewk_view.cpp:
- (ewk_view_need_touch_events_get): Make the function signature match
- its declaration.
-
-2011-09-01 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Allow controlling minimum DOMTimer interval on a per-page basis
- https://bugs.webkit.org/show_bug.cgi?id=67012
-
- Reviewed by Kenneth Russell.
-
- Set default minimum DOMTimer interval to 4ms instead of 10ms. Because, 4ms is known
- to better minimum value for performance. Mac, android, chromium and window ports already
- use 4ms instead of 10ms.
-
- It is desirable to be able to change the minimum DOMTimer interval on per-page basis
- in order to avoid consuming excessive CPU and battery life on mobile devices. In addition,
- other ports have already used this setting by means of Bug 54312.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
- * ewk/ewk_settings.cpp:
- (ewk_settings_default_timer_interval_get):
- * ewk/ewk_settings.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_setting_minimum_timer_interval_set):
- (ewk_view_setting_minimum_timer_interval_get):
- * ewk/ewk_view.h:
-
-2011-09-01 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Remove unused code related with priv->render.process_entire_queue in ewk_tiled_backing_store.
- https://bugs.webkit.org/show_bug.cgi?id=63377
-
- priv->render.process_entire_queue affects no logical flow of ewk_tiled_backing_store,
- But, ewk_view_tiled_process_entire_queue_set is now provided as setter api for it.
- So removal of this api and some codes related with it is required.
-
- Reviewed by Antonio Gomes.
-
- * ewk/ewk_tiled_backing_store.c:
- (_ewk_tiled_backing_store_smart_add):
- (ewk_tiled_backing_store_enable_render):
- * ewk/ewk_tiled_backing_store.h:
- * ewk/ewk_view.h:
- * ewk/ewk_view_tiled.c:
- (ewk_view_tiled_unused_cache_set):
-
-2011-08-31 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Fonts API refactoring.
- https://bugs.webkit.org/show_bug.cgi?id=66654
-
- Reviewed by Hajime Morita.
-
- There are too many similar API regarding to fonts.
- Add one consistent API to set/get the font name for the font family.
- Remove the previous font API.
-
- * ewk/ewk_view.cpp:
- (ewk_view_font_family_name_get):
- (ewk_view_font_family_name_set):
- * ewk/ewk_view.h:
-
-2011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com>
-
- The unused ScrollView* argument can and should be removed from
- scrollRectIntoView.
- https://bugs.webkit.org/show_bug.cgi?id=67117
-
- Reviewed by Darin Adler.
-
- * WebCoreSupport/ChromeClientEfl.h:
- (WebCore::ChromeClientEfl::scrollRectIntoView):
-
-2011-08-30 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Add const modifier to passed objects where it's recommended
- https://bugs.webkit.org/show_bug.cgi?id=67110
-
- Reviewed by Kent Tamura.
-
- Add const modifier to passed Evas_Object if the function doesn't change its
- property (the most cases to the getter functions).
-
- * ewk/ewk_contextmenu.cpp:
- (ewk_context_menu_item_list_get):
- (ewk_context_menu_item_type_get):
- (ewk_context_menu_item_action_get):
- (ewk_context_menu_item_title_get):
- (ewk_context_menu_item_checked_get):
- (ewk_context_menu_item_enabled_get):
- (ewk_context_menu_custom_get):
- (ewk_context_menu_show):
- * ewk/ewk_contextmenu.h:
- * ewk/ewk_frame.cpp:
- (ewk_frame_text_matches_nth_pos_get):
- (ewk_frame_text_selection_type_get):
- (ewk_frame_source_get):
- (ewk_frame_resources_location_get):
- * ewk/ewk_frame.h:
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_viewport_attributes_compute):
- (ewk_view_fixed_layout_size_get):
- (ewk_view_theme_get):
- (ewk_view_imh_get):
- (ewk_view_setting_encoding_detector_get):
- (ewk_view_setting_enable_developer_extras_get):
- (ewk_view_setting_spatial_navigation_get):
- (ewk_view_setting_local_storage_get):
- (ewk_view_setting_page_cache_get):
- (ewk_view_viewport_attributes_get):
- (ewk_view_zoom_range_min_get):
- (ewk_view_zoom_range_max_get):
- (ewk_view_user_scalable_get):
- (ewk_view_device_pixel_ratio_get):
- (ewk_view_page_rect_get):
- (ewk_view_mode_get):
- * ewk/ewk_view.h:
- * ewk/ewk_window_features.cpp:
- (ewk_window_features_bool_property_get):
- (ewk_window_features_int_property_get):
- * ewk/ewk_window_features.h:
-
-2011-08-29 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Add missing API documentation.
- https://bugs.webkit.org/show_bug.cgi?id=66927
-
- Reviewed by Kent Tamura.
-
- Adds missing documentation for ewk_context_menu_item_checked_get/set.
- Moves API documentation from cpp to the headers.
- Adds brief and file commands for ewk_js.h.
-
- * ewk/ewk_contextmenu.h:
- * ewk/ewk_cookies.cpp:
- * ewk/ewk_cookies.h:
- * ewk/ewk_frame.cpp:
- * ewk/ewk_frame.h:
- * ewk/ewk_js.h:
-
-2011-08-29 Ryuan Choi <ryuan.choi@samsung.com>
-
- REGRESSION(r93637) Build break because header file is missing.
- https://bugs.webkit.org/show_bug.cgi?id=67113
-
- Unreviewed build fix after r93637.
-
- * CMakeListsEfl.txt: Add ewk_js.h in EWebKit_HEADERS.
-
-2011-08-25 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Add API to allow scripts to close windows automatically via JavaScript.
- https://bugs.webkit.org/show_bug.cgi?id=66777
-
- Reviewed by Antonio Gomes.
-
- Make it possible to allow or prevent scripts from closing windows
- automatically (via window.close, for example).
-
- Besides being useful in general, this is required by DRT.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_setting_scripts_can_close_windows_get):
- (ewk_view_setting_scripts_can_close_windows_set):
- * ewk/ewk_view.h:
-
-2011-08-25 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Implement FrameLoaderClient::didTransferChildFrameToNewDocument
- https://bugs.webkit.org/show_bug.cgi?id=66690
-
- Reviewed by Antonio Gomes.
-
- The implementation is mostly based on the GTK+ port's, as we just need
- to transfer the ownership of the frame to a new view and adjust the
- smart object part accordingly.
-
- This should help make fast/frames/iframe-reparenting-adopt-node.html
- pass.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::didTransferChildFrameToNewDocument):
- * ewk/ewk_frame.cpp:
- (ewk_frame_view_set):
- (ewk_frame_view_create_for_view):
- * ewk/ewk_private.h:
-
-2011-08-24 Jaehun Lim <ljaehun.lim@samsung.com>
-
- [EFL] Add dummy IconDatabaseClientEfl.
- http://bugs.webkit.org/show_bug.cgi?id=65596
-
- Implements a dummy IconDatabaseClientEfl class.
- Adds two files, IconDatabaseClientEfl.h | .cpp.
-
- Reviewed by Kent Tamura.
-
- * CMakeListsEfl.txt:
- * WebCoreSupport/IconDatabaseClientEfl.cpp: Added.
- (WebCore::IconDatabaseClientEfl::performImport):
- (WebCore::IconDatabaseClientEfl::didRemoveAllIcons):
- (WebCore::IconDatabaseClientEfl::didImportIconURLForPageURL):
- (WebCore::IconDatabaseClientEfl::didImportIconDataForPageURL):
- (WebCore::IconDatabaseClientEfl::didChangeIconForPageURL):
- (WebCore::IconDatabaseClientEfl::didFinishURLImport):
- * WebCoreSupport/IconDatabaseClientEfl.h: Added.
-
-2011-08-23 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Change parameter type for some APIs in ewk_tile_matrix.
- https://bugs.webkit.org/show_bug.cgi?id=66639
-
- As type of both col and row parameter for ewk_tile_matrix's some APIs listed by this patch
- are different from each other and eina_matrixsparse associated with ewk_tile_matrix is now
- using unsigned long type for both col and row parameter, row parameter for ewk_tile_matrix
- is also better to be specified as unsigned long type.
-
- Reviewed by Anders Carlsson.
-
- * ewk/ewk_tiled_matrix.c:
- (ewk_tile_matrix_tile_exact_get):
- (ewk_tile_matrix_tile_exact_exists):
- (ewk_tile_matrix_tile_new):
- (ewk_tile_matrix_tile_update):
- (ewk_tile_matrix_tile_update_full):
- * ewk/ewk_tiled_matrix.h:
-
-2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Get the default value for `scripts_window_open' from the right method.
- https://bugs.webkit.org/show_bug.cgi?id=66775
-
- Reviewed by Kent Tamura.
-
- For some unknown reason, the default value for this setting was being
- obtained from Settings::allowScriptsToCloseWindows() instead of
- Settings::javaScriptCanOpenWindowsAutomatically(), which makes no
- sense at all.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2011-08-23 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Change the tiled backing store to use constant size of tile.
- https://bugs.webkit.org/show_bug.cgi?id=65848
-
- As current tiled backing store in Webkit EFL is using variable tile size according to the zoom level,
- the number of tiles in viewport is not same always and the speed of panning is also not consistent
- whenever zoom level is changed.
- Therefore, tile size should be constant size in order to make sure the consistent panning speed.
-
- Reviewed by Anders Carlsson.
-
- * ewk/ewk_tiled_backing_store.c:
- (_ewk_tiled_backing_store_model_matrix_create):
- (_ewk_tiled_backing_store_smart_add):
- (_ewk_tiled_backing_store_smart_calculate):
- (_ewk_tiled_backing_store_zoom_set_internal):
- (ewk_tiled_backing_store_zoom_weak_set):
- (ewk_tiled_backing_store_flush):
- (ewk_tiled_backing_store_pre_render_region):
- (ewk_tiled_backing_store_pre_render_relative_radius):
- * ewk/ewk_tiled_backing_store.h:
- * ewk/ewk_tiled_matrix.c:
- (_ewk_tile_matrix_cell_free):
- (_ewk_tile_matrix_tile_free):
- (ewk_tile_matrix_new):
- (ewk_tile_matrix_tile_exact_get):
- (ewk_tile_matrix_tile_exact_exists):
- (ewk_tile_matrix_tile_new):
- (ewk_tile_matrix_tile_update):
- (ewk_tile_matrix_tile_update_full):
- (_ewk_tile_matrix_slicer_setup):
- (ewk_tile_matrix_update):
- (ewk_tile_matrix_dbg):
- * ewk/ewk_tiled_matrix.h:
- * ewk/ewk_tiled_model.c:
- (ewk_tile_new):
-
-2011-08-23 Jonas M. Gastal <jgastal@profusion.mobi>
-
- [EFL] Exporting JavaScript objects for EFL port
- https://bugs.webkit.org/show_bug.cgi?id=43446
-
- Reviewed by Antonio Gomes.
-
- This patch allows to export objects to JavaScript API,
- just like qt does, but it uses the netscape api
- to do the convertion to javascript object.
-
- * CMakeLists.txt:
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
- * ewk/EWebKit.h:
- * ewk/ewk_js.cpp: Added.
- (ewk_js_variant_to_npvariant):
- (ewk_js_npvariant_to_variant):
- (ewk_js_property_has):
- (ewk_js_property_get):
- (ewk_js_property_set):
- (ewk_js_property_remove):
- (ewk_js_properties_enumerate):
- (ewk_js_method_has):
- (ewk_js_method_invoke):
- (ewk_js_class_new):
- (ewk_js_class_free):
- (ewk_js_object_new):
- (ewk_js_object_free):
- (ewk_js_object_properties_get):
- (ewk_js_object_name_get):
- (ewk_js_variant_free):
- * ewk/ewk_js.h: Added.
- * ewk/ewk_main.cpp:
- (ewk_init):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_js_window_object_clear):
- (ewk_view_js_object_add):
- * ewk/ewk_view.h:
-
-2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Do not treat valid cases in ewk_frame_child_add() as failures.
- https://bugs.webkit.org/show_bug.cgi?id=66692
-
- Rubber-stamped by Kenneth Rohde Christiansen.
-
- Frame::page() and FrameTree::parent() returning 0 were being considered
- failure cases, however it is possible for them to return 0 when some
- arbitrary JavaScript is run.
-
- The function's return type has been changed to make it easier to convey
- these cases to the caller (which is only ewk_view_frame_create).
-
- This should make tests like
- fast/dom/null-page-show-modal-dialog-crash.html stop outputting
- erroneous messages to stderr.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_child_add):
- * ewk/ewk_private.h:
-
-2011-08-23 Leandro Pereira <leandro@profusion.mobi>
-
- Unreviewed build fix after r66685.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
- Assert using the right variable name.
-
-2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Treat the case of WebCore::History->currentItem() returning NULL.
- https://bugs.webkit.org/show_bug.cgi?id=66698
-
- Reviewed by Kenneth Rohde Christiansen.
-
- WebCore::History->currentItem() may return NULL, and we'd better treat
- it in ewk_history_history_item_current_get itself than propagate the
- issue to _ewk_history_item_new.
-
- * ewk/ewk_history.cpp:
- (ewk_history_history_item_current_get):
- * ewk/ewk_history.h:
-
-2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Add auxiliary history functions for DRT
- https://bugs.webkit.org/show_bug.cgi?id=66700
-
- Reviewed by Kent Tamura.
-
- EFL's DumpRenderTree implementation needs some private, auxiliary
- functions in ewk in order to iterate and dump the history tree when
- necessary.
-
- * ewk/ewk_history.cpp:
- (ewk_history_item_target_get):
- (ewk_history_item_target_is):
- (ewk_history_item_children_get):
- * ewk/ewk_private.h:
-
-2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Add auxiliary ewk_util functions for DRT.
- https://bugs.webkit.org/show_bug.cgi?id=66702
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Add some auxiliary functions needed by EFL's DRT implementation. They
- all revolve around talking to the garbage collector and counting the
- worker threads.
-
- * ewk/ewk_private.h:
- * ewk/ewk_util.cpp:
- (ewk_util_javascript_gc_collect):
- (ewk_util_javascript_gc_alternate_thread_collect):
- (ewk_util_javascript_gc_object_count_get):
- (ewk_util_worker_thread_count):
- (ewk_util_dpi_get):
-
-2011-08-22 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Implement FrameLoaderClient::dispatchDidClearWindowObjectInWorld
- https://bugs.webkit.org/show_bug.cgi?id=66685
-
- Reviewed by Kent Tamura.
-
- Implement dispatchDidClearWindowObjectInWorld, as it is needed by
- DumpRenderTree to, among other things, properly install the event
- sender in the window object.
-
- This implementation works by emitting a "window,object,cleared" signal
- with a private struct containing the required information (context,
- window object and frame).
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- * ewk/ewk_private.h:
-
-2011-08-20 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Fix and update doxygen documentation for ewk_view.
- https://bugs.webkit.org/show_bug.cgi?id=66293
-
- Reviewed by Kent Tamura.
-
- * ewk/ewk_view.h:
-
- Fixes description of method, parameters and returned value of API
- related to settings.
-
-2011-08-20 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Fix and update doxygen documentation for ewk_view.
- https://bugs.webkit.org/show_bug.cgi?id=66293
-
- Reviewed by Kent Tamura.
-
- Fixes description of methods, parameters and returned value of API
- related to cache of unused tiles, text searching and zoom matter.
-
- * ewk/ewk_view.h:
-
-2011-08-20 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Fix and update doxygen documentation for ewk_view.
- https://bugs.webkit.org/show_bug.cgi?id=66293
-
- Reviewed by Kent Tamura.
-
- Adds doxygen documentation for typedefs, defines and structures in ewk_view.h.
- Moves includes and defines below a brief of file.
-
- * ewk/ewk_view.h:
-
-2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Add "return" statement corresponding to abnormal condition on _ewk_frame_smart_add.
- https://bugs.webkit.org/show_bug.cgi?id=65408
-
- Bail out when we fail to allocate an Ewk_Frame_Smart_Data object rather than continuing on as if the allocation had succeeded.
-
- Reviewed by Adam Roben.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_smart_add):
-
-2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Change condition checking logic related with both change of position and offset for backing store.
- https://bugs.webkit.org/show_bug.cgi?id=66028
-
- As backing store's position and offset change can occur at the same time,
- the checking of offset change shouldn't be "else if" statement.
-
- Reviewed by Adam Roben.
-
- * ewk/ewk_tiled_backing_store.c:
- (_ewk_tiled_backing_store_smart_calculate):
-
-2011-08-19 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Fix and update doxygen documentation for ewk_view.
- https://bugs.webkit.org/show_bug.cgi?id=66293
-
- Reviewed by Kent Tamura.
-
- Adds doxygen documentation to the structures in ewk_view.cpp.
-
- * ewk/ewk_view.cpp:
-
-2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Modify type of both col and row parameters for backing store's internal api.
- https://bugs.webkit.org/show_bug.cgi?id=65302
-
- As both col and row parameter's type for both _ewk_tiled_backing_store_item_fill
- and ewk_tiled_backing_store_item_add are different from each other, I modify type of them.
-
- Reviewed by Adam Roben.
-
- * ewk/ewk_tiled_backing_store.c:
- (_ewk_tiled_backing_store_item_fill):
- (_ewk_tiled_backing_store_item_add):
-
-2011-08-18 Ryuan Choi <ryuan.choi@samsung.com>
-
- [EFL] Broken rendering occured when resized in ewk_view_single.
- https://bugs.webkit.org/show_bug.cgi?id=66271
-
- Force rendering when ewk_view resized.
- It's because Evas_Object doesn't generate any rendering request although
- it was changed.
-
- Reviewed by Tony Chang.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_calculate):
-
-2011-08-17 Adam Roben <aroben@apple.com>
-
- Make WebCore keep track of the current device scale factor
-
- Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
- device scale factor
-
- Reviewed by Darin Adler.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * WebCoreSupport/ChromeClientEfl.h:
- Removed deviceScaleFactor.
-
-2011-08-15 Dmitry Titov <dimich@chromium.org>
-
- FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
- https://bugs.webkit.org/show_bug.cgi?id=66165
-
- Reviewed by Darin Fisher.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::transferLoadingResourceFromPage):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-08-10 Adam Roben <aroben@apple.com>
-
- Clear up scale factor terminology
-
- WebKit by and large deals with two scale factors: one intrinsic to the device on which the
- software is running, and one that is per-Page and can be controlled via API calls. This
- patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
- code use those names. It should introduce no behavior changes.
-
- Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
- device scale factor
-
- Reviewed by Simon Fraser.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-08-12 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Fix after r91815 - restore changes from r91659.
- https://bugs.webkit.org/show_bug.cgi?id=64682
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Restore patch for fix ewk_view_context_menu_forward_event which
- has been overwrititen by mistake.
-
- * ewk/ewk_view.cpp:
- (ewk_view_context_menu_forward_event):
-
-2011-08-12 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] HTML Saving feature.
- https://bugs.webkit.org/show_bug.cgi?id=55455
-
- Reviewed by Antonio Gomes.
-
- Gets the source and location of resources for document.
- TODO:
- 1. Support others resources (css, plugins, media files).
- 2. Currently only HTML documents are supported.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_source_get):
- (ewk_frame_resources_location_get):
- * ewk/ewk_frame.h:
-
-2011-08-10 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Return from _ewk_view_smart_add if smart data can not be allocated
- https://bugs.webkit.org/show_bug.cgi?id=65853
-
- Reviewed by Kenneth Rohde Christiansen.
-
- It prevents the crash while allocating a memory for view's smart data.
- Others checking are needed for support single and tiled backing store.
- As a result an empty window will be displayed.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_add):
- (_ewk_view_smart_resize):
- (_ewk_view_smart_move):
- (_ewk_view_smart_show):
- (_ewk_view_smart_hide):
- * ewk/ewk_view_single.c:
- (_ewk_view_single_smart_add):
- (_ewk_view_single_smart_resize):
- * ewk/ewk_view_tiled.c:
- (_ewk_view_tiled_smart_add):
-
-2011-08-10 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] API methods check NULL and return proper value.
- https://bugs.webkit.org/show_bug.cgi?id=65844
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Check NULL before access to the smart and private data of the view object
- and return the proper value if error occurred.
-
- * ewk/ewk_view.cpp:
- (ewk_view_zoom_range_set):
- (ewk_view_zoom_range_min_get):
- (ewk_view_zoom_range_max_get):
- (ewk_view_user_scalable_set):
- (ewk_view_user_scalable_get):
- (ewk_view_device_pixel_ratio_get):
- * ewk/ewk_view.h:
-
-2011-08-10 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Remove unused local variable from _ewk_tiled_backing_store_item_process_idler_cb.
- https://bugs.webkit.org/show_bug.cgi?id=65846
-
- As Ewk_Tiled_Backing_Store_Item *it is declared as local variable, but it's never referenced anywhere,
- it is better to be removed from _ewk_tiled_backing_store_item_process_idler_cb.
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * ewk/ewk_tiled_backing_store.c:
- (_ewk_tiled_backing_store_item_process_idler_cb):
-
-2011-08-09 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Sort signal comments by alphabetical order.
- http://bugs.webkit.org/show_bug.cgi?id=65520
-
- Reviewed by Kent Tamura.
-
- Signals caused by ewk still are listed without any specific rule.
- It sure isn't a nice thing to understand the signal list. So, this patch
- lists signals by alphabetical order.
-
- * ewk/ewk_contextmenu.h:
- * ewk/ewk_frame.h:
- * ewk/ewk_view.h:
-
-2011-08-09 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- [EFL] Fix warning caused by undefined static api.
- https://bugs.webkit.org/show_bug.cgi?id=65301
-
- Both _ewk_tiled_backing_store_item_request_add and _ewk_tiled_backing_store_item_request_del
- are declared, but their bodies are not defined and they are not referenced anywhere.
- Therefore, I remove both two API's declaration in order to resolve warning message caused by them.
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * ewk/ewk_tiled_backing_store.c:
-
-2011-08-05 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Move API documentation of ewk files to the headers
- https://bugs.webkit.org/show_bug.cgi?id=65373
-
- There are two arguments for this:
- 1. Developers using webkit-efl from packages probably won't have the C/CPP files with them
- and the doxygen documentation can be generated from the headers without the need
- for the whole source files.
- 2. It will be consistent with structures descriptions.
-
- Reviewed by Kent Tamura.
-
- * ewk/ewk_auth.cpp:
- * ewk/ewk_auth.h:
- * ewk/ewk_contextmenu.cpp:
- * ewk/ewk_contextmenu.h:
- * ewk/ewk_cookies.cpp:
- * ewk/ewk_cookies.h:
- * ewk/ewk_frame.cpp:
- * ewk/ewk_frame.h:
- * ewk/ewk_history.cpp:
- * ewk/ewk_history.h:
- * ewk/ewk_main.cpp:
- * ewk/ewk_main.h:
- * ewk/ewk_network.cpp:
- * ewk/ewk_network.h:
- * ewk/ewk_settings.cpp:
- * ewk/ewk_settings.h:
- * ewk/ewk_window_features.cpp:
- * ewk/ewk_window_features.h:
-
-2011-08-03 Pavel Feldman <pfeldman@chromium.org>
-
- Web Inspector: remove Node parameter from the InspectorClient::highlight
- https://bugs.webkit.org/show_bug.cgi?id=65549
-
- Reviewed by Yury Semikhatsky.
-
- * WebCoreSupport/InspectorClientEfl.cpp:
- (WebCore::InspectorClientEfl::highlight):
- * WebCoreSupport/InspectorClientEfl.h:
-
-2011-08-02 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [EFL] Ignore empty requests on policy decisions.
- https://bugs.webkit.org/show_bug.cgi?id=64536
-
- Reviewed by Kenneth Rohde Christiansen.
-
- This is the same fix introduced in the GTK+ port in r41313: empty
- request should be ignored, so tests such as
- fast/loader/empty-embed-src-attribute.html do not crash.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
-
-2011-08-02 Eunsol Park <eunsol47.park@samsung.com>
-
- [EFL] Remove overlapping recursive layout function
- https://bugs.webkit.org/show_bug.cgi?id=63241
-
- First, _ewk_view_layout_if_needed_recursive is called twice in _ewk_view_smart_calculate
- and _ewk_view_tiled_updates_process_pre,so it is no problem removing one of them.
- Second, In tiled backingstore configuration, _ewk_view_layout_if_needed_recursive called
- in _ewk_view_smart_calculate will result in generating repaints for dirty areas
- located outside of viewport since m_paintEntireContents is set.
- But, the areas will not be actually painted. Thus, the layout is unnecessary except
- when there is something to paint inside of viewport, which will consume CPU unnecessarily.
- So,the layout func was removed from _ewk_view_smart_calculate
- and added to _ewk_view_single_smart_repaints_process for single backingstore.
-
- Reviewed by Antonio Gomes.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_calculate):
- * ewk/ewk_view_single.c:
- (_ewk_view_single_smart_repaints_process):
-
-2011-08-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Add fullscreen button to media control UI.
- https://bugs.webkit.org/show_bug.cgi?id=64428
-
- Implement functions for full screen in ChromeClientEfl in order to display a full screen button on media control UI.
- When full screen mode is activated by pressing the button, the functions are called by Document. So, if there is no implemented
- function, full screen button will not be shown.
- In addition, a .edc file and an image file are added for full screen button.
-
- Reviewed by Antonio Gomes.
-
- * DefaultTheme/default.edc:
- * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreen_button.edc: Added.
- * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreenbutton.png: Added.
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::supportsFullScreenForElement):
- (WebCore::ChromeClientEfl::enterFullScreenForElement):
- (WebCore::ChromeClientEfl::exitFullScreenForElement):
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-07-29 Michal Pakula vel Rutka <m.pakula@samsung.com>
-
- [EFL] Implement EditorClientEfl::respondToChangedContents
- http://bugs.webkit.org/show_bug.cgi?id=64259
-
- Implements respondToChangedContents by calling callback both from
- ewk_frame and ewk_view with frame and view objects respectively.
-
- Reviewed by Antonio Gomes.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::respondToChangedContents):
- * ewk/ewk_frame.cpp:
- (ewk_frame_editor_client_contents_changed):
- * ewk/ewk_frame.h:
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_editor_client_contents_changed):
- * ewk/ewk_view.h:
-
-2011-07-29 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Move ewk_view API documentation to the header file
- https://bugs.webkit.org/show_bug.cgi?id=65305
-
- There are two arguments for this:
- 1. Developers using webkit-efl from packages probably won't have the C/CPP files with them
- and the doxygen documentation can be generated from the headers without the need
- for the whole source files.
- 2. It will be consistent with structures descriptions.
-
- Reviewed by Kent Tamura.
-
- * ewk/ewk_tiled_model.c:
- * ewk/ewk_view.cpp:
- * ewk/ewk_view.h:
- * ewk/ewk_view_single.c:
- * ewk/ewk_view_tiled.c:
-
-2011-07-28 Kangil Han <kangil.han@samsung.com>
-
- [EFL] Removes EAPI attribute in internal headers.
- https://bugs.webkit.org/show_bug.cgi?id=65251
-
- Removes EAPI attribute in three header files because API in these files is internally used.
-
- Reviewed by Anders Carlsson.
-
- * ewk/ewk_tiled_backing_store.h:
- * ewk/ewk_tiled_matrix.h:
- * ewk/ewk_tiled_model.h:
-
-2011-07-28 Kangil Han <kangil.han@samsung.com>
-
- [EFL] Defines header files will be publicly installed explicitly.
- https://bugs.webkit.org/show_bug.cgi?id=64923
-
- This patch modifies a way to define open header list from black-list to white-list.
- Plus, 'ewk/ewk_util.h' will not be installed anymore because it only has internal API.
-
- Reviewed by Anders Carlsson.
-
- * CMakeListsEfl.txt:
-
-2011-07-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Fix coding style of pointer type in ewk files.
- https://bugs.webkit.org/show_bug.cgi?id=65358
-
- Move '*' operator to variable side according to efl coding style.
- Because, '*' operator is next to variable in EFL coding style.
-
- Reviewed by Kent Tamura.
-
- * ewk/ewk_auth.cpp:
- (ewk_auth_credentials_set):
- * ewk/ewk_auth.h:
- * ewk/ewk_auth_soup.cpp:
- (_Ewk_Auth_Data::ewk_auth_soup_dialog_class_init):
- (_Ewk_Auth_Data::ewk_auth_soup_dialog_init):
- (_Ewk_Auth_Data::ewk_auth_soup_credentials_set):
- (_Ewk_Auth_Data::session_authenticate):
- (_Ewk_Auth_Data::free_auth_data):
- (_Ewk_Auth_Data::attach):
- (_Ewk_Auth_Data::detach):
- * ewk/ewk_auth_soup.h:
- * ewk/ewk_contextmenu.cpp:
- (ewk_context_menu_ref):
- (ewk_context_menu_unref):
- (ewk_context_menu_destroy):
- (ewk_context_menu_item_list_get):
- (ewk_context_menu_item_new):
- (ewk_context_menu_item_select):
- (ewk_context_menu_item_free):
- (ewk_context_menu_item_type_get):
- (ewk_context_menu_item_type_set):
- (ewk_context_menu_item_action_get):
- (ewk_context_menu_item_action_set):
- (ewk_context_menu_item_title_get):
- (ewk_context_menu_item_title_set):
- (ewk_context_menu_item_checked_get):
- (ewk_context_menu_item_checked_set):
- (ewk_context_menu_item_enabled_get):
- (ewk_context_menu_new):
- (ewk_context_menu_free):
- (ewk_context_menu_item_append):
- (ewk_context_menu_custom_get):
- (ewk_context_menu_show):
- * ewk/ewk_contextmenu.h:
- * ewk/ewk_cookies.cpp:
- (ewk_cookies_file_set):
- (ewk_cookies_clear):
- (ewk_cookies_get_all):
- (ewk_cookies_cookie_del):
- (ewk_cookies_policy_set):
- (ewk_cookies_policy_get):
- * ewk/ewk_history.cpp:
- (_ewk_history_item_new):
- (_ewk_history_item_list_get):
- (ewk_history_forward):
- (ewk_history_back):
- (ewk_history_history_item_add):
- (ewk_history_history_item_set):
- (ewk_history_history_item_back_get):
- (ewk_history_history_item_current_get):
- (ewk_history_history_item_forward_get):
- (ewk_history_history_item_nth_get):
- (ewk_history_history_item_contains):
- (ewk_history_forward_list_get):
- (ewk_history_forward_list_get_with_limit):
- (ewk_history_forward_list_length):
- (ewk_history_back_list_get):
- (ewk_history_back_list_get_with_limit):
- (ewk_history_back_list_length):
- (ewk_history_limit_get):
- (ewk_history_limit_set):
- (ewk_history_item_new):
- (_ewk_history_item_free):
- (ewk_history_item_free):
- (ewk_history_item_list_free):
- (ewk_history_item_title_get):
- (ewk_history_item_title_alternate_get):
- (ewk_history_item_title_alternate_set):
- (ewk_history_item_uri_get):
- (ewk_history_item_uri_original_get):
- (ewk_history_item_time_last_visited_get):
- (ewk_history_item_icon_surface_get):
- (ewk_history_item_icon_object_add):
- (ewk_history_item_page_cache_exists):
- (ewk_history_item_visit_count):
- (ewk_history_item_visit_last_failed):
- (ewk_history_new):
- (ewk_history_free):
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
- * ewk/ewk_network.cpp:
- (ewk_network_proxy_uri_set):
- (ewk_network_proxy_uri_get):
- * ewk/ewk_network.h:
- * ewk/ewk_private.h:
- * ewk/ewk_settings.cpp:
- (ewk_settings_icon_database_path_get):
- (ewk_settings_icon_database_icon_surface_get):
- (ewk_settings_icon_database_icon_object_add):
- (ewk_settings_default_user_agent_get):
- * ewk/ewk_util.cpp:
- (ewk_util_image_from_cairo_surface_add):
- * ewk/ewk_util.h:
- * ewk/ewk_window_features.cpp:
- (ewk_window_features_unref):
- (ewk_window_features_ref):
- (ewk_window_features_bool_property_get):
- (ewk_window_features_int_property_get):
- (ewk_window_features_new_from_core):
- * ewk/ewk_window_features.h:
-
-2011-07-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Fix pointer operator coding style in ewk_frame.
- https://bugs.webkit.org/show_bug.cgi?id=65357
-
- Move '*' operator to variable according to efl coding style.
- Because, '*' operator is next to variable in EFL coding style.
-
- Reviewed by Kent Tamura.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_debug):
- (_ewk_frame_loader_efl_get):
- (kit):
- (_ewk_frame_children_iterator_next):
- (_ewk_frame_children_iterator_get_container):
- (_ewk_frame_smart_add):
- (_ewk_frame_smart_del):
- (_ewk_frame_smart_resize):
- (_ewk_frame_smart_set):
- (_ewk_frame_smart_class_new):
- (ewk_frame_view_get):
- (ewk_frame_children_iterator_new):
- (ewk_frame_child_find):
- (ewk_frame_uri_set):
- (ewk_frame_uri_get):
- (ewk_frame_title_get):
- (ewk_frame_name_get):
- (ewk_frame_contents_size_get):
- (_ewk_frame_contents_set_internal):
- (ewk_frame_contents_set):
- (ewk_frame_contents_alternate_set):
- (ewk_frame_script_execute):
- (ewk_frame_editable_get):
- (ewk_frame_editable_set):
- (ewk_frame_selection_get):
- (ewk_frame_text_search):
- (ewk_frame_text_matches_mark):
- (ewk_frame_text_matches_unmark_all):
- (ewk_frame_text_matches_highlight_set):
- (ewk_frame_text_matches_highlight_get):
- (_ewk_frame_rect_cmp_less_than):
- (_ewk_frame_rect_is_negative_value):
- (ewk_frame_text_matches_nth_pos_get):
- (ewk_frame_stop):
- (ewk_frame_reload):
- (ewk_frame_reload_full):
- (ewk_frame_back):
- (ewk_frame_forward):
- (ewk_frame_navigate):
- (ewk_frame_back_possible):
- (ewk_frame_forward_possible):
- (ewk_frame_navigate_possible):
- (ewk_frame_zoom_get):
- (ewk_frame_zoom_set):
- (ewk_frame_zoom_text_only_get):
- (ewk_frame_zoom_text_only_set):
- (ewk_frame_hit_test_free):
- (ewk_frame_hit_test_new):
- (ewk_frame_scroll_add):
- (ewk_frame_scroll_set):
- (ewk_frame_scroll_size_get):
- (ewk_frame_scroll_pos_get):
- (ewk_frame_visible_content_geometry_get):
- (ewk_frame_paint_full_get):
- (ewk_frame_paint_full_set):
- (ewk_frame_feed_focus_in):
- (ewk_frame_feed_focus_out):
- (ewk_frame_feed_mouse_wheel):
- (ewk_frame_feed_mouse_down):
- (ewk_frame_feed_mouse_up):
- (ewk_frame_feed_mouse_move):
- (ewk_frame_feed_touch_event):
- (_ewk_frame_handle_key_scrolling):
- (ewk_frame_feed_key_down):
- (ewk_frame_feed_key_up):
- (ewk_frame_text_selection_type_get):
- (ewk_frame_add):
- (ewk_frame_init):
- (ewk_frame_child_add):
- (ewk_frame_core_gone):
- (ewk_frame_core_get):
- (ewk_frame_load_started):
- (ewk_frame_load_provisional):
- (ewk_frame_load_finished):
- (ewk_frame_load_error):
- (ewk_frame_load_progress_changed):
- (ewk_frame_contents_size_changed):
- (ewk_frame_title_set):
- (ewk_frame_view_create_for_view):
- (ewk_frame_uri_changed):
- (ewk_frame_force_layout):
- (ewk_frame_plugin_create):
- (ewk_frame_editor_client_selection_changed):
- * ewk/ewk_frame.h:
-
-2011-07-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Add dummy NotificationPresenterClientEfl
- https://bugs.webkit.org/show_bug.cgi?id=64064
-
- Add dummy files for HTML5 Notification. And also, notificationPresenter() is added to
- ChromeClientEfl. Without this function implemented, there would be a build break when
- ENABLE_NOTIFICATION is enabled.
-
- Reviewed by Antonio Gomes.
-
- * CMakeListsEfl.txt:
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::notificationPresenter):
- * WebCoreSupport/ChromeClientEfl.h:
- * WebCoreSupport/NotificationPresenterClientEfl.cpp: Added.
- (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
- (WebCore::NotificationPresenterClientEfl::~NotificationPresenterClientEfl):
- (WebCore::NotificationPresenterClientEfl::show):
- (WebCore::NotificationPresenterClientEfl::cancel):
- (WebCore::NotificationPresenterClientEfl::notificationObjectDestroyed):
- (WebCore::NotificationPresenterClientEfl::requestPermission):
- (WebCore::NotificationPresenterClientEfl::checkPermission):
- (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
- * WebCoreSupport/NotificationPresenterClientEfl.h: Added.
-
-2011-07-26 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Fix pointer operator coding style in ewk_view.
- https://bugs.webkit.org/show_bug.cgi?id=65163
-
- Move '*' operator to variable according to efl coding style. In addition,
- add a space between * and variable in type casting.
-
- Reviewed by Kent Tamura.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_changed):
- (_ewk_view_repaints_resize):
- (_ewk_view_repaint_add):
- (_ewk_view_repaints_flush):
- (_ewk_view_scrolls_resize):
- (_ewk_view_scroll_add):
- (_ewk_view_scrolls_flush):
- (_ewk_view_smart_focus_in):
- (_ewk_view_smart_focus_out):
- (_ewk_view_smart_mouse_wheel):
- (_ewk_view_smart_mouse_down):
- (_ewk_view_smart_mouse_up):
- (_ewk_view_smart_mouse_move):
- (_ewk_view_smart_key_down):
- (_ewk_view_smart_key_up):
- (_ewk_view_smart_add_console_message):
- (_ewk_view_smart_run_javascript_alert):
- (_ewk_view_smart_run_javascript_confirm):
- (_ewk_view_smart_should_interrupt_javascript):
- (_ewk_view_smart_run_javascript_prompt):
- (_ewk_view_on_focus_in):
- (_ewk_view_on_focus_out):
- (_ewk_view_on_mouse_wheel):
- (_ewk_view_on_mouse_down):
- (_ewk_view_on_mouse_up):
- (_ewk_view_on_mouse_move):
- (_ewk_view_on_key_down):
- (_ewk_view_on_key_up):
- (_ewk_view_core_frame_new):
- (_ewk_view_priv_new):
- (_ewk_view_priv_del):
- (_ewk_view_smart_add):
- (_ewk_view_smart_del):
- (_ewk_view_smart_resize):
- (_ewk_view_smart_move):
- (_ewk_view_smart_calculate):
- (_ewk_view_smart_contents_resize):
- (_ewk_view_smart_zoom_set):
- (_ewk_view_smart_flush):
- (_ewk_view_smart_pre_render_region):
- (_ewk_view_smart_pre_render_relative_radius):
- (_ewk_view_smart_pre_render_cancel):
- (_ewk_view_zoom_animated_mark_stop):
- (_ewk_view_zoom_animated_finish):
- (_ewk_view_zoom_animated_current):
- (_ewk_view_zoom_animator_cb):
- (_ewk_view_zoom_animation_start):
- (_ewk_view_viewport_attributes_compute):
- (ewk_view_base_smart_set):
- (ewk_view_fixed_layout_size_set):
- (ewk_view_fixed_layout_size_get):
- (ewk_view_theme_set):
- (ewk_view_theme_get):
- (ewk_view_frame_main_get):
- (ewk_view_frame_focused_get):
- (ewk_view_uri_set):
- (ewk_view_uri_get):
- (ewk_view_title_get):
- (ewk_view_editable_get):
- (ewk_view_bg_color_set):
- (ewk_view_bg_color_get):
- (ewk_view_text_search):
- (ewk_view_text_matches_mark):
- (ewk_view_text_matches_unmark_all):
- (ewk_view_text_matches_highlight_set):
- (ewk_view_text_matches_highlight_get):
- (ewk_view_editable_set):
- (ewk_view_selection_get):
- (_ewk_view_editor_command):
- (ewk_view_execute_editor_command):
- (ewk_view_context_menu_forward_event):
- (ewk_view_load_progress_get):
- (ewk_view_stop):
- (ewk_view_reload):
- (ewk_view_reload_full):
- (ewk_view_back):
- (ewk_view_forward):
- (ewk_view_navigate):
- (ewk_view_back_possible):
- (ewk_view_forward_possible):
- (ewk_view_navigate_possible):
- (ewk_view_history_enable_get):
- (ewk_view_history_enable_set):
- (ewk_view_history_get):
- (ewk_view_zoom_get):
- (ewk_view_zoom_set):
- (ewk_view_zoom_weak_smooth_scale_get):
- (ewk_view_zoom_weak_smooth_scale_set):
- (ewk_view_zoom_weak_set):
- (ewk_view_zoom_animated_mark_start):
- (ewk_view_zoom_animated_mark_end):
- (ewk_view_zoom_animated_mark_current):
- (ewk_view_zoom_animated_mark_stop):
- (ewk_view_zoom_animated_set):
- (ewk_view_zoom_text_only_get):
- (ewk_view_zoom_text_only_set):
- (ewk_view_pre_render_region):
- (ewk_view_pre_render_relative_radius):
- (ewk_view_pre_render_cancel):
- (ewk_view_setting_user_agent_get):
- (ewk_view_setting_user_agent_set):
- (ewk_view_setting_user_stylesheet_get):
- (ewk_view_setting_user_stylesheet_set):
- (ewk_view_setting_auto_load_images_get):
- (ewk_view_setting_auto_load_images_set):
- (ewk_view_setting_auto_shrink_images_get):
- (ewk_view_setting_auto_shrink_images_set):
- (ewk_view_setting_enable_auto_resize_window_get):
- (ewk_view_setting_enable_auto_resize_window_set):
- (ewk_view_setting_enable_scripts_get):
- (ewk_view_setting_enable_scripts_set):
- (ewk_view_setting_enable_plugins_get):
- (ewk_view_setting_enable_plugins_set):
- (ewk_view_setting_enable_frame_flattening_get):
- (ewk_view_setting_enable_frame_flattening_set):
- (ewk_view_setting_scripts_window_open_get):
- (ewk_view_setting_scripts_window_open_set):
- (ewk_view_setting_resizable_textareas_get):
- (ewk_view_setting_resizable_textareas_set):
- (ewk_view_setting_private_browsing_get):
- (ewk_view_setting_private_browsing_set):
- (ewk_view_setting_offline_app_cache_get):
- (ewk_view_setting_offline_app_cache_set):
- (ewk_view_setting_caret_browsing_get):
- (ewk_view_setting_caret_browsing_set):
- (ewk_view_setting_encoding_custom_get):
- (ewk_view_setting_encoding_custom_set):
- (ewk_view_setting_encoding_default_get):
- (ewk_view_setting_encoding_default_set):
- (ewk_view_setting_encoding_detector_set):
- (ewk_view_setting_encoding_detector_get):
- (ewk_view_setting_enable_developer_extras_get):
- (ewk_view_setting_enable_developer_extras_set):
- (ewk_view_setting_font_minimum_size_get):
- (ewk_view_setting_font_minimum_size_set):
- (ewk_view_setting_font_minimum_logical_size_get):
- (ewk_view_setting_font_minimum_logical_size_set):
- (ewk_view_setting_font_default_size_get):
- (ewk_view_setting_font_default_size_set):
- (ewk_view_setting_font_monospace_size_get):
- (ewk_view_setting_font_monospace_size_set):
- (ewk_view_setting_font_standard_get):
- (ewk_view_setting_font_standard_set):
- (ewk_view_setting_font_cursive_get):
- (ewk_view_setting_font_cursive_set):
- (ewk_view_setting_font_fantasy_get):
- (ewk_view_setting_font_fantasy_set):
- (ewk_view_setting_font_monospace_get):
- (ewk_view_setting_font_monospace_set):
- (ewk_view_setting_font_serif_get):
- (ewk_view_setting_font_serif_set):
- (ewk_view_setting_font_sans_serif_get):
- (ewk_view_setting_font_sans_serif_set):
- (ewk_view_setting_spatial_navigation_get):
- (ewk_view_setting_spatial_navigation_set):
- (ewk_view_setting_local_storage_get):
- (ewk_view_setting_local_storage_set):
- (ewk_view_setting_page_cache_get):
- (ewk_view_setting_page_cache_set):
- (ewk_view_setting_local_storage_database_path_get):
- (ewk_view_setting_local_storage_database_path_set):
- (ewk_view_smart_data_get):
- (ewk_view_repaints_get):
- (ewk_view_scroll_requests_get):
- (ewk_view_repaint_add):
- (ewk_view_layout_if_needed_recursive):
- (ewk_view_scrolls_process):
- (ewk_view_paint_context_new):
- (ewk_view_paint_context_free):
- (ewk_view_paint_context_save):
- (ewk_view_paint_context_restore):
- (ewk_view_paint_context_clip):
- (ewk_view_paint_context_paint):
- (ewk_view_paint_context_paint_contents):
- (ewk_view_paint_context_scale):
- (ewk_view_paint_context_translate):
- (ewk_view_paint):
- (ewk_view_paint_contents):
- (ewk_view_ready):
- (ewk_view_input_method_state_set):
- (ewk_view_title_set):
- (ewk_view_uri_changed):
- (ewk_view_load_started):
- (ewk_view_frame_main_load_started):
- (ewk_view_load_provisional):
- (ewk_view_load_show):
- (ewk_view_frame_main_cleared):
- (ewk_view_frame_main_icon_received):
- (ewk_view_load_finished):
- (ewk_view_load_error):
- (ewk_view_load_progress_changed):
- (ewk_view_restore_state):
- (ewk_view_window_create):
- (ewk_view_window_close):
- (ewk_view_mouse_link_hover_in):
- (ewk_view_mouse_link_hover_out):
- (ewk_view_toolbars_visible_set):
- (ewk_view_toolbars_visible_get):
- (ewk_view_statusbar_visible_set):
- (ewk_view_statusbar_visible_get):
- (ewk_view_statusbar_text_set):
- (ewk_view_scrollbars_visible_set):
- (ewk_view_scrollbars_visible_get):
- (ewk_view_menubar_visible_set):
- (ewk_view_menubar_visible_get):
- (ewk_view_tooltip_text_set):
- (ewk_view_add_console_message):
- (ewk_view_run_javascript_alert):
- (ewk_view_run_javascript_confirm):
- (ewk_view_run_javascript_prompt):
- (ewk_view_should_interrupt_javascript):
- (ewk_view_exceeded_database_quota):
- (ewk_view_run_open_panel):
- (ewk_view_repaint):
- (ewk_view_scroll):
- (ewk_view_core_page_get):
- (ewk_view_frame_create):
- (ewk_view_plugin_create):
- (ewk_view_popup_new):
- (ewk_view_popup_destroy):
- (ewk_view_popup_selected_set):
- (ewk_view_download_request):
- (ewk_view_viewport_attributes_set):
- (ewk_view_viewport_attributes_get):
- (ewk_view_zoom_range_set):
- (ewk_view_zoom_range_min_get):
- (ewk_view_zoom_range_max_get):
- (ewk_view_user_scalable_set):
- (ewk_view_user_scalable_get):
- (ewk_view_device_pixel_ratio_get):
- (ewk_view_navigation_policy_decision):
- (ewk_view_page_rect_get):
- (ewk_view_need_touch_events_set):
- (ewk_view_need_touch_events_get):
- (ewk_view_mode_set):
- (ewk_view_mode_get):
- (ewk_view_editor_client_selection_changed):
- * ewk/ewk_view.h:
-
-2011-07-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
-
- Add support for download='filename' attribute in anchors.
- https://bugs.webkit.org/show_bug.cgi?id=64580
-
- Reviewed by Adam Barth.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::startDownload):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-07-25 JungJik Lee <jungjik.lee@samsung.com>
-
- [EFL] Remove unused code in ewk_tile_model.c
- https://bugs.webkit.org/show_bug.cgi?id=64521
-
- Remove unused code in ewk_tile_model.c. Dirty flag is not referenced anywhere.
-
- Reviewed by Daniel Bates.
-
- * ewk/ewk_tiled_model.c:
- (ewk_tile_unused_cache_clear):
- (ewk_tile_unused_cache_flush):
- (ewk_tile_unused_cache_tile_get):
- (ewk_tile_unused_cache_tile_put):
-
-2011-07-25 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Move macro checking inside ewk_view_context_menu_forward_event
- https://bugs.webkit.org/show_bug.cgi?id=64682
-
- When CONTEXT_MENUS macro is disabled method ewk_view_context_menu_forward_event just
- returns EINA_FALSE and it avoid undefined reference during building.
-
- Reviewed by Kent Tamura.
-
- * ewk/ewk_view.cpp:
- (ewk_view_context_menu_forward_event):
-
-2011-07-25 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- [EFL] Method ewk_context_menu_destroy returns EINA_FALSE if CONTEXT_MENUS macro is disabled
- https://bugs.webkit.org/show_bug.cgi?id=64683
-
- Fix returned value and omit NULL checking if CONTEXT_MENUS macro is disabled
- in ewk_context_menu_destroy.
-
- Reviewed by Kent Tamura.
-
- * ewk/ewk_contextmenu.cpp:
- (ewk_context_menu_destroy):
-
-2011-07-22 Michal Pakula vel Rutka <m.pakula@samsung.com>
-
- [EFL] ewk_frame_hit_test_new enhancement
- https://bugs.webkit.org/show_bug.cgi?id=64260
-
- Replaces structure 'flags' with enum 'context' containing more hit test
- result types and adds new char* fields to Ewk_Hit_Test structure:
- image_uri and media_uri.
-
- Reviewed by Antonio Gomes.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_hit_test_free):
- (ewk_frame_hit_test_new):
- * ewk/ewk_frame.h:
-
-2011-07-19 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [EFL] Add ewk_network.cpp|h files.
- https://bugs.webkit.org/show_bug.cgi?id=63315
-
- ewk_network.cpp|h files are added to ewk in order to support APIs related to networking.
- In addition, ewk_network_state_notifier_online_set() is added to ewk_network.cpp in order
- to notify NetworkStateNotifier of network status.
-
- Reviewed by Antonio Gomes.
-
- * CMakeListsEfl.txt:
- * ewk/EWebKit.h:
- * ewk/ewk_network.cpp: Added.
- (ewk_network_proxy_uri_set):
- (ewk_network_proxy_uri_get):
- (ewk_network_state_notifier_online_set):
- * ewk/ewk_network.h:
- * ewk/ewk_settings.cpp:
- * ewk/ewk_settings.h:
-
-2011-07-15 Dan Bernstein <mitz@apple.com>
-
- REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
- https://bugs.webkit.org/show_bug.cgi?id=64615
-
- Reviewed by Anders Carlsson.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::setCursorHiddenUntilMouseMoves): Added this stub.
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-07-14 Jaehun Lim <ljaehun.lim@samsung.com>
-
- Reviewed by Adam Barth.
-
- [EFL] Remove IconDatabase initialization in _ewk_init_body()
- https://bugs.webkit.org/show_bug.cgi?id=63491
-
- Make IconDatabase feature optional by removing its initialization from _ewk_init_body().
- Now IconDatabase must be fully managed by an application:
- if it doesn't want to use it, there's nothing to do. Otherwise, just call
- ewk_settings_icon_database_path_set() with the directory path.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
- * ewk/ewk_settings.cpp:
- (ewk_settings_icon_database_path_set):
-
-2011-07-12 Joseph Pecoraro <joepeck@webkit.org>
-
- ApplicationCache update should not immediately fail when reaching per-origin quota
- https://bugs.webkit.org/show_bug.cgi?id=64177
-
- Reviewed by Alexey Proskuryakov.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota):
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-07-11 Jaehun Lim <ljaehun.lim@samsung.com>
-
- Reviewed by Ryosuke Niwa.
-
- [EFL] Supports to execute "redo" command.
- https://bugs.webkit.org/show_bug.cgi?id=62536
-
- Implements basic functions for "redo" command.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::registerCommandForUndo):
- (WebCore::EditorClientEfl::registerCommandForRedo):
- (WebCore::EditorClientEfl::clearUndoRedoOperations):
- (WebCore::EditorClientEfl::canRedo):
- (WebCore::EditorClientEfl::undo):
- (WebCore::EditorClientEfl::redo):
- (WebCore::EditorClientEfl::EditorClientEfl):
- * WebCoreSupport/EditorClientEfl.h:
-
-2011-06-29 Kangil Han <kangil.han@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Add APIs to get/set view mode
- https://bugs.webkit.org/show_bug.cgi?id=63229
-
- Implement public API for getting/setting the view-mode media feature as specified in W3C.
-
- * ewk/ewk_view.cpp:
- (ewk_view_mode_set):
- (ewk_view_mode_get):
- * ewk/ewk_view.h:
-
-2011-06-29 Michal Pakula vel Rutka <m.pakula@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Add ewk_frame_text_selection_type_get function
- https://bugs.webkit.org/show_bug.cgi?id=63462
-
- Add a method to obtain current WebCore::VisibleSelection text
- selection type.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_text_selection_type_get):
- * ewk/ewk_frame.h:
-
-2011-06-28 Michal Pakula vel Rutka <m.pakula@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Implement EditorClientEfl::respondToChangedSelection
- https://bugs.webkit.org/show_bug.cgi?id=63525
-
- This patch:
- - implements EditorClientEfl::respondToChangedSelection,
- - adds ewk_frame_editor_client_selection_changed and
- - ewk_view_editor_client_selection_changed
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::respondToChangedSelection):
- * ewk/ewk_frame.cpp:
- (ewk_frame_editor_client_selection_changed):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_editor_client_selection_changed):
-
-2011-06-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Change permission of some ewk files.
- https://bugs.webkit.org/show_bug.cgi?id=63517
-
- Change some file's permission same with other file's.
-
- * ewk/ewk_tiled_backing_store.c:
- * ewk/ewk_tiled_model.c:
- * ewk/ewk_view_single.c:
-
-2011-06-27 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Remove private header files from EWebKit_HEADERS.
- https://bugs.webkit.org/show_bug.cgi?id=63441
-
- Remove ewk_tiled_private.h, ewk_tiled_backing_store.h, ewk_tiled_matrix.h,
- ewk_tiled_model.h and check WTF_USE_SOUP to remove ewk_auth_soup.h.
-
- * CMakeListsEfl.txt:
-
-2011-06-27 Jongseok Yang <js45.yang@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Use accept attribute when executing the file picker for input element
- https://bugs.webkit.org/show_bug.cgi?id=63063
-
- This patch:
- - remove the argument "suggested_filenames" from ewk_view_run_open_panel
- - add the argument "accept" to ewk_view_run_open_panel
- - get the accept attribute and pass to ewk_view_run_open_panel within runOpenPanel
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::runOpenPanel):
- * ewk/ewk_view.cpp:
- (ewk_view_run_open_panel):
- * ewk/ewk_view.h:
-
-2011-06-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed. Fix style error.
-
- Remove meaningless parameter from WebCoreSupport's header files.
-
- * WebCoreSupport/ChromeClientEfl.h:
- (WebCore::ChromeClientEfl::scrollRectIntoView):
- * WebCoreSupport/DragClientEfl.h:
- * WebCoreSupport/FrameLoaderClientEfl.h:
- (WebCore::FrameLoaderClientEfl::setWebFrame):
-
-2011-06-27 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Remove ewk_tile_matrix_updates_process() call from _ewk_tiled_backing_store_item_process_idler_cb().
- https://bugs.webkit.org/show_bug.cgi?id=62963
-
- As repaint_process on ewk_view_tiled already takes care of dirty area in visible area
- and in order to let pre-render work more efficiently,
- _ewk_tiled_backing_store_item_process_idler_cb() better not call ewk_tile_matrix_updates_process().
-
- * ewk/ewk_tiled_backing_store.c:
- (_ewk_tiled_backing_store_item_process_idler_cb):
-
-2011-06-27 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Remove dead code related with Ewk_Tiled_Backing_Store_Item's update field.
- https://bugs.webkit.org/show_bug.cgi?id=62967
-
- As some code do not affect any logical flow of tiled backing store except condition check,
- I would like to clean dead code related with Ewk_Tiled_Backing_Store_Item's update field
- and Ewk_Tiled_Backing_Store_Data's queue field
-
- * ewk/ewk_tiled_backing_store.c:
- (_ewk_tiled_backing_store_item_process_idler_cb):
- (_ewk_tiled_backing_store_item_fill):
- (_ewk_tiled_backing_store_item_add):
- (_ewk_tiled_backing_store_item_del):
-
-2011-06-26 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Functions needing Ewk_View_Private_Data as parameter are not part of public API.
- https://bugs.webkit.org/show_bug.cgi?id=62688
-
- Move functions which use Ewk_View_Private_Data and may not be required by
- applications to ewk_private.h.
-
- * ewk/ewk_private.h:
- * ewk/ewk_view.h:
-
-2011-06-24 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Remove ewk_frame_theme_get/set.
- https://bugs.webkit.org/show_bug.cgi?id=63370
-
- Remove ewk_frame_theme_get/set to avoid confusion.
- Setting theme on each frame is meaningless and ewk_view_thjeme_set can
- do same thing.
-
- * ewk/ewk_frame.cpp:
- * ewk/ewk_frame.h:
- * ewk/ewk_view.cpp:
- (ewk_view_theme_set):
-
-2011-06-24 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Add ewk_auth.h to EWebKit.h
- https://bugs.webkit.org/show_bug.cgi?id=63311
-
- * ewk/EWebKit.h: Add ewk_auth.h
-
-2011-06-23 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Crash when running EWebLauncher
- https://bugs.webkit.org/show_bug.cgi?id=62628
-
- Call DocumentWriter::setEncoding when FrameLoaderClientEfl::finishedLoading()
- like other ports.
- It will clear parser not to crash when called endIfNotLoadingMainResource().
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::FrameLoaderClientEfl):
- (WebCore::FrameLoaderClientEfl::makeRepresentation):
- (WebCore::FrameLoaderClientEfl::revertToProvisionalState):
- (WebCore::FrameLoaderClientEfl::finishedLoading):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-06-22 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add an option to enable Device Orientation Event.
- https://bugs.webkit.org/show_bug.cgi?id=63120
-
- * CMakeListsEfl.txt: Add files to build with ENABLE_DEVICE_ORIENTATION.
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new): Create DeviceOrientationClientEfl and DeviceMotionClientEfl.
-
-2011-06-22 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add DeviceOrientationClientEfl and DeviceMotionClientEfl.
- https://bugs.webkit.org/show_bug.cgi?id=63125
-
- Add dummy files to build with ENABLE_DEVICE_ORIENTATION.
-
- * WebCoreSupport/DeviceMotionClientEfl.cpp: Added.
- (WebCore::DeviceMotionClientEfl::DeviceMotionClientEfl):
- (WebCore::DeviceMotionClientEfl::~DeviceMotionClientEfl):
- (WebCore::DeviceMotionClientEfl::deviceMotionControllerDestroyed):
- (WebCore::DeviceMotionClientEfl::setController):
- (WebCore::DeviceMotionClientEfl::startUpdating):
- (WebCore::DeviceMotionClientEfl::stopUpdating):
- (WebCore::DeviceMotionClientEfl::currentDeviceMotion):
- * WebCoreSupport/DeviceMotionClientEfl.h: Added.
- * WebCoreSupport/DeviceOrientationClientEfl.cpp: Added.
- (WebCore::DeviceOrientationClientEfl::DeviceOrientationClientEfl):
- (WebCore::DeviceOrientationClientEfl::~DeviceOrientationClientEfl):
- (WebCore::DeviceOrientationClientEfl::deviceOrientationControllerDestroyed):
- (WebCore::DeviceOrientationClientEfl::setController):
- (WebCore::DeviceOrientationClientEfl::startUpdating):
- (WebCore::DeviceOrientationClientEfl::stopUpdating):
- (WebCore::DeviceOrientationClientEfl::lastOrientation):
- * WebCoreSupport/DeviceOrientationClientEfl.h: Added.
-
-2011-06-20 Dimitri Glazkov <dglazkov@chromium.org>
-
- Reviewed by Kent Tamura.
-
- FileChooser should be only created when we need to choose files.
- https://bugs.webkit.org/show_bug.cgi?id=63039
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::runOpenPanel): Changed to use settings.
-
-2011-06-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed. Fix style error.
-
- * WebCoreSupport/EditorClientEfl.h:
- (WebCore::EditorClientEfl::requestCheckingOfString):
-
-2011-06-20 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] ChromeClientEfl doesn't need to check whether m_view is null.
- https://bugs.webkit.org/show_bug.cgi?id=62978
-
- Remove unnecessary check routines of m_view because ChromeClientEfl have
- valid m_view always.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::ChromeClientEfl): Add ASSERT(m_view)
- (WebCore::ChromeClientEfl::windowRect):
- (WebCore::ChromeClientEfl::setWindowRect):
- (WebCore::ChromeClientEfl::pageRect):
-
-2011-06-20 Ryosuke Niwa <rniwa@webkit.org>
-
- EFL build fix after r89293.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
-
-2011-06-18 Dimitri Glazkov <dglazkov@chromium.org>
-
- Reviewed by Darin Adler.
-
- Separate concerns of loading file icons and choosing files.
- https://bugs.webkit.org/show_bug.cgi?id=62931
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::loadIconForFiles): Renamed.
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-06-15 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Fix and update doxygen documentation for ewk_frame.
- https://bugs.webkit.org/show_bug.cgi?id=62533
-
- This patch:
- - fixes method descriptions,
- - adds briefs for structure and typdef,
- - replaces NULL to 0 in doxygen documentation (webkit's style required it),
- - removes dots from the end of params and return description (see EFL's documentation),
- - moves includes and defines below a brief of ewk_frame.h
- - moves internal methods to the end of ewk_frame.cpp.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_add):
- * ewk/ewk_frame.h:
-
-2011-06-15 Kamil Blank <k.blank@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Soup authentication feature implementation.
- https://bugs.webkit.org/show_bug.cgi?id=54752
-
- This implementation is based on GTK implementation.
- During ewk initialization SoupSessionFeature is added which provides possibility to handle HTTP basic auth.
-
- To support authentication we have to set function (callback) via ewk_auth_show_dialog_callback_set()
- which will be responsible for session authentication.
- If callback is set and authentication required - webkit pauses soup message, calls previously set callback
- and waits for authentication data (username/password) which should be passed by ewk_auth_credentials_set().
-
- * CMakeListsEfl.txt:
- * ewk/ewk_auth.cpp: Added.
- (ewk_auth_show_dialog_callback_set): Setting callback which should be called when authentication is required.
- (ewk_auth_credentials_set): Passing authentication data.
- * ewk/ewk_auth.h: Added. Authentication API.
- * ewk/ewk_auth_soup.cpp: Added. Soup authentication implementation.
- (_Ewk_Auth_Data::ewk_auth_soup_dialog_class_init):
- (_Ewk_Auth_Data::ewk_auth_soup_dialog_init):
- (_Ewk_Auth_Data::ewk_auth_soup_dialog_session_feature_init):
- (_Ewk_Auth_Data::ewk_auth_soup_show_dialog_callback_set):
- (_Ewk_Auth_Data::ewk_auth_soup_credentials_set):
- (_Ewk_Auth_Data::session_authenticate):
- (_Ewk_Auth_Data::free_auth_data):
- (_Ewk_Auth_Data::attach):
- (_Ewk_Auth_Data::detach):
- * ewk/ewk_auth_soup.h: Added.
- * ewk/ewk_main.cpp:
- (_ewk_init_body): SoupSessionFeature responsible for authentication added to SoupSession.
-
-2011-06-15 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r88723.
- http://trac.webkit.org/changeset/88723
- https://bugs.webkit.org/show_bug.cgi?id=62726
-
- Stack can be empty, so it needs to be checked before as
- pointed out in the comments of the bug. (Requested by demarchi
- on #webkit).
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::registerCommandForUndo):
- (WebCore::EditorClientEfl::registerCommandForRedo):
- (WebCore::EditorClientEfl::clearUndoRedoOperations):
- (WebCore::EditorClientEfl::canRedo):
- (WebCore::EditorClientEfl::redo):
- * WebCoreSupport/EditorClientEfl.h:
-
-2011-06-13 Michal Pakula vel Rutka <m.pakula@samsung.com>
-
- Reviewed by Eric Seidel.
-
- [EFL] Input method hints not updated while clicking non-input field editable area
- https://bugs.webkit.org/show_bug.cgi?id=62539
-
- This fixes a minor bug when input method hints are not updated while focus is
- changed from editable area with input tags to other which are does not have input
- tag i.e. textarea.
-
- * ewk/ewk_view.cpp:
- (ewk_view_input_method_state_set):
-
-2011-06-13 Jaehun Lim <ljaehun.lim@samsung.com>
-
- Reviewed by Eric Seidel.
-
- [EFL] Supports to execute "redo" command.
- https://bugs.webkit.org/show_bug.cgi?id=62536
-
- Implements basic functions for "redo" command.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::registerCommandForUndo):
- (WebCore::EditorClientEfl::registerCommandForRedo):
- (WebCore::EditorClientEfl::clearUndoRedoOperations):
- (WebCore::EditorClientEfl::canRedo):
- (WebCore::EditorClientEfl::redo):
- * WebCoreSupport/EditorClientEfl.h:
-
-2011-06-13 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- Reviewed by Eric Seidel.
-
- [EFL] Remove ewk_frame_select_* functions from ewk_frame.cpp
- https://bugs.webkit.org/show_bug.cgi?id=62365
-
- These functions do not exist in any public headers and
- they are not used internally.
- Moreover ewk_view has the same functionality added
- https://bugs.webkit.org/show_bug.cgi?id=60435
-
- * ewk/ewk_frame.cpp:
-
-2011-06-13 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [efl] Disable tiled backing store debug messages by default.
- https://bugs.webkit.org/show_bug.cgi?id=61745
-
- These messages pollute the output and are only useful to people
- working on TBS itself. It makes more sense to have them disabled by
- default.
-
- * ewk/ewk_tiled_backing_store.h:
-
-2011-06-13 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] change of cairo_format_t corresponding to EVAS_COLORSPACE_ARGB8888 color space
- https://bugs.webkit.org/show_bug.cgi?id=62448
-
- Use CAIRO_FORMAT_ARGB32 for EWK as pixman does not support the fast path for converting
- from ARGB32 to AGB24 when using source over operation in combination with a bilinear filter
-
- * ewk/ewk_tiled_model.c:
- (ewk_tile_new):
- * ewk/ewk_view_single.c:
- (_ewk_view_single_smart_repaints_process):
-
-2011-06-12 Adam Barth <abarth@webkit.org>
-
- Reviewed by Alexey Proskuryakov.
-
- Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
- https://bugs.webkit.org/show_bug.cgi?id=62516
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::interruptedForPolicyChangeError):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-06-10 KwangHyuk Kim <hyuki.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL]add image content hint information for tile image object when it is created
- https://bugs.webkit.org/show_bug.cgi?id=62436
-
- When application is using opengl_x11 Ecore_Evas, it can be working as gl texture.
- In order to support this enhanced feature, image content hint information must be
- specified as EVAS_IMAGE_CONTENT_HINT_DYNAMIC
-
- * ewk/ewk_tiled_model.c:
- (ewk_tile_new):
-
-2011-06-10 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Repaint throttling API.
- https://bugs.webkit.org/show_bug.cgi?id=56178
-
- The API allows to set the values for repaint throttling.
- It should ensure displaying a content with many css/gif animations.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_repaint_throttling_set):
- * ewk/ewk_settings.h:
-
-2011-06-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Use makeString() when getting os version
- https://bugs.webkit.org/show_bug.cgi?id=62434
-
- When os version string is created, to use makeString() is better than
- String operation.
-
- * ewk/ewk_settings.cpp:
- (_ewk_settings_webkit_os_version_get):
-
-2011-06-09 Hyowon Kim <hw1008.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Make accelerated compositing build in Webkit-EFL
- https://bugs.webkit.org/show_bug.cgi?id=62361
-
- Add functions for accelerated compositing to ChromeClientEfl.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::attachRootGraphicsLayer):
- (WebCore::ChromeClientEfl::setNeedsOneShotDrawingSynchronization):
- (WebCore::ChromeClientEfl::scheduleCompositingLayerSync):
- (WebCore::ChromeClientEfl::allowedCompositingTriggers):
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-05-30 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- Reviewed by Brent Fulgham.
-
- [efl] Do not enable the encoding detector by default.
- https://bugs.webkit.org/show_bug.cgi?id=61744
-
- This should match the behaviour of other ports more closely, and makes
- at least dom/xhtml/level3/core/documentgetinputencoding01.xhtml pass.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2011-06-08 Jaehun Lim <ljaehun.lim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Implements "undo" command execution
- https://bugs.webkit.org/show_bug.cgi?id=62201
-
- Supports to execute "Undo" command.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::registerCommandForUndo):
- (WebCore::EditorClientEfl::clearUndoRedoOperations):
- (WebCore::EditorClientEfl::canUndo):
- (WebCore::EditorClientEfl::undo):
- * WebCoreSupport/EditorClientEfl.h:
-
-2011-06-08 Eunmi Lee <eunmi15.lee@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] remove adjusting codes for zoom's center coordinate
- https://bugs.webkit.org/show_bug.cgi?id=62266
-
- It is possible that the application developers don't want to limit
- zoom's center coordinate to the viewport for implementing some effects
- and center coordinate out of the viewport does not affect to the zoom operation.
- So, It is better to leave zoom's center coordinate freely.
-
- * ewk/ewk_view.cpp:
- (ewk_view_zoom_set):
- (ewk_view_zoom_weak_set):
-
-2011-06-07 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Remove JSC dependency from WebKit/efl
- https://bugs.webkit.org/show_bug.cgi?id=62173
-
- Change JSC::initializeThreading() and WTF::initializeMainThread() to
- WebCore::ScriptController::initializeThreading() which contains these
- functions and remove JSC dependency to build webkit/efl with v8.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
-
-2011-06-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed build fix.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::startDownload): Change prettyURL() with string().
-
-2011-06-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Implement startDownload() in FrameLoaderClientEfl
- https://bugs.webkit.org/show_bug.cgi?id=61998
-
- Implement startDownload() with download().
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::startDownload):
-
-2011-06-03 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r88014.
- http://trac.webkit.org/changeset/88014
- https://bugs.webkit.org/show_bug.cgi?id=62017
-
- Broken EFL build (Requested by tonikitoo on #webkit).
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::startDownload):
-
-2011-06-03 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Implement startDownload() in FrameLoaderClientEfl
- https://bugs.webkit.org/show_bug.cgi?id=61998
-
- Implement startDownload() with download().
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::startDownload):
-
-2011-06-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Implement hasWebView() in FrameLoaderClientEfl
- https://bugs.webkit.org/show_bug.cgi?id=61905
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::hasWebView): Implement hasWebView() function.
-
-2011-06-02 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] No need to invalidate empty areas in ChromeClientEfl::invalidateContentsAndWindow
- https://bugs.webkit.org/show_bug.cgi?id=61902
-
- Just return to reduce unnecessary calls when invalidateContentsAndWindow
- received empty area.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::invalidateContentsAndWindow):
-
-2011-06-01 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Add null checking condition to EditorClientEfl.cpp
- https://bugs.webkit.org/show_bug.cgi?id=61846
-
- Add null checking condition for using settings() of frame.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
-
-2011-05-31 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- Reviewed by Adam Barth.
-
- [efl] Add ewk API to enable/disable developer extras.
- https://bugs.webkit.org/show_bug.cgi?id=61746
-
- Add ewk_view_setting_enable_developer_extras_{get,set}, which is used
- to enable or disable developer extras (currently, the Web Inspector)
- in a given view.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_setting_enable_developer_extras_get):
- (ewk_view_setting_enable_developer_extras_set):
- * ewk/ewk_view.h:
-
-2011-05-30 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- Reviewed by Kent Tamura.
-
- [efl] Fix _ewk_frame_children_iterator_next().
- https://bugs.webkit.org/show_bug.cgi?id=61749
-
- The iterator was returning always the first child, making tests like
- fast/history/history-back-initial-vs-final-url.html to timeout and
- eventually run out of memory.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_children_iterator_next):
- (ewk_frame_children_iterator_new):
-
-2011-05-28 Adam Barth <abarth@webkit.org>
-
- Reviewed by Alexey Proskuryakov.
-
- Audit all uses of KURL::prettyURL
- https://bugs.webkit.org/show_bug.cgi?id=61201
-
- Update callers of prettyURL to just call string.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::mouseDidMoveOverElement):
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest):
- (WebCore::FrameLoaderClientEfl::assignIdentifierToInitialRequest):
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
- (WebCore::FrameLoaderClientEfl::download):
- (WebCore::FrameLoaderClientEfl::cancelledError):
- (WebCore::FrameLoaderClientEfl::blockedError):
- * ewk/ewk_frame.cpp:
- (ewk_frame_hit_test_new):
- (ewk_frame_uri_changed):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_frame_create):
- (ewk_view_plugin_create):
-
-2011-05-16 Jon Lee <jonlee@apple.com>
-
- Reviewed by Simon Fraser.
-
- Can't horizontally scroll iframes and overflow because wheel events are always accepted
- https://bugs.webkit.org/show_bug.cgi?id=60779
-
- * WebCoreSupport/ChromeClientEfl.h:
- (WebCore::ChromeClientEfl::shouldRubberBandInDirection): Default impl of new ChromeClient method
- (WebCore::ChromeClientEfl::numWheelEventHandlersChanged): Default impl of new ChromeClient method
-
-2011-05-16 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Remove EAPI macro from functions definition
- https://bugs.webkit.org/show_bug.cgi?id=60754
-
- This macro should be used in header files only.
- It's not necessary to have it in definitions.
-
- * ewk/ewk_cookies.cpp:
- (ewk_cookies_file_set):
- (ewk_cookies_clear):
- (ewk_cookies_get_all):
- (ewk_cookies_cookie_del):
- (ewk_cookies_cookie_free):
- (ewk_cookies_policy_set):
- (ewk_cookies_policy_get):
- * ewk/ewk_window_features.cpp:
- (ewk_window_features_unref):
- (ewk_window_features_ref):
- (ewk_window_features_bool_property_get):
- (ewk_window_features_int_property_get):
-
-2011-05-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed. Fix style error.
-
- * ewk/ewk_history.cpp:
-
-2011-05-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Move ewk_view_dpi_get() to ewk_util.cpp
- https://bugs.webkit.org/show_bug.cgi?id=60753
-
- Move ewk_view_dpi_get() to ewk_util.cpp
-
- * ewk/ewk_private.h:
- * ewk/ewk_util.cpp:
- (ewk_util_dpi_get):
- * ewk/ewk_view.cpp:
- (_ewk_view_viewport_attributes_compute):
-
-2011-05-11 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Remove fixed_layout structure in ewk_view
- https://bugs.webkit.org/show_bug.cgi?id=60615
-
- Remove unnecessary fixed_layout structure. The ewk_view_fixed_layout_size_set/get()
- use WebCore's functions directly.
-
- * ewk/ewk_view.cpp:
- (ewk_view_fixed_layout_size_set):
- (ewk_view_fixed_layout_size_get):
-
-2011-05-11 Tomasz Morawski <t.morawski@samsung.com>
-
- Rubber-stamped by Daniel Bates.
-
- Added missing DATABASE macro
- https://bugs.webkit.org/show_bug.cgi?id=60437
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_web_database_default_quota_get):
-
-2011-05-08 Kamil Blank <k.blank@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- Added new commands to be called by ewk_view_editor_command.
- Due to this change ewk_view_select_* functions have been removed.
- https://bugs.webkit.org/show_bug.cgi?id=60435
-
- * ewk/ewk_view.cpp:
- (ewk_view_execute_editor_command):
- * ewk/ewk_view.h:
-
-2011-05-07 Tomasz Morawski <t.morawski@samsung.com>
-
- Reviewed by Daniel Bates.
-
- [EFL] Remove ewk_tile_unused_cache_free function from public API
- https://bugs.webkit.org/show_bug.cgi?id=60151
-
- The ewk_tile_unused_cache_free function should be only called by
- ewk_tile_unused_cache_unref function. Calling this function without
- considering reference counting may lead to fatal results.
-
- * ewk/ewk_tiled_model.c:
- (_ewk_tile_unused_cache_free):
- (ewk_tile_unused_cache_unref):
- * ewk/ewk_tiled_model.h:
-
-2011-05-05 Ryosuke Niwa <rniwa@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Rename SelectionController to FrameSelection
- https://bugs.webkit.org/show_bug.cgi?id=60234
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
-
-2011-05-04 Cris Neckar <cdn@chromium.org>
-
- Reviewed by Adam Barth.
-
- Expose WebView directly through ChromeClient.
- https://bugs.webkit.org/show_bug.cgi?id=49902
-
- * WebCoreSupport/ChromeClientEfl.h:
- (WebCore::ChromeClientEfl::webView):
-
-2011-05-04 Tomasz Morawski <t.morawski@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Added error check for _ewk_init_body result.
- https://bugs.webkit.org/show_bug.cgi?id=60149
-
- The ewk_init function should be failed when _ewk_init_body function
- return false.
-
- * ewk/ewk_main.cpp:
- (ewk_init):
-
-2011-05-04 Tao Bai <michaelbai@chromium.org>
-
- Reviewed by David Kilzer.
-
- Populate touch-icon url to FrameLoaderClient
- https://bugs.webkit.org/show_bug.cgi?id=59143
-
- Respect the interface change in FrameLoaderClient
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidChangeIcons):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-05-04 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Initialize viewport argument in ewk_view.cpp
- https://bugs.webkit.org/show_bug.cgi?id=60147
-
- viewport computation logic can't be worked correctly because viewport argument
- isn't initialized. So, we need to initialize viewport argument.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2011-05-03 Leandro Pereira <leandro@profusion.mobi>
-
- [EFL] Unreviewed build fix for NETWORK_BACKEND=curl.
-
- Force linking with zlib so that uncompress() exists.
-
- * CMakeListsEfl.txt: Append zlib libraries.
-
-2011-05-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed. Style error fix.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
-
-2011-04-28 Kamil Blank <k.blank@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- New API for executing Editor Commands: InsertText, InsertImage.
- https://bugs.webkit.org/show_bug.cgi?id=54439
-
- * ewk/ewk_view.cpp:
- (_ewk_view_editor_command): Added value parameter.
- (ewk_view_execute_editor_command): Added.
- * ewk/ewk_view.h: New API added.
-
-2011-04-26 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Update signals description
- https://bugs.webkit.org/show_bug.cgi?id=56904
-
- Add, fix signals description that are emitted by evas_object_smart_callcabck_call in
- ewk_view, ewk_frame, ewk_contextmenu.
-
- * ewk/ewk_contextmenu.h:
- * ewk/ewk_frame.h:
- * ewk/ewk_view.h:
-
-2011-04-25 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Remove ewk_eapi.h
- https://bugs.webkit.org/show_bug.cgi?id=59091
-
- * ewk/EWebKit.h:
- * ewk/ewk_contextmenu.h:
- * ewk/ewk_cookies.h:
- * ewk/ewk_eapi.h: Removed.
- * ewk/ewk_frame.h:
- * ewk/ewk_history.h:
- * ewk/ewk_main.h:
- * ewk/ewk_settings.h:
- * ewk/ewk_tiled_matrix.h:
- * ewk/ewk_tiled_model.h:
- * ewk/ewk_window_features.h:
-
-2011-04-21 Ryosuke Niwa <rniwa@webkit.org>
-
- Reviewed by Sam Weinig.
-
- Add Frame* to the argument lists of canCopyCut and canPaste
- https://bugs.webkit.org/show_bug.cgi?id=59153
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::canCopyCut):
- (WebCore::EditorClientEfl::canPaste):
- * WebCoreSupport/EditorClientEfl.h:
-
-2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
- https://bugs.webkit.org/show_bug.cgi?id=58883
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveContentLength):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r84155.
- http://trac.webkit.org/changeset/84155
- https://bugs.webkit.org/show_bug.cgi?id=58802
-
- "paintEntireContents flag is used for painting outside of the
- screen. It's not the right way to fix EFL tiled backing
- store." (Requested by demarchi on #webkit).
-
- * ewk/ewk_view_tiled.c:
- (_ewk_view_tiled_smart_add):
-
-2011-04-18 Eunsol Park <eunsol47.park@samsung.com>
-
- Reviewed by Eric Seidel.
-
- [EFL] Scroll doesn't work on tiled backing store
- https://bugs.webkit.org/show_bug.cgi?id=55021
-
- Scroll doesn't work on tiled backing store, but it works on single.
- If ewk_frame_paint_full_set() set True, view size return content size and scroll can't be made.
- so, ewk_frame_paint_full_set() is removed from ewk_tiled_smart_add().
-
- * ewk/ewk_view_tiled.c:
- (_ewk_view_tiled_smart_add):
-
-2011-04-14 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- Memory cache API
- https://bugs.webkit.org/show_bug.cgi?id=58016
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_cache_enable_get):
- (ewk_settings_cache_enable_set):
- (ewk_settings_cache_capacity_set):
- * ewk/ewk_settings.h:
-
-2011-04-13 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Doxygen documentation for ewk_main, ewk_history and tools
- https://bugs.webkit.org/show_bug.cgi?id=58428
-
- * ewk/EWebKit.h:
- * ewk/ewk_eapi.h:
- * ewk/ewk_history.h:
- * ewk/ewk_logging.h:
- * ewk/ewk_main.cpp:
- * ewk/ewk_main.h:
- * ewk/ewk_private.h:
- * ewk/ewk_util.cpp:
- * ewk/ewk_util.h:
-
-2011-04-11 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Adjust dpi value to viewport computation.
- https://bugs.webkit.org/show_bug.cgi?id=58130
-
- In viewport computation, EFL port have used 160 value for DPI since now.
- But, we have to use device's dpi value for viewport meta tag computation.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_viewport_attributes_compute):
-
-2011-04-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Eric Carlson.
-
- [EFL] Add seek forward / backward buttons to MediaControl UI.
- https://bugs.webkit.org/show_bug.cgi?id=56810
-
- Add seek forward / backward buttons to media control.
-
- * DefaultTheme/default.edc:
- * DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackward_button.edc: Added.
- * DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackwardbutton.png: Added.
- * DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforward_button.edc: Added.
- * DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforwardbutton.png: Added.
-
-2011-04-04 MORITA Hajime <morrita@google.com>
-
- Reviewed by Ryosuke Niwa.
-
- [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
- https://bugs.webkit.org/show_bug.cgi?id=56085
-
- * WebCoreSupport/EditorClientEfl.h:
- (WebCore::EditorClientEfl::requestCheckingOfString):
-
-2011-04-01 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Synchronization between WebCore's ContextMenuItem.h and ewk_contextmenu.h
- https://bugs.webkit.org/show_bug.cgi?id=57000
-
- * ewk/ewk_contextmenu.h:
-
-2011-03-31 Evan Martin <evan@chromium.org>
-
- Reviewed by Eric Seidel.
-
- <title> should support dir attribute
- https://bugs.webkit.org/show_bug.cgi?id=50961
-
- Update to new FrameLoaderClient interface.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveTitle):
- (WebCore::FrameLoaderClientEfl::setTitle):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-03-29 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Remove unnecessary ewk_view_viewport_attributes_set() invocation
- https://bugs.webkit.org/show_bug.cgi?id=57222
-
- WebCore sends viewport signal whenever viewport is changed by Page::updateViewportArguments().
- Thus, we don't need to call ewk_view_viewport_attributes_set() with dummy viewport data
- anymore.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
-
-2011-03-27 Patrick Gansterer <paroga@webkit.org>
-
- Reviewed by Andreas Kling.
-
- Fix agentOS() in FrameLoaderClientEfl
- https://bugs.webkit.org/show_bug.cgi?id=57177
-
- Replace old PLATFORM macro with OS and CPU.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::agentOS):
-
-2011-03-27 Patrick Gansterer <paroga@webkit.org>
-
- Reviewed by Andreas Kling.
-
- [EFL] Use an appropriate user agent string
- https://bugs.webkit.org/show_bug.cgi?id=57176
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::composeUserAgent):
-
-2011-03-25 Andy Estes <aestes@apple.com>
-
- Reviewed by Adele Peterson.
-
- REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
- https://bugs.webkit.org/show_bug.cgi?id=49016
-
- Update objectContentType() implementation to handle the
- shouldPreferPlugInsForImages flag.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::objectContentType):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-03-24 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add sound / mute button to MediaControl UI
- https://bugs.webkit.org/show_bug.cgi?id=56726
-
- Add sound / mute button to MediaControl UI.
-
- * DefaultTheme/default.edc:
- * DefaultTheme/widget/mediacontrol/mutebutton/mute_button.edc: Added.
- * DefaultTheme/widget/mediacontrol/mutebutton/mutebutton.png: Added.
- * DefaultTheme/widget/mediacontrol/mutebutton/unmutebutton.png: Added.
-
-2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r81916 and r81917.
- http://trac.webkit.org/changeset/81916
- http://trac.webkit.org/changeset/81917
- https://bugs.webkit.org/show_bug.cgi?id=57071
-
- broke a test on platforms that do not have QuickTime installed
- (Requested by estes on #webkit).
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::objectContentType):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-03-24 Andy Estes <aestes@apple.com>
-
- Reviewed by Darin Adler.
-
- REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
- https://bugs.webkit.org/show_bug.cgi?id=49016
-
- Update objectContentType() implementation to handle the
- shouldPreferPlugInsForImages flag.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::objectContentType):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-03-23 Brady Eidson <beidson@apple.com>
-
- Reviewed by Sam Weinig.
-
- Change IconDatabase opening to allow for arbitrary filenames
- https://bugs.webkit.org/show_bug.cgi?id=56977
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_icon_database_path_set):
-
-2011-03-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add play / pause button to media control
- https://bugs.webkit.org/show_bug.cgi?id=55463
-
- Add play|pause button to media control.
-
- * DefaultTheme/default.edc:
- * DefaultTheme/widget/mediacontrol/playpausebutton/pausebutton.png: Added.
- * DefaultTheme/widget/mediacontrol/playpausebutton/playbutton.png: Added.
- * DefaultTheme/widget/mediacontrol/playpausebutton/playpause_button.edc: Added.
-
-2011-03-22 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Change return values with better one in ewk_setting's functions
- https://bugs.webkit.org/show_bug.cgi?id=56819
-
- In ewk_settings_cache_directory_path_set_xxx, they return false value
- when soup is disabled. It is better to use EINA_SAFETY_ON_TRUE_RETURN_XXX.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_proxy_uri_get):
- (ewk_settings_cache_directory_path_set):
- (ewk_settings_cache_directory_path_get):
-
-2011-03-22 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- Reviewed by Kent Tamura.
-
- Add void to function without parameters
- https://bugs.webkit.org/show_bug.cgi?id=56821
-
- * ewk/ewk_cookies.cpp:
- (ewk_cookies_clear):
- (ewk_cookies_policy_get):
- * ewk/ewk_cookies.h:
- * ewk/ewk_private.h:
- * ewk/ewk_settings.cpp:
- (ewk_settings_web_database_default_quota_get):
- (ewk_settings_web_database_path_get):
- (ewk_settings_proxy_uri_get):
- (ewk_settings_default_user_agent_get):
- * ewk/ewk_settings.h:
- * ewk/ewk_view.cpp:
- (ewk_view_dpi_get):
-
-2011-03-17 Brady Eidson <beidson@apple.com>
-
- Reviewed by Sam Weinig.
-
- https://bugs.webkit.org/show_bug.cgi?id=56425
- More groundwork for WebKit2 IconDatabase
-
- Update already-used function names:
- * ewk/ewk_history.cpp:
- (ewk_history_item_icon_surface_get):
- (ewk_history_item_icon_object_add):
- * ewk/ewk_settings.cpp:
- (ewk_settings_icon_database_icon_surface_get):
- (ewk_settings_icon_database_icon_object_add):
-
-2011-03-16 Joseph Pecoraro <joepeck@webkit.org>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Viewport no longer allows an auto value for "user-scalable"
- https://bugs.webkit.org/show_bug.cgi?id=55416
-
- Make the default value for userScalable be true.
-
- * ewk/ewk_view.cpp:
- (ewk_view_viewport_attributes_get):
-
-2011-03-14 Brady Eidson <beidson@apple.com>
-
- Try to fix the EFL build-bustage that their EWS bot did not see, but their core-builder did. (sigh)
-
- * ewk/ewk_history.cpp:
- (ewk_history_item_icon_surface_get):
- (ewk_history_item_icon_object_add):
-
-2011-03-14 Brady Eidson <beidson@apple.com>
-
- Reviewed by Anders Carlsson.
-
- https://bugs.webkit.org/show_bug.cgi?id=56320
- Remove HistoryItem::icon() and the WebCore dependency on "IconDatabaseBase::defaultIcon()"
-
- * ewk/ewk_history.cpp:
- (ewk_history_item_icon_surface_get): Use IconDatabase directly.
-
-2011-03-14 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Move cache_directory api
- https://bugs.webkit.org/show_bug.cgi?id=52139
-
- Move cache directory related apis from ewk_view to ewk_settings because
- those are not related to ewk_view.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
- * ewk/ewk_settings.cpp:
- (ewk_settings_cache_directory_path_set):
- (ewk_settings_cache_directory_path_get):
- * ewk/ewk_settings.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (_ewk_view_priv_del):
- * ewk/ewk_view.h:
-
-2011-03-12 Ryuan Choi <ryuan.choi@samsung.com>
-
- Unreviewed build fix.
-
- [EFL] Fix build break because of several reason.
- https://bugs.webkit.org/show_bug.cgi?id=56244
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_icon_database_path_set):
-
-2011-03-10 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Limit touch events when only page required touch events.
- https://bugs.webkit.org/show_bug.cgi?id=54857
-
- Block touch events when ChromeClient::needTouchEvents got false.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::needTouchEvents):
- * WebCoreSupport/ChromeClientEfl.h:
- * ewk/ewk_frame.cpp:
- (ewk_frame_feed_touch_event):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_need_touch_events_set):
- (ewk_view_need_touch_events_get):
-
-2011-03-08 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Doxygen documentation for ewk_window_features and ewk_context_menu
- https://bugs.webkit.org/show_bug.cgi?id=55026
-
- * ewk/ewk_contextmenu.cpp:
- (ewk_context_menu_item_select): returns EINA_FALSE when CONTEXT_MENU is disabled
- * ewk/ewk_contextmenu.h:
- * ewk/ewk_window_features.cpp:
- * ewk/ewk_window_features.h:
-
-2011-03-07 Sam Weinig <sam@webkit.org>
-
- Reviewed by Anders Carlsson.
-
- Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
- https://bugs.webkit.org/show_bug.cgi?id=55827
-
- Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
- and pass the entire response, instead of just the MIMEType.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-03-04 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Doxygen documentation for ewk_settings
- https://bugs.webkit.org/show_bug.cgi?id=55667
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_default_user_agent_get): only style is fixed
- * ewk/ewk_settings.h:
-
-2011-03-03 Brady Eidson <beidson@apple.com>
-
- Reviewed by Darin Adler.
-
- https://bugs.webkit.org/show_bug.cgi?id=55721
- Global IconDatabase should be returned by reference, not as a pointer
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_icon_database_path_set):
- (ewk_settings_icon_database_path_get):
- (ewk_settings_icon_database_clear):
- (ewk_settings_icon_database_icon_surface_get):
- (ewk_settings_icon_database_icon_object_add):
-
-2011-03-03 Alexey Proskuryakov <ap@apple.com>
-
- Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
- via ChromeClient.h
-
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-03-02 Alexey Proskuryakov <ap@apple.com>
-
- Reviewed by Darin Adler.
-
- REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
- https://bugs.webkit.org/show_bug.cgi?id=55633
- <rdar://problem/8963023>
-
- * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::keyboardUIMode):
- * WebCoreSupport/ChromeClientEfl.h:
- Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
- this platform doesn't observe or have full keyboard access state.
-
-2011-03-01 Joseph Pecoraro <joepeck@webkit.org>
-
- Unreviewed. Roll out r80068 and r80073 due to breaking WebKit2 Qt port.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_viewport_attributes_compute):
-
-2011-03-01 Joseph Pecoraro <joepeck@webkit.org>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Viewport Warning/Error Messages Are Now Inaccurate
- https://bugs.webkit.org/show_bug.cgi?id=53707
-
- * ewk/ewk_view.cpp:
- (_ewk_view_viewport_attributes_compute): pass a Document into computeViewportAttributes for warnings to be reported to.
-
-2011-02-28 Chang Shu <cshu@webkit.org>
-
- Reviewed by Ryosuke Niwa.
-
- Remove the support of Frame::isContentEditable and its dependencies.
- https://bugs.webkit.org/show_bug.cgi?id=54292
-
- Remove the WebKit side implementation.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- * WebCoreSupport/EditorClientEfl.h:
-
-2011-02-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Restore parameters of efl header files.
- https://bugs.webkit.org/show_bug.cgi?id=55292
-
- Restore parameters in efl header files.
-
- * ewk/ewk_frame.h:
- * ewk/ewk_tiled_backing_store.h:
- * ewk/ewk_tiled_matrix.h:
- * ewk/ewk_tiled_model.h:
- * ewk/ewk_view.cpp:
- (ewk_view_pre_render_relative_radius):
- * ewk/ewk_view.h:
- * ewk/ewk_window_features.h:
-
-2011-02-26 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Replace WTF_USE_SOUP macro with USE(SOUP)
- https://bugs.webkit.org/show_bug.cgi?id=55296
-
- ewk_cookies.cpp and ewk_main.cpp are using WTF_USE_SOUP macro.
- So, according to policy decision macro usage, the macro needs to
- be changed with USE(SOUP).
-
- * ewk/ewk_cookies.cpp:
- (ewk_cookies_file_set):
- (ewk_cookies_clear):
- (ewk_cookies_get_all):
- (ewk_cookies_cookie_del):
- (ewk_cookies_cookie_free):
- (ewk_cookies_policy_set):
- (ewk_cookies_policy_get):
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
-
-2011-02-24 Peter Kasting <pkasting@google.com>
-
- Reviewed by Eric Seidel.
-
- Drop the "U; " encryption level from the User Agent string.
- https://bugs.webkit.org/show_bug.cgi?id=54566
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::composeUserAgent):
- * ewk/ewk_settings.cpp:
- (ewk_settings_default_user_agent_get):
-
-2011-02-23 Patrick Gansterer <paroga@webkit.org>
-
- Reviewed by Alexey Proskuryakov.
-
- Use AtomicString::fromUTF8 instead of String::fromUTF8 for AtomicStrings
- https://bugs.webkit.org/show_bug.cgi?id=54992
-
- Also remove the WTF namespace from AtomicString and String.
-
- * ewk/ewk_view.cpp:
-
-2011-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
-
- Reviewed by Alexey Proskuryakov.
-
- Drop the language tag part from the User Agent string
- https://bugs.webkit.org/show_bug.cgi?id=54560
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::composeUserAgent):
- * ewk/ewk_settings.cpp:
- (ewk_settings_default_user_agent_get):
-
-2011-02-21 Lukasz Slachciak <l.slachciak@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Fixed missing spatial navigation setting initialization. Doxygen comments added.
- https://bugs.webkit.org/show_bug.cgi?id=54806
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new): spatial navigation setting initialization added
-
-2011-02-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Fix coding style errors in tiled BS and ewk_window_feature.h
- https://bugs.webkit.org/show_bug.cgi?id=54842
-
- Fix style errors in ewk files.
-
- * ewk/ewk_tiled_backing_store.h:
- * ewk/ewk_tiled_matrix.h:
- * ewk/ewk_tiled_model.h:
- * ewk/ewk_window_features.h:
-
-2011-02-19 Lukasz Slachciak <l.slachciak@samsung.com>
-
- Reviewed by Andreas Kling.
-
- [EFL] Eliminated error when .webkit directory doesn't exist.
- https://bugs.webkit.org/show_bug.cgi?id=54813
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
-
-2011-02-19 Lukasz Slachciak <l.slachciak@samsung.com>
-
- Unreviewed build fix.
-
- SoupSession build break fix
- https://bugs.webkit.org/show_bug.cgi?id=54796
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_proxy_uri_set):
-
-2011-02-19 Lukasz Slachciak <l.slachciak@samsung.com>
-
- Reviewed by Andreas Kling.
-
- [EFL] Use standard WebCore::homeDirectoryPath method instead of reimplementing it
- https://webkit.org/b/54781
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
-
-2011-02-19 Charlie Reis <creis@chromium.org>
-
- Reviewed by Mihai Parparita.
-
- Ensure loading has stopped in HistoryController::goToItem
- https://bugs.webkit.org/show_bug.cgi?id=54517
-
- Add a FrameLoaderClient callback for whether to stop loading before goToItem.
-
- Test: http/tests/navigation/forward-to-fragment-fires-onload.html
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::shouldStopLoadingForHistoryItem): Added.
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-02-18 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Fix coding style errors in ewk_frame.h
- https://bugs.webkit.org/show_bug.cgi?id=54718
-
- Fix style errors in ewk_frame.h.
-
- * ewk/ewk_frame.h:
-
-2011-02-18 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Remove proxy feature of soup when proxy is null
- https://bugs.webkit.org/show_bug.cgi?id=54621
-
- When proxy value is NULL, remove proxy feature in soup.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_proxy_uri_set):
-
-2011-02-18 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Fix coding style errors in ewk_view.h
- https://bugs.webkit.org/show_bug.cgi?id=54624
-
- Fix style errors in ewk_view.h.
-
- * ewk/ewk_view.cpp:
- (ewk_view_pre_render_relative_radius):
- * ewk/ewk_view.h:
-
-2011-02-18 Patrick Gansterer <paroga@webkit.org>
-
- Unreviewed build fix after r78634 and r78786.
-
- * CMakeListsEfl.txt:
-
-2011-02-17 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Possible crash of ewk_frame_contents_set
- https://bugs.webkit.org/show_bug.cgi?id=54091
-
- Use length of contents if contents_size parameter is bigger than length
- of contents.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_contents_set_internal):
-
-2011-02-17 Grzegorz Czajkowski <g.czajkowski@samsung.com>
-
- Reviewed by Kent Tamura.
-
- Doxygen documentation for ewk cookies
- https://bugs.webkit.org/show_bug.cgi?id=54553
-
- * ewk/ewk_cookies.cpp:
- (ewk_cookies_file_set):
- (ewk_cookies_policy_set):
- (ewk_cookies_policy_get):
- * ewk/ewk_cookies.h:
-
-2011-02-16 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed build fix.
-
- [EFL] Build break on r78634
- https://bugs.webkit.org/show_bug.cgi?id=54602
-
- Build error because of r78634.
-
- * CMakeListsEfl.txt:
-
-2011-01-26 MORITA Hajime <morrita@google.com>
-
- Reviewed by Ryosuke Niwa.
-
- Refactoring: Extract TextCheckerClient from EditorClient
- https://bugs.webkit.org/show_bug.cgi?id=53213
-
- * WebCoreSupport/EditorClientEfl.h:
- (WebCore::EditorClientEfl::textChecker):
-
-2011-02-07 Ryosuke Niwa <rniwa@webkit.org>
-
- Reviewed by Adam Barth.
-
- Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
- https://bugs.webkit.org/show_bug.cgi?id=52417
-
- Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
- not implemented.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::canCopyCut): Added.
- (WebCore::EditorClientEfl::canPaste): Added.
- * WebCoreSupport/EditorClientEfl.h:
-
-2011-02-08 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Remove orphan code from old parser
- https://bugs.webkit.org/show_bug.cgi?id=53984
-
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-02-08 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Unreviewed build fix.
-
- [EFL] Fix when building with curl backend.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_proxy_uri_get):
-
-2011-02-07 Enrica Casucci <enrica@apple.com>
-
- Reviewed Adam Roben and Darin Adler.
-
- WebKit2: drag and drop support on Windows.
- https://bugs.webkit.org/show_bug.cgi?id=52775
-
- Removed createDragImageForLink from DragClient.
-
- * WebCoreSupport/DragClientEfl.cpp:
- * WebCoreSupport/DragClientEfl.h:
-
-2011-02-07 Patrick Gansterer <paroga@webkit.org>
-
- Reviewed by Andreas Kling.
-
- [EFL] FrameLoaderClient calls loadURLInChildFrame on the child's frame loader
- https://bugs.webkit.org/show_bug.cgi?id=53892
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_child_add): Use the loader of the core frame instead.
-
-2011-02-03 Adam Langley <agl@chromium.org>
-
- Reviewed by Adam Barth.
-
- Plumb mixed script URL to FrameLoaderClient
- https://bugs.webkit.org/show_bug.cgi?id=52384
-
- Regressions covered by http/tests/security/mixedContent/*
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::didRunInsecureContent):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2011-02-01 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add an API to get proxy address.
- https://bugs.webkit.org/show_bug.cgi?id=52990
-
- Gets the proxy URI from network backend. This API returns a proxy URI
- which is set up by ewk_settings_proxy_uri_set(). But, it only implements
- this API for libsoup backend.
-
- * ewk/ewk_settings.cpp:
- (ewk_settings_proxy_uri_get):
- * ewk/ewk_settings.h:
-
-2011-01-29 Dan Winship <danw@gnome.org>
-
- Reviewed by Xan Lopez.
-
- [GTK] Remove HAVE_LIBSOUP_2_29_90 conditionals; we depend on
- libsoup 2.33.1 now.
- https://bugs.webkit.org/show_bug.cgi?id=50675
-
- * ewk/ewk_cookies.cpp:
- (ewk_cookies_file_set):
- (ewk_cookies_policy_set):
- (ewk_cookies_policy_get):
-
-2011-01-28 Dan Bernstein <mitz@apple.com>
-
- Reviewed by Sam Weinig.
-
- <select> can't display right-to-left (rtl) languages
- https://bugs.webkit.org/show_bug.cgi?id=19785
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::selectItemAlignmentFollowsMenuWritingDirection): Added.
- * WebCoreSupport/ChromeClientEfl.h:
-
-2011-01-27 Nate Chapin <japhet@chromium.org>
-
- Reviewed by Adam Barth.
-
- Use Document::url() instead of FrameLoader::url().
- https://bugs.webkit.org/show_bug.cgi?id=41165
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_uri_changed):
-
-2011-01-14 Patrick Gansterer <paroga@webkit.org>
-
- Unreviewed. Try to fix EFL build.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_scroll_add): Added WebCore namespace to IntSize.
- * ewk/ewk_view.cpp:
- (_ewk_view_viewport_attributes_compute): Ditto.
-
-2011-01-14 Tony Gentilcore <tonyg@chromium.org>
-
- Unreviewed build fix.
-
- Fix Qt build after r75837
- https://bugs.webkit.org/show_bug.cgi?id=52494
-
- * ewk/ewk_view.cpp:
-
-2011-01-09 Xianzhu Wang <phnixwxz@gmail.com>
-
- Reviewed by Darin Fisher.
-
- https://bugs.webkit.org/show_bug.cgi?id=41441
- createWindow method should only do window-creating without URL navigation
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::createWindow):
-
-2010-12-27 Rafael Antognolli <antognolli@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Set the frame smart object base clipper to non-static.
- https://bugs.webkit.org/show_bug.cgi?id=51552
-
- The base clipper of the clipped smart object, which is the parent
- class of the ewk_frame class is a static clipper. It's normally only
- used for showing/hiding the object, but in the case of the ewk_frame,
- it needs to clip the object to its dimension, in order to clip
- scrollbars of inner frames.
-
- Setting it to non-static makes the clipper to be automatically moved
- by the parent class, thus staying on the correct position when the
- frame is moved.
-
- This change needed to be done after the adoption of the static clipper
- on the clipped smart base class.
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_smart_add):
-
-2010-12-24 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Add option to enable Touch Events.
- https://bugs.webkit.org/show_bug.cgi?id=49125
-
- Implement ewk_frame_feed_touch_event to feed touch events. Because EFL
- doesn't have touch events, Application should generate and pass it.
-
- * WebCoreSupport/ChromeClientEfl.h:
- (WebCore::ChromeClientEfl::needTouchEvents):
- * ewk/ewk_frame.cpp:
- (ewk_frame_feed_touch_event):
- * ewk/ewk_frame.h:
-
-2010-12-22 Sam Weinig <sam@webkit.org>
-
- Reviewed by Darin Adler.
-
- WebKit2 needs to mirror the frame tree in the UIProcess
- https://bugs.webkit.org/show_bug.cgi?id=51546
-
- - Add client functions to notify that a frame has been added or
- removed from the page cache.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::didSaveToPageCache):
- (WebCore::FrameLoaderClientEfl::didRestoreFromPageCache):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2010-12-22 Ryosuke Niwa <rniwa@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Editor.h doesn't need to include SelectionController.h
- https://bugs.webkit.org/show_bug.cgi?id=51441
-
- Renamed SelectionController::EDirection to SelectionDirection.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
-
-2010-12-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Fix ContextMenu removal
- https://bugs.webkit.org/show_bug.cgi?id=51530
-
- Fix ContextMenu removal
-
- In r74207 the support for ContextMenu was removed from EFL while the
- code is being ported to the new CROSS_PLATFORM_MENUS due to build
- breakage. However there were some missing removals in the shutdown
- logic that introduced a bug, leading to a segmentation fault when
- ContexController was destroyed.
-
- The best way to effectively disable the ContextMenu is to conditionally
- compile the meaningful stuff by surrounding with "#if
- ENABLE(CONTEXT_MENUS)" and then disabling it in CMake.
-
- * ewk/ewk_contextmenu.cpp: surround need parts with #if
- ENABLE(CONTEXT_MENUS).
- (ewk_context_menu_destroy): ditto.
- (ewk_context_menu_item_select): ditto.
- * ewk/ewk_private.h: ditto.
- * ewk/ewk_view.cpp: ditto.
-
-2010-12-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Clean warnings in Tiled Backing Store
- https://bugs.webkit.org/show_bug.cgi?id=51529
-
- Tiled backing store in EFL was giving the following warnings that are
- gone now:
-
- - Static function defined but not used;
- - Comparison between signed and unsigned integer expressions;
-
- * ewk/ewk_tiled_backing_store.c:
- (_ewk_tiled_backing_store_item_fill):
- (_ewk_tiled_backing_store_smart_calculate):
- * ewk/ewk_tiled_matrix.c:
- (_ewk_tile_matrix_slicer_setup):
-
-2010-12-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed build warning fix.
-
- [EFL] Remove warning messages during the webkit efl compiling
- https://bugs.webkit.org/show_bug.cgi?id=51520
-
- Remove build warning messages.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_show):
- (_ewk_view_smart_hide):
- * ewk/ewk_view.h:
-
-2010-12-22 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Sets default user agent
- https://bugs.webkit.org/show_bug.cgi?id=47903
-
- If applcation(e.g EWebLauncher) doesn't set user agent, WebKit EFL doesn't
- set user agent. However, we need to set user agent by default. Because, some
- web sites send different pages according to user agent.
-
- * ewk/ewk_private.h:
- * ewk/ewk_settings.cpp:
- (_ewk_settings_webkit_platform):
- (_ewk_settings_webkit_os_version):
- (ewk_settings_default_user_agent_get):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2010-12-16 Leandro Pereira <leandro@profusion.mobi>
-
- [EFL] Unreviewed build fix.
-
- Disable ContextMenu support for now while support for
- CROSS_PLATFORM_MENUS is written.
-
- * CMakeListsEfl.txt:
- * WebCoreSupport/ContextMenuClientEfl.cpp: Removed.
- * WebCoreSupport/ContextMenuClientEfl.h: Removed.
- * ewk/ewk_contextmenu.cpp:
- (ewk_context_menu_item_append):
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2010-12-13 Alex Bredariol Grilo <abgrilo@profusion.mobi>
-
- Reviewed by Andreas Kling.
-
- Remove adjacent tiles rendering queue.
- https://bugs.webkit.org/show_bug.cgi?id=50023
-
- In the current implementation of the tiled backing store, one extra row
- and column of tiles are needed to render the entire viewport. These
- extra row/col proved to be expensive when being rendered, and were
- postponed to a queue that would render them after rendering the other
- tiles of the viewport first. This approach complicated unnecessarily
- the logics with no gain for keeping the extra row and column. This
- change removes this rendering queue, for later removing the extra row
- and column of tiles.
-
- * ewk/ewk_tiled_backing_store.c:
- (_ewk_tiled_backing_store_pre_render_request_add):
- (_ewk_tiled_backing_store_pre_render_request_flush):
- (_ewk_tiled_backing_store_pre_render_request_clear):
- (_ewk_tiled_backing_store_pre_render_request_process_single):
- (_ewk_tiled_backing_store_item_fill):
- (_ewk_tiled_backing_store_item_add):
- (_ewk_tiled_backing_store_item_del):
- (_ewk_tiled_backing_store_recalc_renderers):
- (ewk_tiled_backing_store_pre_render_region):
- (ewk_tiled_backing_store_pre_render_relative_radius):
- (ewk_tiled_backing_store_pre_render_cancel):
-
-2010-12-13 Alex Bredariol Grilo <abgrilo@profusion.mobi>
-
- Reviewed by Andreas Kling.
-
- Remove one row/column of renderers.
- https://bugs.webkit.org/show_bug.cgi?id=50456
-
- This changes the algorithm in a way that it will require one less column
- and row of renderers to fill the viewport. The direct result of this is
- that now less tiles need to be rendered at once when displaying the
- viewport.
-
- * ewk/ewk_tiled_backing_store.c:
- (_ewk_tiled_backing_store_smart_add):
- (_ewk_tiled_backing_store_recalc_renderers):
- (_ewk_tiled_backing_store_view_wrap_up):
- (_ewk_tiled_backing_store_view_wrap_down):
- (_ewk_tiled_backing_store_view_wrap_left):
- (_ewk_tiled_backing_store_view_wrap_right):
- (_ewk_tiled_backing_store_smart_calculate_offset_force):
- (_ewk_tiled_backing_store_smart_calculate_offset):
- (_ewk_tiled_backing_store_smart_calculate):
- (_ewk_tiled_backing_store_zoom_set_internal):
- (ewk_tiled_backing_store_zoom_weak_set):
- (ewk_tiled_backing_store_fix_offsets):
- (ewk_tiled_backing_store_flush):
-
-2010-10-28 MORITA Hajime <morrita@google.com>
-
- Reviewed by Ojan Vafai.
-
- spellcheck does not check pasted text
- https://bugs.webkit.org/show_bug.cgi?id=40092
-
- Added a stub implememntation.
-
- * WebCoreSupport/EditorClientEfl.h:
- (WebCore::EditorClientEfl::requestCheckingOfString):
-
-2010-12-09 Alex Bredariol Grilo <abgrilo@profusion.mobi>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add missing function in WebKit-EFL API
-
- Add ewk_tiled_backing_store_zoom_weak_smooth_scale_set function in
- WebKit-EFL API. This function was already implemented but missing in
- header file.
-
- * ewk/ewk_tiled_backing_store.h:
-
-2010-12-09 Alex Bredariol Grilo <abgrilo@profusion.mobi>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Fix scroll operation in WebKit-EFL
- https://bugs.webkit.org/show_bug.cgi?id=50752
-
- Add the _ewk_view_scroll_add call in WebKit-EFL scroll function. This
- call was wrongly removed in previous commit and performs the scroll
- operation on the page.
-
- * ewk/ewk_view.cpp:
- (ewk_view_scroll):
-
-2010-12-03 Alex Bredariol Grilo <abgrilo@profusion.mobi>
-
- Reviewed by Andreas Kling.
-
- Update usage of Eina_Iterator due to EFL changes.
- https://bugs.webkit.org/show_bug.cgi?id=50457
-
- * ewk/ewk_tiled_model.c:
- (ewk_tile_updates_process):
-
-2010-12-01 Jia Pu <jpu@apple.com>
-
- Reviewed by Darin Adler.
-
- Support multiple correction candidates panel for misspelled word on Mac OS X.
- https://bugs.webkit.org/show_bug.cgi?id=50137
- <rdar://problem/8568059>
-
- Adopted new function signature defined in base class.
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::getGuessesForWord):
- * WebCoreSupport/EditorClientEfl.h:
-
-2010-11-22 Alex Grilo <abgrilo@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Tiled Backing Store for Webkit-Efl
- https://bugs.webkit.org/show_bug.cgi?id=45397
-
- This tile based backing store is a grid of tiles where each tile is
- an Evas_Object showing a piece of the page content. The
- new ewk_view_tiled.c is an implementation of some of the functions of
- the original ewk_view, that makes calls to the Tiled Backing Store
- specific functions.
-
- The rendering occurs in the pixels stored in each tile (Evas_Object),
- in the same way as the previous single backing store. Tiles not being
- shown in the viewport are stored in a cache, and can be reused later
- to avoid having to be rendered again.
-
- Scrolling occurs as just moving the tiles, using Evas move operations,
- and when more than one tile size is scrolled, a shift of rows or
- columns needs to be done.
-
- * CMakeListsEfl.txt:
- * ewk/ewk_tiled_backing_store.c: Added.
- (_ewk_tiled_backing_store_updates_process):
- (_ewk_tiled_backing_store_flush):
- (_ewk_tiled_backing_store_tile_new):
- (_ewk_tiled_backing_store_item_move):
- (_ewk_tiled_backing_store_item_resize):
- (_ewk_tiled_backing_store_tile_associate):
- (_ewk_tiled_backing_store_tile_dissociate):
- (_ewk_tiled_backing_store_tile_dissociate_all):
- (_ewk_tiled_backing_store_pre_render_request_add):
- (_ewk_tiled_backing_store_pre_render_request_del):
- (_ewk_tiled_backing_store_pre_render_request_first):
- (_ewk_tiled_backing_store_pre_render_request_flush):
- (_ewk_tiled_backing_store_pre_render_request_remove_unassociated):
- (_ewk_tiled_backing_store_pre_render_request_remove_associated):
- (_ewk_tiled_backing_store_pre_render_request_process_single):
- (_ewk_tiled_backing_store_item_process_idler_cb):
- (_ewk_tiled_backing_store_item_process_idler_stop):
- (_ewk_tiled_backing_store_item_process_idler_start):
- (_ewk_tiled_backing_store_item_request_del):
- (_ewk_tiled_backing_store_item_request_add):
- (_ewk_tiled_backing_store_disable_render):
- (_ewk_tiled_backing_store_enable_render):
- (_ewk_tiled_backing_store_visible_tiles_rect):
- (_ewk_tiled_backing_store_tile_is_inside_viewport):
- (_ewk_tiled_backing_store_tile_is_adjacent_to_viewport):
- (_ewk_tiled_backing_store_item_fill):
- (_ewk_tiled_backing_store_item_add):
- (_ewk_tiled_backing_store_item_del):
- (_ewk_tiled_backing_store_item_smooth_scale_set):
- (_ewk_tiled_backing_store_changed):
- (_ewk_tiled_backing_store_view_cols_end_del):
- (_ewk_tiled_backing_store_view_cols_end_add):
- (_ewk_tiled_backing_store_view_row_del):
- (_ewk_tiled_backing_store_view_rows_range_del):
- (_ewk_tiled_backing_store_view_rows_all_del):
- (_ewk_tiled_backing_store_render):
- (_ewk_tiled_backing_store_model_matrix_create):
- (_ewk_tiled_backing_store_smart_member_del):
- (_ewk_tiled_backing_store_smart_member_add):
- (_ewk_tiled_backing_store_mem_dbg):
- (_ewk_tiled_backing_store_sig_usr):
- (_ewk_tiled_backing_store_smart_add):
- (_ewk_tiled_backing_store_smart_del):
- (_ewk_tiled_backing_store_smart_move):
- (_ewk_tiled_backing_store_smart_resize):
- (_ewk_tiled_backing_store_recalc_renderers):
- (_ewk_tiled_backing_store_smart_calculate_size):
- (_ewk_tiled_backing_store_view_dbg):
- (_ewk_tiled_backing_store_view_wrap_up):
- (_ewk_tiled_backing_store_view_wrap_down):
- (_ewk_tiled_backing_store_view_wrap_left):
- (_ewk_tiled_backing_store_view_wrap_right):
- (_ewk_tiled_backing_store_view_refill):
- (_ewk_tiled_backing_store_view_pos_apply):
- (_ewk_tiled_backing_store_smart_calculate_offset_force):
- (_ewk_tiled_backing_store_smart_calculate_offset):
- (_ewk_tiled_backing_store_smart_calculate_pos):
- (_ewk_tiled_backing_store_fill_renderers):
- (_ewk_tiled_backing_store_smart_calculate):
- (ewk_tiled_backing_store_add):
- (ewk_tiled_backing_store_render_cb_set):
- (ewk_tiled_backing_store_tile_unused_cache_get):
- (ewk_tiled_backing_store_tile_unused_cache_set):
- (_ewk_tiled_backing_store_scroll_full_offset_set_internal):
- (ewk_tiled_backing_store_scroll_full_offset_set):
- (ewk_tiled_backing_store_scroll_full_offset_add):
- (_ewk_tiled_backing_store_zoom_set_internal):
- (ewk_tiled_backing_store_zoom_set):
- (ewk_tiled_backing_store_zoom_weak_set):
- (ewk_tiled_backing_store_fix_offsets):
- (ewk_tiled_backing_store_zoom_weak_smooth_scale_set):
- (ewk_tiled_backing_store_update):
- (ewk_tiled_backing_store_updates_process_pre_set):
- (ewk_tiled_backing_store_updates_process_post_set):
- (ewk_tiled_backing_store_updates_process):
- (ewk_tiled_backing_store_updates_clear):
- (ewk_tiled_backing_store_contents_resize):
- (ewk_tiled_backing_store_disabled_update_set):
- (ewk_tiled_backing_store_flush):
- (ewk_tiled_backing_store_pre_render_region):
- (ewk_tiled_backing_store_pre_render_relative_radius):
- (ewk_tiled_backing_store_pre_render_cancel):
- (ewk_tiled_backing_store_disable_render):
- (ewk_tiled_backing_store_enable_render):
- (ewk_tiled_backing_store_process_entire_queue_set):
- * ewk/ewk_tiled_backing_store.h: Added.
- * ewk/ewk_tiled_matrix.c: Added.
- (_ewk_tile_matrix_cell_free):
- (_ewk_tile_matrix_tile_free):
- (ewk_tile_matrix_new):
- (ewk_tile_matrix_free):
- (ewk_tile_matrix_resize):
- (ewk_tile_matrix_unused_cache_get):
- (ewk_tile_matrix_tile_exact_get):
- (ewk_tile_matrix_tile_exact_exists):
- (ewk_tile_matrix_tile_nearest_get):
- (ewk_tile_matrix_tile_new):
- (ewk_tile_matrix_tile_put):
- (ewk_tile_matrix_tile_update):
- (ewk_tile_matrix_tile_update_full):
- (ewk_tile_matrix_tile_updates_clear):
- (_ewk_tile_matrix_slicer_setup):
- (ewk_tile_matrix_update):
- (ewk_tile_matrix_updates_process):
- (ewk_tile_matrix_updates_clear):
- (ewk_tile_matrix_dbg):
- (ewk_tile_matrix_freeze):
- (ewk_tile_matrix_thaw):
- * ewk/ewk_tiled_matrix.h: Added.
- * ewk/ewk_tiled_model.c: Added.
- (_ewk_tile_account_get):
- (_ewk_tile_account_allocated):
- (_ewk_tile_account_freed):
- (ewk_tile_accounting_dbg):
- (_ewk_tile_paint_rgb888):
- (_ewk_tile_paint_rgb565):
- (_ewk_tile_paint):
- (ewk_tile_new):
- (ewk_tile_free):
- (ewk_tile_show):
- (ewk_tile_hide):
- (ewk_tile_visible_get):
- (ewk_tile_update_full):
- (ewk_tile_update_area):
- (ewk_tile_updates_process):
- (ewk_tile_updates_clear):
- (ewk_tile_unused_cache_new):
- (ewk_tile_unused_cache_lock_area):
- (ewk_tile_unused_cache_unlock_area):
- (ewk_tile_unused_cache_free):
- (ewk_tile_unused_cache_clear):
- (ewk_tile_unused_cache_ref):
- (ewk_tile_unused_cache_unref):
- (ewk_tile_unused_cache_max_set):
- (ewk_tile_unused_cache_max_get):
- (ewk_tile_unused_cache_used_get):
- (ewk_tile_unused_cache_flush):
- (ewk_tile_unused_cache_auto_flush):
- (ewk_tile_unused_cache_dirty):
- (ewk_tile_unused_cache_freeze):
- (ewk_tile_unused_cache_thaw):
- (ewk_tile_unused_cache_tile_get):
- (ewk_tile_unused_cache_tile_put):
- (ewk_tile_unused_cache_dbg):
- * ewk/ewk_tiled_model.h: Added.
- * ewk/ewk_tiled_private.h: Added.
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_add):
- (_ewk_view_smart_calculate):
- (_ewk_view_smart_show):
- (_ewk_view_smart_hide):
- (_ewk_view_smart_pre_render_relative_radius):
- (_ewk_view_zoom_animator_cb):
- (_ewk_view_smart_disable_render):
- (_ewk_view_smart_enable_render):
- (ewk_view_base_smart_set):
- (ewk_view_pre_render_region):
- (ewk_view_pre_render_relative_radius):
- (ewk_view_enable_render):
- (ewk_view_disable_render):
- (ewk_view_scroll):
- (ewk_view_did_first_visually_nonempty_layout):
- (ewk_view_dispatch_did_finish_loading):
- (ewk_view_transition_to_commited_for_newpage):
- * ewk/ewk_view.h:
- * ewk/ewk_view_tiled.c: Added.
- (_ewk_view_tiled_render_cb):
- (_ewk_view_tiled_updates_process_pre):
- (_ewk_view_tiled_smart_backing_store_add):
- (_ewk_view_tiled_contents_size_changed_cb):
- (_ewk_view_tiled_smart_add):
- (_ewk_view_tiled_smart_scrolls_process):
- (_ewk_view_tiled_smart_repaints_process):
- (_ewk_view_tiled_smart_contents_resize):
- (_ewk_view_tiled_smart_zoom_set):
- (_ewk_view_tiled_smart_zoom_weak_set):
- (_ewk_view_tiled_smart_zoom_weak_smooth_scale_set):
- (_ewk_view_tiled_smart_flush):
- (_ewk_view_tiled_smart_pre_render_region):
- (_ewk_view_tiled_smart_pre_render_relative_radius):
- (_ewk_view_tiled_smart_pre_render_cancel):
- (_ewk_view_tiled_smart_disable_render):
- (_ewk_view_tiled_smart_enable_render):
- (ewk_view_tiled_smart_set):
- (_ewk_view_tiled_smart_class_new):
- (ewk_view_tiled_add):
- (ewk_view_tiled_unused_cache_get):
- (ewk_view_tiled_unused_cache_set):
- (ewk_view_tiled_process_entire_queue_set):
-
-2010-11-16 Leandro Pereira <leandro@profusion.mobi>
-
- [EFL] Unreviewed. Build fix.
-
- * WebCoreSupport/FrameLoaderClientEfl.h: Also include
- ResourceError.h.
-
-2010-11-16 Patrick Gansterer <paroga@webkit.org>
-
- Reviewed by Andreas Kling.
-
- [CMake] Add platform dependent include directories
- https://bugs.webkit.org/show_bug.cgi?id=49553
-
- * CMakeListsEfl.txt:
-
-2010-11-14 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Martin Robinson.
-
- [EFL] add pango support
- https://bugs.webkit.org/show_bug.cgi?id=46029
-
- Add pango in include and libs.
-
- * CMakeListsEfl.txt:
-
-2010-11-11 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Adam Barth.
-
- [GTK] Move font related files.
- https://bugs.webkit.org/show_bug.cgi?id=48116
-
- Add freetype/ to include path.
-
- * CMakeListsEfl.txt:
-
-2010-11-08 Rafael Antognolli <antognolli@profusion.mobi>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Change the usage of eina_iterator_next due to latest EFL changes.
- https://bugs.webkit.org/show_bug.cgi?id=49082
-
- A change on how the iterator for a tiler is used in EFL needs to be
- reflected in WebKit-EFL. The iterator now receives a pointer to an
- Eina_Rectangle and makes it point to its internal structure. The old
- usage was to receive a reference to a pre-allocated Eina_Rectangle.
-
- * ewk/ewk_view_single.c:
- (_ewk_view_single_smart_repaints_process):
-
-2010-11-08 Alexey Proskuryakov <ap@apple.com>
-
- Reviewed by Darin Adler.
-
- https://bugs.webkit.org/show_bug.cgi?id=48685
- Notify UI process about focused frame
-
- Added an empty implementation of the new ChromeClient method.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::focusedFrameChanged):
- * WebCoreSupport/ChromeClientEfl.h:
-
-2010-11-05 Patrick Gansterer <paroga@webkit.org>
-
- Reviewed by David Kilzer.
-
- Replace ARRAYSIZE with WTF_ARRAY_LENGTH
- https://bugs.webkit.org/show_bug.cgi?id=48903
-
- * WebCoreSupport/EditorClientEfl.cpp:
- (WebCore::EditorClientEfl::interpretKeyEvent):
-
-2010-11-04 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Adam Barth.
-
- [EFL] Reflect latest EFL changes related to stride.
- https://bugs.webkit.org/show_bug.cgi?id=48971
-
- Remove adjustment code to compare stride of cairo_image_surfece and evas_object_image, as following changes of latest EFL.
-
- * ewk/ewk_util.cpp:
- (ewk_util_image_from_cairo_surface_add):
-
-2010-11-03 Daniel Bates <dbates@rim.com>
-
- For unnamed frames, window.name returns a generated name
- https://bugs.webkit.org/show_bug.cgi?id=6751
-
- Part 1 of 2.
-
- Substitute FrameTree::uniqueName() for FrameTree::name() in the EFL port.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_name_get):
-
-2010-11-02 Daniel Bates <dbates@rim.com>
-
- Reviewed by Martin Robinson.
-
- Set frame name before appending it to the frame tree in the Apple Windows,
- GTK, and EFL ports
- https://bugs.webkit.org/show_bug.cgi?id=48806
-
- Make the frame creation process in the EFL-port consistent with the
- Mac, Qt, and Haiku ports. In particular, set the name of the new
- frame before it's appended to the frame tree.
-
- At this time we cannot test this change since it is being masked by
- HTMLFrameElementBase::setName() <http://trac.webkit.org/browser/trunk/WebCore/html/HTMLFrameElementBase.cpp?rev=70976#L160>.
- We'll be able to test this once we fix bug #6751.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_child_add):
-
-2010-11-01 Brady Eidson <beidson@apple.com>
-
- Reviewed by Anders Carlsson.
-
- <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
- Context menu support for WebKit 2.
-
- * WebCoreSupport/ChromeClientEfl.h:
- (WebCore::ChromeClientEfl::showContextMenu):
-
-2010-10-29 Daniel Bates <dbates@rim.com>
-
- No review, rolling out 70971.
- http://trac.webkit.org/changeset/70971
- https://bugs.webkit.org/show_bug.cgi?id=6751
-
- Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since
- it caused layout test failures on all bots. In particular, the
- child count in a generated frame name differs after this patch. We need
- to look into this further.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_name_get):
-
-2010-10-29 Daniel Bates <dbates@rim.com>
-
- Reviewed by Adam Barth.
-
- For unnamed frames, window.name returns a generated name
- https://bugs.webkit.org/show_bug.cgi?id=6751
-
- Modified EFL-port to use FrameTree::uniqueName().
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_name_get):
-
-2010-10-29 Darin Adler <darin@apple.com>
-
- Reviewed by Sam Weinig.
-
- Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring
- https://bugs.webkit.org/show_bug.cgi?id=48574
-
- * ewk/ewk_history.cpp:
- (ewk_history_new):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_history_enable_get):
- (ewk_view_history_enable_set):
- (ewk_view_history_get):
- Use BackForwardListImpl.
-
-2010-10-29 Alexey Proskuryakov <ap@apple.com>
-
- Reviewed by Darin Adler.
-
- https://bugs.webkit.org/show_bug.cgi?id=48576
- Let WebKit2 client know when a frame is a frameset
-
- Added a blank implementation of the new FrameLoaderClient method.
-
- * WebCoreSupport/FrameLoaderClientEfl.h:
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidBecomeFrameset):
-
-2010-10-26 Jenn Braithwaite <jennb@chromium.org>
-
- Reviewed by Dmitry Titov.
-
- Resource tracking failure when trying to move a frame between documents
- https://bugs.webkit.org/show_bug.cgi?id=44713
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::transferLoadingResourceFromPage):
- Empty method.
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2010-10-22 Sam Weinig <sam@webkit.org>
-
- Reviewed by Anders Carlsson.
-
- WebKit2 needs to pass the current event modifier flags when requesting a new window
- https://bugs.webkit.org/show_bug.cgi?id=48140
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::createWindow):
- * WebCoreSupport/ChromeClientEfl.h:
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchCreatePage):
- * WebCoreSupport/FrameLoaderClientEfl.h:
- Add NavigationAction parameter.
-
-2010-10-19 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Eric Seidel.
-
- [EFL] Add setting api for disabling auto resize window
- https://bugs.webkit.org/show_bug.cgi?id=47787
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::setWindowRect): Return when
- auto_resize_window was disabled.
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_setting_enable_auto_resize_window_get): Added.
- (ewk_view_setting_enable_auto_resize_window_set): Added.
- * ewk/ewk_view.h:
-
-2010-10-15 Nikolas Zimmermann <nzimmermann@rim.com>
-
- Reviewed by Dirk Schulze.
-
- Replace some String::format() usages by StringConcatenate in WebKit
- https://bugs.webkit.org/show_bug.cgi?id=47714
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::agentOS):
-
-2010-10-14 Rafael Antognolli <antognolli@profusion.mobi>
-
- Reviewed by Eric Seidel.
-
- [EFL] Use data_set after data_get to keep refcount correct.
- https://bugs.webkit.org/show_bug.cgi?id=47110
-
- The call to evas_object_image_data_set was missed in this function,
- which caused the refcount of the data being always increased on every
- scroll.
-
- * ewk/ewk_view_single.c:
- (_ewk_view_single_smart_scrolls_process):
-
-2010-10-14 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Eric Seidel.
-
- [EFL] Add setting api for enabling encoding detector
- https://bugs.webkit.org/show_bug.cgi?id=45427
-
- Add settings api for enabling encoding detector.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_setting_encoding_detector_set):
- (ewk_view_setting_encoding_detector_get):
- * ewk/ewk_view.h:
-
-2010-10-13 Leandro Pereira <leandro@profusion.mobi>
-
- [EFL] Unreviewed. Build fix.
-
- * WebCoreSupport/FrameLoaderClientEfl.h: Use String instead of
- WebCore::String.
-
-2010-10-13 Gavin Barraclough <barraclough@apple.com>
-
- Reviewed by Oliver Hunt.
-
- https://bugs.webkit.org/show_bug.cgi?id=43987
- Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder
- to construct their internal result string. Remove ScriptString (this is now
- redundant).
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidLoadResourceByXMLHttpRequest):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2010-10-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Support viewport configuration and add new arguments for WebKit EFL
- https://bugs.webkit.org/show_bug.cgi?id=47084
-
- Opera spec regarding to viewport meta tag was adjusted to WebCore. So, EFL port
- needs to be modified according to the changes.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::dispatchViewportDataDidChange):
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (_ewk_view_viewport_attributes_compute):
- (ewk_view_viewport_attributes_set):
- (ewk_view_viewport_attributes_get):
- (ewk_view_device_pixel_ratio_get):
- * ewk/ewk_view.h:
-
-2010-10-12 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Add a method to get target's dpi value
- https://bugs.webkit.org/show_bug.cgi?id=47537
-
- Add a method to get target dpi value using Ecore_X.
- When we set layout size, we need to use the dpi value.
-
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_page_rect_get):
- (ewk_view_dpi_get):
-
-2010-10-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Implement pageRect() function
- https://bugs.webkit.org/show_bug.cgi?id=47395
-
- Implement pageRect() in ChromeClientEfl using frameRect().
-
- * CMakeListsEfl.txt:
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::pageRect):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_page_rect_get): Added.
-
-2010-10-06 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Support Progress Tag
- https://bugs.webkit.org/show_bug.cgi?id=45951
-
- Implement progressbar.edc to support progress tag
-
- * CMakeListsEfl.txt:
- * DefaultTheme/default.edc:
- * DefaultTheme/widget/progressbar: Added.
- * DefaultTheme/widget/progressbar/bt_base.png: Added.
- * DefaultTheme/widget/progressbar/progressbar.edc: Added.
- * DefaultTheme/widget/progressbar/shelf_inset.png: Added.
-
-2010-10-05 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Remove strdup in ewk_setting.cpp using eina_stringshare
- https://bugs.webkit.org/show_bug.cgi?id=46613
-
- Add variables shared by eina_stringshare and remove strdup.
-
- * ewk/ewk_main.cpp:
- (_ewk_init_body):
- * ewk/ewk_settings.cpp:
- (ewk_settings_web_database_path_set):
- (ewk_settings_web_database_path_get):
- (ewk_settings_icon_database_path_set):
- (ewk_settings_icon_database_path_get):
- * ewk/ewk_settings.h:
-
-2010-10-04 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Viewport data change notification by Bug 46755
- https://bugs.webkit.org/show_bug.cgi?id=46772
-
- Bug 46755 changes virtual function regarding to viewport metatag. Thus, EFL port
- should change the function as well in order to get viewport arguments.
-
- And, setInitLayoutCompleted / getInitLayoutCompleted() are removed because these functions
- aren't needed anymore.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::dispatchViewportDataDidChange):
- * WebCoreSupport/ChromeClientEfl.h:
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::FrameLoaderClientEfl):
- (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
- (WebCore::FrameLoaderClientEfl::dispatchDidFirstLayout):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2010-10-01 Rafael Antognolli <antognolli@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Remove check for InitLayoutCompleted on fixed_layout_size_set.
- https://bugs.webkit.org/show_bug.cgi?id=47006
-
- This check isn't needed and isn't done on the other ports. The fixed
- layout property can be set before we have the first layout.
-
- * ewk/ewk_view.cpp:
- (ewk_view_fixed_layout_size_set):
-
-2010-10-01 Rafael Antognolli <antognolli@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Call contents_resize when the main frame gets resized.
- https://bugs.webkit.org/show_bug.cgi?id=47004
-
- The previous implementation was just calling contents_resize when the
- viewport size had changed. That's not enough, and contents_resize
- shouldn't be called if the contents size didn't change.
-
- Now the contents_size_changed function is called directly from the
- ChromeClientEfl.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::contentsSizeChanged):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_calculate):
- (ewk_view_fixed_layout_size_set):
- (ewk_view_contents_size_changed):
-
-2010-09-29 João Paulo Rechi Vita <jprvita@profusion.mobi>
-
- Reviewed by Antonio Gomes.
-
- [EFL] General small fixes.
- https://bugs.webkit.org/show_bug.cgi?id=46813
-
- This commit spots a comparison between signed and unsigned integer
- expressions, a missing return and a never-called function.
-
- * WebCoreSupport/FullscreenVideoControllerEfl.cpp:
- (FullscreenVideoController::canPlay):
-
-2010-09-28 Jenn Braithwaite <jennb@chromium.org>
-
- Reviewed by Dmitry Titov.
-
- Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument.
- https://bugs.webkit.org/show_bug.cgi?id=46663
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::didTransferChildFrameToNewDocument):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2010-09-26 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add setting API to set a local storage database path.
- https://bugs.webkit.org/show_bug.cgi?id=45446
-
- Add a setting API to set local storage database path.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (_ewk_view_priv_del):
- (ewk_view_setting_local_storage_database_path_get): Added.
- (ewk_view_setting_local_storage_database_path_set): Added.
- * ewk/ewk_view.h:
-
-2010-09-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Reviewed by Csaba Osztrogonác.
-
- [EFL] Fix warnings during build
- https://bugs.webkit.org/show_bug.cgi?id=46354
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_text_matches_nth_pos_get): Change argument type because
- it's meant to be always positive.
- * ewk/ewk_frame.h: Ditto.
- * ewk/ewk_view.cpp:
- (ewk_view_exceeded_database_quota): Add missing "%" causing warning about number of
- arguments to printf-like function.
- * ewk/ewk_view.h: Add missing initialization.
-
-2010-09-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Get fresh theme when running EWebLauncher
- https://bugs.webkit.org/show_bug.cgi?id=46210
-
- If user tried to run EWebLauncher outside of the build tree, it would
- not find the theme and fallback to the installed one. However, since
- EWebLauncher is not installed, we always want to take the theme from
- the just compiled source code. If user had never installed WebKit's
- EFL port it could even receive a segv since no theme would be found.
-
- Now EWebLauncher does not fallback to the installed theme and CMake
- gives as DATA_DIR the directory of the theme it has just built.
-
-
- * CMakeListsEfl.txt: export DATA_DIR to parent CMakeLists.txt in order
- to be used by EWebLauncher.
-
-2010-09-17 Darin Adler <darin@apple.com>
-
- Reviewed by Sam Weinig.
-
- REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
- https://bugs.webkit.org/show_bug.cgi?id=42863
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_zoom_get):
- (ewk_frame_zoom_set):
- (ewk_frame_zoom_text_only_set):
- Call functions on Frame instead of FrameView.
-
-2010-09-16 Darin Adler <darin@apple.com>
-
- Fix build.
-
- * ewk/ewk_view.cpp:
- (ewk_view_input_method_state_set): Updated for change
- in name of isUrlField to isURLField.
-
-2010-09-14 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] ewk_frame_view_create_for_view set null as theme.
- https://bugs.webkit.org/show_bug.cgi?id=45741
-
- Add theme in ewk_view to use instead of frame's theme which is null in
- ewk_frame_view_create_for_view.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_view_create_for_view):
- * ewk/ewk_view.cpp:
- (ewk_view_theme_set):
- (ewk_view_theme_get):
-
-2010-09-14 Leandro Pereira <leandro@profusion.mobi>
-
- [EFL] Unreviewed build fix: remove "virtual" keyword from
- implementation file.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::canShowMIMETypeAsHTML):
-
-2010-09-13 Rafael Antognolli <antognolli@profusion.mobi>
-
- Unreviewed build fix.
-
- [EFL] Fix build break when enabling HTML5 video support
- https://bugs.webkit.org/show_bug.cgi?id=45674
-
- The correct include variable for LibXml2 in cmake is
- LIBXML2_INCLUDE_DIR instead of LIBXML2_INCLUDE_DIRS.
-
- * CMakeListsEfl.txt:
-
-2010-09-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Add setting API for enabling page cache
- https://bugs.webkit.org/show_bug.cgi?id=44931
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_setting_page_cache_get): Added.
- (ewk_view_setting_page_cache_set): Added.
- * ewk/ewk_view.h:
-
-2010-09-13 Enrica Casucci <enrica@apple.com>
-
- Reviewed by Sam Weinig.
-
- Paste should be implemented in WebCore like Copy and Cut for Mac also.
- https://bugs.webkit.org/show_bug.cgi?id=45494
- <rdar://problem/7660537>
-
- On the Mac platform, the implementation of the paste operation is all done
- at the WebKit level. In order to support it on WebKit2 it is necessary to
- refactor the code and move this functionality at the level of WebCore like
- we already have on Windows.
- The original code relies on some in AppKit functions that call back into
- WebKit causing problems in WebKit2. All this functionality has been moved
- at the level of the editor client where it can be dealt with appropriately.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::canShowMIMETypeAsHTML): Added stub.
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2010-09-11 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Fix EFL build after r67274
- https://bugs.webkit.org/show_bug.cgi?id=45584
-
- Remove include of ZoomMode.h and change setZoomFactor and zoomFactor
- to proper apis chaged by r67264.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_zoom_get):
- (ewk_frame_zoom_set):
- (ewk_frame_zoom_text_only_get):
- (ewk_frame_zoom_text_only_set):
-
-2010-09-10 Adam Barth <abarth@webkit.org>
-
- Reviewed by Darin Fisher.
-
- Move code from WebKit-layer to DocumentLoader
- https://bugs.webkit.org/show_bug.cgi?id=45569
-
- This code didn't know that setEncoding could be called multiple times
- safely.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::FrameLoaderClientEfl):
- (WebCore::FrameLoaderClientEfl::committedLoad):
- (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):
- (WebCore::FrameLoaderClientEfl::finishedLoading):
- (WebCore::FrameLoaderClientEfl::dispatchDidFailLoading):
- (WebCore::FrameLoaderClientEfl::setMainDocumentError):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2010-09-10 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Main resource bytes shouldn't bounce through FrameLoader
- https://bugs.webkit.org/show_bug.cgi?id=45496
-
- Now return the bytes to the DocumentLoader.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::committedLoad):
-
-2010-09-08 Darin Adler <darin@apple.com>
-
- Reviewed by Adam Barth.
-
- Move functions from Frame to Editor as planned
- https://bugs.webkit.org/show_bug.cgi?id=45218
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_editable_set):
- (ewk_frame_selection_get):
- (ewk_frame_text_search):
- (ewk_frame_text_matches_mark):
- (ewk_frame_text_matches_highlight_set):
- (ewk_frame_text_matches_highlight_get):
- * ewk/ewk_view.cpp:
- (ewk_view_selection_get):
- Changed call sites to use editor().
-
-2010-09-09 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed build fix.
-
- [EFL] Fix duplicate gstreamer macro in CMakeListEfl.txt
- https://bugs.webkit.org/show_bug.cgi?id=45433
-
- In WebKit/efl/CMakeListEfl.txt, duplicated ENABLE_VIDEO macros were added.
- So, unnecessary ENABLE_VIDEO macro is deleted.
-
- * CMakeListsEfl.txt:
-
-2010-09-08 Ryuan Choi <ryuan.choi@samsung.com>
-
- Unreviewed build fix.
-
- [EFL] Need to add custom dependencies.
- https://bugs.webkit.org/show_bug.cgi?id=45247
-
- Add WebKit_Theme into WebKit_SOURCES to make it while building.
-
- * CMakeListsEfl.txt:
-
-2010-09-08 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Export data directory through pkg-config
- https://bugs.webkit.org/show_bug.cgi?id=45385
-
- Using pkg-config it's possible for a browser to know the location of
- installed themes. When compiling the browser, a variable might be
- defined with the datadir, like below:
-
- gcc -o browser browser.c $(pkg-config --libs --cflags ewebkit) \
- -DEWEBKIT_DATA_DIR=$(pkg-config --variable=datadir)
-
- * ewebkit.pc.in: Export datadir variable.
-
-2010-09-06 Ryuan Choi <ryuan.choi@samsung.com>
-
- Unreviewed build fix.
-
- [EFL] REGRESSION(66794) Need to fix build break.
- https://bugs.webkit.org/show_bug.cgi?id=45241
-
- Add dummy class(FrameNetworkingContextEfl) like GTK+ port and implement
- as EFL style.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::createNetworkingContext):
- * WebCoreSupport/FrameNetworkingContextEfl.h: Added.
- (WebCore::FrameNetworkingContextEfl::create):
- (WebCore::FrameNetworkingContextEfl::coreFrame):
- (WebCore::FrameNetworkingContextEfl::FrameNetworkingContextEfl):
-
-2010-09-04 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Move test browser to WebKitTools directory
- https://bugs.webkit.org/show_bug.cgi?id=45212
-
- Follow other ports like QT and GTK which moved the test browser to
- WebKitTools directory.
-
- * CMakeListsEfl.txt: Remove build for test browser.
- * EWebLauncher/main.c: Removed.
-
-2010-09-03 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
-
- Reviewed by Darin Adler.
-
- Add NetworkingContext to avoid layer violations
- https://bugs.webkit.org/show_bug.cgi?id=42292
-
- Add createNetworkingContext to EFL's FrameLoaderClient.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::createNetworkingContext):
- * WebCoreSupport/FrameLoaderClientEfl.h:
-
-2010-09-03 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Reviewed by Martin Robinson.
-
- [EFL] Regression (66531) Build break with Glib Support
- https://bugs.webkit.org/show_bug.cgi?id=45011
-
- Move GtkTypedefs.h to GTypedefs.h and let it inside gobject directory
- since when glib is enabled, EFL port needs it, too.
-
- * CMakeListsEfl.txt: Include gobject directory to find new header
- file.
-
-2010-09-03 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Install default theme
- https://bugs.webkit.org/show_bug.cgi?id=45154
-
- Since a theme is needed in order to create a new browser, install the
- default one to serve as example and fall-back.
-
- * CMakeListsEfl.txt:
-
-2010-09-02 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Name install directories according to library name
- https://bugs.webkit.org/show_bug.cgi?id=45126
-
- * CMakeListsEfl.txt: include diretory follows library name.
- * ewebkit.pc.in: Ditto.
-
-2010-08-31 Dave Hyatt <hyatt@apple.com>
-
- Reviewed by Sam Weinig.
-
- https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
- the former can occur in more places without having to do the latter.
-
- * ewk/ewk_view.cpp:
- (ewk_view_layout_if_needed_recursive):
-
-2010-08-31 Sam Weinig <sam@webkit.org>
-
- Reviewed by Darin Adler.
-
- Add ability to count text matches without marking
- https://bugs.webkit.org/show_bug.cgi?id=43996
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_text_matches_mark): Switched to call
- countMatchesForText() instead of markAllMatchesForText().
-
-2010-08-31 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Unreviewed build fix.
-
- [EFL] Build break for r66456
- https://bugs.webkit.org/post_bug.cgi
-
- Replace firstRectsForMarkers with renderedRectsForMarkers.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_text_matches_nth_pos_get):
-
-2010-08-30 Kamil Blank <k.blank@samsung.com>
-
- Reviewed by Adam Barth.
-
- [EFL] Added API which returns position of n-th text matches mark
- https://bugs.webkit.org/show_bug.cgi?id=44258
-
- * ewk/ewk_frame.cpp:
- (_ewk_frame_rect_cmp_less_than): Private.
- (_ewk_frame_rect_is_negative_value): Private.
- (ewk_frame_text_matches_nth_pos_get): Added. Function returns position of
- n-th text match in frame.
- * ewk/ewk_frame.h:
-
-2010-08-30 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Adam Barth.
-
- [EFL]Url of HistoryItem was broken for special character like korean
- https://bugs.webkit.org/show_bug.cgi?id=44495
-
- Remove unnecessary code. This makes a bug with complicated URL.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_view_state_save):
-
-2010-08-30 Mikołaj Małecki <m.malecki@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen
-
- [EFL] Added initial setting to turn on offline pages.
- https://bugs.webkit.org/show_bug.cgi?id=44239
-
- * ewk/ewk_main.cpp: Torn off non-EFL init to _ewk_init_body
- (ewk_init): Changed non-EFL init to call _ewk_init_body
- (_ewk_init_body): Moved internal init here and added cache directory path setting.
- * ewk/ewk_view.cpp: Added new config items: offline_app_cache and cache_directory
- (_ewk_view_priv_new): creating cache_directory string
- (_ewk_view_priv_del): deleting cache_directory string
- (ewk_view_setting_offline_app_cache_get):
- (ewk_view_setting_offline_app_cache_set):
- (ewk_view_setting_cache_directory_get):
- (ewk_view_setting_cache_directory_set):
- * ewk/ewk_view.h: added offline_app_cache and cache_directory props to ewk API
-
-2010-08-26 Miroslaw Szymanski <miroslaw.s@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Added new callback when view's size is changed to fix issue with changing layout size
- https://bugs.webkit.org/show_bug.cgi?id=44337
-
- * ewk/ewk_view.cpp:
- (_ewk_view_smart_calculate):
-
-2010-08-25 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add dummy FullScreenVideoControllerEfl to WebKit EFL
- https://bugs.webkit.org/show_bug.cgi?id=44590
-
- Add FullScreenVideoControllerEfl to WebCoreSupport. However,
- this is not implemented yet.
-
- * CMakeListsEfl.txt:
- * WebCoreSupport/FullscreenVideoControllerEfl.cpp: Added.
- (FullscreenVideoController::FullscreenVideoController):
- (FullscreenVideoController::~FullscreenVideoController):
- (FullscreenVideoController::setMediaElement):
- (FullscreenVideoController::showHud):
- (FullscreenVideoController::hideHud):
- (FullscreenVideoController::enterFullscreen):
- (FullscreenVideoController::updateHudPosition):
- (FullscreenVideoController::exitOnUserRequest):
- (FullscreenVideoController::exitFullscreen):
- (FullscreenVideoController::canPlay):
- (FullscreenVideoController::play):
- (FullscreenVideoController::pause):
- (FullscreenVideoController::playStateChanged):
- (FullscreenVideoController::togglePlay):
- (FullscreenVideoController::volume):
- (FullscreenVideoController::muted):
- (FullscreenVideoController::setVolume):
- (FullscreenVideoController::volumeChanged):
- (FullscreenVideoController::muteChanged):
- (FullscreenVideoController::currentTime):
- (FullscreenVideoController::setCurrentTime):
- (FullscreenVideoController::duration):
- (FullscreenVideoController::percentLoaded):
- (FullscreenVideoController::beginSeek):
- (FullscreenVideoController::doSeek):
- (FullscreenVideoController::endSeek):
- (timeToString):
- (FullscreenVideoController::updateHudProgressBar):
- (FullscreenVideoController::createHud):
- * WebCoreSupport/FullscreenVideoControllerEfl.h: Added.
- (FullscreenVideoController::mediaElement):
-
-2010-08-25 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add setting API for enabling local storage.
- https://bugs.webkit.org/show_bug.cgi?id=44319
-
- Add API for enabling/disabling local storage.
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
- (ewk_view_setting_local_storage_get): Added
- (ewk_view_setting_local_storage_set): Added
- * ewk/ewk_view.h:
-
-2010-08-25 Jaehun Lim <ljaehun.lim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] enable libsoup's content decode feature
- https://bugs.webkit.org/show_bug.cgi?id=44147
-
- libsoup's content decode feature is enabled during initializaton.
-
- * ewk/ewk_main.cpp:
- (ewk_init):
-
-2010-08-25 Rafael Antognolli <antognolli@profusion.mobi>
-
- Unreviewed build fix.
-
- [EFL] Build fix for revision 65332
- https://bugs.webkit.org/show_bug.cgi?id=44543
-
- Use Gthread_LIBRARIES instead of GTHREAD_LIBRARIES. This fix
- the build when using ENABLE_GLIB_SUPPORT=ON and NETWORK_BACKEND=curl.
-
- * CMakeListsEfl.txt:
-
-2010-08-24 Lukasz Slachciak <l.slachciak@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Extended EFL WebView API to allow enable/disable Frame Flattening
- https://bugs.webkit.org/show_bug.cgi?id=44253
-
- * ewk/ewk_view.cpp:
- (ewk_view_setting_enable_frame_flattening_get):
- (ewk_view_setting_enable_frame_flattening_set):
- * ewk/ewk_view.h:
-
-2010-08-23 Leandro Pereira <leandro@profusion.mobi>
-
- [EFL] Build fix for platforms that do not require linking with "dl".
- CMake includes the variable CMAKE_DL_LIBS that evaluates to the
- platform-specific libraries.
-
- * CMakeListsEfl.txt: Use ${CMAKE_DL_LIBS} instead of dl.
-
-2010-08-22 Rafael Antognolli <antognolli@profusion.mobi>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Remove duplicated include entry from default theme.
- https://bugs.webkit.org/show_bug.cgi?id=44345
-
- This used to create the group webkit/widget/entry twice in
- the theme. It's leading to a bug with the newer versions of
- EFL.
-
- * DefaultTheme/default.edc:
-
-2010-08-22 Daniel Bates <dbates@rim.com>
-
- Reviewed by Eric Seidel.
-
- Encapsulate document marker management into DocumentMarkerController
- https://bugs.webkit.org/show_bug.cgi?id=44383
-
- Modify call sites in the EFL port to use DocumentMarkerController.
-
- No functionality was changed, so no new tests.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_text_matches_unmark_all):
-
-2010-08-20 Leandro Pereira <leandro@profusion.mobi>
-
- [EFL] Unreviewed. Fix build when using GNU gold.
- When linking with GNU gold, some symbols are not found: explicitly
- link with the required libraries.
-
- * CMakeListsEfl.txt: Depend on Fontconfig, PNG, JPEG and dl
- libraries.
-
-2010-08-15 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Enable localStorage of HTML5 for WebKit EFL
- https://bugs.webkit.org/show_bug.cgi?id=44020
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2010-08-11 Rafael Antognolli <antognolli@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Adding new theme for widgets.
- https://bugs.webkit.org/show_bug.cgi?id=43860
-
- Original theme was there for a long time. This is a new
- fresh one.
-
- * DefaultTheme/default.edc:
- * DefaultTheme/widget/button/button.edc:
- * DefaultTheme/widget/button/img_button_focus.png:
- * DefaultTheme/widget/button/img_button_hover.png:
- * DefaultTheme/widget/button/img_button_normal.png:
- * DefaultTheme/widget/button/img_button_press.png:
- * DefaultTheme/widget/check/check.edc:
- * DefaultTheme/widget/check/img_check_off.png:
- * DefaultTheme/widget/check/img_check_off_focus.png:
- * DefaultTheme/widget/check/img_check_off_hover.png:
- * DefaultTheme/widget/check/img_check_on.png:
- * DefaultTheme/widget/check/img_check_on_focus.png:
- * DefaultTheme/widget/check/img_check_on_hover.png:
- * DefaultTheme/widget/combo/combo.edc:
- * DefaultTheme/widget/combo/combo_focus.png:
- * DefaultTheme/widget/combo/combo_focus_button.png:
- * DefaultTheme/widget/combo/combo_hover.png:
- * DefaultTheme/widget/combo/combo_hover_button.png:
- * DefaultTheme/widget/combo/combo_normal.png:
- * DefaultTheme/widget/combo/combo_normal_button.png:
- * DefaultTheme/widget/combo/combo_press.png:
- * DefaultTheme/widget/combo/combo_press_button.png:
- * DefaultTheme/widget/combo/icon.png:
- * DefaultTheme/widget/entry/img_focused.png:
- * DefaultTheme/widget/entry/img_hovered.png:
- * DefaultTheme/widget/entry/img_normal.png:
- * DefaultTheme/widget/file/file_focus.png:
- * DefaultTheme/widget/file/file_hover.png:
- * DefaultTheme/widget/file/file_normal.png:
- * DefaultTheme/widget/file/file_press.png:
- * DefaultTheme/widget/radio/img_radio_off.png:
- * DefaultTheme/widget/radio/img_radio_off_focus.png:
- * DefaultTheme/widget/radio/img_radio_off_hover.png:
- * DefaultTheme/widget/radio/img_radio_on.png:
- * DefaultTheme/widget/radio/img_radio_on_focus.png:
- * DefaultTheme/widget/radio/img_radio_on_hover.png:
- * DefaultTheme/widget/radio/radio.edc:
- * DefaultTheme/widget/scrollbar/scrollbar.edc:
- * DefaultTheme/widget/scrollbar/scrollbar_h.png:
- * DefaultTheme/widget/scrollbar/scrollbar_hilight.png: Removed.
- * DefaultTheme/widget/scrollbar/scrollbar_knob_h.png:
- * DefaultTheme/widget/scrollbar/scrollbar_knob_v.png:
- * DefaultTheme/widget/scrollbar/scrollbar_v.png:
- * DefaultTheme/widget/search/cancel/cancel_normal_button2.png:
- * DefaultTheme/widget/search/decoration/decoration_normal_button.png:
- * DefaultTheme/widget/search/field/field_focused.png:
- * DefaultTheme/widget/search/field/field_hovered.png:
- * DefaultTheme/widget/search/field/field_normal.png:
- * DefaultTheme/widget/slider/slider.edc:
- * DefaultTheme/widget/slider/slider_fill_h.png: Added.
- * DefaultTheme/widget/slider/slider_fill_v.png: Added.
- * DefaultTheme/widget/slider/slider_h.png:
- * DefaultTheme/widget/slider/slider_hilight.png: Removed.
- * DefaultTheme/widget/slider/slider_knob_h.png:
- * DefaultTheme/widget/slider/slider_knob_press_h.png: Added.
- * DefaultTheme/widget/slider/slider_knob_press_v.png: Added.
- * DefaultTheme/widget/slider/slider_knob_v.png:
- * DefaultTheme/widget/slider/slider_v.png:
-
-2010-08-12 Rafael Antognolli <antognolli@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Making CMake keep track of theme dependencies.
- https://bugs.webkit.org/show_bug.cgi?id=43862
-
- Adding theme source files and images as dependencies of the theme.
-
- * CMakeListsEfl.txt:
-
-2010-08-11 Rafael Antognolli <antognolli@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Add setting for enabling spatial navigation.
- https://bugs.webkit.org/show_bug.cgi?id=43569
-
- Adding api for enabling/disabling spatial navigation.
-
- * ewk/ewk_view.cpp: Both functions below added.
- (ewk_view_setting_spatial_navigation_get):
- (ewk_view_setting_spatial_navigation_set):
- * ewk/ewk_view.h: same as ewk_view.cpp.
-
-2010-08-11 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- Implementation dispatchDecidePolicyForNavigationAction
- https://bugs.webkit.org/show_bug.cgi?id=43544
-
- Add ewk_view_navigation_policy_decision to decide whether url which
- user clicked will be loaded or not.
-
- * WebCoreSupport/FrameLoaderClientEfl.cpp:
- (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_navigation_policy_decision):
- * ewk/ewk_view.h:
-
-2010-08-10 Ryuan Choi <ryuan.choi@samsung.com>
-
- Unreviewed build fix.
-
- [EFL]REGRESSION(65021) need to fix build break
- https://bugs.webkit.org/show_bug.cgi?id=43767
-
- Remove AtomicStringWTF and change namespace TextCaseInsensitive.
-
- * ewk/ewk_frame.cpp:
- (ewk_frame_plugin_create):
- * ewk/ewk_view.cpp:
- (ewk_view_text_search):
- (ewk_view_text_matches_mark):
- (ewk_view_setting_font_cursive_set):
-
-2010-08-06 Gavin Barraclough <barraclough@apple.com>
-
- Rubber stamped by Sam Weinig
-
- Bug 43594 - Add string forwards to Forward.h
- This allows us to remove forward declarations for these classes from
- WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
-
- * WebCoreSupport/InspectorClientEfl.h:
-
-2010-08-06 Jessie Berlin <jberlin@apple.com>
-
- Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build.
- Unreviewed.
-
- * WebCoreSupport/InspectorClientEfl.h:
-
-2010-08-03 Leandro Pereira <leandro@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Implement HTML5 slider theme (using the scrollbar theme as base).
- https://bugs.webkit.org/show_bug.cgi?id=43430
-
- * DefaultTheme/default.edc: Include slider.edc.
- * DefaultTheme/widget/slider/slider.edc: Added.
- * DefaultTheme/widget/slider/slider_h.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_h.png.
- * DefaultTheme/widget/slider/slider_hilight.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_hilight.png.
- * DefaultTheme/widget/slider/slider_knob_h.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_h.png.
- * DefaultTheme/widget/slider/slider_knob_v.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_v.png.
- * DefaultTheme/widget/slider/slider_v.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_v.png.
-
-2010-08-03 ryuan choi <ryuan.choi@samsung.com>
-
- Reviewed by Darin Adler.
-
- [EFL] REGRESSION(64425) need to fix build break
- https://bugs.webkit.org/show_bug.cgi?id=43322
-
- just add include path missed after r64425
-
- * CMakeListsEfl.txt:
-
-2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
-
- Reviewed by Darin Fisher.
-
- PopupMenu refactoring in preparation to WebKit2
- https://bugs.webkit.org/show_bug.cgi?id=42592
-
- As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
- instances, concrete classes that inherit from ChromeClient needed to be changed to
- implement the new methods.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::selectItemWritingDirectionIsNatural):
- (WebCore::ChromeClientEfl::createPopupMenu):
- (WebCore::ChromeClientEfl::createSearchPopupMenu):
- * WebCoreSupport/ChromeClientEfl.h:
-
-2010-08-02 Jeremy Orlow <jorlow@chromium.org>
-
- Speculative revert of 64425 due to Chromium instability
- https://bugs.webkit.org/show_bug.cgi?id=43347
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * WebCoreSupport/ChromeClientEfl.h:
-
-2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
-
- Reviewed by Darin Fisher.
-
- PopupMenu refactoring in preparation to WebKit2
- https://bugs.webkit.org/show_bug.cgi?id=42592
-
- As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
- instances, concrete classes that inherit from ChromeClient needed to be changed to
- implement the new methods.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::selectItemWritingDirectionIsNatural):
- (WebCore::ChromeClientEfl::createPopupMenu):
- (WebCore::ChromeClientEfl::createSearchPopupMenu):
- * WebCoreSupport/ChromeClientEfl.h:
-
-2010-07-31 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r64422.
- http://trac.webkit.org/changeset/64422
- https://bugs.webkit.org/show_bug.cgi?id=43304
-
- Build fixes are needed for Snow Leopard and Windows.
- (Requested by lca on #webkit).
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- * WebCoreSupport/ChromeClientEfl.h:
-
-2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
-
- Reviewed by Darin Fisher.
-
- PopupMenu refactoring in preparation to WebKit2
- https://bugs.webkit.org/show_bug.cgi?id=42592
-
- As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
- instances, concrete classes that inherit from ChromeClient needed to be changed to
- implement the new methods.
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::selectItemWritingDirectionIsNatural):
- (WebCore::ChromeClientEfl::createPopupMenu):
- (WebCore::ChromeClientEfl::createSearchPopupMenu):
- * WebCoreSupport/ChromeClientEfl.h:
-
-2010-07-26 Steve Block <steveblock@google.com>
-
- Reviewed by Jeremy Orlow.
-
- Page clients should be passed to Page constructor via structure of pointers
- https://bugs.webkit.org/show_bug.cgi?id=42834
-
- * ewk/ewk_view.cpp:
- (_ewk_view_priv_new):
-
-2010-07-26 Rafael Antognolli <antognolli@profusion.mobi>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Move CMakeListsEfl.txt to WebKit/efl/
- https://bugs.webkit.org/show_bug.cgi?id=43002
-
- This should reduce the noise in WebKit/ChangeLog that comes from EFL
- port. Most of the changes on EFL port should be logged in
- WebKit/efl/ChangeLog.
-
- * CMakeListsEfl.txt: Renamed from WebKit/CMakeListsEfl.txt.
-
-2010-07-23 Rafael Antognolli <antognolli@profusion.mobi>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Cleanup glib support (make it optional)
- https://bugs.webkit.org/show_bug.cgi?id=42480
-
- Put some ifdefs on glib calls.
-
- * ewk/ewk_main.cpp:
- (ewk_init):
-
-2010-07-23 Rafael Antognolli <antognolli@profusion.mobi>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add support for using libcurl network backend.
- https://bugs.webkit.org/show_bug.cgi?id=42286
-
- Put some ifdefs around soup calls.
-
- * ewk/ewk_cookies.cpp:
- (ewk_cookies_file_set):
- (ewk_cookies_clear):
- (ewk_cookies_get_all):
- (ewk_cookies_cookie_del):
- (ewk_cookies_cookie_free):
- (ewk_cookies_policy_set):
- (ewk_cookies_policy_get):
- * ewk/ewk_main.cpp:
- (ewk_init):
-
-2010-07-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Notify browser when window shall be closed.
-
- This is used for window.close() events Javascript, though it would be
- triggered for any event on WebCore that might ask for the window to be
- closed.
-
- https://bugs.webkit.org/show_bug.cgi?id=42890
-
- * WebCoreSupport/ChromeClientEfl.cpp:
- (WebCore::ChromeClientEfl::closeWindowSoon): call new function and moves its
- previous functionality there.
- * ewk/ewk_private.h:
- * ewk/ewk_view.cpp:
- (ewk_view_window_close): stop all loaders as was being done previously and
- notify browser afterwards.
- * ewk/ewk_view.h: declare new virtual method.
-
-2010-07-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [EFL] Set proxy address for Soup
- https://bugs.webkit.org/show_bug.cgi?id=42721
-
- Sets the given proxy URI for libsoup network backend. This method will
- support libcurl network backend later.
-
- * EWebLauncher/main.c:
- (main): Invoke proxy set method
- * ewk/ewk_settings.cpp:
- (ewk_settings_proxy_uri_set): Sets proxy URI.
- * ewk/ewk_settings.h:
-
-2010-07-16 Leandro Pereira <leandro@profusion.mobi>
-
- Reviewed by Gustavo Noronha Silva.
-
- Creating ChangeLog for the EFL port.
</del></span></pre></div>
<a id="trunkSourceWebKiteflEWebKitConfigcmakein"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/EWebKitConfig.cmake.in (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/EWebKitConfig.cmake.in        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/EWebKitConfig.cmake.in        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-set(EWEBKIT_FOUND TRUE)
-
-set(EWEBKIT_VERSION_MAJOR @PROJECT_VERSION_MAJOR@)
-set(EWEBKIT_VERSION_MINOR @PROJECT_VERSION_MINOR@)
-set(EWEBKIT_VERSION @PROJECT_VERSION@)
-
-set(_SHARED_CORE @SHARED_CORE@)
-set(_libdir "@LIB_INSTALL_DIR@")
-
-find_path(EWEBKIT_INCLUDE_DIR EWebKit.h HINTS "@CMAKE_INSTALL_PREFIX@/include/@WebKit_OUTPUT_NAME@-@PROJECT_VERSION_MAJOR@")
-find_library(EWEBKIT_LIBRARY NAMES ewebkit HINTS ${_libdir})
-
-if (_SHARED_CORE)
- find_library(_webcore_library NAMES webcore_efl HINTS ${_libdir})
- find_library(_javascript_library NAMES javascriptcore_efl HINTS ${_libdir})
-
- list(APPEND EWEBKIT_LIBRARY ${_webcore_library} ${_javascript_library})
-endif ()
</del></span></pre></div>
<a id="trunkSourceWebKiteflEWebKitConfigVersioncmakein"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/EWebKitConfigVersion.cmake.in (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/EWebKitConfigVersion.cmake.in        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/EWebKitConfigVersion.cmake.in        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-set(PACKAGE_VERSION "@PROJECT_VERSION@")
-
-# Check whether the requested PACKAGE_FIND_VERSION is compatible
-if ("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
- set(PACKAGE_VERSION_COMPATIBLE FALSE)
-else ()
- set(PACKAGE_VERSION_COMPATIBLE TRUE)
- if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
- set(PACKAGE_VERSION_EXACT TRUE)
- endif ()
-endif ()
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportAcceleratedCompositingContextEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/AcceleratedCompositingContextEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/AcceleratedCompositingContextEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/AcceleratedCompositingContextEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,237 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-
-#if USE(TEXTURE_MAPPER_GL)
-
-#include "AcceleratedCompositingContextEfl.h"
-#include "CairoUtilities.h"
-#include "CairoUtilitiesEfl.h"
-#include "FrameView.h"
-#include "GraphicsLayerTextureMapper.h"
-#include "MainFrame.h"
-#include "PlatformContextCairo.h"
-#include "TextureMapperGL.h"
-#include "TextureMapperLayer.h"
-#include "ewk_private.h"
-#include "ewk_view_private.h"
-
-const double compositingFrameRate = 60;
-
-namespace WebCore {
-
-AcceleratedCompositingContext::AcceleratedCompositingContext(Evas_Object* ewkView, Evas_Object* compositingObject)
- : m_view(ewkView)
- , m_compositingObject(compositingObject)
- , m_rootLayer(nullptr)
- , m_syncTimer(this, &AcceleratedCompositingContext::syncLayers)
- , m_isAccelerated(true)
-{
- ASSERT(m_view);
- ASSERT(m_compositingObject);
-
- Evas* evas = evas_object_evas_get(m_view);
- const char* engine = ecore_evas_engine_name_get(ecore_evas_ecore_evas_get(evas));
- if (!strncmp(engine, "opengl_x11", strlen("opengl_x11"))) {
- m_evasGL = EflUniquePtr<Evas_GL>(evas_gl_new(evas_object_evas_get(m_view)));
- if (m_evasGL)
- m_evasGLContext = EvasGLContext::create(m_evasGL.get());
- }
-
- if (m_evasGLContext) {
- m_textureMapper = TextureMapper::create(TextureMapper::OpenGLMode);
- static_cast<TextureMapperGL*>(m_textureMapper.get())->setEnableEdgeDistanceAntialiasing(true);
- } else {
- m_textureMapper = TextureMapper::create(TextureMapper::SoftwareMode);
- m_isAccelerated = false;
- }
-}
-
-AcceleratedCompositingContext::~AcceleratedCompositingContext()
-{
-}
-
-void AcceleratedCompositingContext::syncLayers(Timer<AcceleratedCompositingContext>*)
-{
- ewk_view_mark_for_sync(m_view);
-}
-
-void AcceleratedCompositingContext::resize(const IntSize& size)
-{
- if (m_viewSize == size)
- return;
-
- m_viewSize = size;
-
- if (!m_isAccelerated)
- return;
-
- static Evas_GL_Config evasGLConfig = {
- EVAS_GL_RGBA_8888,
- EVAS_GL_DEPTH_BIT_8,
- EVAS_GL_STENCIL_NONE,
- EVAS_GL_OPTIONS_NONE,
- EVAS_GL_MULTISAMPLE_NONE
- };
-
- m_evasGLSurface = EvasGLSurface::create(m_evasGL.get(), &evasGLConfig, size);
- if (!m_evasGLSurface) {
- ERR("Failed to create a EvasGLSurface.");
- return;
- }
-
- Evas_Native_Surface nativeSurface;
- evas_gl_native_surface_get(m_evasGL.get(), m_evasGLSurface->surface(), &nativeSurface);
- evas_object_image_native_surface_set(m_compositingObject, &nativeSurface);
-
- if (!evas_gl_make_current(m_evasGL.get(), m_evasGLSurface->surface(), m_evasGLContext->context())) {
- ERR("Failed to evas_gl_make_current.");
- return;
- }
-
- evas_gl_api_get(m_evasGL.get())->glViewport(0, 0, size.width(), size.height());
- evas_gl_api_get(m_evasGL.get())->glClearColor(1, 1, 1, 1);
- evas_gl_api_get(m_evasGL.get())->glClear(GL_COLOR_BUFFER_BIT);
-}
-
-void AcceleratedCompositingContext::flushAndRenderLayers()
-{
- MainFrame& frame = EWKPrivate::corePage(m_view)->mainFrame();
- if (!frame.contentRenderer() || !frame.view())
- return;
- frame.view()->updateLayoutAndStyleIfNeededRecursive();
-
- if (!flushPendingLayerChanges())
- return;
-
- if (m_isAccelerated)
- paintToCurrentGLContext();
- else
- paintToGraphicsContext();
-}
-
-bool AcceleratedCompositingContext::flushPendingLayerChanges()
-{
- if (m_rootLayer)
- m_rootLayer->flushCompositingStateForThisLayerOnly();
- return EWKPrivate::corePage(m_view)->mainFrame().view()->flushCompositingStateIncludingSubframes();
-}
-
-void AcceleratedCompositingContext::paintToGraphicsContext()
-{
- RefPtr<cairo_surface_t> surface = createSurfaceForImage(m_compositingObject);
- if (!surface)
- return;
-
- PlatformContextCairo platformContext(cairo_create(surface.get()));
- GraphicsContext context(&platformContext);
- m_textureMapper->setGraphicsContext(&context);
-
- compositeLayers();
-}
-
-void AcceleratedCompositingContext::paintToCurrentGLContext()
-{
- if (!evas_gl_make_current(m_evasGL.get(), m_evasGLSurface->surface(), m_evasGLContext->context()))
- return;
-
- evas_gl_api_get(m_evasGL.get())->glViewport(0, 0, m_viewSize.width(), m_viewSize.height());
- evas_gl_api_get(m_evasGL.get())->glClear(GL_COLOR_BUFFER_BIT);
-
- compositeLayers();
-}
-
-void AcceleratedCompositingContext::compositeLayers()
-{
- TextureMapperLayer* currentRootLayer = toTextureMapperLayer(m_rootLayer);
- if (!currentRootLayer)
- return;
-
- currentRootLayer->setTextureMapper(m_textureMapper.get());
- currentRootLayer->applyAnimationsRecursively();
-
- m_textureMapper->beginPainting();
- m_textureMapper->beginClip(TransformationMatrix(), FloatRect(FloatPoint(), m_viewSize));
- currentRootLayer->paint();
- m_fpsCounter.updateFPSAndDisplay(m_textureMapper.get());
- m_textureMapper->endClip();
- m_textureMapper->endPainting();
-
- if (currentRootLayer->descendantsOrSelfHaveRunningAnimations() && !m_syncTimer.isActive())
- m_syncTimer.startOneShot(1 / compositingFrameRate);
-}
-
-void AcceleratedCompositingContext::setRootGraphicsLayer(GraphicsLayer* rootLayer)
-{
- m_rootLayer = rootLayer;
-
- if (!m_syncTimer.isActive())
- m_syncTimer.startOneShot(0);
-}
-
-void AcceleratedCompositingContext::extractImageData(Evas_Object* buffer, const IntRect& rect)
-{
- ASSERT(buffer);
-
- Evas_Coord width, height;
- evas_object_image_size_get(buffer, &width, &height);
-
- ASSERT(rect.width() == width);
- ASSERT(rect.height() == height);
-
- RefPtr<cairo_surface_t> imageData;
- if (m_isAccelerated) {
- imageData = getImageDataGL(rect);
- flipImageSurfaceVertically(imageData.get());
- } else
- imageData = getImageData(rect);
-
- evas_object_image_data_copy_set(buffer, static_cast<void*>(cairo_image_surface_get_data(imageData.get())));
-}
-
-PassRefPtr<cairo_surface_t> AcceleratedCompositingContext::getImageData(const IntRect& rect)
-{
- RefPtr<cairo_surface_t> source = createSurfaceForImage(m_compositingObject);
- evas_object_image_data_set(m_compositingObject, static_cast<void*>(cairo_image_surface_get_data(source.get())));
-
- if (m_viewSize == rect.size())
- return source.release();
-
- RefPtr<cairo_surface_t> destination = adoptRef(cairo_image_surface_create(CAIRO_FORMAT_ARGB32, rect.width(), rect.height()));
- copyRectFromOneSurfaceToAnother(source.get(), destination.get(), -IntSize(rect.x(), rect.y()), IntRect(IntPoint(), rect.size()), IntSize(), CAIRO_OPERATOR_SOURCE);
- return destination.release();
-}
-
-PassRefPtr<cairo_surface_t> AcceleratedCompositingContext::getImageDataGL(const IntRect& rect)
-{
- if (!evas_gl_make_current(m_evasGL.get(), m_evasGLSurface->surface(), m_evasGLContext->context()))
- return nullptr;
-
- RefPtr<cairo_surface_t> source = adoptRef(cairo_image_surface_create(CAIRO_FORMAT_ARGB32, rect.width(), rect.height()));
- uint8_t* sourcePtr = static_cast<uint8_t*>(cairo_image_surface_get_data(source.get()));
-
- GraphicsContext3D* context3D = static_cast<TextureMapperGL*>(m_textureMapper.get())->graphicsContext3D();
- context3D->readPixels(rect.x(), rect.y(), rect.width(), rect.height(), GraphicsContext3D::BGRA, GraphicsContext3D::UNSIGNED_BYTE, sourcePtr);
- return source.release();
-}
-
-} // namespace WebCore
-
-#endif // USE(TEXTURE_MAPPER_GL)
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportAcceleratedCompositingContextEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/AcceleratedCompositingContextEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/AcceleratedCompositingContextEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/AcceleratedCompositingContextEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,81 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef AcceleratedCompositingContextEfl_h
-#define AcceleratedCompositingContextEfl_h
-
-#if USE(TEXTURE_MAPPER_GL)
-#include "EvasGLContext.h"
-#include "EvasGLSurface.h"
-#include "TextureMapperFPSCounter.h"
-#include "Timer.h"
-#include <wtf/Noncopyable.h>
-#include <wtf/efl/UniquePtrEfl.h>
-
-namespace WebCore {
-
-class GraphicsLayer;
-class HostWindow;
-class TextureMapper;
-class TextureMapperLayer;
-
-class AcceleratedCompositingContext {
- WTF_MAKE_NONCOPYABLE(AcceleratedCompositingContext);
-public:
- AcceleratedCompositingContext(Evas_Object* ewkView, Evas_Object* compositingObject);
- ~AcceleratedCompositingContext();
-
- void setRootGraphicsLayer(GraphicsLayer* rootLayer);
- void resize(const IntSize&);
- void flushAndRenderLayers();
-
- void extractImageData(Evas_Object*, const IntRect&);
-
-private:
- void paintToGraphicsContext();
- void paintToCurrentGLContext();
- void compositeLayers();
-
- bool flushPendingLayerChanges();
- void syncLayers(Timer<AcceleratedCompositingContext>*);
-
- PassRefPtr<cairo_surface_t> getImageData(const IntRect&);
- PassRefPtr<cairo_surface_t> getImageDataGL(const IntRect&);
-
- Evas_Object* m_view;
- Evas_Object* m_compositingObject;
-
- std::unique_ptr<TextureMapper> m_textureMapper;
- GraphicsLayer* m_rootLayer;
- Timer<AcceleratedCompositingContext> m_syncTimer;
-
- EflUniquePtr<Evas_GL> m_evasGL;
- std::unique_ptr<EvasGLContext> m_evasGLContext;
- std::unique_ptr<EvasGLSurface> m_evasGLSurface;
-
- TextureMapperFPSCounter m_fpsCounter;
-
- IntSize m_viewSize;
- bool m_isAccelerated;
-};
-
-} // namespace WebCore
-
-#endif // USE(TEXTURE_MAPPER_GL)
-#endif // AcceleratedCompositingContextEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportBatteryClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/BatteryClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/BatteryClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/BatteryClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,60 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Samsung Electronics. All rights reserved.
- * Copyright (C) 2012 Intel Corporation. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "BatteryClientEfl.h"
-
-#if ENABLE(BATTERY_STATUS)
-
-#include "BatteryController.h"
-#include "ewk_view_private.h"
-
-BatteryClientEfl::BatteryClientEfl(Evas_Object* view)
- : m_view(view)
- , m_provider(this)
-{
-}
-
-BatteryClientEfl::~BatteryClientEfl()
-{
- m_provider.stopUpdating();
-}
-
-void BatteryClientEfl::startUpdating()
-{
- m_provider.startUpdating();
-}
-
-void BatteryClientEfl::stopUpdating()
-{
- m_provider.stopUpdating();
-}
-
-void BatteryClientEfl::batteryControllerDestroyed()
-{
- delete this;
-}
-
-void BatteryClientEfl::didChangeBatteryStatus(const AtomicString& eventType, PassRefPtr<WebCore::BatteryStatus> status)
-{
- WebCore::BatteryController::from(EWKPrivate::corePage(m_view))->didChangeBatteryStatus(eventType, status);
-}
-
-#endif // ENABLE(BATTERY_STATUS)
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportBatteryClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/BatteryClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/BatteryClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/BatteryClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,56 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Samsung Electronics. All rights reserved.
- * Copyright (C) 2012 Intel Corporation. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef BatteryClientEfl_h
-#define BatteryClientEfl_h
-
-#if ENABLE(BATTERY_STATUS)
-
-#include "BatteryClient.h"
-#include "BatteryProviderEfl.h"
-#include "BatteryProviderEflClient.h"
-#include "BatteryStatus.h"
-#include <wtf/PassRefPtr.h>
-
-namespace WebCore {
-class BatteryController;
-}
-
-class BatteryClientEfl : public WebCore::BatteryClient, public WebCore::BatteryProviderEflClient {
-public:
- explicit BatteryClientEfl(Evas_Object* view);
- virtual ~BatteryClientEfl();
-
- // BatteryClient interface.
- virtual void startUpdating();
- virtual void stopUpdating();
- virtual void batteryControllerDestroyed();
-
-private:
- // BatteryProviderEflClient interface.
- virtual void didChangeBatteryStatus(const AtomicString& eventType, PassRefPtr<WebCore::BatteryStatus>);
-
- Evas_Object* m_view;
- WebCore::BatteryProviderEfl m_provider;
-};
-
-#endif // ENABLE(BATTERY_STATUS)
-
-#endif // BatteryClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportChromeClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,626 +0,0 @@
</span><del>-/*
- * Copyright (C) 2006 Zack Rusin <zack@kde.org>
- * Copyright (C) 2006 Apple Inc. All rights reserved.
- * Copyright (C) 2008 Kenneth Rohde Christiansen
- * Copyright (C) 2008 Diego Gonzalez
- * Copyright (C) 2009-2010 ProFUSION embedded systems
- * Copyright (C) 2009-2012 Samsung Electronics
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
- *
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "ChromeClientEfl.h"
-
-#include "ApplicationCacheStorage.h"
-#include "FileChooser.h"
-#include "FileIconLoader.h"
-#include "FloatRect.h"
-#include "Frame.h"
-#include "FrameLoader.h"
-#include "FrameLoaderClientEfl.h"
-#include "HitTestResult.h"
-#include "IntRect.h"
-#include "URL.h"
-#include "NavigationAction.h"
-#include "NotImplemented.h"
-#include "PopupMenuEfl.h"
-#include "SearchPopupMenuEfl.h"
-#include "SecurityOrigin.h"
-#include "ViewportArguments.h"
-#include "WindowFeatures.h"
-#include "ewk_custom_handler_private.h"
-#include "ewk_file_chooser_private.h"
-#include "ewk_frame_private.h"
-#include "ewk_private.h"
-#include "ewk_security_origin_private.h"
-#include "ewk_view_private.h"
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include <wtf/text/CString.h>
-#include <wtf/text/WTFString.h>
-
-#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
-#include "NotificationPresenterClientEfl.h"
-#endif
-
-#if ENABLE(SQL_DATABASE)
-#include "DatabaseDetails.h"
-#include "DatabaseManager.h"
-#endif
-
-#if ENABLE(INPUT_TYPE_COLOR)
-#include "ColorChooserEfl.h"
-#endif
-
-#if ENABLE(FULLSCREEN_API)
-#include "Settings.h"
-#endif
-
-using namespace WebCore;
-
-static inline Evas_Object* kit(Frame* frame)
-{
- if (!frame)
- return 0;
-
- FrameLoaderClientEfl& client = static_cast<FrameLoaderClientEfl&>(frame->loader().client());
- return client.webFrame();
-}
-
-namespace WebCore {
-
-ChromeClientEfl::ChromeClientEfl(Evas_Object* view)
- : m_view(view)
-{
- ASSERT(m_view);
-}
-
-ChromeClientEfl::~ChromeClientEfl()
-{
-}
-
-void ChromeClientEfl::chromeDestroyed()
-{
- delete this;
-}
-
-void ChromeClientEfl::focusedElementChanged(Element*)
-{
- notImplemented();
-}
-
-void ChromeClientEfl::focusedFrameChanged(Frame*)
-{
-}
-
-FloatRect ChromeClientEfl::windowRect()
-{
- int x, y, width, height;
-
- Ecore_Evas* ee = ecore_evas_ecore_evas_get(evas_object_evas_get(m_view));
- ecore_evas_request_geometry_get(ee, &x, &y, &width, &height);
-
- return FloatRect(x, y, width, height);
-}
-
-void ChromeClientEfl::setWindowRect(const FloatRect& rect)
-{
- if (!ewk_view_setting_enable_auto_resize_window_get(m_view))
- return;
-
- Ecore_Evas* ee = ecore_evas_ecore_evas_get(evas_object_evas_get(m_view));
- ecore_evas_move_resize(ee, rect.x(), rect.y(), rect.width(), rect.height());
-}
-
-FloatRect ChromeClientEfl::pageRect()
-{
- return ewk_view_page_rect_get(m_view);
-}
-
-void ChromeClientEfl::focus()
-{
- evas_object_focus_set(m_view, EINA_TRUE);
-}
-
-void ChromeClientEfl::unfocus()
-{
- evas_object_focus_set(m_view, EINA_FALSE);
-}
-
-Page* ChromeClientEfl::createWindow(Frame* frame, const FrameLoadRequest&, const WindowFeatures& features, const NavigationAction&)
-{
-#if ENABLE(FULLSCREEN_API)
- if (frame->document() && frame->document()->webkitCurrentFullScreenElement())
- frame->document()->webkitCancelFullScreen();
-#else
- UNUSED_PARAM(frame);
-#endif
-
- Evas_Object* newView = ewk_view_window_create(m_view, EINA_TRUE, &features);
- if (!newView)
- return 0;
-
- return EWKPrivate::corePage(newView);
-}
-
-void ChromeClientEfl::show()
-{
- ewk_view_ready(m_view);
-}
-
-bool ChromeClientEfl::canRunModal()
-{
- notImplemented();
- return false;
-}
-
-void ChromeClientEfl::runModal()
-{
- notImplemented();
-}
-
-void ChromeClientEfl::setToolbarsVisible(bool visible)
-{
- ewk_view_toolbars_visible_set(m_view, visible);
-}
-
-bool ChromeClientEfl::toolbarsVisible()
-{
- bool visible;
-
- ewk_view_toolbars_visible_get(m_view, &visible);
- return visible;
-}
-
-void ChromeClientEfl::setStatusbarVisible(bool visible)
-{
- ewk_view_statusbar_visible_set(m_view, visible);
-}
-
-bool ChromeClientEfl::statusbarVisible()
-{
- bool visible;
-
- ewk_view_statusbar_visible_get(m_view, &visible);
- return visible;
-}
-
-void ChromeClientEfl::setScrollbarsVisible(bool visible)
-{
- ewk_view_scrollbars_visible_set(m_view, visible);
-}
-
-bool ChromeClientEfl::scrollbarsVisible()
-{
- bool visible;
-
- ewk_view_scrollbars_visible_get(m_view, &visible);
- return visible;
-}
-
-void ChromeClientEfl::setMenubarVisible(bool visible)
-{
- ewk_view_menubar_visible_set(m_view, visible);
-}
-
-bool ChromeClientEfl::menubarVisible()
-{
- bool visible;
-
- ewk_view_menubar_visible_get(m_view, &visible);
- return visible;
-}
-
-void ChromeClientEfl::createSelectPopup(PopupMenuClient* client, int selected, const IntRect& rect)
-{
- ewk_view_popup_new(m_view, client, selected, rect);
-}
-
-bool ChromeClientEfl::destroySelectPopup()
-{
- return ewk_view_popup_destroy(m_view);
-}
-
-void ChromeClientEfl::setResizable(bool)
-{
- notImplemented();
-}
-
-void ChromeClientEfl::closeWindowSoon()
-{
- ewk_view_window_close(m_view);
-}
-
-bool ChromeClientEfl::canTakeFocus(FocusDirection coreDirection)
-{
- // This is called when cycling through links/focusable objects and we
- // reach the last focusable object.
- ASSERT(coreDirection == FocusDirectionForward || coreDirection == FocusDirectionBackward);
-
- Ewk_Focus_Direction direction = static_cast<Ewk_Focus_Direction>(coreDirection);
-
- return !ewk_view_focus_can_cycle(m_view, direction);
-}
-
-void ChromeClientEfl::takeFocus(FocusDirection)
-{
- unfocus();
-}
-
-bool ChromeClientEfl::canRunBeforeUnloadConfirmPanel()
-{
- return true;
-}
-
-bool ChromeClientEfl::runBeforeUnloadConfirmPanel(const String& message, Frame* frame)
-{
- return ewk_view_run_before_unload_confirm(m_view, kit(frame), message.utf8().data());
-}
-
-void ChromeClientEfl::addMessageToConsole(MessageSource, MessageLevel, const String& message,
- unsigned lineNumber, unsigned columnNumber, const String& sourceID)
-{
- UNUSED_PARAM(columnNumber);
- ewk_view_add_console_message(m_view, message.utf8().data(), lineNumber, sourceID.utf8().data());
-}
-
-void ChromeClientEfl::runJavaScriptAlert(Frame* frame, const String& message)
-{
- ewk_view_run_javascript_alert(m_view, kit(frame), message.utf8().data());
-}
-
-bool ChromeClientEfl::runJavaScriptConfirm(Frame* frame, const String& message)
-{
- return ewk_view_run_javascript_confirm(m_view, kit(frame), message.utf8().data());
-}
-
-bool ChromeClientEfl::runJavaScriptPrompt(Frame* frame, const String& message, const String& defaultValue, String& result)
-{
- const char* value = 0;
- ewk_view_run_javascript_prompt(m_view, kit(frame), message.utf8().data(), defaultValue.utf8().data(), &value);
- if (value) {
- result = String::fromUTF8(value);
- eina_stringshare_del(value);
- return true;
- }
- return false;
-}
-
-void ChromeClientEfl::setStatusbarText(const String& string)
-{
- ewk_view_statusbar_text_set(m_view, string.utf8().data());
-}
-
-bool ChromeClientEfl::shouldInterruptJavaScript()
-{
- return ewk_view_should_interrupt_javascript(m_view);
-}
-
-KeyboardUIMode ChromeClientEfl::keyboardUIMode()
-{
- return ewk_view_setting_include_links_in_focus_chain_get(m_view) ? KeyboardAccessTabsToLinks : KeyboardAccessDefault;
-}
-
-IntRect ChromeClientEfl::windowResizerRect() const
-{
- notImplemented();
- // Implementing this function will make repaint being
- // called during resize, but as this will be done with
- // a minor delay it adds a weird "filling" effect due
- // to us using an evas image for showing the cairo
- // context. So instead of implementing this function
- // we call paint directly during resize with
- // the new object size as its argument.
- return IntRect();
-}
-
-void ChromeClientEfl::contentsSizeChanged(Frame* frame, const IntSize& size) const
-{
- ewk_frame_contents_size_changed(kit(frame), size.width(), size.height());
- if (ewk_view_frame_main_get(m_view) == kit(frame))
- ewk_view_contents_size_changed(m_view, size.width(), size.height());
-}
-
-IntRect ChromeClientEfl::rootViewToScreen(const IntRect& rect) const
-{
- notImplemented();
- return rect;
-}
-
-IntPoint ChromeClientEfl::screenToRootView(const IntPoint& point) const
-{
- notImplemented();
- return point;
-}
-
-PlatformPageClient ChromeClientEfl::platformPageClient() const
-{
- return m_view;
-}
-
-void ChromeClientEfl::scrollbarsModeDidChange() const
-{
-}
-
-void ChromeClientEfl::mouseDidMoveOverElement(const HitTestResult& hit, unsigned /*modifierFlags*/)
-{
- // FIXME, compare with old link, look at Qt impl.
- bool isLink = hit.isLiveLink();
- if (isLink) {
- URL url = hit.absoluteLinkURL();
- if (!url.isEmpty() && url != m_hoveredLinkURL) {
- const char* link[2];
- TextDirection dir;
- CString urlStr = url.string().utf8();
- CString titleStr = hit.title(dir).utf8();
- link[0] = urlStr.data();
- link[1] = titleStr.data();
- ewk_view_mouse_link_hover_in(m_view, link);
- m_hoveredLinkURL = url;
- }
- } else if (!isLink && !m_hoveredLinkURL.isEmpty()) {
- ewk_view_mouse_link_hover_out(m_view);
- m_hoveredLinkURL = URL();
- }
-}
-
-void ChromeClientEfl::setToolTip(const String& toolTip, TextDirection)
-{
- ewk_view_tooltip_text_set(m_view, toolTip.utf8().data());
-}
-
-void ChromeClientEfl::print(Frame*)
-{
- notImplemented();
-}
-
-void ChromeClientEfl::reachedMaxAppCacheSize(int64_t /*spaceNeeded*/)
-{
- // FIXME: Free some space.
- notImplemented();
-}
-
-void ChromeClientEfl::reachedApplicationCacheOriginQuota(SecurityOrigin* origin, int64_t totalSpaceNeeded)
-{
- Ewk_Security_Origin* ewkOrigin = ewk_security_origin_new(origin);
- int64_t defaultOriginQuota = WebCore::cacheStorage().defaultOriginQuota();
-
- int64_t newQuota = ewk_view_exceeded_application_cache_quota(m_view, ewkOrigin, defaultOriginQuota, totalSpaceNeeded);
- if (newQuota)
- ewk_security_origin_application_cache_quota_set(ewkOrigin, newQuota);
-
- ewk_security_origin_free(ewkOrigin);
-}
-
-void ChromeClientEfl::populateVisitedLinks()
-{
- evas_object_smart_callback_call(m_view, "populate,visited,links", 0);
-}
-
-#if ENABLE(TOUCH_EVENTS)
-void ChromeClientEfl::needTouchEvents(bool needed)
-{
- ewk_view_need_touch_events_set(m_view, needed);
-}
-#endif
-
-#if ENABLE(SQL_DATABASE)
-void ChromeClientEfl::exceededDatabaseQuota(Frame* frame, const String& databaseName, DatabaseDetails details)
-{
- uint64_t quota;
- SecurityOrigin* origin = frame->document()->securityOrigin();
-
- quota = ewk_view_exceeded_database_quota(m_view,
- kit(frame), databaseName.utf8().data(),
- details.currentUsage(), details.expectedUsage());
-
- /* if client did not set quota, and database is being created now, the
- * default quota is applied
- */
- if (!quota && !DatabaseManager::manager().hasEntryForOrigin(origin))
- quota = ewk_settings_web_database_default_quota_get();
-
- DatabaseManager::manager().setQuota(origin, quota);
-}
-#endif
-
-#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
-NotificationClient* ChromeClientEfl::notificationPresenter() const
-{
- notImplemented();
- return 0;
-}
-#endif
-
-#if ENABLE(INPUT_TYPE_COLOR)
-PassOwnPtr<ColorChooser> ChromeClientEfl::createColorChooser(ColorChooserClient* colorChooserClient, const Color& initialColor)
-{
- ewk_view_color_chooser_new(m_view, colorChooserClient, initialColor);
-
- return adoptPtr(new ColorChooserEfl(this));
-}
-
-void ChromeClientEfl::removeColorChooser()
-{
- ewk_view_color_chooser_destroy(m_view);
-}
-
-void ChromeClientEfl::updateColorChooser(const Color& color)
-{
- ewk_view_color_chooser_changed(m_view, color);
-}
-#endif
-
-void ChromeClientEfl::runOpenPanel(Frame* frame, PassRefPtr<FileChooser> prpFileChooser)
-{
- RefPtr<FileChooser> chooser = prpFileChooser;
- Eina_List* selectedFilenames = 0;
- Ewk_File_Chooser* fileChooser = ewk_file_chooser_new(chooser.get());
- bool confirm = ewk_view_run_open_panel(m_view, kit(frame), fileChooser, &selectedFilenames);
- ewk_file_chooser_free(fileChooser);
- if (!confirm)
- return;
-
- void* filename;
- Vector<String> filenames;
- EINA_LIST_FREE(selectedFilenames, filename) {
- filenames.append(String::fromUTF8(static_cast<char*>(filename)));
- free(filename);
- }
-
- if (chooser->settings().allowsMultipleFiles)
- chooser->chooseFiles(filenames);
- else
- chooser->chooseFile(filenames[0]);
-}
-
-void ChromeClientEfl::setCursor(const Cursor& cursor)
-{
- ewk_view_cursor_set(m_view, cursor);
-}
-
-void ChromeClientEfl::setCursorHiddenUntilMouseMoves(bool)
-{
- notImplemented();
-}
-
-#if ENABLE(REQUEST_ANIMATION_FRAME) && !USE(REQUEST_ANIMATION_FRAME_TIMER)
-void ChromeClientEfl::scheduleAnimation()
-{
- notImplemented();
-}
-#endif
-
-void ChromeClientEfl::loadIconForFiles(const Vector<String>&, FileIconLoader*)
-{
- notImplemented();
-}
-
-void ChromeClientEfl::dispatchViewportPropertiesDidChange(const ViewportArguments& arguments) const
-{
- ewk_view_viewport_attributes_set(m_view, arguments);
-}
-
-bool ChromeClientEfl::selectItemWritingDirectionIsNatural()
-{
- return true;
-}
-
-bool ChromeClientEfl::selectItemAlignmentFollowsMenuWritingDirection()
-{
- return false;
-}
-
-bool ChromeClientEfl::hasOpenedPopup() const
-{
- notImplemented();
- return false;
-}
-
-PassRefPtr<PopupMenu> ChromeClientEfl::createPopupMenu(PopupMenuClient* client) const
-{
- return adoptRef(new PopupMenuEfl(client));
-}
-
-PassRefPtr<SearchPopupMenu> ChromeClientEfl::createSearchPopupMenu(PopupMenuClient* client) const
-{
- return adoptRef(new SearchPopupMenuEfl(client));
-}
-
-void ChromeClientEfl::attachRootGraphicsLayer(Frame*, GraphicsLayer* rootLayer)
-{
- ewk_view_root_graphics_layer_set(m_view, rootLayer);
-}
-
-void ChromeClientEfl::setNeedsOneShotDrawingSynchronization()
-{
- ewk_view_mark_for_sync(m_view);
-}
-
-void ChromeClientEfl::scheduleCompositingLayerFlush()
-{
- ewk_view_mark_for_sync(m_view);
-}
-
-ChromeClient::CompositingTriggerFlags ChromeClientEfl::allowedCompositingTriggers() const
-{
- return AllTriggers;
-}
-
-#if ENABLE(FULLSCREEN_API)
-bool ChromeClientEfl::supportsFullScreenForElement(const WebCore::Element* element, bool withKeyboard)
-{
- UNUSED_PARAM(withKeyboard);
-
- if (!element->document().page())
- return false;
- return element->document().page()->settings().fullScreenEnabled();
-}
-
-void ChromeClientEfl::enterFullScreenForElement(WebCore::Element* element)
-{
- // Keep a reference to the element to use it later in
- // exitFullScreenForElement().
- m_fullScreenElement = element;
-
- element->document().webkitWillEnterFullScreenForElement(element);
- ewk_view_fullscreen_enter(m_view);
- element->document().webkitDidEnterFullScreenForElement(element);
-}
-
-void ChromeClientEfl::exitFullScreenForElement(WebCore::Element*)
-{
- // The element passed into this function is not reliable, i.e. it could
- // be null. In addition the parameter may be disappearing in the future.
- // So we use the reference to the element we saved above.
- ASSERT(m_fullScreenElement);
-
- m_fullScreenElement->document().webkitWillExitFullScreenForElement(m_fullScreenElement.get());
- ewk_view_fullscreen_exit(m_view);
- m_fullScreenElement->document().webkitDidExitFullScreenForElement(m_fullScreenElement.get());
-
- m_fullScreenElement.clear();
-}
-#endif
-
-#if USE(TILED_BACKING_STORE)
-void ChromeClientEfl::delegatedScrollRequested(const IntPoint&)
-{
- notImplemented();
-}
-
-IntRect ChromeClientEfl::visibleRectForTiledBackingStore() const
-{
- WebCore::FloatRect rect = ewk_view_page_rect_get(m_view);
- const Evas_Object* frame = ewk_view_frame_main_get(m_view);
-
- int x, y;
- ewk_frame_scroll_pos_get(frame, &x, &y);
- return IntRect(x, y, rect.width(), rect.height());
-}
-#endif
-
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportChromeClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,187 +0,0 @@
</span><del>-/*
- * Copyright (C) 2007 Holger Hans Peter Freyther
- * Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
- * Copyright (C) 2009-2010 ProFUSION embedded systems
- * Copyright (C) 2009-2010 Samsung Electronics
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef ChromeClientEfl_h
-#define ChromeClientEfl_h
-
-#include "ChromeClient.h"
-#include "URL.h"
-#include "PopupMenu.h"
-
-#if ENABLE(INPUT_TYPE_COLOR)
-#include "ColorChooser.h"
-#endif
-
-#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
-#include "NotificationClient.h"
-#endif
-
-namespace WebCore {
-
-class ChromeClientEfl final : public ChromeClient {
-public:
- explicit ChromeClientEfl(Evas_Object* view);
- virtual ~ChromeClientEfl();
-
- virtual void chromeDestroyed() override;
-
- virtual void setWindowRect(const FloatRect&) override;
- virtual FloatRect windowRect() override;
-
- virtual FloatRect pageRect() override;
-
- virtual void focus() override;
- virtual void unfocus() override;
-
- virtual bool canTakeFocus(FocusDirection) override;
- virtual void takeFocus(FocusDirection) override;
-
- virtual void focusedElementChanged(Element*) override;
- virtual void focusedFrameChanged(Frame*) override;
-
- virtual Page* createWindow(Frame*, const FrameLoadRequest&, const WindowFeatures&, const NavigationAction&) override;
- virtual void show() override;
-
- virtual bool canRunModal() override;
- virtual void runModal() override;
-
- virtual void setToolbarsVisible(bool) override;
- virtual bool toolbarsVisible() override;
-
- virtual void setStatusbarVisible(bool) override;
- virtual bool statusbarVisible() override;
-
- virtual void setScrollbarsVisible(bool) override;
- virtual bool scrollbarsVisible() override;
-
- virtual void setMenubarVisible(bool) override;
- virtual bool menubarVisible() override;
-
- void createSelectPopup(PopupMenuClient*, int selected, const IntRect&);
- bool destroySelectPopup();
-
- virtual void setResizable(bool) override;
-
- virtual void addMessageToConsole(MessageSource, MessageLevel, const String& message, unsigned lineNumber, unsigned columnNumber, const String& sourceID) override;
-
- virtual bool canRunBeforeUnloadConfirmPanel() override;
- virtual bool runBeforeUnloadConfirmPanel(const String& message, Frame*) override;
-
- virtual void closeWindowSoon() override;
-
- virtual void runJavaScriptAlert(Frame*, const String&) override;
- virtual bool runJavaScriptConfirm(Frame*, const String&) override;
- virtual bool runJavaScriptPrompt(Frame*, const String& message, const String& defaultValue, String& result) override;
- virtual void setStatusbarText(const String&) override;
- virtual bool shouldInterruptJavaScript() override;
- virtual WebCore::KeyboardUIMode keyboardUIMode() override;
-
- virtual IntRect windowResizerRect() const override;
-
- virtual void contentsSizeChanged(Frame*, const IntSize&) const override;
- virtual IntPoint screenToRootView(const IntPoint&) const override;
- virtual IntRect rootViewToScreen(const IntRect&) const override;
- virtual PlatformPageClient platformPageClient() const override;
-
- virtual void scrollbarsModeDidChange() const override;
- virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifierFlags) override;
-
- virtual void setToolTip(const String&, TextDirection) override;
-
- virtual void print(Frame*) override;
-
-#if ENABLE(SQL_DATABASE)
- virtual void exceededDatabaseQuota(Frame*, const String&, DatabaseDetails) override;
-#endif
-
-#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
- virtual WebCore::NotificationClient* notificationPresenter() const override;
-#endif
-
- virtual void reachedMaxAppCacheSize(int64_t spaceNeeded) override;
- virtual void reachedApplicationCacheOriginQuota(SecurityOrigin*, int64_t totalSpaceNeeded) override;
-
- virtual void populateVisitedLinks() override;
-
-#if ENABLE(TOUCH_EVENTS)
- virtual void needTouchEvents(bool) override;
-#endif
-
- virtual void attachRootGraphicsLayer(Frame*, GraphicsLayer*) override;
- virtual void setNeedsOneShotDrawingSynchronization() override;
- virtual void scheduleCompositingLayerFlush() override;
- virtual CompositingTriggerFlags allowedCompositingTriggers() const override;
-
-#if ENABLE(FULLSCREEN_API)
- virtual bool supportsFullScreenForElement(const WebCore::Element*, bool withKeyboard) override;
- virtual void enterFullScreenForElement(WebCore::Element*) override;
- virtual void exitFullScreenForElement(WebCore::Element*) override;
-#endif
-
-#if ENABLE(INPUT_TYPE_COLOR)
- virtual PassOwnPtr<ColorChooser> createColorChooser(ColorChooserClient*, const Color&) override;
- void removeColorChooser();
- void updateColorChooser(const Color&);
-#endif
-
- virtual void runOpenPanel(Frame*, PassRefPtr<FileChooser>) override;
- virtual void loadIconForFiles(const Vector<String>&, FileIconLoader*) override;
-
- virtual void setCursor(const Cursor&) override;
- virtual void setCursorHiddenUntilMouseMoves(bool) override;
-
-#if ENABLE(REQUEST_ANIMATION_FRAME) && !USE(REQUEST_ANIMATION_FRAME_TIMER)
- virtual void scheduleAnimation() override;
-#endif
-
- virtual void scrollRectIntoView(const IntRect&) const override { }
-
- virtual void invalidateRootView(const IntRect&) override { }
- virtual void invalidateContentsAndRootView(const IntRect&) override { }
- virtual void invalidateContentsForSlowScroll(const IntRect&) override { }
- virtual void scroll(const IntSize&, const IntRect&, const IntRect&) override { }
-
- virtual void dispatchViewportPropertiesDidChange(const ViewportArguments&) const override;
-
- virtual bool selectItemWritingDirectionIsNatural() override;
- virtual bool selectItemAlignmentFollowsMenuWritingDirection() override;
- virtual bool hasOpenedPopup() const override;
- virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const override;
- virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*) const override;
-
- virtual void numWheelEventHandlersChanged(unsigned) override { }
-
-#if USE(TILED_BACKING_STORE)
- virtual void delegatedScrollRequested(const IntPoint& scrollPoint) override;
- virtual IntRect visibleRectForTiledBackingStore() const override;
-#endif
-
- Evas_Object* m_view;
- URL m_hoveredLinkURL;
-#if ENABLE(FULLSCREEN_API)
- RefPtr<Element> m_fullScreenElement;
-#endif
-};
-}
-
-#endif // ChromeClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportColorChooserEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/ColorChooserEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/ColorChooserEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/ColorChooserEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,61 +0,0 @@
</span><del>-/*
- * Copyright (c) 2012, Intel Corporation
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * * Neither the name of Intel Corporation nor the names of its contributors may
- * be used to endorse or promote products derived from this software without
- * specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-
-#if ENABLE(INPUT_TYPE_COLOR)
-
-#include "ColorChooserEfl.h"
-
-#include "ChromeClientEfl.h"
-
-namespace WebCore {
-
-ColorChooserEfl::ColorChooserEfl(ChromeClientEfl* chromeClient)
- : m_chromeClient(chromeClient)
-{
- ASSERT(m_chromeClient);
-}
-
-ColorChooserEfl::~ColorChooserEfl()
-{
-}
-
-void ColorChooserEfl::setSelectedColor(const Color& color)
-{
- m_chromeClient->updateColorChooser(color);
-}
-
-void ColorChooserEfl::endChooser()
-{
- m_chromeClient->removeColorChooser();
-}
-
-}
-
-#endif // ENABLE(INPUT_TYPE_COLOR)
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportColorChooserEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/ColorChooserEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/ColorChooserEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/ColorChooserEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,56 +0,0 @@
</span><del>-/*
- * Copyright (c) 2012, Intel Corporation
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * * Neither the name of Intel Corporation nor the names of its contributors may
- * be used to endorse or promote products derived from this software without
- * specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef ColorChooserEfl_h
-#define ColorChooserEfl_h
-
-#include "Color.h"
-#include "ColorChooser.h"
-
-#include <Evas.h>
-
-namespace WebCore {
-
-class ChromeClientEfl;
-
-class ColorChooserEfl : public ColorChooser {
-public:
- explicit ColorChooserEfl(ChromeClientEfl*);
- ~ColorChooserEfl();
-
- // ColorChooser implementation.
- virtual void setSelectedColor(const Color&);
- virtual void endChooser();
-
-private:
- ChromeClientEfl* m_chromeClient;
-};
-
-}
-
-#endif // ColorChooserEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportContextMenuClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/ContextMenuClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/ContextMenuClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/ContextMenuClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,91 +0,0 @@
</span><del>-/*
- * Copyright (C) 2008 Apple Inc. All rights reserved.
- * Copyright (C) 2009 Igalia S.L.
- * Copyright (C) 2010 ProFUSION embedded systems
- * Copyright (C) 2012 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "ContextMenuClientEfl.h"
-
-#if ENABLE(CONTEXT_MENUS)
-
-#include "ContextMenu.h"
-#include "HitTestResult.h"
-#include "URL.h"
-#include "NotImplemented.h"
-#include <wtf/RefCounted.h>
-
-namespace WebCore {
-
-void ContextMenuClientEfl::contextMenuDestroyed()
-{
- delete this;
-}
-
-PassOwnPtr<ContextMenu> ContextMenuClientEfl::customizeMenu(PassOwnPtr<ContextMenu> menu)
-{
- // We ignore this client callback and do context menu customization when we are told to show the menu.
- return menu;
-}
-
-void ContextMenuClientEfl::contextMenuItemSelected(ContextMenuItem*, const ContextMenu*)
-{
- notImplemented();
-}
-
-void ContextMenuClientEfl::downloadURL(const URL&)
-{
- notImplemented();
-}
-
-void ContextMenuClientEfl::lookUpInDictionary(Frame*)
-{
- notImplemented();
-}
-
-void ContextMenuClientEfl::speak(const String&)
-{
- notImplemented();
-}
-
-bool ContextMenuClientEfl::isSpeaking()
-{
- notImplemented();
- return false;
-}
-
-void ContextMenuClientEfl::stopSpeaking()
-{
- notImplemented();
-}
-
-void ContextMenuClientEfl::searchWithGoogle(const Frame*)
-{
- notImplemented();
-}
-
-}
-
-#endif // ENABLE(CONTEXT_MENUS)
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportContextMenuClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/ContextMenuClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/ContextMenuClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/ContextMenuClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-/*
- * Copyright (C) 2008 Apple Inc. All rights reserved.
- * Copyright (C) 2009 Igalia S.L.
- * Copyright (C) 2010 ProFUSION embedded systems
- * Copyright (C) 2012 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef ContextMenuClientEfl_h
-#define ContextMenuClientEfl_h
-
-#if ENABLE(CONTEXT_MENUS)
-
-#include "ContextMenuClient.h"
-
-#include <wtf/RefCounted.h>
-
-namespace WebCore {
-class ContextMenu;
-
-class ContextMenuClientEfl : public ContextMenuClient {
-public:
- virtual void contextMenuDestroyed();
-
- virtual PassOwnPtr<ContextMenu> customizeMenu(PassOwnPtr<ContextMenu>);
- virtual void contextMenuItemSelected(ContextMenuItem*, const ContextMenu*);
-
- virtual void downloadURL(const URL&);
- virtual void lookUpInDictionary(Frame*);
- virtual void speak(const String&);
- virtual bool isSpeaking();
- virtual void stopSpeaking();
- virtual void searchWithGoogle(const Frame*);
-};
-}
-
-#endif // ENABLE(CONTEXT_MENUS)
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportDeviceMotionClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/DeviceMotionClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/DeviceMotionClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DeviceMotionClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,72 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Samsung Electronics
- *
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-
-#if ENABLE(DEVICE_ORIENTATION)
-#include "DeviceMotionClientEfl.h"
-
-#include "NotImplemented.h"
-
-namespace WebCore {
-
-DeviceMotionClientEfl::DeviceMotionClientEfl()
-{
-}
-
-DeviceMotionClientEfl::~DeviceMotionClientEfl()
-{
-}
-
-void DeviceMotionClientEfl::deviceMotionControllerDestroyed()
-{
- delete this;
-}
-
-void DeviceMotionClientEfl::setController(DeviceMotionController* controller)
-{
- m_controller = controller;
-}
-
-void DeviceMotionClientEfl::startUpdating()
-{
- notImplemented();
-}
-
-void DeviceMotionClientEfl::stopUpdating()
-{
- notImplemented();
-}
-
-DeviceMotionData* DeviceMotionClientEfl::lastMotion() const
-{
- notImplemented();
- return 0;
-}
-
-}
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportDeviceMotionClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/DeviceMotionClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/DeviceMotionClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DeviceMotionClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-#ifndef DeviceMotionClientEfl_h
-#define DeviceMotionClientEfl_h
-
-#if ENABLE(DEVICE_ORIENTATION)
-
-#include "DeviceMotionClient.h"
-#include "DeviceMotionData.h"
-
-namespace WebCore {
-
-class DeviceMotionClientEfl : public DeviceMotionClient {
-public:
- DeviceMotionClientEfl();
- virtual ~DeviceMotionClientEfl();
-
- virtual void setController(DeviceMotionController*);
- virtual void startUpdating();
- virtual void stopUpdating();
- virtual DeviceMotionData* lastMotion() const;
- virtual void deviceMotionControllerDestroyed();
-
-private:
- DeviceMotionController* m_controller;
-};
-
-} // namespece WebCore
-
-#endif
-#endif // DeviceMotionClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportDeviceOrientationClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/DeviceOrientationClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/DeviceOrientationClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DeviceOrientationClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,72 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Samsung Electronics
- *
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-
-#if ENABLE(DEVICE_ORIENTATION)
-#include "DeviceOrientationClientEfl.h"
-
-#include "NotImplemented.h"
-
-namespace WebCore {
-
-DeviceOrientationClientEfl::DeviceOrientationClientEfl()
-{
-}
-
-DeviceOrientationClientEfl::~DeviceOrientationClientEfl()
-{
-}
-
-void DeviceOrientationClientEfl::deviceOrientationControllerDestroyed()
-{
- delete this;
-}
-
-void DeviceOrientationClientEfl::setController(DeviceOrientationController* controller)
-{
- m_controller = controller;
-}
-
-void DeviceOrientationClientEfl::startUpdating()
-{
- notImplemented();
-}
-
-void DeviceOrientationClientEfl::stopUpdating()
-{
- notImplemented();
-}
-
-DeviceOrientationData* DeviceOrientationClientEfl::lastOrientation() const
-{
- notImplemented();
- return 0;
-}
-
-}
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportDeviceOrientationClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/DeviceOrientationClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/DeviceOrientationClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DeviceOrientationClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,45 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-#ifndef DeviceOrientationClientEfl_h
-#define DeviceOrientationClientEfl_h
-
-#include "DeviceOrientationClient.h"
-#include "DeviceOrientationData.h"
-
-namespace WebCore {
-
-class DeviceOrientationClientEfl : public DeviceOrientationClient {
-public:
- DeviceOrientationClientEfl();
- virtual ~DeviceOrientationClientEfl();
-
- virtual void setController(DeviceOrientationController*);
- virtual void startUpdating();
- virtual void stopUpdating();
- virtual DeviceOrientationData* lastOrientation() const;
- virtual void deviceOrientationControllerDestroyed();
-
-private:
- DeviceOrientationController* m_controller;
-};
-
-} // namespace WebCore
-
-#endif // DeviceOrientationClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportDragClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/DragClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/DragClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DragClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,68 +0,0 @@
</span><del>-/*
- * Copyright (C) 2007 Apple Inc. All rights reserved.
- * Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
- * Copyright (C) 2009-2010 ProFUSION embedded systems
- * Copyright (C) 2009-2010 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "DragClientEfl.h"
-
-#include "NotImplemented.h"
-
-using namespace WebCore;
-
-namespace WebCore {
-
-void DragClientEfl::willPerformDragDestinationAction(DragDestinationAction, DragData&)
-{
- notImplemented();
-}
-
-void DragClientEfl::willPerformDragSourceAction(DragSourceAction, const IntPoint&, DataTransfer&)
-{
- notImplemented();
-}
-
-DragDestinationAction DragClientEfl::actionMaskForDrag(DragData&)
-{
- return DragDestinationActionAny;
-}
-
-DragSourceAction DragClientEfl::dragSourceActionMaskForPoint(const IntPoint&)
-{
- return DragSourceActionAny;
-}
-
-void DragClientEfl::startDrag(DragImageRef, const IntPoint&, const IntPoint&, DataTransfer&, Frame&, bool)
-{
- notImplemented();
-}
-
-void DragClientEfl::dragControllerDestroyed()
-{
- delete this;
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportDragClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/DragClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/DragClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DragClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,53 +0,0 @@
</span><del>-/*
- * Copyright (C) 2007 Apple Inc. All rights reserved.
- * Copyright (C) 2007 Holger Hans Peter Freyther
- * Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
- * Copyright (C) 2009-2010 ProFUSION embedded systems
- * Copyright (C) 2009-2010 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple, Inc. ("Apple") nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef DragClientEfl_h
-#define DragClientEfl_h
-
-#include "DragClient.h"
-
-namespace WebCore {
-
-class DragClientEfl : public WebCore::DragClient {
-public:
- virtual void dragControllerDestroyed();
-
- virtual void willPerformDragDestinationAction(WebCore::DragDestinationAction, WebCore::DragData&);
- virtual void willPerformDragSourceAction(WebCore::DragSourceAction, const WebCore::IntPoint&, WebCore::DataTransfer&);
- virtual WebCore::DragDestinationAction actionMaskForDrag(WebCore::DragData&);
- virtual WebCore::DragSourceAction dragSourceActionMaskForPoint(const WebCore::IntPoint& windowPoint);
- virtual void startDrag(WebCore::DragImageRef, const WebCore::IntPoint& dragImageOrigin, const WebCore::IntPoint& eventPos, WebCore::DataTransfer&, WebCore::Frame&, bool linkDrag = false);
-};
-
-}
-
-#endif // DragClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportDumpRenderTreeSupportEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,754 +0,0 @@
</span><del>-/*
- Copyright (C) 2011 ProFUSION embedded systems
- Copyright (C) 2011 Samsung Electronics
- Copyright (C) 2012 Intel Corporation. All rights reserved.
- Copyright (C) 2013 Apple Inc. All rights reserved.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "DumpRenderTreeSupportEfl.h"
-
-#include "FrameLoaderClientEfl.h"
-#include "ewk_frame_private.h"
-#include "ewk_history_private.h"
-#include "ewk_private.h"
-#include "ewk_view_private.h"
-
-#include <APICast.h>
-#include <AnimationController.h>
-#include <DOMWindow.h>
-#include <DocumentLoader.h>
-#include <Editor.h>
-#include <EditorClientEfl.h>
-#include <Eina.h>
-#include <Evas.h>
-#include <FindOptions.h>
-#include <FloatSize.h>
-#include <FocusController.h>
-#include <FrameLoader.h>
-#include <FrameSelection.h>
-#include <FrameView.h>
-#include <HTMLInputElement.h>
-#include <InspectorController.h>
-#include <IntRect.h>
-#include <JSCSSStyleDeclaration.h>
-#include <JSDOMWindow.h>
-#include <JSElement.h>
-#include <JavaScriptCore/OpaqueJSString.h>
-#include <MemoryCache.h>
-#include <MutationObserver.h>
-#include <PageGroup.h>
-#include <PrintContext.h>
-#include <RenderTreeAsText.h>
-#include <ResourceLoadScheduler.h>
-#include <RuntimeEnabledFeatures.h>
-#include <SchemeRegistry.h>
-#include <ScriptController.h>
-#include <Settings.h>
-#include <TextIterator.h>
-#include <VisibleSelection.h>
-#include <bindings/ScriptValue.h>
-#include <bindings/js/GCController.h>
-#include <history/HistoryItem.h>
-#include <wtf/HashMap.h>
-
-#if ENABLE(GEOLOCATION)
-#include <GeolocationClientMock.h>
-#include <GeolocationController.h>
-#include <GeolocationError.h>
-#include <GeolocationPosition.h>
-#include <wtf/CurrentTime.h>
-#endif
-
-#if HAVE(ACCESSIBILITY)
-#include "AXObjectCache.h"
-#include "AccessibilityObject.h"
-#include "WebKitAccessibleWrapperAtk.h"
-#endif
-
-#define DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, ...) \
- WebCore::Frame* frame = EWKPrivate::coreFrame(ewkFrame); \
- if (!frame) \
- return __VA_ARGS__;
-
-#define DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page, ...) \
- WebCore::Page* page = EWKPrivate::corePage(ewkView); \
- if (!page) \
- return __VA_ARGS__;
-
-bool DumpRenderTreeSupportEfl::s_drtRun = false;
-
-void DumpRenderTreeSupportEfl::setDumpRenderTreeModeEnabled(bool enabled)
-{
- s_drtRun = enabled;
-}
-
-bool DumpRenderTreeSupportEfl::dumpRenderTreeModeEnabled()
-{
- return s_drtRun;
-}
-
-bool DumpRenderTreeSupportEfl::callShouldCloseOnWebView(Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, false);
-
- return frame->loader().shouldClose();
-}
-
-void DumpRenderTreeSupportEfl::clearFrameName(Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame);
-
- frame->tree().clearName();
-}
-
-void DumpRenderTreeSupportEfl::clearOpener(Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame);
-
- frame->loader().setOpener(0);
-}
-
-String DumpRenderTreeSupportEfl::layerTreeAsText(const Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, String());
-
- return frame->layerTreeAsText();
-}
-
-Eina_List* DumpRenderTreeSupportEfl::frameChildren(const Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, 0);
-
- Eina_List* childFrames = 0;
-
- for (unsigned index = 0; index < frame->tree().childCount(); index++) {
- WebCore::Frame *childFrame = frame->tree().child(index);
- WebCore::FrameLoaderClientEfl& client = static_cast<WebCore::FrameLoaderClientEfl&>(childFrame->loader().client());
-
- childFrames = eina_list_append(childFrames, client.webFrame());
- }
-
- return childFrames;
-}
-
-WebCore::Frame* DumpRenderTreeSupportEfl::frameParent(const Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, 0);
-
- return frame->tree().parent();
-}
-
-void DumpRenderTreeSupportEfl::layoutFrame(Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame);
-
- if (!frame->view())
- return;
-
- frame->view()->layout();
-}
-
-unsigned DumpRenderTreeSupportEfl::pendingUnloadEventCount(const Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, 0);
-
- return frame->document()->domWindow()->pendingUnloadEventListeners();
-}
-
-String DumpRenderTreeSupportEfl::renderTreeDump(Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, String());
-
- WebCore::FrameView *frameView = frame->view();
-
- if (frameView && frameView->layoutPending())
- frameView->layout();
-
- return WebCore::externalRepresentation(frame);
-}
-
-String DumpRenderTreeSupportEfl::responseMimeType(const Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, String());
-
- WebCore::DocumentLoader *documentLoader = frame->loader().documentLoader();
-
- if (!documentLoader)
- return String();
-
- return documentLoader->responseMIMEType();
-}
-
-WebCore::IntRect DumpRenderTreeSupportEfl::selectionRectangle(const Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, WebCore::IntRect());
-
- return enclosingIntRect(frame->selection().selectionBounds());
-}
-
-// Compare with "WebKit/Tools/DumpRenderTree/mac/FrameLoadDelegate.mm
-String DumpRenderTreeSupportEfl::suitableDRTFrameName(const Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, String());
-
- const String frameName(ewk_frame_name_get(ewkFrame));
-
- if (ewkFrame == ewk_view_frame_main_get(ewk_frame_view_get(ewkFrame))) {
- if (!frameName.isEmpty())
- return String("main frame \"") + frameName + String("\"");
-
- return String("main frame");
- }
-
- if (!frameName.isEmpty())
- return String("frame \"") + frameName + String("\"");
-
- return String("frame (anonymous)");
-}
-
-const WebCore::URL DumpRenderTreeSupportEfl::provisionalURL(const Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, WebCore::URL());
-
- WebCore::DocumentLoader* provisionalDocumentLoader = frame->loader().provisionalDocumentLoader();
- if (!provisionalDocumentLoader)
- return WebCore::URL();
-
- return provisionalDocumentLoader->url();
-}
-
-void DumpRenderTreeSupportEfl::setValueForUser(JSContextRef context, JSValueRef nodeObject, const String& value)
-{
- JSC::ExecState* exec = toJS(context);
- WebCore::Element* element = WebCore::toElement(toJS(exec, nodeObject));
- if (!element)
- return;
- WebCore::HTMLInputElement* inputElement = element->toInputElement();
- if (!inputElement)
- return;
-
- inputElement->setValueForUser(value);
-}
-
-void DumpRenderTreeSupportEfl::setDefersLoading(Evas_Object* ewkView, bool defers)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->setDefersLoading(defers);
-}
-
-void DumpRenderTreeSupportEfl::setLoadsSiteIconsIgnoringImageLoadingSetting(Evas_Object* ewkView, bool loadsSiteIconsIgnoringImageLoadingPreferences)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->settings().setLoadsSiteIconsIgnoringImageLoadingSetting(loadsSiteIconsIgnoringImageLoadingPreferences);
-}
-
-void DumpRenderTreeSupportEfl::setMinimumLogicalFontSize(Evas_Object* ewkView, int size)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->settings().setMinimumLogicalFontSize(size);
-}
-
-void DumpRenderTreeSupportEfl::addUserScript(const Evas_Object* ewkView, const String& sourceCode, bool runAtStart, bool allFrames)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->group().addUserScriptToWorld(WebCore::mainThreadNormalWorld(), sourceCode, WebCore::URL(),
- Vector<String>(), Vector<String>(), runAtStart ? WebCore::InjectAtDocumentStart : WebCore::InjectAtDocumentEnd,
- allFrames ? WebCore::InjectInAllFrames : WebCore::InjectInTopFrameOnly);
-}
-
-void DumpRenderTreeSupportEfl::clearUserScripts(const Evas_Object* ewkView)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->group().removeUserScriptsFromWorld(WebCore::mainThreadNormalWorld());
-}
-
-void DumpRenderTreeSupportEfl::addUserStyleSheet(const Evas_Object* ewkView, const String& sourceCode, bool allFrames)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->group().addUserStyleSheetToWorld(WebCore::mainThreadNormalWorld(), sourceCode, WebCore::URL(), Vector<String>(), Vector<String>(), allFrames ? WebCore::InjectInAllFrames : WebCore::InjectInTopFrameOnly);
-}
-
-void DumpRenderTreeSupportEfl::clearUserStyleSheets(const Evas_Object* ewkView)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->group().removeUserStyleSheetsFromWorld(WebCore::mainThreadNormalWorld());
-}
-
-void DumpRenderTreeSupportEfl::executeCoreCommandByName(const Evas_Object* ewkView, const char* name, const char* value)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->focusController().focusedOrMainFrame().editor().command(name).execute(value);
-}
-
-bool DumpRenderTreeSupportEfl::findString(const Evas_Object* ewkView, const String& text, WebCore::FindOptions options)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page, false);
-
- return page->findString(text, options);
-}
-
-void DumpRenderTreeSupportEfl::setCSSRegionsEnabled(const Evas_Object* ewkView, bool enabled)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- WebCore::RuntimeEnabledFeatures::sharedFeatures().setCSSRegionsEnabled(enabled);
-}
-
-void DumpRenderTreeSupportEfl::setWebAudioEnabled(Evas_Object* ewkView, bool enabled)
-{
-#if ENABLE(WEB_AUDIO)
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->settings().setWebAudioEnabled(enabled);
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(enabled);
-#endif
-}
-
-bool DumpRenderTreeSupportEfl::isCommandEnabled(const Evas_Object* ewkView, const char* name)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page, false);
-
- return page->focusController().focusedOrMainFrame().editor().command(name).isEnabled();
-}
-
-void DumpRenderTreeSupportEfl::forceLayout(Evas_Object* ewkFrame)
-{
- ewk_frame_force_layout(ewkFrame);
-}
-
-void DumpRenderTreeSupportEfl::forcePaint(Evas_Object* ewkView)
-{
- ewk_view_force_paint(ewkView);
-}
-
-void DumpRenderTreeSupportEfl::setTracksRepaints(Evas_Object* ewkFrame, bool enabled)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame);
-
- if (frame->view())
- frame->view()->setTracksRepaints(enabled);
-}
-
-void DumpRenderTreeSupportEfl::resetTrackedRepaints(Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame);
-
- if (frame->view())
- frame->view()->resetTrackedRepaints();
-}
-
-bool DumpRenderTreeSupportEfl::isTrackingRepaints(const Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, false);
-
- if (!frame->view())
- return false;
-
- return frame->view()->isTrackingRepaints();
-}
-
-Eina_List* DumpRenderTreeSupportEfl::trackedRepaintRects(const Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, 0);
-
- if (!frame->view())
- return 0;
-
- const Vector<WebCore::FloatRect>& repaintRects = frame->view()->trackedRepaintRects();
- size_t count = repaintRects.size();
- Eina_List* rectList = 0;
-
- for (size_t i = 0; i < count; ++i) {
- Eina_Rectangle* rect = eina_rectangle_new(repaintRects[i].x(), repaintRects[i].y(), repaintRects[i].width(), repaintRects[i].height());
- rectList = eina_list_append(rectList, rect);
- }
-
- return rectList;
-}
-
-void DumpRenderTreeSupportEfl::garbageCollectorCollect()
-{
- WebCore::gcController().garbageCollectNow();
-}
-
-void DumpRenderTreeSupportEfl::garbageCollectorCollectOnAlternateThread(bool waitUntilDone)
-{
- WebCore::gcController().garbageCollectOnAlternateThreadForDebugging(waitUntilDone);
-}
-
-size_t DumpRenderTreeSupportEfl::javaScriptObjectsCount()
-{
- return WebCore::JSDOMWindow::commonVM().heap.objectCount();
-}
-
-void DumpRenderTreeSupportEfl::setDeadDecodedDataDeletionInterval(double interval)
-{
- WebCore::memoryCache()->setDeadDecodedDataDeletionInterval(std::chrono::milliseconds { static_cast<std::chrono::milliseconds::rep>(interval * 1000) });
-}
-
-HistoryItemChildrenVector DumpRenderTreeSupportEfl::childHistoryItems(const Ewk_History_Item* ewkHistoryItem)
-{
- WebCore::HistoryItem* historyItem = EWKPrivate::coreHistoryItem(ewkHistoryItem);
- HistoryItemChildrenVector kids;
-
- if (!historyItem)
- return kids;
-
- const WebCore::HistoryItemVector& children = historyItem->children();
- const unsigned size = children.size();
-
- for (unsigned i = 0; i < size; ++i) {
- Ewk_History_Item* kid = ewk_history_item_new_from_core(children[i].get());
- kids.append(kid);
- }
-
- return kids;
-}
-
-String DumpRenderTreeSupportEfl::historyItemTarget(const Ewk_History_Item* ewkHistoryItem)
-{
- WebCore::HistoryItem* historyItem = EWKPrivate::coreHistoryItem(ewkHistoryItem);
-
- if (!historyItem)
- return String();
-
- return historyItem->target();
-}
-
-bool DumpRenderTreeSupportEfl::isTargetItem(const Ewk_History_Item* ewkHistoryItem)
-{
- WebCore::HistoryItem* historyItem = EWKPrivate::coreHistoryItem(ewkHistoryItem);
-
- if (!historyItem)
- return false;
-
- return historyItem->isTargetItem();
-}
-
-void DumpRenderTreeSupportEfl::evaluateInWebInspector(const Evas_Object* ewkView, const String& script)
-{
-#if ENABLE(INSPECTOR)
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->inspectorController().evaluateForTestInFrontend(script);
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(script);
-#endif
-}
-
-void DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld(const Evas_Object* ewkFrame, int worldID, JSObjectRef globalObject, const String& script)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame);
-
- // Comment from mac: Start off with some guess at a frame and a global object, we'll try to do better...!
- WebCore::JSDOMWindow* anyWorldGlobalObject = frame->script().globalObject(WebCore::mainThreadNormalWorld());
-
- // Comment from mac: The global object is probably a shell object? - if so, we know how to use this!
- JSC::JSObject* globalObjectObj = toJS(globalObject);
- if (!strcmp(globalObjectObj->classInfo()->className, "JSDOMWindowShell"))
- anyWorldGlobalObject = static_cast<WebCore::JSDOMWindowShell*>(globalObjectObj)->window();
-
- // Comment from mac: Get the frame from the global object we've settled on.
- WebCore::Frame* globalFrame = anyWorldGlobalObject->impl().frame();
- if (!globalFrame)
- return;
-
- WebCore::ScriptController& proxy = globalFrame->script();
-
- static WTF::HashMap<int, WTF::RefPtr<WebCore::DOMWrapperWorld > > worldMap;
-
- WTF::RefPtr<WebCore::DOMWrapperWorld> scriptWorld;
- if (!worldID)
- scriptWorld = WebCore::ScriptController::createWorld();
- else {
- WTF::HashMap<int, RefPtr<WebCore::DOMWrapperWorld > >::const_iterator it = worldMap.find(worldID);
- if (it != worldMap.end())
- scriptWorld = (*it).value;
- else {
- scriptWorld = WebCore::ScriptController::createWorld();
- worldMap.set(worldID, scriptWorld);
- }
- }
-
- // The code below is only valid for JSC, V8 specific code is to be added
- // when V8 will be supported in EFL port. See Qt implemenation.
- proxy.executeScriptInWorld(*scriptWorld, script, true);
-}
-
-JSGlobalContextRef DumpRenderTreeSupportEfl::globalContextRefForFrame(const Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, 0);
-
- return toGlobalRef(frame->script().globalObject(WebCore::mainThreadNormalWorld())->globalExec());
-}
-
-void DumpRenderTreeSupportEfl::setMockScrollbarsEnabled(bool enable)
-{
- WebCore::Settings::setMockScrollbarsEnabled(enable);
-}
-
-void DumpRenderTreeSupportEfl::deliverAllMutationsIfNecessary()
-{
- WebCore::MutationObserver::deliverAllMutations();
-}
-
-void DumpRenderTreeSupportEfl::setInteractiveFormValidationEnabled(Evas_Object* ewkView, bool enabled)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->settings().setInteractiveFormValidationEnabled(enabled);
-}
-
-void DumpRenderTreeSupportEfl::setValidationMessageTimerMagnification(Evas_Object* ewkView, int value)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->settings().setValidationMessageTimerMagnification(value);
-}
-
-void DumpRenderTreeSupportEfl::setAuthorAndUserStylesEnabled(Evas_Object* ewkView, bool enabled)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- page->settings().setAuthorAndUserStylesEnabled(enabled);
-}
-
-void DumpRenderTreeSupportEfl::setSerializeHTTPLoads(bool enabled)
-{
- WebCore::resourceLoadScheduler()->setSerialLoadingEnabled(enabled);
-}
-
-void DumpRenderTreeSupportEfl::setShouldTrackVisitedLinks(bool shouldTrack)
-{
- WebCore::PageGroup::setShouldTrackVisitedLinks(shouldTrack);
-}
-
-void DumpRenderTreeSupportEfl::setComposition(Evas_Object* ewkView, const char* text, int start, int length)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- WebCore::Editor& editor = page->focusController().focusedOrMainFrame().editor();
- if (!editor.canEdit() && !editor.hasComposition())
- return;
-
- const String compositionString = String::fromUTF8(text);
- Vector<WebCore::CompositionUnderline> underlines;
- underlines.append(WebCore::CompositionUnderline(0, compositionString.length(), WebCore::Color(0, 0, 0), false));
- editor.setComposition(compositionString, underlines, start, start + length);
-}
-
-bool DumpRenderTreeSupportEfl::hasComposition(const Evas_Object* ewkView)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page, false);
-
- return page->focusController().focusedOrMainFrame().editor().hasComposition();
-}
-
-bool DumpRenderTreeSupportEfl::compositionRange(Evas_Object* ewkView, int* start, int* length)
-{
- *start = *length = 0;
-
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page, false);
-
- WebCore::Editor& editor = page->focusController().focusedOrMainFrame().editor();
- if (!editor.hasComposition())
- return false;
-
- *start = editor.compositionStart();
- *length = editor.compositionEnd() - *start;
- return true;
-}
-
-void DumpRenderTreeSupportEfl::confirmComposition(Evas_Object* ewkView, const char* text)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- WebCore::Editor& editor = page->focusController().focusedOrMainFrame().editor();
-
- if (!editor.hasComposition()) {
- editor.insertText(String::fromUTF8(text), 0);
- return;
- }
-
- if (text) {
- editor.confirmComposition(String::fromUTF8(text));
- return;
- }
- editor.confirmComposition();
-}
-
-WebCore::IntRect DumpRenderTreeSupportEfl::firstRectForCharacterRange(Evas_Object* ewkView, int location, int length)
-{
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page, WebCore::IntRect());
-
- if ((location + length < location) && (location + length))
- length = 0;
-
- WebCore::Frame& frame = page->focusController().focusedOrMainFrame();
-
- RefPtr<WebCore::Range> range = WebCore::TextIterator::rangeFromLocationAndLength(frame.selection().rootEditableElementOrDocumentElement(), location, length);
- if (!range)
- return WebCore::IntRect();
-
- return frame.editor().firstRectForRange(range.get());
-}
-
-bool DumpRenderTreeSupportEfl::selectedRange(Evas_Object* ewkView, int* start, int* length)
-{
- if (!(start && length))
- return false;
-
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page, false);
-
- WebCore::Frame& frame = page->focusController().focusedOrMainFrame();
- const WebCore::VisibleSelection& selection = frame.selection().selection();
- RefPtr<WebCore::Range> range = selection.toNormalizedRange().get();
- if (!range)
- return false;
-
- WebCore::Element* selectionRoot = selection.rootEditableElement();
- WebCore::Element* scope = selectionRoot ? selectionRoot : frame.document()->documentElement();
-
- RefPtr<WebCore::Range> testRange = WebCore::Range::create(scope->document(), scope, 0, range->startContainer(), range->startOffset());
- *start = WebCore::TextIterator::rangeLength(testRange.get());
-
- WebCore::ExceptionCode ec;
- testRange->setEnd(range->endContainer(), range->endOffset(), ec);
- *length = WebCore::TextIterator::rangeLength(testRange.get());
-
- return true;
-}
-
-void DumpRenderTreeSupportEfl::setDomainRelaxationForbiddenForURLScheme(bool forbidden, const String& scheme)
-{
- WebCore::SchemeRegistry::setDomainRelaxationForbiddenForURLScheme(forbidden, scheme);
-}
-
-void DumpRenderTreeSupportEfl::resetGeolocationClientMock(const Evas_Object* ewkView)
-{
-#if ENABLE(GEOLOCATION)
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- WebCore::GeolocationClientMock* mock = static_cast<WebCore::GeolocationClientMock*>(WebCore::GeolocationController::from(page)->client());
- mock->reset();
-#else
- UNUSED_PARAM(ewkView);
-#endif
-}
-
-void DumpRenderTreeSupportEfl::setMockGeolocationPermission(const Evas_Object* ewkView, bool allowed)
-{
-#if ENABLE(GEOLOCATION)
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- WebCore::GeolocationClientMock* mock = static_cast<WebCore::GeolocationClientMock*>(WebCore::GeolocationController::from(page)->client());
- mock->setPermission(allowed);
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(allowed);
-#endif
-}
-
-void DumpRenderTreeSupportEfl::setMockGeolocationPosition(const Evas_Object* ewkView, double latitude, double longitude, double accuracy, bool canProvideAltitude, double altitude, bool canProvideAltitudeAccuracy, double altitudeAccuracy, bool canProvideHeading, double heading, bool canProvideSpeed, double speed)
-{
-#if ENABLE(GEOLOCATION)
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- WebCore::GeolocationClientMock* mock = static_cast<WebCore::GeolocationClientMock*>(WebCore::GeolocationController::from(page)->client());
- mock->setPosition(WebCore::GeolocationPosition::create(currentTime(), latitude, longitude, accuracy, canProvideAltitude, altitude, canProvideAltitudeAccuracy, altitudeAccuracy, canProvideHeading, heading, canProvideSpeed, speed));
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(latitude);
- UNUSED_PARAM(longitude);
- UNUSED_PARAM(accuracy);
- UNUSED_PARAM(canProvideAltitude);
- UNUSED_PARAM(altitude);
- UNUSED_PARAM(canProvideAltitudeAccuracy);
- UNUSED_PARAM(altitudeAccuracy);
- UNUSED_PARAM(canProvideHeading);
- UNUSED_PARAM(heading);
- UNUSED_PARAM(canProvideSpeed);
- UNUSED_PARAM(speed);
-#endif
-}
-
-void DumpRenderTreeSupportEfl::setMockGeolocationPositionUnavailableError(const Evas_Object* ewkView, const char* errorMessage)
-{
-#if ENABLE(GEOLOCATION)
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
-
- WebCore::GeolocationClientMock* mock = static_cast<WebCore::GeolocationClientMock*>(WebCore::GeolocationController::from(page)->client());
- mock->setPositionUnavailableError(errorMessage);
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(errorMessage);
-#endif
-}
-
-int DumpRenderTreeSupportEfl::numberOfPendingGeolocationPermissionRequests(const Evas_Object* ewkView)
-{
-#if ENABLE(GEOLOCATION)
- DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page, -1);
-
- WebCore::GeolocationClientMock* mock = static_cast<WebCore::GeolocationClientMock*>(WebCore::GeolocationController::from(page)->client());
- return mock->numberOfPendingPermissionRequests();
-#else
- UNUSED_PARAM(ewkView);
- return 0;
-#endif
-}
-
-#if HAVE(ACCESSIBILITY)
-AtkObject* DumpRenderTreeSupportEfl::rootAccessibleElement(const Evas_Object* ewkFrame)
-{
- DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, 0);
-
- if (!WebCore::AXObjectCache::accessibilityEnabled())
- WebCore::AXObjectCache::enableAccessibility();
-
- if (!frame->document())
- return 0;
-
- AtkObject* wrapper = frame->document()->axObjectCache()->rootObject()->wrapper();
- if (!wrapper)
- return 0;
-
- return wrapper;
-}
-
-AtkObject* DumpRenderTreeSupportEfl::focusedAccessibleElement(const Evas_Object* ewkFrame)
-{
- AtkObject* wrapper = rootAccessibleElement(ewkFrame);
- if (!wrapper)
- return 0;
-
- return webkitAccessibleGetFocusedElement(WEBKIT_ACCESSIBLE(wrapper));
-}
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportDumpRenderTreeSupportEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,138 +0,0 @@
</span><del>-/*
- Copyright (C) 2011 ProFUSION embedded systems
- Copyright (C) 2011 Samsung Electronics
- Copyright (C) 2012 Intel Corporation. All rights reserved.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef DumpRenderTreeSupportEfl_h
-#define DumpRenderTreeSupportEfl_h
-
-#include "URL.h"
-#include <Eina.h>
-#include <FindOptions.h>
-#include <IntRect.h>
-#include <JavaScriptCore/APICast.h>
-#include <JavaScriptCore/JSStringRef.h>
-#include <wtf/Vector.h>
-#include <wtf/text/WTFString.h>
-
-#if HAVE(ACCESSIBILITY)
-#include <atk/atk.h>
-#endif
-
-typedef struct _Ewk_History_Item Ewk_History_Item;
-
-typedef Vector<Ewk_History_Item*> HistoryItemChildrenVector;
-
-namespace WebCore {
-class Frame;
-}
-
-class EAPI DumpRenderTreeSupportEfl {
-public:
- DumpRenderTreeSupportEfl() { }
-
- ~DumpRenderTreeSupportEfl() { }
-
- static void setDumpRenderTreeModeEnabled(bool);
- static bool dumpRenderTreeModeEnabled();
-
- static bool callShouldCloseOnWebView(Evas_Object* ewkFrame);
- static void clearFrameName(Evas_Object* ewkFrame);
- static void clearOpener(Evas_Object* ewkFrame);
- static String counterValueByElementId(const Evas_Object* ewkFrame, const char* elementId);
- static Eina_List* frameChildren(const Evas_Object* ewkFrame);
- static WebCore::Frame* frameParent(const Evas_Object* ewkFrame);
- static void layoutFrame(Evas_Object* ewkFrame);
- static unsigned pendingUnloadEventCount(const Evas_Object* ewkFrame);
- static String renderTreeDump(Evas_Object* ewkFrame);
- static String responseMimeType(const Evas_Object* ewkFrame);
- static WebCore::IntRect selectionRectangle(const Evas_Object* ewkFrame);
- static String suitableDRTFrameName(const Evas_Object* ewkFrame);
- static const WebCore::URL provisionalURL(const Evas_Object* ewkFrame);
- static String layerTreeAsText(const Evas_Object* ewkFrame);
- static void setValueForUser(JSContextRef, JSValueRef nodeObject, const String& value);
- static void setDefersLoading(Evas_Object* ewkView, bool defers);
- static void setLoadsSiteIconsIgnoringImageLoadingSetting(Evas_Object* ewkView, bool loadsSiteIconsIgnoringImageLoadingPreferences);
- static void setMinimumLogicalFontSize(Evas_Object* ewkView, int size);
-
- static void addUserScript(const Evas_Object* ewkView, const String& sourceCode, bool runAtStart, bool allFrames);
- static void clearUserScripts(const Evas_Object* ewkView);
- static void addUserStyleSheet(const Evas_Object* ewkView, const String& sourceCode, bool allFrames);
- static void clearUserStyleSheets(const Evas_Object* ewkView);
- static void executeCoreCommandByName(const Evas_Object* ewkView, const char* name, const char* value);
- static bool findString(const Evas_Object* ewkView, const String& text, WebCore::FindOptions);
- static bool isCommandEnabled(const Evas_Object* ewkView, const char* name);
- static void setCSSRegionsEnabled(const Evas_Object* ewkView, bool enabled);
- static void setWebAudioEnabled(Evas_Object* ewkView, bool);
-
- static void forceLayout(Evas_Object* ewkFrame);
- static void forcePaint(Evas_Object* ewkFrame);
- static void setTracksRepaints(Evas_Object* ewkFrame, bool enabled);
- static void resetTrackedRepaints(Evas_Object* ewkFrame);
- static bool isTrackingRepaints(const Evas_Object* ewkFrame);
- static Eina_List* trackedRepaintRects(const Evas_Object* ewkFrame);
-
- static void garbageCollectorCollect();
- static void garbageCollectorCollectOnAlternateThread(bool waitUntilDone);
- static size_t javaScriptObjectsCount();
-
- static void setDeadDecodedDataDeletionInterval(double);
-
- static HistoryItemChildrenVector childHistoryItems(const Ewk_History_Item*);
- static String historyItemTarget(const Ewk_History_Item*);
- static bool isTargetItem(const Ewk_History_Item*);
- static void evaluateInWebInspector(const Evas_Object* ewkView, const String& script);
- static void evaluateScriptInIsolatedWorld(const Evas_Object* ewkFrame, int worldID, JSObjectRef globalObject, const String& script);
- static JSGlobalContextRef globalContextRefForFrame(const Evas_Object* ewkFrame);
-
- static void setMockScrollbarsEnabled(bool);
-
- static void deliverAllMutationsIfNecessary();
- static void setInteractiveFormValidationEnabled(Evas_Object* ewkView, bool enabled);
- static void setValidationMessageTimerMagnification(Evas_Object* ewkView, int value);
- static void setAuthorAndUserStylesEnabled(Evas_Object* ewkView, bool);
- static void setDomainRelaxationForbiddenForURLScheme(bool forbidden, const String& scheme);
- static void setSerializeHTTPLoads(bool);
- static void setShouldTrackVisitedLinks(bool);
-
- // TextInputController
- static void setComposition(Evas_Object*, const char*, int, int);
- static bool hasComposition(const Evas_Object*);
- static bool compositionRange(Evas_Object*, int*, int*);
- static void confirmComposition(Evas_Object*, const char*);
- static WebCore::IntRect firstRectForCharacterRange(Evas_Object*, int, int);
- static bool selectedRange(Evas_Object*, int*, int*);
-
- // Geolocation
- static void resetGeolocationClientMock(const Evas_Object*);
- static void setMockGeolocationPermission(const Evas_Object*, bool allowed);
- static void setMockGeolocationPosition(const Evas_Object*, double latitude, double longitude, double accuracy, bool canProvideAltitude, double altitude, bool canProvideAltitudeAccuracy, double altitudeAccuracy, bool canProvideHeading, double heading, bool canProvideSpeed, double speed);
- static void setMockGeolocationPositionUnavailableError(const Evas_Object*, const char* errorMessage);
- static int numberOfPendingGeolocationPermissionRequests(const Evas_Object*);
-
-#if HAVE(ACCESSIBILITY)
- static AtkObject* focusedAccessibleElement(const Evas_Object*);
- static AtkObject* rootAccessibleElement(const Evas_Object*);
-#endif
-
-private:
- static bool s_drtRun;
-};
-
-#endif // DumpRenderTreeSupportEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportEditorClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/EditorClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/EditorClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/EditorClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,454 +0,0 @@
</span><del>-/*
- * Copyright (C) 2007 Alp Toker <alp@atoker.com>
- * Copyright (C) 2008 Nuanti Ltd.
- * Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
- * Copyright (C) 2009-2010 ProFUSION embedded systems
- * Copyright (C) 2009-2010 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include "config.h"
-#include "EditorClientEfl.h"
-
-#include "Document.h"
-#include "DumpRenderTreeSupportEfl.h"
-#include "Editor.h"
-#include "EflKeyboardUtilities.h"
-#include "EventNames.h"
-#include "FocusController.h"
-#include "Frame.h"
-#include "KeyboardEvent.h"
-#include "NotImplemented.h"
-#include "Page.h"
-#include "PlatformKeyboardEvent.h"
-#include "Settings.h"
-#include "UndoStep.h"
-#include "WindowsKeyboardCodes.h"
-#include "ewk_frame_private.h"
-#include "ewk_private.h"
-#include "ewk_view_private.h"
-
-using namespace WebCore;
-
-namespace WebCore {
-
-void EditorClientEfl::willSetInputMethodState()
-{
- notImplemented();
-}
-
-void EditorClientEfl::setInputMethodState(bool active)
-{
- ewk_view_input_method_state_set(m_view, active);
-}
-
-bool EditorClientEfl::shouldDeleteRange(Range* range)
-{
- evas_object_smart_callback_call(m_view, "editorclient,range,delete", range);
- return true;
-}
-
-bool EditorClientEfl::isContinuousSpellCheckingEnabled()
-{
- notImplemented();
- return false;
-}
-
-bool EditorClientEfl::isGrammarCheckingEnabled()
-{
- notImplemented();
- return false;
-}
-
-int EditorClientEfl::spellCheckerDocumentTag()
-{
- notImplemented();
- return 0;
-}
-
-bool EditorClientEfl::shouldBeginEditing(Range* range)
-{
- evas_object_smart_callback_call(m_view, "editorclient,editing,begin", range);
- return true;
-}
-
-bool EditorClientEfl::shouldEndEditing(Range* range)
-{
- evas_object_smart_callback_call(m_view, "editorclient,editing,end", range);
- return true;
-}
-
-bool EditorClientEfl::shouldInsertText(const String& text, Range* range, EditorInsertAction action)
-{
- CString protectedText = text.utf8();
- Ewk_Should_Insert_Text_Event shouldInsertTextEvent = { protectedText.data(), range, action };
- evas_object_smart_callback_call(m_view, "editorclient,text,insert", &shouldInsertTextEvent);
- return true;
-}
-
-bool EditorClientEfl::shouldChangeSelectedRange(Range* fromRange, Range* toRange, EAffinity affinity, bool stillSelecting)
-{
- Ewk_Should_Change_Selected_Range_Event shouldChangeSelectedRangeEvent = { fromRange, toRange, affinity, stillSelecting };
- evas_object_smart_callback_call(m_view, "editorclient,selected,range,change", &shouldChangeSelectedRangeEvent);
- return true;
-}
-
-bool EditorClientEfl::shouldApplyStyle(StyleProperties* style, Range* range)
-{
- Ewk_Should_Apply_Style_Event shouldApplyStyleEvent = { style, range };
- evas_object_smart_callback_call(m_view, "editorclient,style,apply", &shouldApplyStyleEvent);
- return true;
-}
-
-bool EditorClientEfl::shouldMoveRangeAfterDelete(Range*, Range*)
-{
- notImplemented();
- return true;
-}
-
-void EditorClientEfl::didBeginEditing()
-{
- evas_object_smart_callback_call(m_view, "editorclient,editing,began", 0);
-}
-
-void EditorClientEfl::respondToChangedContents()
-{
- Evas_Object* frame = ewk_view_frame_focused_get(m_view);
-
- if (!frame)
- frame = ewk_view_frame_main_get(m_view);
-
- if (!frame)
- return;
-
- ewk_frame_editor_client_contents_changed(frame);
-}
-
-void EditorClientEfl::respondToChangedSelection(Frame* coreFrame)
-{
- if (!coreFrame)
- return;
-
- if (coreFrame->editor().ignoreCompositionSelectionChange())
- return;
-
- Evas_Object* webFrame = EWKPrivate::kitFrame(coreFrame);
- ewk_frame_editor_client_selection_changed(webFrame);
-
- coreFrame->editor().cancelCompositionIfSelectionIsInvalid();
-}
-
-void EditorClientEfl::didEndEditing()
-{
- evas_object_smart_callback_call(m_view, "editorclient,editing,ended", 0);
-}
-
-void EditorClientEfl::didWriteSelectionToPasteboard()
-{
- notImplemented();
-}
-
-void EditorClientEfl::willWriteSelectionToPasteboard(WebCore::Range*)
-{
-}
-
-void EditorClientEfl::getClientPasteboardDataForRange(WebCore::Range*, Vector<String>&, Vector<RefPtr<WebCore::SharedBuffer> >&)
-{
-}
-
-void EditorClientEfl::registerUndoStep(WTF::PassRefPtr<UndoStep> step)
-{
- if (!m_isInRedo)
- redoStack.clear();
- undoStack.prepend(step);
-}
-
-void EditorClientEfl::registerRedoStep(WTF::PassRefPtr<UndoStep> step)
-{
- redoStack.prepend(step);
-}
-
-void EditorClientEfl::clearUndoRedoOperations()
-{
- undoStack.clear();
- redoStack.clear();
-}
-
-bool EditorClientEfl::canCopyCut(Frame*, bool defaultValue) const
-{
- return defaultValue;
-}
-
-bool EditorClientEfl::canPaste(Frame*, bool defaultValue) const
-{
- return defaultValue;
-}
-
-bool EditorClientEfl::canUndo() const
-{
- return !undoStack.isEmpty();
-}
-
-bool EditorClientEfl::canRedo() const
-{
- return !redoStack.isEmpty();
-}
-
-void EditorClientEfl::undo()
-{
- if (canUndo()) {
- RefPtr<WebCore::UndoStep> step = undoStack.takeFirst();
- step->unapply();
- }
-}
-
-void EditorClientEfl::redo()
-{
- if (canRedo()) {
- RefPtr<WebCore::UndoStep> step = redoStack.takeFirst();
-
- ASSERT(!m_isInRedo);
- m_isInRedo = true;
- step->reapply();
- m_isInRedo = false;
- }
-}
-
-bool EditorClientEfl::shouldInsertNode(Node* node, Range* range, EditorInsertAction action)
-{
- Ewk_Should_Insert_Node_Event insertNodeEvent = { node, range, action };
- evas_object_smart_callback_call(m_view, "editorclient,node,insert", &insertNodeEvent);
- return true;
-}
-
-void EditorClientEfl::pageDestroyed()
-{
- delete this;
-}
-
-bool EditorClientEfl::smartInsertDeleteEnabled()
-{
- WebCore::Page* corePage = EWKPrivate::corePage(m_view);
- if (!corePage)
- return false;
- return corePage->settings().smartInsertDeleteEnabled();
-}
-
-bool EditorClientEfl::isSelectTrailingWhitespaceEnabled()
-{
- WebCore::Page* corePage = EWKPrivate::corePage(m_view);
- if (!corePage)
- return false;
- return corePage->settings().selectTrailingWhitespaceEnabled();
-}
-
-void EditorClientEfl::toggleContinuousSpellChecking()
-{
- notImplemented();
-}
-
-void EditorClientEfl::toggleGrammarChecking()
-{
- notImplemented();
-}
-
-const char* EditorClientEfl::interpretKeyEvent(const KeyboardEvent* event)
-{
- ASSERT(event->type() == eventNames().keydownEvent || event->type() == eventNames().keypressEvent);
-
- if (event->type() == eventNames().keydownEvent)
- return getKeyDownCommandName(event);
-
- return getKeyPressCommandName(event);
-}
-
-bool EditorClientEfl::handleEditingKeyboardEvent(KeyboardEvent* event)
-{
- Node* node = event->target()->toNode();
- ASSERT(node);
- Frame* frame = node->document().frame();
- ASSERT(frame);
-
- const PlatformKeyboardEvent* keyEvent = event->keyEvent();
- if (!keyEvent)
- return false;
-
- bool caretBrowsing = frame->settings().caretBrowsingEnabled();
- if (caretBrowsing) {
- switch (keyEvent->windowsVirtualKeyCode()) {
- case VK_LEFT:
- frame->selection().modify(keyEvent->shiftKey() ? FrameSelection::AlterationExtend : FrameSelection::AlterationMove,
- DirectionLeft,
- keyEvent->ctrlKey() ? WordGranularity : CharacterGranularity,
- UserTriggered);
- return true;
- case VK_RIGHT:
- frame->selection().modify(keyEvent->shiftKey() ? FrameSelection::AlterationExtend : FrameSelection::AlterationMove,
- DirectionRight,
- keyEvent->ctrlKey() ? WordGranularity : CharacterGranularity,
- UserTriggered);
- return true;
- case VK_UP:
- frame->selection().modify(keyEvent->shiftKey() ? FrameSelection::AlterationExtend : FrameSelection::AlterationMove,
- DirectionBackward,
- keyEvent->ctrlKey() ? ParagraphGranularity : LineGranularity,
- UserTriggered);
- return true;
- case VK_DOWN:
- frame->selection().modify(keyEvent->shiftKey() ? FrameSelection::AlterationExtend : FrameSelection::AlterationMove,
- DirectionForward,
- keyEvent->ctrlKey() ? ParagraphGranularity : LineGranularity,
- UserTriggered);
- return true;
- }
- }
-
- Editor::Command command = frame->editor().command(interpretKeyEvent(event));
-
- if (keyEvent->type() == PlatformEvent::RawKeyDown) {
- // WebKit doesn't have enough information about mode to decide how commands that just insert text if executed via Editor should be treated,
- // so we leave it upon WebCore to either handle them immediately (e.g. Tab that changes focus) or let a keypress event be generated
- // (e.g. Tab that inserts a Tab character, or Enter).
- return !command.isTextInsertion() && command.execute(event);
- }
-
- if (command.execute(event))
- return true;
-
- // Don't allow text insertion for nodes that cannot edit.
- if (!frame->editor().canEdit())
- return false;
-
- // Don't insert null or control characters as they can result in unexpected behaviour
- if (event->charCode() < ' ')
- return false;
-
- // Don't insert anything if a modifier is pressed
- if (keyEvent->ctrlKey() || keyEvent->altKey())
- return false;
-
- return frame->editor().insertText(event->keyEvent()->text(), event);
-}
-
-void EditorClientEfl::handleKeyboardEvent(KeyboardEvent* event)
-{
- if (handleEditingKeyboardEvent(event))
- event->setDefaultHandled();
-}
-
-void EditorClientEfl::handleInputMethodKeydown(KeyboardEvent*)
-{
-}
-
-EditorClientEfl::EditorClientEfl(Evas_Object* view)
- : m_isInRedo(false)
- , m_view(view)
-{
- notImplemented();
-}
-
-EditorClientEfl::~EditorClientEfl()
-{
- notImplemented();
-}
-
-void EditorClientEfl::textFieldDidBeginEditing(Element*)
-{
-}
-
-void EditorClientEfl::textFieldDidEndEditing(Element*)
-{
- notImplemented();
-}
-
-void EditorClientEfl::textDidChangeInTextField(Element*)
-{
- notImplemented();
-}
-
-bool EditorClientEfl::doTextFieldCommandFromEvent(Element*, KeyboardEvent*)
-{
- return false;
-}
-
-void EditorClientEfl::textWillBeDeletedInTextField(Element*)
-{
- notImplemented();
-}
-
-void EditorClientEfl::textDidChangeInTextArea(Element*)
-{
- notImplemented();
-}
-
-bool EditorClientEfl::shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
-{
- return true;
-}
-
-void EditorClientEfl::ignoreWordInSpellDocument(const String&)
-{
- notImplemented();
-}
-
-void EditorClientEfl::learnWord(const String&)
-{
- notImplemented();
-}
-
-void EditorClientEfl::checkSpellingOfString(StringView, int*, int*)
-{
- notImplemented();
-}
-
-String EditorClientEfl::getAutoCorrectSuggestionForMisspelledWord(const String&)
-{
- notImplemented();
- return String();
-}
-
-void EditorClientEfl::checkGrammarOfString(StringView, Vector<GrammarDetail>&, int*, int*)
-{
- notImplemented();
-}
-
-void EditorClientEfl::updateSpellingUIWithGrammarString(const String&, const GrammarDetail&)
-{
- notImplemented();
-}
-
-void EditorClientEfl::updateSpellingUIWithMisspelledWord(const String&)
-{
- notImplemented();
-}
-
-void EditorClientEfl::showSpellingUI(bool)
-{
- notImplemented();
-}
-
-bool EditorClientEfl::spellingUIIsShowing()
-{
- notImplemented();
- return false;
-}
-
-void EditorClientEfl::getGuessesForWord(const String& /*word*/, const String& /*context*/, Vector<String>& /*guesses*/)
-{
- notImplemented();
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportEditorClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/EditorClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/EditorClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/EditorClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,160 +0,0 @@
</span><del>-/*
- * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
- * Copyright (C) 2006 Zack Rusin <zack@kde.org>
- * Copyright (C) 2006 Apple Inc.
- * Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
- * Copyright (C) 2009-2010 ProFUSION embedded systems
- * Copyright (C) 2009-2010 Samsung Electronics
- *
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef EditorClientEfl_h
-#define EditorClientEfl_h
-
-#include "EditorClient.h"
-
-#include "EditorInsertAction.h"
-#include "TextAffinity.h"
-#include "TextCheckerClient.h"
-#include <wtf/Deque.h>
-#include <wtf/Forward.h>
-#include <wtf/text/StringView.h>
-
-struct Ewk_Should_Insert_Node_Event {
- WebCore::Node* node;
- WebCore::Range* range;
- WebCore::EditorInsertAction action;
-};
-
-struct Ewk_Should_Insert_Text_Event {
- const char* text;
- WebCore::Range* range;
- WebCore::EditorInsertAction action;
-};
-
-struct Ewk_Should_Change_Selected_Range_Event {
- WebCore::Range* fromRange;
- WebCore::Range* toRange;
- WebCore::EAffinity affinity;
- bool stillSelecting;
-};
-
-struct Ewk_Should_Apply_Style_Event {
- WebCore::StyleProperties* style;
- WebCore::Range* range;
-};
-
-namespace WebCore {
-class Page;
-
-class EditorClientEfl : public EditorClient, public TextCheckerClient {
-protected:
- bool m_isInRedo;
- WTF::Deque<WTF::RefPtr<WebCore::UndoStep> > undoStack;
- WTF::Deque<WTF::RefPtr<WebCore::UndoStep> > redoStack;
-
-public:
- explicit EditorClientEfl(Evas_Object* view);
- ~EditorClientEfl();
-
- // from EditorClient
- virtual void pageDestroyed();
-
- virtual bool shouldDeleteRange(Range*);
- virtual bool smartInsertDeleteEnabled();
- virtual bool isSelectTrailingWhitespaceEnabled();
- virtual bool isContinuousSpellCheckingEnabled();
- virtual void toggleContinuousSpellChecking();
- virtual bool isGrammarCheckingEnabled();
- virtual void toggleGrammarChecking();
- virtual int spellCheckerDocumentTag();
-
- virtual bool shouldBeginEditing(Range*);
- virtual bool shouldEndEditing(Range*);
- virtual bool shouldInsertNode(Node*, Range*, EditorInsertAction);
- virtual bool shouldInsertText(const String&, Range*, EditorInsertAction);
- virtual bool shouldChangeSelectedRange(Range* fromRange, Range* toRange, EAffinity, bool stillSelecting);
-
- virtual bool shouldApplyStyle(StyleProperties*, Range*);
-
- virtual bool shouldMoveRangeAfterDelete(Range*, Range*);
-
- virtual void didBeginEditing();
- virtual void respondToChangedContents();
- virtual void respondToChangedSelection(Frame*);
- virtual void didEndEditing();
- virtual void willWriteSelectionToPasteboard(WebCore::Range*);
- virtual void didWriteSelectionToPasteboard();
- virtual void getClientPasteboardDataForRange(WebCore::Range*, Vector<String>& pasteboardTypes, Vector<RefPtr<WebCore::SharedBuffer> >& pasteboardData);
-
- virtual void registerUndoStep(WTF::PassRefPtr<UndoStep>);
- virtual void registerRedoStep(WTF::PassRefPtr<UndoStep>);
- virtual void clearUndoRedoOperations();
-
- virtual bool canCopyCut(Frame*, bool defaultValue) const;
- virtual bool canPaste(Frame*, bool defaultValue) const;
- virtual bool canUndo() const;
- virtual bool canRedo() const;
-
- virtual void undo();
- virtual void redo();
-
- virtual const char* interpretKeyEvent(const KeyboardEvent*);
- virtual bool handleEditingKeyboardEvent(KeyboardEvent*);
- virtual void handleKeyboardEvent(KeyboardEvent*);
- virtual void handleInputMethodKeydown(KeyboardEvent*);
-
- virtual void textFieldDidBeginEditing(Element*);
- virtual void textFieldDidEndEditing(Element*);
- virtual void textDidChangeInTextField(Element*);
- virtual bool doTextFieldCommandFromEvent(Element*, KeyboardEvent*);
- virtual void textWillBeDeletedInTextField(Element*);
- virtual void textDidChangeInTextArea(Element*);
-
- virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const;
- virtual void ignoreWordInSpellDocument(const String&);
- virtual void learnWord(const String&);
- virtual void checkSpellingOfString(StringView, int* misspellingLocation, int* misspellingLength);
- virtual String getAutoCorrectSuggestionForMisspelledWord(const String& misspelledWord);
- virtual void checkGrammarOfString(StringView, WTF::Vector<GrammarDetail>&, int* badGrammarLocation, int* badGrammarLength);
- virtual void updateSpellingUIWithGrammarString(const String&, const GrammarDetail&);
- virtual void updateSpellingUIWithMisspelledWord(const String&);
- virtual void showSpellingUI(bool show);
- virtual bool spellingUIIsShowing();
- virtual void getGuessesForWord(const String& word, const String& context, WTF::Vector<String>& guesses);
- virtual void willSetInputMethodState();
- virtual void setInputMethodState(bool enabled);
- virtual void requestCheckingOfString(WTF::PassRefPtr<WebCore::TextCheckingRequest>) { }
-#if USE(UNIFIED_TEXT_CHECKING)
- virtual Vector<TextCheckingResult> checkTextOfParagraph(StringView, TextCheckingTypeMask) { return Vector<TextCheckingResult>(); }
-#endif
- virtual TextCheckerClient* textChecker() { return this; }
-
-private:
- Evas_Object *m_view;
-};
-}
-
-#endif // EditorClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportFrameLoaderClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,1015 +0,0 @@
</span><del>-/*
- * Copyright (C) 2006 Zack Rusin <zack@kde.org>
- * Copyright (C) 2006, 2011 Apple Inc. All rights reserved.
- * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
- * Copyright (C) 2008 Collabora Ltd. All rights reserved.
- * Copyright (C) 2008 Holger Hans Peter Freyther
- * Copyright (C) 2008 Kenneth Rohde Christiansen
- * Copyright (C) 2009-2010 ProFUSION embedded systems
- * Copyright (C) 2009-2010 Samsung Electronics
- * Copyright (C) 2012 Intel Corporation
- *
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "FrameLoaderClientEfl.h"
-
-#include "APICast.h"
-#include "DocumentLoader.h"
-#include "ErrorsEfl.h"
-#include "FormState.h"
-#include "FrameLoader.h"
-#include "FrameNetworkingContextEfl.h"
-#include "FrameTree.h"
-#include "FrameView.h"
-#include "HTMLFormElement.h"
-#include "HTTPStatusCodes.h"
-#include "MIMETypeRegistry.h"
-#include "MainFrame.h"
-#include "NotImplemented.h"
-#include "Page.h"
-#include "PluginDatabase.h"
-#include "ProgressTracker.h"
-#include "RenderWidget.h"
-#include "ResourceRequest.h"
-#include "ResourceResponse.h"
-#include "ScriptController.h"
-#include "Settings.h"
-#include "WebKitVersion.h"
-#include "ewk_frame_private.h"
-#include "ewk_private.h"
-#include "ewk_settings.h"
-#include "ewk_settings_private.h"
-#include "ewk_view_private.h"
-#include <Ecore_Evas.h>
-#include <wtf/text/CString.h>
-#include <wtf/text/StringConcatenate.h>
-
-namespace WebCore {
-
-FrameLoaderClientEfl::FrameLoaderClientEfl(Evas_Object* view)
- : m_view(view)
- , m_frame(0)
- , m_userAgent("")
- , m_customUserAgent("")
- , m_pluginView(0)
- , m_hasSentResponseToPlugin(false)
-{
-}
-
-static String composeUserAgent()
-{
- return String(ewk_settings_default_user_agent_get());
-}
-
-void FrameLoaderClientEfl::setCustomUserAgent(const String& agent)
-{
- m_customUserAgent = agent;
-}
-
-const String& FrameLoaderClientEfl::customUserAgent() const
-{
- return m_customUserAgent;
-}
-
-String FrameLoaderClientEfl::userAgent(const URL&)
-{
- if (!m_customUserAgent.isEmpty())
- return m_customUserAgent;
-
- if (m_userAgent.isEmpty())
- m_userAgent = composeUserAgent();
- return m_userAgent;
-}
-
-void FrameLoaderClientEfl::callPolicyFunction(FramePolicyFunction function, PolicyAction action)
-{
- function(action);
-}
-
-WTF::PassRefPtr<DocumentLoader> FrameLoaderClientEfl::createDocumentLoader(const ResourceRequest& request, const SubstituteData& substituteData)
-{
- RefPtr<DocumentLoader> loader = DocumentLoader::create(request, substituteData);
- if (substituteData.isValid())
- loader->setDeferMainResourceDataLoad(false);
- return loader.release();
-}
-
-void FrameLoaderClientEfl::dispatchWillSubmitForm(PassRefPtr<FormState>, FramePolicyFunction function)
-{
- // FIXME: This is surely too simple
- ASSERT(function);
- callPolicyFunction(function, PolicyUse);
-}
-
-void FrameLoaderClientEfl::committedLoad(DocumentLoader* loader, const char* data, int length)
-{
- if (!m_pluginView) {
- loader->commitData(data, length);
-
- // Let the media document handle the rest of loading itself, cancel here.
- Frame* coreFrame = loader->frame();
- if (coreFrame && coreFrame->document()->isMediaDocument())
- loader->cancelMainResourceLoad(pluginWillHandleLoadError(loader->response()));
- }
-
- // We re-check here as the plugin can have been created
- if (m_pluginView) {
- if (!m_hasSentResponseToPlugin) {
- m_pluginView->didReceiveResponse(loader->response());
- m_hasSentResponseToPlugin = true;
- }
- m_pluginView->didReceiveData(data, length);
- }
-}
-
-void FrameLoaderClientEfl::dispatchDidReplaceStateWithinPage()
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::dispatchDidPushStateWithinPage()
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::dispatchDidPopStateWithinPage()
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::dispatchDidReceiveAuthenticationChallenge(DocumentLoader*, unsigned long /*identifier*/, const AuthenticationChallenge&)
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::dispatchDidCancelAuthenticationChallenge(DocumentLoader*, unsigned long /*identifier*/, const AuthenticationChallenge&)
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::dispatchWillSendRequest(DocumentLoader* loader, unsigned long identifier, ResourceRequest& coreRequest, const ResourceResponse& coreResponse)
-{
- CString url = coreRequest.url().string().utf8();
- CString firstParty = coreRequest.firstPartyForCookies().string().utf8();
- CString httpMethod = coreRequest.httpMethod().utf8();
- DBG("Resource url=%s, first_party=%s, http_method=%s", url.data(), firstParty.data(), httpMethod.data());
-
- // We want to distinguish between a request for a document to be loaded into
- // the main frame, a sub-frame, or the sub-objects in that document.
- bool isMainFrameRequest = false;
- if (loader) {
- const FrameLoader* frameLoader = loader->frameLoader();
- isMainFrameRequest = (loader == frameLoader->provisionalDocumentLoader() && frameLoader->frame().isMainFrame());
- }
-
- Ewk_Frame_Resource_Request request = { 0, firstParty.data(), httpMethod.data(), identifier, m_frame, isMainFrameRequest };
- Ewk_Frame_Resource_Request orig = request; /* Initialize const fields. */
-
- orig.url = request.url = url.data();
-
- Ewk_Frame_Resource_Response* redirectResponse;
- Ewk_Frame_Resource_Response responseBuffer;
- CString redirectUrl, mimeType;
-
- if (coreResponse.isNull())
- redirectResponse = 0;
- else {
- redirectUrl = coreResponse.url().string().utf8();
- mimeType = coreResponse.mimeType().utf8();
- responseBuffer.url = redirectUrl.data();
- responseBuffer.status_code = coreResponse.httpStatusCode();
- responseBuffer.identifier = identifier;
- responseBuffer.mime_type = mimeType.data();
- redirectResponse = &responseBuffer;
- }
-
- Ewk_Frame_Resource_Messages messages = { &request, redirectResponse };
- ewk_frame_request_will_send(m_frame, &messages);
- evas_object_smart_callback_call(m_view, "resource,request,willsend", &messages);
-
- if (request.url != orig.url) {
- coreRequest.setURL(URL(URL(), request.url));
-
- // Calling client might have changed our url pointer.
- // Free the new allocated string.
- free(const_cast<char*>(request.url));
- }
-}
-
-bool FrameLoaderClientEfl::shouldUseCredentialStorage(DocumentLoader*, unsigned long)
-{
- return true;
-}
-
-void FrameLoaderClientEfl::assignIdentifierToInitialRequest(unsigned long identifier, DocumentLoader* loader, const ResourceRequest& coreRequest)
-{
- CString url = coreRequest.url().string().utf8();
- CString firstParty = coreRequest.firstPartyForCookies().string().utf8();
- CString httpMethod = coreRequest.httpMethod().utf8();
- DBG("Resource url=%s, First party=%s, HTTP method=%s", url.data(), firstParty.data(), httpMethod.data());
-
- bool isMainFrameRequest = false;
- if (loader) {
- const FrameLoader* frameLoader = loader->frameLoader();
- isMainFrameRequest = (loader == frameLoader->provisionalDocumentLoader() && frameLoader->frame().isMainFrame());
- }
-
- Ewk_Frame_Resource_Request request = { url.data(), firstParty.data(), httpMethod.data(), identifier, m_frame, isMainFrameRequest };
- ewk_frame_request_assign_identifier(m_frame, &request);
- evas_object_smart_callback_call(m_view, "resource,request,new", &request);
-}
-
-void FrameLoaderClientEfl::frameLoaderDestroyed()
-{
- if (m_frame)
- ewk_frame_core_gone(m_frame);
- m_frame = 0;
-
- delete this;
-}
-
-void FrameLoaderClientEfl::dispatchDidReceiveResponse(DocumentLoader* loader, unsigned long identifier, const ResourceResponse& coreResponse)
-{
- // Update our knowledge of request soup flags - some are only set
- // after the request is done.
- loader->request().setSoupMessageFlags(coreResponse.soupMessageFlags());
-
- m_response = coreResponse;
-
- CString mimeType = coreResponse.mimeType().utf8();
- Ewk_Frame_Resource_Response response = { 0, coreResponse.httpStatusCode(), identifier, mimeType.data() };
- CString url = coreResponse.url().string().utf8();
- response.url = url.data();
-
- ewk_frame_response_received(m_frame, &response);
- evas_object_smart_callback_call(m_view, "resource,response,received", &response);
-}
-
-void FrameLoaderClientEfl::dispatchDecidePolicyForResponse(const ResourceResponse& response, const ResourceRequest& resourceRequest, FramePolicyFunction function)
-{
- // we need to call directly here (currently callPolicyFunction does that!)
- ASSERT(function);
-
- if (resourceRequest.isNull()) {
- callPolicyFunction(function, PolicyIgnore);
- return;
- }
-
- // Ignore responses with an HTTP status code of 204 (No Content)
- if (response.httpStatusCode() == HTTPNoContent) {
- callPolicyFunction(function, PolicyIgnore);
- return;
- }
-
- if (canShowMIMEType(response.mimeType()))
- callPolicyFunction(function, PolicyUse);
- else
- callPolicyFunction(function, PolicyDownload);
-}
-
-void FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction(const NavigationAction&, const ResourceRequest& resourceRequest, PassRefPtr<FormState>, const String&, FramePolicyFunction function)
-{
- ASSERT(function);
- ASSERT(m_frame);
-
- if (resourceRequest.isNull()) {
- callPolicyFunction(function, PolicyIgnore);
- return;
- }
-
- // if not acceptNavigationRequest - look at Qt -> PolicyIgnore;
- // FIXME: do proper check and only reset forms when on PolicyIgnore
- Frame* f = EWKPrivate::coreFrame(m_frame);
- f->loader().resetMultipleFormSubmissionProtection();
- callPolicyFunction(function, PolicyUse);
-}
-
-void FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction(const NavigationAction& action, const ResourceRequest& resourceRequest, PassRefPtr<FormState>, FramePolicyFunction function)
-{
- ASSERT(function);
- ASSERT(m_frame);
-
- if (resourceRequest.isNull()) {
- callPolicyFunction(function, PolicyIgnore);
- return;
- }
-
- // if not acceptNavigationRequest - look at Qt -> PolicyIgnore;
- // FIXME: do proper check and only reset forms when on PolicyIgnore
- CString url = resourceRequest.url().string().utf8();
- CString firstParty = resourceRequest.firstPartyForCookies().string().utf8();
- CString httpMethod = resourceRequest.httpMethod().utf8();
- Ewk_Frame_Resource_Request request = { url.data(), firstParty.data(), httpMethod.data(), 0, m_frame, false };
- bool ret = ewk_view_navigation_policy_decision(m_view, &request, action.type());
-
- PolicyAction policy;
- if (!ret)
- policy = PolicyIgnore;
- else {
- if (action.type() == NavigationTypeFormSubmitted || action.type() == NavigationTypeFormResubmitted) {
- Frame* f = EWKPrivate::coreFrame(m_frame);
- f->loader().resetMultipleFormSubmissionProtection();
- }
- policy = PolicyUse;
- }
- callPolicyFunction(function, policy);
-}
-
-PassRefPtr<Widget> FrameLoaderClientEfl::createPlugin(const IntSize& pluginSize, HTMLPlugInElement* element, const URL& url, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually)
-{
- ASSERT(m_frame);
- ASSERT(m_view);
-
- return ewk_view_plugin_create(m_view, m_frame, pluginSize,
- element, url, paramNames, paramValues,
- mimeType, loadManually);
-}
-
-PassRefPtr<Frame> FrameLoaderClientEfl::createFrame(const URL& url, const String& name, HTMLFrameOwnerElement* ownerElement, const String& referrer, bool /*allowsScrolling*/, int /*marginWidth*/, int /*marginHeight*/)
-{
- ASSERT(m_frame);
- ASSERT(m_view);
-
- Evas_Object* subFrame = ewk_frame_child_add(m_frame, name, ownerElement);
- if (!subFrame)
- return 0;
-
- WebCore::Frame* coreSubFrame = EWKPrivate::coreFrame(subFrame);
- ASSERT(coreSubFrame);
-
- // The creation of the frame may have run arbitrary JavaScript that removed it from the page already.
- if (!coreSubFrame->page()) {
- evas_object_del(subFrame);
- return 0;
- }
-
- evas_object_smart_callback_call(m_view, "frame,created", subFrame);
- EWKPrivate::coreFrame(m_frame)->loader().loadURLIntoChildFrame(url, referrer, coreSubFrame);
-
- // The frame's onload handler may have removed it from the document.
- // See fast/dom/null-page-show-modal-dialog-crash.html for an example.
- if (!coreSubFrame->tree().parent()) {
- evas_object_del(subFrame);
- return 0;
- }
-
- ewk_view_frame_rect_changed(m_view);
-
- return coreSubFrame;
-}
-
-void FrameLoaderClientEfl::redirectDataToPlugin(Widget* pluginWidget)
-{
- m_pluginView = toPluginView(pluginWidget);
- if (pluginWidget)
- m_hasSentResponseToPlugin = false;
-}
-
-PassRefPtr<Widget> FrameLoaderClientEfl::createJavaAppletWidget(const IntSize&, HTMLAppletElement*, const URL&,
- const Vector<String>& /*paramNames*/, const Vector<String>& /*paramValues*/)
-{
- notImplemented();
- return 0;
-}
-
-ObjectContentType FrameLoaderClientEfl::objectContentType(const URL& url, const String& mimeType, bool shouldPreferPlugInsForImages)
-{
- // FIXME: once plugin support is enabled, this method needs to correctly handle the 'shouldPreferPlugInsForImages' flag. See
- // WebCore::FrameLoader::defaultObjectContentType() for an example.
- UNUSED_PARAM(shouldPreferPlugInsForImages);
-
- if (url.isEmpty() && mimeType.isEmpty())
- return ObjectContentNone;
-
- // We don't use MIMETypeRegistry::getMIMETypeForPath() because it returns "application/octet-stream" upon failure
- String type = mimeType;
- if (type.isEmpty())
- type = MIMETypeRegistry::getMIMETypeForExtension(url.path().substring(url.path().reverseFind('.') + 1));
-
- if (type.isEmpty())
- return ObjectContentFrame;
-
- if (MIMETypeRegistry::isSupportedImageMIMEType(type))
- return ObjectContentImage;
-
-#if 0 // PluginDatabase is disabled until we have Plugin system done.
- if (PluginDatabase::installedPlugins()->isMIMETypeRegistered(mimeType))
- return ObjectContentNetscapePlugin;
-#endif
-
- if (MIMETypeRegistry::isSupportedNonImageMIMEType(type))
- return ObjectContentFrame;
-
- if (url.protocol() == "about")
- return ObjectContentFrame;
-
- return ObjectContentNone;
-}
-
-String FrameLoaderClientEfl::overrideMediaType() const
-{
- return String::fromUTF8(ewk_settings_css_media_type_get());
-}
-
-void FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld(DOMWrapperWorld& world)
-{
- if (&world != &mainThreadNormalWorld())
- return;
-
- Frame* coreFrame = EWKPrivate::coreFrame(m_frame);
- ASSERT(coreFrame);
-
- if (!coreFrame->settings().isScriptEnabled())
- return;
-
- Ewk_Window_Object_Cleared_Event event;
- event.context = toGlobalRef(coreFrame->script().globalObject(mainThreadNormalWorld())->globalExec());
- event.windowObject = toRef(coreFrame->script().globalObject(mainThreadNormalWorld()));
- event.frame = m_frame;
-
- evas_object_smart_callback_call(m_view, "window,object,cleared", &event);
-
-#if ENABLE(NETSCAPE_PLUGIN_API)
- ewk_view_js_window_object_clear(m_view, m_frame);
-#endif
-}
-
-void FrameLoaderClientEfl::registerForIconNotification(bool)
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::setMainFrameDocumentReady(bool)
-{
- // this is only interesting once we provide an external API for the DOM
-}
-
-bool FrameLoaderClientEfl::hasWebView() const
-{
- if (!m_view)
- return false;
-
- return true;
-}
-
-bool FrameLoaderClientEfl::hasFrameView() const
-{
- notImplemented();
- return true;
-}
-
-void FrameLoaderClientEfl::dispatchDidFinishLoad()
-{
- ewk_frame_load_finished(m_frame, 0, 0, 0, 0, 0);
-}
-
-void FrameLoaderClientEfl::frameLoadCompleted()
-{
- // Note: Can be called multiple times.
-}
-
-void FrameLoaderClientEfl::saveViewStateToItem(HistoryItem* item)
-{
- ewk_frame_view_state_save(m_frame, item);
-}
-
-void FrameLoaderClientEfl::restoreViewState()
-{
- ASSERT(m_frame);
- ASSERT(m_view);
-
- ewk_view_restore_state(m_view, m_frame);
-}
-
-void FrameLoaderClientEfl::updateGlobalHistoryRedirectLinks()
-{
- WebCore::Frame* frame = EWKPrivate::coreFrame(m_frame);
- if (!frame)
- return;
-
- WebCore::DocumentLoader* loader = frame->loader().documentLoader();
- if (!loader)
- return;
-
- if (!loader->clientRedirectSourceForHistory().isNull()) {
- const CString& sourceURL = loader->clientRedirectSourceForHistory().utf8();
- const CString& destinationURL = loader->clientRedirectDestinationForHistory().utf8();
- Ewk_View_Redirection_Data data = { sourceURL.data(), destinationURL.data() };
- evas_object_smart_callback_call(m_view, "perform,client,redirect", &data);
- }
-
- if (!loader->serverRedirectSourceForHistory().isNull()) {
- const CString& sourceURL = loader->serverRedirectSourceForHistory().utf8();
- const CString& destinationURL = loader->serverRedirectDestinationForHistory().utf8();
- Ewk_View_Redirection_Data data = { sourceURL.data(), destinationURL.data() };
- evas_object_smart_callback_call(m_view, "perform,server,redirect", &data);
- }
-}
-
-bool FrameLoaderClientEfl::shouldGoToHistoryItem(HistoryItem* item) const
-{
- // FIXME: This is a very simple implementation. More sophisticated
- // implementation would delegate the decision to a PolicyDelegate.
- // See mac implementation for example.
- return item;
-}
-
-void FrameLoaderClientEfl::didDisplayInsecureContent()
-{
- ewk_frame_mixed_content_displayed_set(m_frame, true);
-}
-
-void FrameLoaderClientEfl::didRunInsecureContent(SecurityOrigin*, const URL&)
-{
- ewk_frame_mixed_content_run_set(m_frame, true);
-}
-
-void FrameLoaderClientEfl::didDetectXSS(const URL& insecureURL, bool didBlockEntirePage)
-{
- CString cs = insecureURL.string().utf8();
- Ewk_Frame_Xss_Notification xssInfo = { cs.data(), didBlockEntirePage };
-
- ewk_frame_xss_detected(m_frame, &xssInfo);
-}
-
-void FrameLoaderClientEfl::forceLayout()
-{
- ewk_frame_force_layout(m_frame);
-}
-
-void FrameLoaderClientEfl::forceLayoutForNonHTML()
-{
-}
-
-void FrameLoaderClientEfl::setCopiesOnScroll()
-{
- // apparently mac specific (Qt comment)
-}
-
-void FrameLoaderClientEfl::detachedFromParent2()
-{
-}
-
-void FrameLoaderClientEfl::detachedFromParent3()
-{
-}
-
-void FrameLoaderClientEfl::loadedFromCachedPage()
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::dispatchDidHandleOnloadEvents()
-{
- ewk_view_onload_event(m_view, m_frame);
-}
-
-void FrameLoaderClientEfl::dispatchDidReceiveServerRedirectForProvisionalLoad()
-{
- ewk_frame_redirect_provisional_load(m_frame);
-}
-
-void FrameLoaderClientEfl::dispatchDidCancelClientRedirect()
-{
- ewk_frame_redirect_cancelled(m_frame);
-}
-
-void FrameLoaderClientEfl::dispatchWillPerformClientRedirect(const URL& url, double, double)
-{
- ewk_frame_redirect_requested(m_frame, url.string().utf8().data());
-}
-
-void FrameLoaderClientEfl::dispatchDidChangeLocationWithinPage()
-{
- ewk_frame_uri_changed(m_frame);
-
- if (!isLoadingMainFrame())
- return;
- ewk_view_uri_changed(m_view);
-}
-
-void FrameLoaderClientEfl::dispatchWillClose()
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::dispatchDidReceiveIcon()
-{
- // IconController loads icons only for the main frame.
- ASSERT(isLoadingMainFrame());
-
- ewk_view_frame_main_icon_received(m_view);
-}
-
-void FrameLoaderClientEfl::dispatchDidStartProvisionalLoad()
-{
- ewk_frame_load_provisional(m_frame);
- if (isLoadingMainFrame())
- ewk_view_load_provisional(m_view);
-}
-
-void FrameLoaderClientEfl::dispatchDidReceiveTitle(const StringWithDirection& title)
-{
- Ewk_Text_With_Direction ewkTitle;
- CString cs = title.string().utf8();
- ewkTitle.string = cs.data();
- ewkTitle.direction = (title.direction() == LTR) ? EWK_TEXT_DIRECTION_LEFT_TO_RIGHT : EWK_TEXT_DIRECTION_RIGHT_TO_LEFT;
- ewk_frame_title_set(m_frame, &ewkTitle);
-
- if (!isLoadingMainFrame())
- return;
- ewk_view_title_set(m_view, &ewkTitle);
-}
-
-void FrameLoaderClientEfl::dispatchDidChangeIcons(WebCore::IconType iconType)
-{
- // Other touch types are apple-specific
- ASSERT_UNUSED(iconType, iconType == WebCore::Favicon);
- ewk_frame_icon_changed(m_frame);
-}
-
-void FrameLoaderClientEfl::dispatchDidCommitLoad()
-{
- ewk_frame_uri_changed(m_frame);
- ewk_frame_load_committed(m_frame);
- if (!isLoadingMainFrame())
- return;
- ewk_view_title_set(m_view, 0);
- ewk_view_uri_changed(m_view);
-}
-
-void FrameLoaderClientEfl::dispatchDidFinishDocumentLoad()
-{
- ewk_frame_load_document_finished(m_frame);
-}
-
-void FrameLoaderClientEfl::dispatchDidLayout(LayoutMilestones milestones)
-{
- if (milestones & DidFirstLayout)
- ewk_frame_load_firstlayout_finished(m_frame);
- if (milestones & DidFirstVisuallyNonEmptyLayout)
- ewk_frame_load_firstlayout_nonempty_finished(m_frame);
-}
-
-void FrameLoaderClientEfl::dispatchShow()
-{
- ewk_view_load_show(m_view);
-}
-
-void FrameLoaderClientEfl::cancelPolicyCheck()
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::willChangeTitle(DocumentLoader*)
-{
- // no need for, dispatchDidReceiveTitle is the right callback
-}
-
-void FrameLoaderClientEfl::didChangeTitle(DocumentLoader*)
-{
- // no need for, dispatchDidReceiveTitle is the right callback
-}
-
-bool FrameLoaderClientEfl::canHandleRequest(const ResourceRequest&) const
-{
- notImplemented();
- return true;
-}
-
-bool FrameLoaderClientEfl::canShowMIMETypeAsHTML(const String& /*MIMEType*/) const
-{
- notImplemented();
- return false;
-}
-
-bool FrameLoaderClientEfl::canShowMIMEType(const String& MIMEType) const
-{
- if (MIMETypeRegistry::canShowMIMEType(MIMEType))
- return true;
-
-#if 0 // PluginDatabase is disabled until we have Plugin system done.
- if (PluginDatabase::installedPlugins()->isMIMETypeRegistered(MIMEType))
- return true;
-#endif
-
- return false;
-}
-
-bool FrameLoaderClientEfl::representationExistsForURLScheme(const String&) const
-{
- return false;
-}
-
-String FrameLoaderClientEfl::generatedMIMETypeForURLScheme(const String&) const
-{
- notImplemented();
- return String();
-}
-
-void FrameLoaderClientEfl::finishedLoading(DocumentLoader*)
-{
- if (!m_pluginView)
- return;
- m_pluginView->didFinishLoading();
- m_pluginView = 0;
- m_hasSentResponseToPlugin = false;
-}
-
-
-void FrameLoaderClientEfl::provisionalLoadStarted()
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::didFinishLoad()
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::prepareForDataSourceReplacement()
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::setTitle(const StringWithDirection&, const URL&)
-{
- // no need for, dispatchDidReceiveTitle is the right callback
-}
-
-void FrameLoaderClientEfl::dispatchDidReceiveContentLength(DocumentLoader*, unsigned long /*identifier*/, int /*dataLength*/)
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::dispatchDidFinishLoading(DocumentLoader*, unsigned long identifier)
-{
- ewk_frame_load_resource_finished(m_frame, identifier);
- evas_object_smart_callback_call(m_view, "load,resource,finished", &identifier);
-}
-
-void FrameLoaderClientEfl::dispatchDidFailLoading(DocumentLoader*, unsigned long identifier, const ResourceError& err)
-{
- Ewk_Frame_Load_Error error;
- CString errorDomain = err.domain().utf8();
- CString errorDescription = err.localizedDescription().utf8();
- CString failingUrl = err.failingURL().utf8();
-
- DBG("ewkFrame=%p, resource=%ld, error=%s (%d, cancellation=%hhu) \"%s\", url=%s",
- m_frame, identifier, errorDomain.data(), err.errorCode(), err.isCancellation(),
- errorDescription.data(), failingUrl.data());
-
- error.code = err.errorCode();
- error.is_cancellation = err.isCancellation();
- error.domain = errorDomain.data();
- error.description = errorDescription.data();
- error.failing_url = failingUrl.data();
- error.resource_identifier = identifier;
- error.frame = m_frame;
-
- ewk_frame_load_resource_failed(m_frame, &error);
- evas_object_smart_callback_call(m_view, "load,resource,failed", &error);
-}
-
-bool FrameLoaderClientEfl::dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, const ResourceRequest&, const ResourceResponse&, int /*length*/)
-{
- notImplemented();
- return false;
-}
-
-void FrameLoaderClientEfl::dispatchDidLoadResourceByXMLHttpRequest(unsigned long, const String&)
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::dispatchDidFailProvisionalLoad(const ResourceError& err)
-{
- Ewk_Frame_Load_Error error;
- CString errorDomain = err.domain().utf8();
- CString errorDescription = err.localizedDescription().utf8();
- CString failingUrl = err.failingURL().utf8();
-
- DBG("ewkFrame=%p, error=%s (%d, cancellation=%hhu) \"%s\", url=%s",
- m_frame, errorDomain.data(), err.errorCode(), err.isCancellation(),
- errorDescription.data(), failingUrl.data());
-
- error.code = err.errorCode();
- error.is_cancellation = err.isCancellation();
- error.domain = errorDomain.data();
- error.description = errorDescription.data();
- error.failing_url = failingUrl.data();
- error.resource_identifier = 0;
- error.frame = m_frame;
-
- ewk_frame_load_provisional_failed(m_frame, &error);
- if (isLoadingMainFrame())
- ewk_view_load_provisional_failed(m_view, &error);
-
- dispatchDidFailLoad(err);
-}
-
-void FrameLoaderClientEfl::dispatchDidFailLoad(const ResourceError& err)
-{
- ewk_frame_load_error(m_frame,
- err.domain().utf8().data(),
- err.errorCode(), err.isCancellation(),
- err.localizedDescription().utf8().data(),
- err.failingURL().utf8().data());
-
- ewk_frame_load_finished(m_frame,
- err.domain().utf8().data(),
- err.errorCode(),
- err.isCancellation(),
- err.localizedDescription().utf8().data(),
- err.failingURL().utf8().data());
-}
-
-void FrameLoaderClientEfl::convertMainResourceLoadToDownload(DocumentLoader*, const ResourceRequest& request, const ResourceResponse&)
-{
- if (!m_view)
- return;
-
- CString url = request.url().string().utf8();
- Ewk_Download download;
-
- download.url = url.data();
- download.suggested_name = 0;
- ewk_view_download_request(m_view, &download);
-}
-
-ResourceError FrameLoaderClientEfl::cancelledError(const ResourceRequest& request)
-{
- return WebCore::cancelledError(request);
-}
-
-ResourceError FrameLoaderClientEfl::blockedError(const ResourceRequest& request)
-{
- return WebCore::blockedError(request);
-}
-
-ResourceError FrameLoaderClientEfl::cannotShowURLError(const ResourceRequest& request)
-{
- return WebCore::cannotShowURLError(request);
-}
-
-ResourceError FrameLoaderClientEfl::interruptedForPolicyChangeError(const ResourceRequest& request)
-{
- return WebCore::interruptedForPolicyChangeError(request);
-}
-
-ResourceError FrameLoaderClientEfl::cannotShowMIMETypeError(const ResourceResponse& response)
-{
- return WebCore::cannotShowMIMETypeError(response);
-}
-
-ResourceError FrameLoaderClientEfl::fileDoesNotExistError(const ResourceResponse& response)
-{
- return WebCore::fileDoesNotExistError(response);
-}
-
-ResourceError FrameLoaderClientEfl::pluginWillHandleLoadError(const ResourceResponse& response)
-{
- return WebCore::pluginWillHandleLoadError(response);
-}
-
-bool FrameLoaderClientEfl::shouldFallBack(const ResourceError& error)
-{
- return !(error.isCancellation() || error.errorCode() == PolicyErrorFrameLoadInterruptedByPolicyChange || error.errorCode() == PluginErrorWillHandleLoad);
-}
-
-bool FrameLoaderClientEfl::canCachePage() const
-{
- return true;
-}
-
-Frame* FrameLoaderClientEfl::dispatchCreatePage(const NavigationAction&)
-{
- if (!m_view)
- return 0;
-
- Evas_Object* newView = ewk_view_window_create(m_view, EINA_FALSE, 0);
- Evas_Object* mainFrame;
- if (!newView)
- mainFrame = m_frame;
- else
- mainFrame = ewk_view_frame_main_get(newView);
-
- return EWKPrivate::coreFrame(mainFrame);
-}
-
-void FrameLoaderClientEfl::dispatchUnableToImplementPolicy(const ResourceError&)
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::setMainDocumentError(DocumentLoader*, const ResourceError& error)
-{
- if (!m_pluginView)
- return;
- m_pluginView->didFail(error);
- m_pluginView = 0;
- m_hasSentResponseToPlugin = false;
-}
-
-void FrameLoaderClientEfl::startDownload(const ResourceRequest& request, const String& suggestedName)
-{
- if (!m_view)
- return;
-
- CString url = request.url().string().utf8();
- CString suggestedNameString = suggestedName.utf8();
- Ewk_Download download;
-
- download.url = url.data();
- download.suggested_name = suggestedNameString.data();
- ewk_view_download_request(m_view, &download);
-}
-
-void FrameLoaderClientEfl::updateGlobalHistory()
-{
- WebCore::Frame* frame = EWKPrivate::coreFrame(m_frame);
- if (!frame)
- return;
-
- WebCore::DocumentLoader* loader = frame->loader().documentLoader();
- if (!loader)
- return;
-
- const FrameLoader* frameLoader = loader->frameLoader();
- const bool isMainFrameRequest = frameLoader && (loader == frameLoader->provisionalDocumentLoader()) && frameLoader->frame().isMainFrame();
- const CString& urlForHistory = loader->urlForHistory().string().utf8();
- const CString& title = loader->title().string().utf8();
- const CString& firstParty = loader->request().firstPartyForCookies().string().utf8();
- const CString& clientRedirectSource = loader->clientRedirectSourceForHistory().utf8();
- const CString& originalURL = loader->originalURL().string().utf8();
- const CString& httpMethod = loader->request().httpMethod().utf8();
- const CString& responseURL = loader->responseURL().string().utf8();
- const CString& mimeType = loader->response().mimeType().utf8();
-
- Ewk_Frame_Resource_Request request = { originalURL.data(), firstParty.data(), httpMethod.data(), 0, m_frame, isMainFrameRequest };
- Ewk_Frame_Resource_Response response = { responseURL.data(), loader->response().httpStatusCode(), 0, mimeType.data() };
- bool hasSubstituteData = loader->substituteData().isValid();
-
- Ewk_View_Navigation_Data data = { urlForHistory.data(), title.data(), &request, &response, hasSubstituteData, clientRedirectSource.data() };
-
- evas_object_smart_callback_call(m_view, "navigate,with,data", &data);
-}
-
-void FrameLoaderClientEfl::savePlatformDataToCachedFrame(CachedFrame*)
-{
- notImplemented();
-}
-
-void FrameLoaderClientEfl::transitionToCommittedFromCachedFrame(CachedFrame*)
-{
-}
-
-void FrameLoaderClientEfl::transitionToCommittedForNewPage()
-{
- ASSERT(m_frame);
- ASSERT(m_view);
-
- ewk_frame_view_create_for_view(m_frame, m_view);
-}
-
-void FrameLoaderClientEfl::didSaveToPageCache()
-{
-}
-
-void FrameLoaderClientEfl::didRestoreFromPageCache()
-{
-}
-
-void FrameLoaderClientEfl::dispatchDidBecomeFrameset(bool)
-{
-}
-
-PassRefPtr<FrameNetworkingContext> FrameLoaderClientEfl::createNetworkingContext()
-{
- return FrameNetworkingContextEfl::create(EWKPrivate::coreFrame(m_frame), m_frame);
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportFrameLoaderClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,218 +0,0 @@
</span><del>-/*
- * Copyright (C) 2006 Zack Rusin <zack@kde.org>
- * Copyright (C) 2006, 2011 Apple Inc. All rights reserved.
- * Copyright (C) 2008 Collabora Ltd. All rights reserved.
- * Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
- * Copyright (C) 2009-2010 ProFUSION embedded systems
- * Copyright (C) 2009-2010 Samsung Electronics
- *
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef FrameLoaderClientEfl_h
-#define FrameLoaderClientEfl_h
-
-#include "EWebKit.h"
-#include "FrameLoaderClient.h"
-#include "PluginView.h"
-#include "ResourceError.h"
-#include "ResourceResponse.h"
-
-namespace WebCore {
-
-class FormState;
-
-class FrameLoaderClientEfl : public FrameLoaderClient {
- public:
- explicit FrameLoaderClientEfl(Evas_Object *view);
- virtual ~FrameLoaderClientEfl() { }
- virtual void frameLoaderDestroyed();
-
- void setWebFrame(Evas_Object *frame) { m_frame = frame; }
- Evas_Object* webFrame() const { return m_frame; }
- Evas_Object* webView() const { return m_view; }
-
- void setCustomUserAgent(const String&);
- const String& customUserAgent() const;
-
- virtual bool hasWebView() const;
- virtual bool hasFrameView() const;
-
- void callPolicyFunction(FramePolicyFunction, PolicyAction);
-
- virtual void makeRepresentation(DocumentLoader*) { }
- virtual void forceLayout();
- virtual void forceLayoutForNonHTML();
-
- virtual void setCopiesOnScroll();
-
- virtual void detachedFromParent2();
- virtual void detachedFromParent3();
-
- virtual void loadedFromCachedPage();
-
- virtual void assignIdentifierToInitialRequest(unsigned long identifier, DocumentLoader*, const ResourceRequest&);
-
- virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifier, ResourceRequest&, const ResourceResponse& redirectResponse);
- virtual bool shouldUseCredentialStorage(DocumentLoader*, unsigned long identifier);
- virtual void dispatchDidReceiveAuthenticationChallenge(DocumentLoader*, unsigned long identifier, const AuthenticationChallenge&);
-
- virtual void dispatchDidPushStateWithinPage();
- virtual void dispatchDidPopStateWithinPage();
- virtual void dispatchDidReplaceStateWithinPage();
- virtual void dispatchDidClearWindowObjectInWorld(WebCore::DOMWrapperWorld&);
-
- virtual void dispatchDidCancelAuthenticationChallenge(DocumentLoader*, unsigned long identifier, const AuthenticationChallenge&);
- virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long identifier, const ResourceResponse&);
- virtual void dispatchDidReceiveContentLength(DocumentLoader*, unsigned long identifier, int dataLength);
- virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identifier);
- virtual void dispatchDidFailLoading(DocumentLoader*, unsigned long identifier, const ResourceError&);
- virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, const ResourceRequest&, const ResourceResponse&, int length);
- virtual void dispatchDidLoadResourceByXMLHttpRequest(unsigned long identifier, const String& sourceString);
-
- virtual void dispatchDidHandleOnloadEvents();
- virtual void dispatchDidReceiveServerRedirectForProvisionalLoad();
- virtual void dispatchDidCancelClientRedirect();
- virtual void dispatchWillPerformClientRedirect(const URL&, double, double);
- virtual void dispatchDidChangeLocationWithinPage();
- virtual void dispatchWillClose();
- virtual void dispatchDidReceiveIcon();
- virtual void dispatchDidStartProvisionalLoad();
- virtual void dispatchDidReceiveTitle(const StringWithDirection&);
- virtual void dispatchDidChangeIcons(WebCore::IconType);
- virtual void dispatchDidCommitLoad();
- virtual void dispatchDidFailProvisionalLoad(const ResourceError&);
- virtual void dispatchDidFailLoad(const ResourceError&);
- virtual void dispatchDidFinishDocumentLoad();
- virtual void dispatchDidFinishLoad();
- virtual void dispatchDidLayout(LayoutMilestones);
-
- virtual Frame* dispatchCreatePage(const WebCore::NavigationAction&);
- virtual void dispatchShow();
-
- virtual void dispatchDecidePolicyForResponse(const ResourceResponse&, const ResourceRequest&, FramePolicyFunction);
- virtual void dispatchDecidePolicyForNewWindowAction(const NavigationAction&, const ResourceRequest&, WTF::PassRefPtr<FormState>, const String& frameName, FramePolicyFunction);
- virtual void dispatchDecidePolicyForNavigationAction(const NavigationAction&, const ResourceRequest&, WTF::PassRefPtr<FormState>, FramePolicyFunction);
- virtual void cancelPolicyCheck();
-
- virtual void dispatchUnableToImplementPolicy(const ResourceError&);
-
- virtual void dispatchWillSendSubmitEvent(WTF::PassRefPtr<FormState>) { }
- virtual void dispatchWillSubmitForm(WTF::PassRefPtr<FormState>, FramePolicyFunction);
-
- virtual void revertToProvisionalState(DocumentLoader*) { }
- virtual void setMainDocumentError(DocumentLoader*, const ResourceError&);
-
- virtual PassRefPtr<Frame> createFrame(const URL&, const String& name, HTMLFrameOwnerElement*,
- const String& referrer, bool allowsScrolling, int marginWidth, int marginHeight);
-
- virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElement*, const URL&, const WTF::Vector<String>&, const WTF::Vector<String>&, const String&, bool);
- virtual void recreatePlugin(Widget*) { }
- virtual void redirectDataToPlugin(Widget* pluginWidget);
- virtual PassRefPtr<Widget> createJavaAppletWidget(const IntSize&, HTMLAppletElement*, const URL& baseURL, const WTF::Vector<String>& paramNames, const WTF::Vector<String>& paramValues);
- virtual String overrideMediaType() const;
-
- virtual void registerForIconNotification(bool);
-
- virtual ObjectContentType objectContentType(const URL&, const String& mimeType, bool shouldPreferPlugInsForImages);
-
- virtual void setMainFrameDocumentReady(bool);
-
- virtual void startDownload(const ResourceRequest&, const String& suggestedName = String());
-
- virtual void willChangeTitle(DocumentLoader*);
- virtual void didChangeTitle(DocumentLoader*);
-
- virtual void committedLoad(DocumentLoader*, const char*, int);
- virtual void finishedLoading(DocumentLoader*);
-
- virtual void updateGlobalHistory();
- virtual void updateGlobalHistoryRedirectLinks();
- virtual bool shouldGoToHistoryItem(HistoryItem*) const;
- virtual void didDisplayInsecureContent();
- virtual void didRunInsecureContent(SecurityOrigin*, const URL&);
- virtual void didDetectXSS(const URL&, bool didBlockEntirePage);
-
- virtual ResourceError cancelledError(const ResourceRequest&);
- virtual ResourceError blockedError(const ResourceRequest&);
- virtual ResourceError cannotShowURLError(const ResourceRequest&);
- virtual ResourceError interruptedForPolicyChangeError(const ResourceRequest&);
-
- virtual ResourceError cannotShowMIMETypeError(const ResourceResponse&);
- virtual ResourceError fileDoesNotExistError(const ResourceResponse&);
- virtual ResourceError pluginWillHandleLoadError(const ResourceResponse&);
-
- virtual bool shouldFallBack(const ResourceError&);
-
- virtual bool canHandleRequest(const ResourceRequest&) const;
- virtual bool canShowMIMEType(const String&) const;
- virtual bool canShowMIMETypeAsHTML(const String& MIMEType) const;
- virtual bool representationExistsForURLScheme(const String&) const;
- virtual String generatedMIMETypeForURLScheme(const String&) const;
-
- virtual void frameLoadCompleted();
- virtual void saveViewStateToItem(HistoryItem*);
- virtual void restoreViewState();
- virtual void provisionalLoadStarted();
- virtual void didFinishLoad();
- virtual void prepareForDataSourceReplacement();
-
- virtual WTF::PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRequest&, const SubstituteData&);
- virtual void setTitle(const StringWithDirection& title, const URL&);
-
- virtual String userAgent(const URL&);
-
- virtual void savePlatformDataToCachedFrame(CachedFrame*);
- virtual void transitionToCommittedFromCachedFrame(CachedFrame*);
- virtual void transitionToCommittedForNewPage();
-
- virtual void didSaveToPageCache();
- virtual void didRestoreFromPageCache();
-
- virtual void dispatchDidBecomeFrameset(bool);
-
- virtual bool canCachePage() const;
- virtual void convertMainResourceLoadToDownload(DocumentLoader*, const ResourceRequest&, const ResourceResponse&);
-
- virtual PassRefPtr<WebCore::FrameNetworkingContext> createNetworkingContext();
- private:
- bool isLoadingMainFrame() const { return m_frame == ewk_view_frame_main_get(m_view); }
-
- Evas_Object *m_view;
- Evas_Object *m_frame;
-
- ResourceResponse m_response;
- String m_userAgent;
- String m_customUserAgent;
-
- ResourceError m_loadError;
-
- // Plugin view to redirect data to
- PluginView* m_pluginView;
- bool m_hasSentResponseToPlugin;
-};
-
-}
-
-#endif // FrameLoaderClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportFrameNetworkingContextEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/FrameNetworkingContextEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/FrameNetworkingContextEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/FrameNetworkingContextEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,61 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
- * Copyright (C) 2010 Samsung Electronics
- * Copyright (C) 2012 ProFUSION embedded systems
- *
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "FrameNetworkingContextEfl.h"
-
-#include "NotImplemented.h"
-#include "ResourceHandle.h"
-#include "ewk_frame.h"
-#include "ewk_view.h"
-#include "ewk_view_private.h"
-
-#include <Evas.h>
-
-namespace WebCore {
-
-PassRefPtr<FrameNetworkingContextEfl> FrameNetworkingContextEfl::create(Frame* frame, Evas_Object* ewkFrame)
-{
- return adoptRef(new FrameNetworkingContextEfl(frame, ewkFrame));
-}
-
-FrameNetworkingContextEfl::FrameNetworkingContextEfl(Frame* frame, Evas_Object* ewkFrame)
- : FrameNetworkingContext(frame)
- , m_ewkFrame(ewkFrame)
-{
-}
-
-NetworkStorageSession& FrameNetworkingContextEfl::storageSession() const
-{
- if (NetworkStorageSession* session = EWKPrivate::storageSession(ewk_frame_view_get(m_ewkFrame)))
- return *session;
- return NetworkStorageSession::defaultStorageSession();
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportFrameNetworkingContextEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/FrameNetworkingContextEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/FrameNetworkingContextEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/FrameNetworkingContextEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
- * Copyright (C) 2010 Samsung Electronics
- *
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef FrameNetworkingContextEfl_h
-#define FrameNetworkingContextEfl_h
-
-#include "FrameNetworkingContext.h"
-
-namespace WebCore {
-
-class FrameNetworkingContextEfl : public WebCore::FrameNetworkingContext {
-public:
- static PassRefPtr<FrameNetworkingContextEfl> create(Frame*, Evas_Object*);
-
- WebCore::Frame* coreFrame() const { return frame(); }
-
-private:
- virtual WebCore::NetworkStorageSession& storageSession() const;
-
- FrameNetworkingContextEfl(Frame*, Evas_Object*);
-
- Evas_Object* m_ewkFrame;
-};
-
-}
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportIconDatabaseClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/IconDatabaseClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/IconDatabaseClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/IconDatabaseClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,55 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "IconDatabaseClientEfl.h"
-
-#if ENABLE(ICONDATABASE)
-#include "NotImplemented.h"
-
-namespace WebCore {
-
-void IconDatabaseClientEfl::didRemoveAllIcons()
-{
- notImplemented();
-}
-
-void IconDatabaseClientEfl::didImportIconURLForPageURL(const String&)
-{
- notImplemented();
-}
-
-void IconDatabaseClientEfl::didImportIconDataForPageURL(const String&)
-{
- notImplemented();
-}
-
-void IconDatabaseClientEfl::didChangeIconForPageURL(const String&)
-{
- notImplemented();
-}
-
-void IconDatabaseClientEfl::didFinishURLImport()
-{
- notImplemented();
-}
-
-}
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportIconDatabaseClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/IconDatabaseClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/IconDatabaseClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/IconDatabaseClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,41 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef IconDatabaseClientEfl_h
-#define IconDatabaseClientEfl_h
-
-#if ENABLE(ICONDATABASE)
-
-#include "IconDatabaseClient.h"
-
-namespace WebCore {
-
-class IconDatabaseClientEfl : public IconDatabaseClient {
-public:
- virtual void didRemoveAllIcons();
- virtual void didImportIconURLForPageURL(const String&);
- virtual void didImportIconDataForPageURL(const String&);
- virtual void didChangeIconForPageURL(const String&);
- virtual void didFinishURLImport();
-};
-
-}
-
-#endif
-#endif // IconDatabaseClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportInspectorClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/InspectorClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/InspectorClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/InspectorClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,227 +0,0 @@
</span><del>-/*
- * Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
- * Copyright (C) 2009-2010 ProFUSION embedded systems
- * Copyright (C) 2009-2010 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include "config.h"
-#include "InspectorClientEfl.h"
-
-#if ENABLE(INSPECTOR)
-
-#include "EflInspectorUtilities.h"
-#include "FrameView.h"
-#include "InspectorController.h"
-#include "MainFrame.h"
-#include "NotImplemented.h"
-#include "ewk_view_private.h"
-#include <inspector/InspectorAgentBase.h>
-#include <wtf/text/CString.h>
-#include <wtf/text/WTFString.h>
-
-namespace WebCore {
-
-static void notifyInspectorDestroy(void* userData, Evas_Object* /*webview*/, void* /*eventInfo*/)
-{
- InspectorFrontendClientEfl* inspectorFrontendClient = static_cast<InspectorFrontendClientEfl*>(userData);
- if (inspectorFrontendClient)
- inspectorFrontendClient->destroyInspectorWindow(true);
-}
-
-static void invalidateView(Evas_Object* webView)
-{
- Evas_Coord width, height;
- Evas_Object* mainFrame = ewk_view_frame_main_get(webView);
- if (mainFrame && ewk_frame_contents_size_get(mainFrame, &width, &height)) {
- WebCore::Page* page = EWKPrivate::corePage(webView);
- if (page)
- page->mainFrame().view()->invalidateRect(WebCore::IntRect(0, 0, width, height));
- }
-}
-
-class InspectorFrontendSettingsEfl : public InspectorFrontendClientLocal::Settings {
-public:
- virtual String getProperty(const String& /*name*/)
- {
- notImplemented();
- return String();
- }
-
- virtual void setProperty(const String& /*name*/, const String& /*value*/)
- {
- notImplemented();
- }
-};
-
-InspectorClientEfl::InspectorClientEfl(Evas_Object* webView)
- : m_inspectedView(webView)
- , m_inspectorView(0)
- , m_frontendClient(0)
-{
-}
-
-InspectorClientEfl::~InspectorClientEfl()
-{
- if (m_frontendClient) {
- m_frontendClient->disconnectInspectorClient();
- m_frontendClient = 0;
- }
-}
-
-void InspectorClientEfl::inspectorDestroyed()
-{
- closeInspectorFrontend();
- delete this;
-}
-
-InspectorFrontendChannel* InspectorClientEfl::openInspectorFrontend(InspectorController*)
-{
- evas_object_smart_callback_call(m_inspectedView, "inspector,view,create", 0);
-
- Evas_Object* inspectorView = ewk_view_inspector_view_get(m_inspectedView);
- if (!inspectorView)
- return 0;
-
- m_inspectorView = inspectorView;
-
- String inspectorUri = inspectorFilesPath() + "/Main.html";
- ewk_view_uri_set(m_inspectorView, inspectorUri.utf8().data());
-
- auto frontendClient = std::make_unique<InspectorFrontendClientEfl>(m_inspectedView, m_inspectorView, this);
- m_frontendClient = frontendClient.get();
-
- InspectorController& controller = EWKPrivate::corePage(m_inspectorView)->inspectorController();
- controller.setInspectorFrontendClient(std::move(frontendClient));
-
- return this;
-}
-
-void InspectorClientEfl::closeInspectorFrontend()
-{
- if (m_frontendClient)
- m_frontendClient->destroyInspectorWindow(false);
-}
-
-void InspectorClientEfl::bringFrontendToFront()
-{
- m_frontendClient->bringToFront();
-}
-
-void InspectorClientEfl::highlight()
-{
- invalidateView(m_inspectedView);
-}
-
-void InspectorClientEfl::hideHighlight()
-{
- invalidateView(m_inspectedView);
-}
-
-bool InspectorClientEfl::sendMessageToFrontend(const String& message)
-{
- Page* frontendPage = EWKPrivate::corePage(m_inspectorView);
- return doDispatchMessageOnFrontendPage(frontendPage, message);
-}
-
-void InspectorClientEfl::releaseFrontendPage()
-{
- m_inspectorView = 0;
- m_frontendClient = 0;
-}
-
-String InspectorClientEfl::inspectorFilesPath()
-{
- return "file://" + inspectorResourcePath();
-}
-
-InspectorFrontendClientEfl::InspectorFrontendClientEfl(Evas_Object* inspectedView, Evas_Object* inspectorView, InspectorClientEfl* inspectorClient)
- : InspectorFrontendClientLocal(&EWKPrivate::corePage(inspectedView)->inspectorController(), EWKPrivate::corePage(inspectorView), std::make_unique<InspectorFrontendSettingsEfl>())
- , m_inspectedView(inspectedView)
- , m_inspectorView(inspectorView)
- , m_inspectorClient(inspectorClient)
-{
- evas_object_smart_callback_add(m_inspectorView, "inspector,view,destroy", notifyInspectorDestroy, this);
-}
-
-InspectorFrontendClientEfl::~InspectorFrontendClientEfl()
-{
- evas_object_smart_callback_del(m_inspectorView, "inspector,view,destroy", notifyInspectorDestroy);
-
- if (m_inspectorClient) {
- m_inspectorClient->releaseFrontendPage();
- m_inspectorClient = 0;
- }
-}
-
-String InspectorFrontendClientEfl::localizedStringsURL()
-{
- return m_inspectorClient->inspectorFilesPath() + "/localizedStrings.js";
-}
-
-void InspectorFrontendClientEfl::bringToFront()
-{
- evas_object_focus_set(m_inspectorView, true);
-}
-
-void InspectorFrontendClientEfl::closeWindow()
-{
- destroyInspectorWindow(true);
-}
-
-void InspectorFrontendClientEfl::inspectedURLChanged(const String&)
-{
- notImplemented();
-}
-
-void InspectorFrontendClientEfl::attachWindow(DockSide)
-{
- notImplemented();
-}
-
-void InspectorFrontendClientEfl::detachWindow()
-{
- notImplemented();
-}
-
-void InspectorFrontendClientEfl::setAttachedWindowHeight(unsigned)
-{
- notImplemented();
-}
-
-void InspectorFrontendClientEfl::setAttachedWindowWidth(unsigned)
-{
- notImplemented();
-}
-
-void InspectorFrontendClientEfl::setToolbarHeight(unsigned)
-{
- notImplemented();
-}
-
-void InspectorFrontendClientEfl::destroyInspectorWindow(bool notifyInspectorController)
-{
- if (notifyInspectorController)
- EWKPrivate::corePage(m_inspectedView)->inspectorController().disconnectFrontend(Inspector::InspectorDisconnectReason::InspectorDestroyed);
-
- if (m_inspectorClient)
- m_inspectorClient->releaseFrontendPage();
-
- evas_object_smart_callback_call(m_inspectedView, "inspector,view,close", m_inspectorView);
-}
-
-}
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportInspectorClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/InspectorClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/InspectorClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/InspectorClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,102 +0,0 @@
</span><del>-/*
- * Copyright (C) 2007 Apple Inc. All rights reserved.
- * Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
- * Copyright (C) 2009-2010 ProFUSION embedded systems
- * Copyright (C) 2009-2012 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple Inc. ("Apple") nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef InspectorClientEfl_h
-#define InspectorClientEfl_h
-
-#if ENABLE(INSPECTOR)
-
-#include "InspectorClient.h"
-#include "InspectorForwarding.h"
-#include "InspectorFrontendClientLocal.h"
-#include <Evas.h>
-#include <wtf/Forward.h>
-
-namespace WebCore {
-class InspectorFrontendClientEfl;
-
-class InspectorClientEfl : public InspectorClient, public InspectorFrontendChannel {
-public:
- explicit InspectorClientEfl(Evas_Object*);
- ~InspectorClientEfl();
-
- virtual void inspectorDestroyed();
-
- virtual InspectorFrontendChannel* openInspectorFrontend(InspectorController*);
- virtual void closeInspectorFrontend();
- virtual void bringFrontendToFront();
-
- virtual void highlight();
- virtual void hideHighlight();
-
- virtual bool sendMessageToFrontend(const String&);
-
- void releaseFrontendPage();
- String inspectorFilesPath();
-
-private:
- Evas_Object* m_inspectedView;
- Evas_Object* m_inspectorView;
- InspectorFrontendClientEfl* m_frontendClient;
-};
-
-class InspectorFrontendClientEfl : public InspectorFrontendClientLocal {
-public:
- InspectorFrontendClientEfl(Evas_Object*, Evas_Object*, InspectorClientEfl*);
- ~InspectorFrontendClientEfl();
-
- virtual String localizedStringsURL();
-
- virtual void bringToFront();
- virtual void closeWindow();
-
- virtual void inspectedURLChanged(const String&);
-
- virtual void attachWindow(DockSide);
- virtual void detachWindow();
-
- virtual void setAttachedWindowHeight(unsigned);
- virtual void setAttachedWindowWidth(unsigned);
- virtual void setToolbarHeight(unsigned) override;
-
- void disconnectInspectorClient() { m_inspectorClient = 0; }
- void destroyInspectorWindow(bool notifyInspectorController);
-
-private:
- Evas_Object* m_inspectedView;
- Evas_Object* m_inspectorView;
- InspectorClientEfl* m_inspectorClient;
-
-};
-}
-
-#endif
-#endif // InspectorClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportNavigatorContentUtilsClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/NavigatorContentUtilsClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/NavigatorContentUtilsClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/NavigatorContentUtilsClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,90 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "NavigatorContentUtilsClientEfl.h"
-
-#if ENABLE(NAVIGATOR_CONTENT_UTILS)
-
-#include "ewk_custom_handler_private.h"
-#include <wtf/text/CString.h>
-
-namespace WebCore {
-
-static Ewk_Custom_Handler_Data* customHandlerDataCreate(Evas_Object* ewkView, const char* scheme, const char* baseURL, const char* url)
-{
- Ewk_Custom_Handler_Data* data = new Ewk_Custom_Handler_Data;
- data->ewkView = ewkView;
- data->scheme = eina_stringshare_add(scheme);
- data->base_url = eina_stringshare_add(baseURL);
- data->url = eina_stringshare_add(url);
- return data;
-}
-
-static void customHandlerDataDelete(Ewk_Custom_Handler_Data* data)
-{
- eina_stringshare_del(data->scheme);
- eina_stringshare_del(data->base_url);
- eina_stringshare_del(data->url);
- delete data;
-}
-
-NavigatorContentUtilsClientEfl::NavigatorContentUtilsClientEfl(Evas_Object* view)
- : m_view(view)
-{
-}
-
-void NavigatorContentUtilsClientEfl::registerProtocolHandler(const String& scheme, const URL& baseURL, const URL& url, const String& title)
-{
- Ewk_Custom_Handler_Data* data = customHandlerDataCreate(m_view, scheme.utf8().data(), baseURL.string().utf8().data(), url.string().utf8().data());
- data->title = eina_stringshare_add(title.utf8().data());
- ewk_custom_handler_register_protocol_handler(data);
- eina_stringshare_del(data->title);
- customHandlerDataDelete(data);
-}
-
-#if ENABLE(CUSTOM_SCHEME_HANDLER)
-NavigatorContentUtilsClient::CustomHandlersState NavigatorContentUtilsClientEfl::isProtocolHandlerRegistered(const String& scheme, const URL& baseURL, const URL& url)
-{
- Ewk_Custom_Handler_Data* data = customHandlerDataCreate(m_view, scheme.utf8().data(), baseURL.string().utf8().data(), url.string().utf8().data());
- NavigatorContentUtilsClient::CustomHandlersState result = static_cast<CustomHandlersState>(ewk_custom_handler_register_protocol_handler(data));
- customHandlerDataDelete(data);
-
- return result;
-}
-
-void NavigatorContentUtilsClientEfl::unregisterProtocolHandler(const String& scheme, const URL& baseURL, const URL& url)
-{
- Ewk_Custom_Handler_Data* data = customHandlerDataCreate(m_view, scheme.utf8().data(), baseURL.string().utf8().data(), url.string().utf8().data());
- ewk_custom_handler_register_protocol_handler(data);
- customHandlerDataDelete(data);
-}
-#endif
-
-}
-
-#endif // ENABLE(NAVIGATOR_CONTENT_UTILS)
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportNavigatorContentUtilsClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/NavigatorContentUtilsClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/NavigatorContentUtilsClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/NavigatorContentUtilsClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,55 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef NavigatorContentUtilsClientEfl_h
-#define NavigatorContentUtilsClientEfl_h
-
-#if ENABLE(NAVIGATOR_CONTENT_UTILS)
-#include "NavigatorContentUtilsClient.h"
-
-#include <wtf/PassOwnPtr.h>
-
-namespace WebCore {
-class NavigatorContentUtilsClientEfl : public WebCore::NavigatorContentUtilsClient {
-public:
- explicit NavigatorContentUtilsClientEfl(Evas_Object* view);
-
- ~NavigatorContentUtilsClientEfl() { }
- virtual void registerProtocolHandler(const String& scheme, const URL& baseURL, const URL&, const String& title);
-
-#if ENABLE(CUSTOM_SCHEME_HANDLER)
- virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const URL& baseURL, const URL&);
- virtual void unregisterProtocolHandler(const String& scheme, const URL& baseURL, const URL&);
-#endif
-
-private:
- Evas_Object* m_view;
-};
-}
-
-#endif
-#endif // NavigatorContentUtilsClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportNotificationPresenterClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,74 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "NotificationPresenterClientEfl.h"
-
-#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
-#include "NotImplemented.h"
-
-namespace WebCore {
-
-NotificationPresenterClientEfl::NotificationPresenterClientEfl()
-{
-}
-
-NotificationPresenterClientEfl::~NotificationPresenterClientEfl()
-{
-}
-
-bool NotificationPresenterClientEfl::show(Notification* notification)
-{
- notImplemented();
- return false;
-}
-
-void NotificationPresenterClientEfl::cancel(Notification* notification)
-{
- notImplemented();
-}
-
-void NotificationPresenterClientEfl::notificationObjectDestroyed(Notification* notification)
-{
- notImplemented();
-}
-
-void NotificationPresenterClientEfl::notificationControllerDestroyed()
-{
- notImplemented();
-}
-
-void NotificationPresenterClientEfl::requestPermission(ScriptExecutionContext* context, PassRefPtr<VoidCallback> callback)
-{
- notImplemented();
-}
-
-NotificationClient::Permission NotificationPresenterClientEfl::checkPermission(ScriptExecutionContext* context)
-{
- notImplemented();
- return PermissionDenied;
-}
-
-void NotificationPresenterClientEfl::cancelRequestsForPermission(ScriptExecutionContext* context)
-{
- notImplemented();
-}
-
-}
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportNotificationPresenterClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,46 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef NotificationPresenterClientEfl_h
-#define NotificationPresenterClientEfl_h
-
-#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
-#include "Notification.h"
-#include "NotificationClient.h"
-
-namespace WebCore {
-
-class NotificationPresenterClientEfl : public NotificationClient {
-
-public:
- NotificationPresenterClientEfl();
- ~NotificationPresenterClientEfl();
-
- virtual bool show(Notification*);
- virtual void cancel(Notification*);
- virtual void notificationObjectDestroyed(Notification*);
- virtual void notificationControllerDestroyed();
- virtual void requestPermission(ScriptExecutionContext*, PassRefPtr<VoidCallback>);
- virtual NotificationClient::Permission checkPermission(ScriptExecutionContext*);
- virtual void cancelRequestsForPermission(ScriptExecutionContext*);
-};
-
-}
-#endif
-#endif // NotificationPresenterClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportPlatformStrategiesEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/PlatformStrategiesEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/PlatformStrategiesEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/PlatformStrategiesEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,153 +0,0 @@
</span><del>-/*
- Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
- Copyright (C) 2008 Trolltech ASA
- Copyright (C) 2008 Collabora Ltd. All rights reserved.
- Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2011 Samsung Electronics
- Copyright (C) 2012 Intel Corporation
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "PlatformStrategiesEfl.h"
-
-#include "NotImplemented.h"
-#include "Page.h"
-#include "PageGroup.h"
-#include "PlatformCookieJar.h"
-#include "PluginDatabase.h"
-#include "PluginPackage.h"
-
-using namespace WebCore;
-
-void PlatformStrategiesEfl::initialize()
-{
- DEPRECATED_DEFINE_STATIC_LOCAL(PlatformStrategiesEfl, platformStrategies, ());
- setPlatformStrategies(&platformStrategies);
-}
-
-PlatformStrategiesEfl::PlatformStrategiesEfl()
-{
-}
-
-CookiesStrategy* PlatformStrategiesEfl::createCookiesStrategy()
-{
- return this;
-}
-
-DatabaseStrategy* PlatformStrategiesEfl::createDatabaseStrategy()
-{
- return this;
-}
-
-LoaderStrategy* PlatformStrategiesEfl::createLoaderStrategy()
-{
- return this;
-}
-
-PasteboardStrategy* PlatformStrategiesEfl::createPasteboardStrategy()
-{
- notImplemented();
- return 0;
-}
-
-PluginStrategy* PlatformStrategiesEfl::createPluginStrategy()
-{
- return this;
-}
-
-SharedWorkerStrategy* PlatformStrategiesEfl::createSharedWorkerStrategy()
-{
- return this;
-}
-
-StorageStrategy* PlatformStrategiesEfl::createStorageStrategy()
-{
- return this;
-}
-
-// CookiesStrategy
-String PlatformStrategiesEfl::cookiesForDOM(const NetworkStorageSession& session, const URL& firstParty, const URL& url)
-{
- return WebCore::cookiesForDOM(session, firstParty, url);
-}
-
-void PlatformStrategiesEfl::setCookiesFromDOM(const NetworkStorageSession& session, const URL& firstParty, const URL& url, const String& cookieString)
-{
- WebCore::setCookiesFromDOM(session, firstParty, url, cookieString);
-}
-
-bool PlatformStrategiesEfl::cookiesEnabled(const NetworkStorageSession& session, const URL& firstParty, const URL& url)
-{
- return WebCore::cookiesEnabled(session, firstParty, url);
-}
-
-String PlatformStrategiesEfl::cookieRequestHeaderFieldValue(const NetworkStorageSession& session, const URL& firstParty, const URL& url)
-{
- return WebCore::cookieRequestHeaderFieldValue(session, firstParty, url);
-}
-
-bool PlatformStrategiesEfl::getRawCookies(const NetworkStorageSession& session, const URL& firstParty, const URL& url, Vector<Cookie>& rawCookies)
-{
- return WebCore::getRawCookies(session, firstParty, url, rawCookies);
-}
-
-void PlatformStrategiesEfl::deleteCookie(const NetworkStorageSession& session, const URL& url, const String& cookieName)
-{
- WebCore::deleteCookie(session, url, cookieName);
-}
-
-void PlatformStrategiesEfl::refreshPlugins()
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- PluginDatabase::installedPlugins()->refresh();
-#endif
-}
-
-void PlatformStrategiesEfl::getPluginInfo(const Page*, Vector<PluginInfo>& outPlugins)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- PluginDatabase::installedPlugins()->refresh();
- const Vector<PluginPackage*>& plugins = PluginDatabase::installedPlugins()->plugins();
- outPlugins.resize(plugins.size());
-
- for (size_t i = 0; i < plugins.size(); ++i) {
- PluginPackage* package = plugins[i];
-
- PluginInfo pluginInfo;
- pluginInfo.name = package->name();
- pluginInfo.file = package->fileName();
- pluginInfo.desc = package->description();
-
- const MIMEToDescriptionsMap& mimeToDescriptions = package->mimeToDescriptions();
- MIMEToDescriptionsMap::const_iterator end = mimeToDescriptions.end();
- for (MIMEToDescriptionsMap::const_iterator it = mimeToDescriptions.begin(); it != end; ++it) {
- MimeClassInfo mime;
-
- mime.type = it->key;
- mime.desc = it->value;
- mime.extensions = package->mimeToExtensions().get(mime.type);
- pluginInfo.mimes.append(mime);
- }
-
- outPlugins.append(pluginInfo);
- }
-#else
- UNUSED_PARAM(outPlugins);
-#endif
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportPlatformStrategiesEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/PlatformStrategiesEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/PlatformStrategiesEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/PlatformStrategiesEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,64 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Intel Corporation
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef PlatformStrategiesEfl_h
-#define PlatformStrategiesEfl_h
-
-#include "CookiesStrategy.h"
-#include "DatabaseStrategy.h"
-#include "LoaderStrategy.h"
-#include "PasteboardStrategy.h"
-#include "PlatformStrategies.h"
-#include "PluginStrategy.h"
-#include "SharedWorkerStrategy.h"
-#include "StorageStrategy.h"
-
-class PlatformStrategiesEfl : public WebCore::PlatformStrategies, private WebCore::CookiesStrategy, private WebCore::DatabaseStrategy, private WebCore::LoaderStrategy, private WebCore::PluginStrategy, private WebCore::SharedWorkerStrategy, private WebCore::StorageStrategy {
-public:
- static void initialize();
-
-private:
- PlatformStrategiesEfl();
-
- // WebCore::PlatformStrategies
- virtual WebCore::CookiesStrategy* createCookiesStrategy();
- virtual WebCore::DatabaseStrategy* createDatabaseStrategy();
- virtual WebCore::LoaderStrategy* createLoaderStrategy();
- virtual WebCore::PasteboardStrategy* createPasteboardStrategy();
- virtual WebCore::PluginStrategy* createPluginStrategy();
- virtual WebCore::SharedWorkerStrategy* createSharedWorkerStrategy();
- virtual WebCore::StorageStrategy* createStorageStrategy();
-
- // WebCore::CookiesStrategy
- virtual String cookiesForDOM(const WebCore::NetworkStorageSession&, const WebCore::URL& firstParty, const WebCore::URL&);
- virtual void setCookiesFromDOM(const WebCore::NetworkStorageSession&, const WebCore::URL& firstParty, const WebCore::URL&, const String&);
- virtual bool cookiesEnabled(const WebCore::NetworkStorageSession&, const WebCore::URL& firstParty, const WebCore::URL&);
- virtual String cookieRequestHeaderFieldValue(const WebCore::NetworkStorageSession&, const WebCore::URL& firstParty, const WebCore::URL&);
- virtual bool getRawCookies(const WebCore::NetworkStorageSession&, const WebCore::URL& firstParty, const WebCore::URL&, Vector<WebCore::Cookie>&);
- virtual void deleteCookie(const WebCore::NetworkStorageSession&, const WebCore::URL&, const String&);
-
- // WebCore::DatabaseStrategy
- // - Using default implementation.
-
- // WebCore::PluginStrategy
- virtual void refreshPlugins();
- virtual void getPluginInfo(const WebCore::Page*, Vector<WebCore::PluginInfo>&);
-};
-
-#endif // PlatformStrategiesEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportPopupMenuEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/PopupMenuEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/PopupMenuEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/PopupMenuEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,78 +0,0 @@
</span><del>-/*
- * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
- * Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
- * Copyright (C) 2009-2010 ProFUSION embedded systems
- * Copyright (C) 2009-2010 Samsung Electronics
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "PopupMenuEfl.h"
-
-#include "Chrome.h"
-#include "ChromeClientEfl.h"
-#include "Frame.h"
-#include "FrameView.h"
-#include "Page.h"
-#include "PopupMenuClient.h"
-
-namespace WebCore {
-
-PopupMenuEfl::PopupMenuEfl(PopupMenuClient* client)
- : m_popupClient(client)
- , m_view(0)
-{
-}
-
-PopupMenuEfl::~PopupMenuEfl()
-{
- // Tell client to destroy data related to this popup since this object is
- // going away.
- if (m_view)
- hide();
-}
-
-void PopupMenuEfl::show(const IntRect& rect, FrameView* view, int index)
-{
- ASSERT(m_popupClient);
- ChromeClientEfl& chromeClient = static_cast<ChromeClientEfl&>(view->frame().page()->chrome().client());
-
- m_view = view;
- chromeClient.createSelectPopup(m_popupClient, index, rect);
-}
-
-void PopupMenuEfl::hide()
-{
- ASSERT(m_view);
- ChromeClientEfl& chromeClient = static_cast<ChromeClientEfl&>(m_view->frame().page()->chrome().client());
-
- chromeClient.destroySelectPopup();
-}
-
-void PopupMenuEfl::updateFromElement()
-{
- client()->setTextFromItem(client()->selectedIndex());
-}
-
-void PopupMenuEfl::disconnectClient()
-{
- m_popupClient = 0;
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportPopupMenuEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/PopupMenuEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/PopupMenuEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/PopupMenuEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,53 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef PopupMenuEfl_h
-#define PopupMenuEfl_h
-
-#include "IntRect.h"
-#include "PopupMenu.h"
-#include <wtf/PassRefPtr.h>
-#include <wtf/RefCounted.h>
-
-namespace WebCore {
-
-class FrameView;
-class Scrollbar;
-class PopupMenuClient;
-
-class PopupMenuEfl : public PopupMenu {
-public:
- explicit PopupMenuEfl(PopupMenuClient*);
- ~PopupMenuEfl();
-
- virtual void show(const IntRect&, FrameView*, int index);
- virtual void hide();
- virtual void updateFromElement();
- virtual void disconnectClient();
-
-private:
- PopupMenuClient* client() const { return m_popupClient; }
-
- PopupMenuClient* m_popupClient;
- FrameView* m_view;
-};
-
-}
-
-#endif // PopupMenuEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportProgressTrackerClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/ProgressTrackerClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/ProgressTrackerClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/ProgressTrackerClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,62 +0,0 @@
</span><del>-/*
- * Copyright (C) 2014 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "ProgressTrackerClientEfl.h"
-
-#include "Frame.h"
-#include "NotImplemented.h"
-#include "ewk_frame_private.h"
-
-namespace WebCore {
-
-ProgressTrackerClientEfl::ProgressTrackerClientEfl(Evas_Object* view)
- : m_view(view)
-{
- ASSERT(m_view);
-}
-
-void ProgressTrackerClientEfl::progressTrackerDestroyed()
-{
- delete this;
-}
-
-void ProgressTrackerClientEfl::progressStarted(Frame& originatingProgressFrame)
-{
- ewk_frame_load_started(EWKPrivate::kitFrame(&originatingProgressFrame));
- progressEstimateChanged(originatingProgressFrame);
-}
-
-void ProgressTrackerClientEfl::progressEstimateChanged(Frame& originatingProgressFrame)
-{
- ewk_frame_load_progress_changed(EWKPrivate::kitFrame(&originatingProgressFrame));
-}
-
-void ProgressTrackerClientEfl::progressFinished(Frame&)
-{
- notImplemented();
-}
-
-} // namespace WebCore
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportProgressTrackerClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/ProgressTrackerClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/ProgressTrackerClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/ProgressTrackerClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-/*
- * Copyright (C) 2014 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef ProgressTrackerClientEfl_h
-#define ProgressTrackerClientEfl_h
-
-#include "ProgressTrackerClient.h"
-
-namespace WebCore {
-
-class ProgressTrackerClientEfl final : public WebCore::ProgressTrackerClient {
-public:
- explicit ProgressTrackerClientEfl(Evas_Object*);
-
-private:
- virtual void progressTrackerDestroyed() override;
-
- virtual void progressStarted(WebCore::Frame& originatingProgressFrame) override;
- virtual void progressEstimateChanged(WebCore::Frame& originatingProgressFrame) override;
- virtual void progressFinished(WebCore::Frame& originatingProgressFrame) override;
-
- Evas_Object* m_view;
-};
-
-} // namespace WebCore
-
-#endif // ProgressTrackerClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportSearchPopupMenuEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/SearchPopupMenuEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/SearchPopupMenuEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/SearchPopupMenuEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,56 +0,0 @@
</span><del>-/*
- * Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
- * Copyright (C) 2009-2010 ProFUSION embedded systems
- * Copyright (C) 2009-2010 Samsung Electronics
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include "config.h"
-#include "SearchPopupMenuEfl.h"
-
-#include "NotImplemented.h"
-
-namespace WebCore {
-
-SearchPopupMenuEfl::SearchPopupMenuEfl(PopupMenuClient* client)
- : m_popup(adoptRef(new PopupMenuEfl(client)))
-{
- notImplemented();
-}
-
-PopupMenu* SearchPopupMenuEfl::popupMenu()
-{
- return m_popup.get();
-}
-
-void SearchPopupMenuEfl::saveRecentSearches(const AtomicString&, const Vector<String>&)
-{
- notImplemented();
-}
-
-void SearchPopupMenuEfl::loadRecentSearches(const AtomicString&, Vector<String>&)
-{
- notImplemented();
-}
-
-bool SearchPopupMenuEfl::enabled()
-{
- notImplemented();
- return true;
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportSearchPopupMenuEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/SearchPopupMenuEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/SearchPopupMenuEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/SearchPopupMenuEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,44 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef SearchPopupMenuEfl_h
-#define SearchPopupMenuEfl_h
-
-#include "PopupMenuEfl.h"
-#include "SearchPopupMenu.h"
-
-namespace WebCore {
-
-class SearchPopupMenuEfl : public SearchPopupMenu {
-public:
- explicit SearchPopupMenuEfl(PopupMenuClient*);
-
- virtual PopupMenu* popupMenu();
- virtual void saveRecentSearches(const AtomicString& name, const Vector<String>& searchItems);
- virtual void loadRecentSearches(const AtomicString& name, Vector<String>& searchItems);
- virtual bool enabled();
-
-private:
- RefPtr<PopupMenuEfl> m_popup;
-};
-
-}
-
-#endif // SearchPopupMenuEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportStorageTrackerClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/StorageTrackerClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/StorageTrackerClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/StorageTrackerClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 ProFUSION Embedded Systems
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "StorageTrackerClientEfl.h"
-
-#include "NotImplemented.h"
-
-namespace WebCore {
-
-void StorageTrackerClientEfl::dispatchDidModifyOrigin(const String&)
-{
- notImplemented();
-}
-
-void StorageTrackerClientEfl::didFinishLoadingOrigins()
-{
- notImplemented();
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportStorageTrackerClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/StorageTrackerClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/StorageTrackerClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/StorageTrackerClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,35 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 ProFUSION Embedded Systems
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef StorageTrackerClientEfl_h
-#define StorageTrackerClientEfl_h
-
-#include "StorageTrackerClient.h"
-
-namespace WebCore {
-
-class StorageTrackerClientEfl : public StorageTrackerClient {
-public:
- virtual void dispatchDidModifyOrigin(const String&);
- virtual void didFinishLoadingOrigins();
-};
-
-}
-
-#endif // StorageTrackerClientEfl_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportVibrationClientEflcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/VibrationClientEfl.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/VibrationClientEfl.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/VibrationClientEfl.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "VibrationClientEfl.h"
-
-#if ENABLE(VIBRATION)
-
-namespace WebCore {
-
-VibrationClientEfl::VibrationClientEfl(Evas_Object* view)
- : m_view(view)
-{
-}
-
-void VibrationClientEfl::vibrate(const unsigned& time)
-{
- evas_object_smart_callback_call(m_view, "vibration,vibrate", (void*)&time);
-}
-
-void VibrationClientEfl::cancelVibration()
-{
- evas_object_smart_callback_call(m_view, "vibration,cancel", 0);
-}
-
-void VibrationClientEfl::vibrationDestroyed()
-{
- delete this;
-}
-
-} // namespace WebCore
-
-#endif // ENABLE(VIBRATION)
-
</del></span></pre></div>
<a id="trunkSourceWebKiteflWebCoreSupportVibrationClientEflh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/WebCoreSupport/VibrationClientEfl.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/WebCoreSupport/VibrationClientEfl.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/WebCoreSupport/VibrationClientEfl.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef VibrationClientEfl_h
-#define VibrationClientEfl_h
-
-#if ENABLE(VIBRATION)
-
-#include "VibrationClient.h"
-#include <Evas.h>
-
-namespace WebCore {
-
-class VibrationClientEfl : public VibrationClient {
-public:
- explicit VibrationClientEfl(Evas_Object* view);
- virtual ~VibrationClientEfl() { }
-
- virtual void vibrate(const unsigned& time);
- virtual void cancelVibration();
-
- virtual void vibrationDestroyed();
-
-private:
- Evas_Object* m_view;
-};
-
-} // namespace WebCore
-
-#endif
-#endif // VibrationClientEfl_h
-
</del></span></pre></div>
<a id="trunkSourceWebKiteflewebkitpcin"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewebkit.pc.in (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewebkit.pc.in        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewebkit.pc.in        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-prefix=@CMAKE_INSTALL_PREFIX@
-exec_prefix=${prefix}
-libdir=@LIB_INSTALL_DIR@
-includedir=${prefix}/include
-datadir=${prefix}/@DATA_INSTALL_DIR@
-
-Name: WebKit-EFL
-Description: Web content engine for EFL applications
-Version: @PROJECT_VERSION@
-Requires: cairo evas ecore harfbuzz libsoup-2.4 ecore-input
-Libs: -L${libdir} -lewebkit @EXTRA_EWEBKIT_LINK@
-Libs.private: @LIBS_PRIVATE@
-Cflags: -I${includedir}/@WebKit_OUTPUT_NAME@-@PROJECT_VERSION_MAJOR@
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkEWebKith"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/EWebKit.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/EWebKit.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/EWebKit.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-/*
- Copyright (C) 2008-2009 INdT - Instituto Nokia de Tecnologia
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2010 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file EWebKit.h
- * @brief Contains the header files that are required by WebKit-EFL.
- *
- * It includes the all header files that are exported to public API and Evas header.
- */
-
-#ifndef EWebKit_h
-#define EWebKit_h
-
-#include "ewk_auth.h"
-#include "ewk_contextmenu.h"
-#include "ewk_cookies.h"
-#include "ewk_file_chooser.h"
-#include "ewk_frame.h"
-#include "ewk_history.h"
-#include "ewk_js.h"
-#include "ewk_main.h"
-#include "ewk_network.h"
-#include "ewk_security_origin.h"
-#include "ewk_security_policy.h"
-#include "ewk_settings.h"
-#include "ewk_view.h"
-#include "ewk_web_database.h"
-#include "ewk_window_features.h"
-
-#include <Evas.h>
-
-#endif // EWebKit_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_authcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_auth.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_auth.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_auth.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-/*
- Copyright (C) 2011 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_auth.h"
-
-#include "ewk_auth_soup_private.h"
-
-void ewk_auth_show_dialog_callback_set(Ewk_Auth_Show_Dialog_Callback callback)
-{
- ewk_auth_soup_show_dialog_callback_set(callback);
-}
-
-void ewk_auth_credentials_set(char* username, char* password, void* data)
-{
- ewk_auth_soup_credentials_set(username, password, data);
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_authh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_auth.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_auth.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_auth.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,62 +0,0 @@
</span><del>-/*
- Copyright (C) 2011 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file ewk_auth.h
- * @brief Describes the authentication API.
- */
-
-#ifndef ewk_auth_h
-#define ewk_auth_h
-
-#include <Eina.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * Callback to be called when authentication is required.
- *
- * @param realm auth's realm
- * @param uri uri
- * @param data points to WebKitAuthData
- */
-typedef void (*Ewk_Auth_Show_Dialog_Callback)(const char *realm, const char *uri, void *data);
-
-/**
- * Sets callback to be called when authentication is required.
- *
- * @param callback callback to be called
- */
-EAPI void ewk_auth_show_dialog_callback_set(Ewk_Auth_Show_Dialog_Callback);
-
-/**
- * Calls authentication method for setting credentials.
- *
- * @param username username
- * @param password user password
- * @param data soup authentication data
- */
-EAPI void ewk_auth_credentials_set(char *username, char *password, void *data);
-
-#ifdef __cplusplus
-}
-#endif
-#endif // ewk_auth_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_auth_soupcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_auth_soup.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_auth_soup.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_auth_soup.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,137 +0,0 @@
</span><del>-/*
- Copyright (C) 2009 Igalia S.L.
- Copyright (C) 2011 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_auth_soup_private.h"
-
-#include "ewk_auth.h"
-#include <glib-object.h>
-#include <glib.h>
-#include <libsoup/soup.h>
-
-/**
- * #Ewk_Soup_Auth_Dialog is a #SoupSessionFeature that you can attach to your
- * #SoupSession to provide a simple authentication dialog while
- * handling HTTP basic auth. It is built as a simple C-only module
- * to ease reuse.
- */
-
-typedef struct _Ewk_Auth_Data {
- SoupMessage* message;
- SoupAuth* auth;
- SoupSession* session;
-} Ewk_Auth_Data;
-
-static Ewk_Auth_Show_Dialog_Callback ewk_auth_show_dialog_callback = 0;
-
-static void ewk_auth_soup_dialog_session_feature_init(SoupSessionFeatureInterface*, gpointer);
-static void attach(SoupSessionFeature*, SoupSession*);
-static void detach(SoupSessionFeature*, SoupSession*);
-static void free_auth_data(Ewk_Auth_Data*);
-
-G_DEFINE_TYPE_WITH_CODE(Ewk_Soup_Auth_Dialog, ewk_auth_soup_dialog, G_TYPE_OBJECT,
- G_IMPLEMENT_INTERFACE(SOUP_TYPE_SESSION_FEATURE, ewk_auth_soup_dialog_session_feature_init))
-
-static void ewk_auth_soup_dialog_class_init(Ewk_Soup_Auth_DialogClass*)
-{
-}
-
-static void ewk_auth_soup_dialog_init(Ewk_Soup_Auth_Dialog*)
-{
-}
-
-static void ewk_auth_soup_dialog_session_feature_init(SoupSessionFeatureInterface* featureInterface, gpointer /*interfaceData*/)
-{
- featureInterface->attach = attach;
- featureInterface->detach = detach;
-}
-
-/**
- * @internal
- * Sets callback to be called when authentication is required.
- */
-void ewk_auth_soup_show_dialog_callback_set(Ewk_Auth_Show_Dialog_Callback callback)
-{
- ewk_auth_show_dialog_callback = callback;
-}
-
-/**
- * @internal
- * Method for setting credentials
- *
- * @param username username
- * @param password password
- * @param data soup authentication data
- */
-void ewk_auth_soup_credentials_set(const char* username, const char* password, void* data)
-{
- if (!data)
- return;
-
- Ewk_Auth_Data* authenticationData = static_cast<Ewk_Auth_Data*>(data);
- soup_auth_authenticate(authenticationData->auth, username, password);
- soup_session_unpause_message(authenticationData->session, authenticationData->message);
- free_auth_data(authenticationData);
-}
-
-static void session_authenticate(SoupSession* session, SoupMessage* message, SoupAuth* auth, gboolean /*retrying*/, gpointer /*user_data*/)
-{
- SoupURI* uri;
- Ewk_Auth_Data* authenticationData;
- const char* realm;
-
- if (!ewk_auth_show_dialog_callback)
- return;
-
- soup_session_pause_message(session, message);
- // We need to make sure the message sticks around when pausing it.
- g_object_ref(message);
- g_object_ref(session);
- g_object_ref(auth);
-
- authenticationData = new Ewk_Auth_Data;
- authenticationData->message = message;
- authenticationData->auth = auth;
- authenticationData->session = session;
-
- uri = soup_message_get_uri(authenticationData->message);
- realm = soup_auth_get_realm(authenticationData->auth);
-
- // Call application method responsible for showing authentication dialog and sending back authorization data.
- ewk_auth_show_dialog_callback(realm, soup_uri_to_string(uri, TRUE), authenticationData);
-}
-
-static void free_auth_data(Ewk_Auth_Data* authData)
-{
- g_object_unref(authData->message);
- g_object_unref(authData->session);
- g_object_unref(authData->auth);
- delete authData;
-}
-
-static void attach(SoupSessionFeature* manager, SoupSession* session)
-{
- g_signal_connect(session, "authenticate", G_CALLBACK(session_authenticate), manager);
-}
-
-static void detach(SoupSessionFeature* manager, SoupSession* session)
-{
- g_signal_handlers_disconnect_by_func(session, (void*)session_authenticate, manager);
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_auth_soup_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_auth_soup_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_auth_soup_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_auth_soup_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-/*
- Copyright (C) 2009 Igalia S.L.
- Copyright (C) 2011 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_auth_soup_private_h
-#define ewk_auth_soup_private_h
-
-#include "ewk_auth.h"
-#include <glib-object.h>
-#include <glib.h>
-
-#define EWK_TYPE_SOUP_AUTH_DIALOG (ewk_auth_soup_dialog_get_type())
-#define EWK_SOUP_AUTH_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EWK_TYPE_SOUP_AUTH_DIALOG, Ewk_Soup_Auth_Dialog))
-#define EWK_SOUP_AUTH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EWK_TYPE_SOUP_AUTH_DIALOG, Ewk_Soup_Auth_Dialog))
-#define EWK_IS_SOUP_AUTH_DIALOG(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EWK_TYPE_SOUP_AUTH_DIALOG))
-#define EWK_IS_SOUP_AUTH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EWK_TYPE_SOUP_AUTH_DIALOG))
-#define EWK_SOUP_AUTH_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EWK_TYPE_SOUP_AUTH_DIALOG, Ewk_Soup_Auth_Dialog))
-
-typedef struct {
- GObject parent_instance;
-} Ewk_Soup_Auth_Dialog;
-
-typedef struct {
- GObjectClass parent_class;
-} Ewk_Soup_Auth_DialogClass;
-
-GType ewk_auth_soup_dialog_get_type(void);
-
-/**
- * Sets callback to be called when authentication is required.
- */
-void ewk_auth_soup_show_dialog_callback_set(Ewk_Auth_Show_Dialog_Callback callback);
-
-void ewk_auth_soup_credentials_set(const char *username, const char *password, void *data);
-
-#endif // ewk_auth_soup_private_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_contextmenucpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_contextmenu.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_contextmenu.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_contextmenu.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,478 +0,0 @@
</span><del>-/*
- Copyright (C) 2010 ProFUSION embedded systems
- Copyright (C) 2010 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_contextmenu.h"
-
-#include "ContextMenu.h"
-#include "ContextMenuController.h"
-#include "ContextMenuItem.h"
-#include "ewk_contextmenu_private.h"
-#include <Eina.h>
-#include <eina_safety_checks.h>
-#include <wtf/text/CString.h>
-
-/**
- * \struct _Ewk_Context_Menu
- * @brief Contains the context menu data.
- */
-struct _Ewk_Context_Menu {
- unsigned int __ref; /**< the reference count of the object */
-#if ENABLE(CONTEXT_MENUS)
- WebCore::ContextMenuController* controller; /**< the WebCore's object which is responsible for the context menu */
-#endif
- Evas_Object* view; /**< the view object */
-
- Eina_List* items; /**< the list of items */
-};
-
-/**
- * \struct _Ewk_Context_Menu_Item
- * @brief Represents one item of the context menu object.
- */
-struct _Ewk_Context_Menu_Item {
- Ewk_Context_Menu_Item_Type type; /**< contains the type of the item */
- Ewk_Context_Menu_Action action; /**< contains the action of the item */
-
- const char* title; /**< contains the title of the item */
- Ewk_Context_Menu* submenu; /**< contains the pointer to the submenu of the item */
- Ewk_Context_Menu* parentMenu; /**< contains the pointer to parent menu of the item */
-
- bool checked : 1;
- bool enabled : 1;
-};
-
-#if ENABLE(CONTEXT_MENUS)
-inline static Ewk_Context_Menu_Action toEwkContextMenuAction(WebCore::ContextMenuAction action)
-{
- switch (action) {
- case WebCore::ContextMenuItemTagNoAction:
- return EWK_CONTEXT_MENU_ITEM_TAG_NO_ACTION;
- case WebCore::ContextMenuItemTagOpenLinkInNewWindow:
- return EWK_CONTEXT_MENU_ITEM_TAG_OPEN_LINK_IN_NEW_WINDOW;
- case WebCore::ContextMenuItemTagDownloadLinkToDisk:
- return EWK_CONTEXT_MENU_ITEM_TAG_DOWNLOAD_LINK_TO_DISK;
- case WebCore::ContextMenuItemTagCopyLinkToClipboard:
- return EWK_CONTEXT_MENU_ITEM_TAG_COPY_LINK_TO_CLIPBOARD;
- case WebCore::ContextMenuItemTagOpenImageInNewWindow:
- return EWK_CONTEXT_MENU_ITEM_TAG_OPEN_IMAGE_IN_NEW_WINDOW;
- case WebCore::ContextMenuItemTagDownloadImageToDisk:
- return EWK_CONTEXT_MENU_ITEM_TAG_DOWNLOAD_IMAGE_TO_DISK;
- case WebCore::ContextMenuItemTagCopyImageToClipboard:
- return EWK_CONTEXT_MENU_ITEM_TAG_COPY_IMAGE_TO_CLIPBOARD;
- case WebCore::ContextMenuItemTagCopyImageUrlToClipboard:
- return EWK_CONTEXT_MENU_ITEM_TAG_COPY_IMAGE_URL_TO_CLIPBOARD;
- case WebCore::ContextMenuItemTagOpenFrameInNewWindow:
- return EWK_CONTEXT_MENU_ITEM_TAG_OPEN_FRAME_IN_NEW_WINDOW;
- case WebCore::ContextMenuItemTagCopy:
- return EWK_CONTEXT_MENU_ITEM_TAG_COPY;
- case WebCore::ContextMenuItemTagGoBack:
- return EWK_CONTEXT_MENU_ITEM_TAG_GO_BACK;
- case WebCore::ContextMenuItemTagGoForward:
- return EWK_CONTEXT_MENU_ITEM_TAG_GO_FORWARD;
- case WebCore::ContextMenuItemTagStop:
- return EWK_CONTEXT_MENU_ITEM_TAG_STOP;
- case WebCore::ContextMenuItemTagReload:
- return EWK_CONTEXT_MENU_ITEM_TAG_RELOAD;
- case WebCore::ContextMenuItemTagCut:
- return EWK_CONTEXT_MENU_ITEM_TAG_CUT;
- case WebCore::ContextMenuItemTagPaste:
- return EWK_CONTEXT_MENU_ITEM_TAG_PASTE;
- case WebCore::ContextMenuItemTagSelectAll:
- return EWK_CONTEXT_MENU_ITEM_TAG_SELECT_ALL;
- case WebCore::ContextMenuItemTagSpellingGuess:
- return EWK_CONTEXT_MENU_ITEM_TAG_SPELLING_GUESS;
- case WebCore::ContextMenuItemTagNoGuessesFound:
- return EWK_CONTEXT_MENU_ITEM_TAG_NO_GUESSES_FOUND;
- case WebCore::ContextMenuItemTagIgnoreSpelling:
- return EWK_CONTEXT_MENU_ITEM_TAG_IGNORE_SPELLING;
- case WebCore::ContextMenuItemTagLearnSpelling:
- return EWK_CONTEXT_MENU_ITEM_TAG_LEARN_SPELLING;
- case WebCore::ContextMenuItemTagOther:
- return EWK_CONTEXT_MENU_ITEM_TAG_OTHER;
- case WebCore::ContextMenuItemTagSearchInSpotlight:
- return EWK_CONTEXT_MENU_ITEM_TAG_SEARCH_IN_SPOTLIGHT;
- case WebCore::ContextMenuItemTagSearchWeb:
- return EWK_CONTEXT_MENU_ITEM_TAG_SEARCH_WEB;
- case WebCore::ContextMenuItemTagLookUpInDictionary:
- return EWK_CONTEXT_MENU_ITEM_TAG_LOOK_UP_IN_DICTIONARY;
- case WebCore::ContextMenuItemTagOpenWithDefaultApplication:
- return EWK_CONTEXT_MENU_ITEM_TAG_OPEN_WITH_DEFAULT_APPLICATION;
- case WebCore::ContextMenuItemPDFActualSize:
- return EWK_CONTEXT_MENU_ITEM_PDFACTUAL_SIZE;
- case WebCore::ContextMenuItemPDFZoomIn:
- return EWK_CONTEXT_MENU_ITEM_PDFZOOM_IN;
- case WebCore::ContextMenuItemPDFZoomOut:
- return EWK_CONTEXT_MENU_ITEM_PDFZOOM_OUT;
- case WebCore::ContextMenuItemPDFAutoSize:
- return EWK_CONTEXT_MENU_ITEM_PDFAUTO_SIZE;
- case WebCore::ContextMenuItemPDFSinglePage:
- return EWK_CONTEXT_MENU_ITEM_PDFSINGLE_PAGE;
- case WebCore::ContextMenuItemPDFFacingPages:
- return EWK_CONTEXT_MENU_ITEM_PDFFACING_PAGES;
- case WebCore::ContextMenuItemPDFContinuous:
- return EWK_CONTEXT_MENU_ITEM_PDFCONTINUOUS;
- case WebCore::ContextMenuItemPDFNextPage:
- return EWK_CONTEXT_MENU_ITEM_PDFNEXT_PAGE;
- case WebCore::ContextMenuItemPDFPreviousPage:
- return EWK_CONTEXT_MENU_ITEM_PDFPREVIOUS_PAGE;
- case WebCore::ContextMenuItemTagOpenLink:
- return EWK_CONTEXT_MENU_ITEM_TAG_OPEN_LINK;
- case WebCore::ContextMenuItemTagIgnoreGrammar:
- return EWK_CONTEXT_MENU_ITEM_TAG_IGNORE_GRAMMAR;
- case WebCore::ContextMenuItemTagSpellingMenu:
- return EWK_CONTEXT_MENU_ITEM_TAG_SPELLING_MENU;
- case WebCore::ContextMenuItemTagShowSpellingPanel:
- return EWK_CONTEXT_MENU_ITEM_TAG_SHOW_SPELLING_PANEL;
- case WebCore::ContextMenuItemTagCheckSpelling:
- return EWK_CONTEXT_MENU_ITEM_TAG_CHECK_SPELLING;
- case WebCore::ContextMenuItemTagCheckSpellingWhileTyping:
- return EWK_CONTEXT_MENU_ITEM_TAG_CHECK_SPELLING_WHILE_TYPING;
- case WebCore::ContextMenuItemTagCheckGrammarWithSpelling:
- return EWK_CONTEXT_MENU_ITEM_TAG_CHECK_GRAMMAR_WITH_SPELLING;
- case WebCore::ContextMenuItemTagFontMenu:
- return EWK_CONTEXT_MENU_ITEM_TAG_FONT_MENU;
- case WebCore::ContextMenuItemTagShowFonts:
- return EWK_CONTEXT_MENU_ITEM_TAG_SHOW_FONTS;
- case WebCore::ContextMenuItemTagBold:
- return EWK_CONTEXT_MENU_ITEM_TAG_BOLD;
- case WebCore::ContextMenuItemTagItalic:
- return EWK_CONTEXT_MENU_ITEM_TAG_ITALIC;
- case WebCore::ContextMenuItemTagUnderline:
- return EWK_CONTEXT_MENU_ITEM_TAG_UNDERLINE;
- case WebCore::ContextMenuItemTagOutline:
- return EWK_CONTEXT_MENU_ITEM_TAG_OUTLINE;
- case WebCore::ContextMenuItemTagStyles:
- return EWK_CONTEXT_MENU_ITEM_TAG_STYLES;
- case WebCore::ContextMenuItemTagShowColors:
- return EWK_CONTEXT_MENU_ITEM_TAG_SHOW_COLORS;
- case WebCore::ContextMenuItemTagSpeechMenu:
- return EWK_CONTEXT_MENU_ITEM_TAG_SPEECH_MENU;
- case WebCore::ContextMenuItemTagStartSpeaking:
- return EWK_CONTEXT_MENU_ITEM_TAG_START_SPEAKING;
- case WebCore::ContextMenuItemTagStopSpeaking:
- return EWK_CONTEXT_MENU_ITEM_TAG_STOP_SPEAKING;
- case WebCore::ContextMenuItemTagWritingDirectionMenu:
- return EWK_CONTEXT_MENU_ITEM_TAG_WRITING_DIRECTION_MENU;
- case WebCore::ContextMenuItemTagDefaultDirection:
- return EWK_CONTEXT_MENU_ITEM_TAG_DEFAULT_DIRECTION;
- case WebCore::ContextMenuItemTagLeftToRight:
- return EWK_CONTEXT_MENU_ITEM_TAG_LEFT_TO_RIGHT;
- case WebCore::ContextMenuItemTagRightToLeft:
- return EWK_CONTEXT_MENU_ITEM_TAG_RIGHT_TO_LEFT;
- case WebCore::ContextMenuItemTagPDFSinglePageScrolling:
- return EWK_CONTEXT_MENU_ITEM_TAG_PDFSINGLE_PAGE_SCROLLING;
- case WebCore::ContextMenuItemTagPDFFacingPagesScrolling:
- return EWK_CONTEXT_MENU_ITEM_TAG_PDFFACING_PAGES_SCROLLING;
-#if ENABLE(INSPECTOR)
- case WebCore::ContextMenuItemTagInspectElement:
- return EWK_CONTEXT_MENU_ITEM_TAG_INSPECT_ELEMENT;
-#endif
- case WebCore::ContextMenuItemTagTextDirectionMenu:
- return EWK_CONTEXT_MENU_ITEM_TAG_TEXT_DIRECTION_MENU;
- case WebCore::ContextMenuItemTagTextDirectionDefault:
- return EWK_CONTEXT_MENU_ITEM_TAG_TEXT_DIRECTION_DEFAULT;
- case WebCore::ContextMenuItemTagTextDirectionLeftToRight:
- return EWK_CONTEXT_MENU_ITEM_TAG_TEXT_DIRECTION_LEFT_TO_RIGHT;
- case WebCore::ContextMenuItemTagTextDirectionRightToLeft:
- return EWK_CONTEXT_MENU_ITEM_TAG_TEXT_DIRECTION_RIGHT_TO_LEFT;
- case WebCore::ContextMenuItemTagOpenMediaInNewWindow:
- return EWK_CONTEXT_MENU_ITEM_OPEN_MEDIA_IN_NEW_WINDOW;
- case WebCore::ContextMenuItemTagDownloadMediaToDisk:
- return EWK_CONTEXT_MENU_ITEM_TAG_DOWNLOAD_MEDIA_TO_DISK;
- case WebCore::ContextMenuItemTagCopyMediaLinkToClipboard:
- return EWK_CONTEXT_MENU_ITEM_TAG_COPY_MEDIA_LINK_TO_CLIPBOARD;
- case WebCore::ContextMenuItemTagToggleMediaControls:
- return EWK_CONTEXT_MENU_ITEM_TAG_TOGGLE_MEDIA_CONTROLS;
- case WebCore::ContextMenuItemTagToggleMediaLoop:
- return EWK_CONTEXT_MENU_ITEM_TAG_TOGGLE_MEDIA_LOOP;
- case WebCore::ContextMenuItemTagEnterVideoFullscreen:
- return EWK_CONTEXT_MENU_ITEM_TAG_ENTER_VIDEO_FULLSCREEN;
- case WebCore::ContextMenuItemTagMediaPlayPause:
- return EWK_CONTEXT_MENU_ITEM_TAG_MEDIA_PLAY_PAUSE;
- case WebCore::ContextMenuItemTagMediaMute:
- return EWK_CONTEXT_MENU_ITEM_TAG_MEDIA_MUTE;
- case WebCore::ContextMenuItemTagDictationAlternative:
- return EWK_CONTEXT_MENU_ITEM_TAG_DICTATION_ALTERNATIVE;
- case WebCore::ContextMenuItemTagOpenLinkInThisWindow:
- return EWK_CONTEXT_MENU_ITEM_TAG_OPEN_LINK_IN_THIS_WINDOW;
- case WebCore::ContextMenuItemTagToggleVideoFullscreen:
- return EWK_CONTEXT_MENU_ITEM_TAG_TOGGLE_VIDEO_FULL_SCREEN;
- case WebCore::ContextMenuItemBaseCustomTag:
- return EWK_CONTEXT_MENU_ITEM_BASE_CUSTOM_TAG;
- case WebCore::ContextMenuItemCustomTagNoAction:
- return EWK_CONTEXT_MENU_ITEM_CUSTOM_TAG_NO_ACTION;
- case WebCore::ContextMenuItemLastCustomTag:
- return EWK_CONTEXT_MENU_ITEM_LAST_CUSTOM_TAG;
- case WebCore::ContextMenuItemBaseApplicationTag:
- return EWK_CONTEXT_MENU_ITEM_BASE_APPLICATION_TAG;
- }
-}
-#endif
-
-void ewk_context_menu_ref(Ewk_Context_Menu* menu)
-{
- EINA_SAFETY_ON_NULL_RETURN(menu);
- menu->__ref++;
-}
-
-void ewk_context_menu_unref(Ewk_Context_Menu* menu)
-{
- EINA_SAFETY_ON_NULL_RETURN(menu);
- void* item;
-
- if (--menu->__ref)
- return;
-
- EINA_LIST_FREE(menu->items, item)
- ewk_context_menu_item_free(static_cast<Ewk_Context_Menu_Item*>(item));
-
- delete menu;
-}
-
-Eina_Bool ewk_context_menu_destroy(Ewk_Context_Menu* menu)
-{
-#if ENABLE(CONTEXT_MENUS)
- EINA_SAFETY_ON_NULL_RETURN_VAL(menu, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(menu->controller, false);
- menu->controller->clearContextMenu();
- ewk_context_menu_free(menu);
- return true;
-#else
- UNUSED_PARAM(menu);
- return false;
-#endif
-}
-
-const Eina_List* ewk_context_menu_item_list_get(const Ewk_Context_Menu* menu)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(menu, 0);
-
- return menu->items;
-}
-
-Ewk_Context_Menu_Item* ewk_context_menu_item_new(Ewk_Context_Menu_Item_Type type, Ewk_Context_Menu_Action action, Ewk_Context_Menu* parentMenu,
- Ewk_Context_Menu* submenu, const char* title, Eina_Bool checked, Eina_Bool enabled)
-{
- Ewk_Context_Menu_Item* item = new Ewk_Context_Menu_Item;
- item->type = type;
- item->action = action;
- item->title = eina_stringshare_add(title);
- item->parentMenu = parentMenu;
- item->submenu = submenu;
- item->checked = checked;
- item->enabled = enabled;
-
- return item;
-}
-
-Eina_Bool ewk_context_menu_item_select(Ewk_Context_Menu* menu, Ewk_Context_Menu_Item* item)
-{
-#if ENABLE(CONTEXT_MENUS)
- EINA_SAFETY_ON_NULL_RETURN_VAL(menu, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(item, false);
- WebCore::ContextMenuAction action = static_cast<WebCore::ContextMenuAction>(item->action);
- WebCore::ContextMenuItemType type = static_cast<WebCore::ContextMenuItemType>(item->type);
-
- // Don't care about title and submenu as they're not used after this point.
- WebCore::ContextMenuItem core(type, action, WTF::String());
- menu->controller->contextMenuItemSelected(&core);
- return true;
-#else
- UNUSED_PARAM(menu);
- UNUSED_PARAM(item);
- return false;
-#endif
-}
-
-void ewk_context_menu_item_free(Ewk_Context_Menu_Item* item)
-{
- EINA_SAFETY_ON_NULL_RETURN(item);
-
- eina_stringshare_del(item->title);
- delete item;
-}
-
-Ewk_Context_Menu_Item_Type ewk_context_menu_item_type_get(const Ewk_Context_Menu_Item* item)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(item, EWK_ACTION_TYPE);
- return item->type;
-}
-
-Eina_Bool ewk_context_menu_item_type_set(Ewk_Context_Menu_Item* item, Ewk_Context_Menu_Item_Type type)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(item, false);
- item->type = type;
- return true;
-}
-
-Ewk_Context_Menu_Action ewk_context_menu_item_action_get(const Ewk_Context_Menu_Item* item)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(item, EWK_CONTEXT_MENU_ITEM_TAG_NO_ACTION);
- return item->action;
-}
-
-Eina_Bool ewk_context_menu_item_action_set(Ewk_Context_Menu_Item* item, Ewk_Context_Menu_Action action)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(item, false);
- item->action = action;
- return true;
-}
-
-const char* ewk_context_menu_item_title_get(const Ewk_Context_Menu_Item* item)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(item, 0);
- return item->title;
-}
-
-const char* ewk_context_menu_item_title_set(Ewk_Context_Menu_Item* item, const char* title)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(item, 0);
- eina_stringshare_replace(&item->title, title);
- return item->title;
-}
-
-Eina_Bool ewk_context_menu_item_checked_get(const Ewk_Context_Menu_Item* item)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(item, false);
- return item->checked;
-}
-
-Eina_Bool ewk_context_menu_item_checked_set(Ewk_Context_Menu_Item* item, Eina_Bool checked)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(item, false);
- item->checked = checked;
- return true;
-}
-
-Eina_Bool ewk_context_menu_item_enabled_get(const Ewk_Context_Menu_Item* item)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(item, false);
- return item->enabled;
-}
-
-Eina_Bool ewk_context_menu_item_enabled_set(Ewk_Context_Menu_Item* item, Eina_Bool enabled)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(item, false);
- item->enabled = enabled;
- return true;
-}
-
-Ewk_Context_Menu* ewk_context_menu_item_parent_get(const Ewk_Context_Menu_Item* item)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(item, 0);
-
- return item->parentMenu;
-}
-
-/* internal methods ****************************************************/
-
-#if ENABLE(CONTEXT_MENUS)
-/**
- * @internal
- *
- * Creates an empty context menu on view.
- *
- * @param view the view object
- * @param controller the WebCore's context menu controller
- * @return newly allocated the context menu on success or @c 0 on errors
- *
- * @note emits a signal "contextmenu,new"
- */
-Ewk_Context_Menu* ewk_context_menu_new(Evas_Object* view, WebCore::ContextMenuController* controller, WebCore::ContextMenu* coreMenu)
-{
- Ewk_Context_Menu* menu;
- EINA_SAFETY_ON_NULL_RETURN_VAL(view, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(controller, 0);
-
- menu = new Ewk_Context_Menu;
-
- menu->__ref = 1;
- menu->view = view;
- menu->controller = controller;
- menu->items = 0;
- evas_object_smart_callback_call(menu->view, "contextmenu,new", menu);
-
- const Vector<WebCore::ContextMenuItem>& itemsList = coreMenu->items();
- for (Vector<WebCore::ContextMenuItem>::const_iterator iter = itemsList.begin(); iter != itemsList.end(); ++iter)
- ewk_context_menu_item_append(menu, *iter);
-
- return menu;
-}
-
-/**
- * @internal
- *
- * Frees the context menu.
- *
- * @param menu the view object
- * @return @c true on success, or @c false on failure
- *
- * @note emits a signal "contextmenu,free"
- *
- * @see ewk_context_menu_unref
- * @see ewk_context_menu_destroy
- */
-bool ewk_context_menu_free(Ewk_Context_Menu* menu)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(menu, false);
- evas_object_smart_callback_call(menu->view, "contextmenu,free", menu);
- ewk_context_menu_unref(menu);
- return true;
-}
-
-/**
- * @internal
- *
- * Appends the WebCore's item to the context menu object.
- *
- * @param menu the context menu object
- * @param core the WebCore's context menu item that will be added to the context menu
- * @note emits a signal "contextmenu,item,appended"
- *
- * @see ewk_context_menu_item_new
- */
-void ewk_context_menu_item_append(Ewk_Context_Menu* menu, const WebCore::ContextMenuItem& core)
-{
- Ewk_Context_Menu_Item_Type type = static_cast<Ewk_Context_Menu_Item_Type>(core.type());
- Ewk_Context_Menu_Action action = static_cast<Ewk_Context_Menu_Action>(core.action());
-
- Ewk_Context_Menu_Item* menu_item = ewk_context_menu_item_new(type, action, menu, 0, core.title().utf8().data(), core.checked(), core.enabled());
- EINA_SAFETY_ON_NULL_RETURN(menu_item);
-
- menu->items = eina_list_append(menu->items, menu_item);
- evas_object_smart_callback_call(menu->view, "contextmenu,item,appended", menu);
-}
-
-/**
- * @internal
- *
- * Emits a signal "contextmenu,show"
- *
- * @param menu the context menu object
- */
-void ewk_context_menu_show(Ewk_Context_Menu* menu)
-{
- EINA_SAFETY_ON_NULL_RETURN(menu);
-
- evas_object_smart_callback_call(menu->view, "contextmenu,show", menu);
-}
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_contextmenuh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_contextmenu.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_contextmenu.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_contextmenu.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,341 +0,0 @@
</span><del>-/*
- Copyright (C) 2010 ProFUSION embedded systems
- Copyright (C) 2010 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file ewk_contextmenu.h
- * @brief Describes the context menu API.
- *
- * The following signals (see evas_object_smart_callback_add()) are emitted:
- *
- * - "contextmenu,customize", Eina_List *: customize context menu is taken
- * and it gives a list with items of context menu as an argument.
- * - "contextmenu,free", Ewk_Context_Menu *: a context menu is freed.
- * - "contextmenu,item,appended", Ewk_Context_Menu *: a new item was added to
- * the context menu.
- * - "contextmenu,new", Ewk_Context_Menu *: a new context menu was created
- * and it gives the context menu as an argument.
- * - "contextmenu,show", Ewk_Context_Menu *: a context menu is shown.
- */
-
-#ifndef ewk_contextmenu_h
-#define ewk_contextmenu_h
-
-#include <Eina.h>
-#include <Evas.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * \enum _Ewk_Context_Menu_Action
- * @brief Provides the actions of items for the context menu.
- * @info Keep this in sync with ContextMenuItem.h
- */
-enum _Ewk_Context_Menu_Action {
- EWK_CONTEXT_MENU_ITEM_TAG_NO_ACTION = 0, // this item is not actually in web_uidelegate.h
- EWK_CONTEXT_MENU_ITEM_TAG_OPEN_LINK_IN_NEW_WINDOW = 1,
- EWK_CONTEXT_MENU_ITEM_TAG_DOWNLOAD_LINK_TO_DISK,
- EWK_CONTEXT_MENU_ITEM_TAG_COPY_LINK_TO_CLIPBOARD,
- EWK_CONTEXT_MENU_ITEM_TAG_OPEN_IMAGE_IN_NEW_WINDOW,
- EWK_CONTEXT_MENU_ITEM_TAG_DOWNLOAD_IMAGE_TO_DISK,
- EWK_CONTEXT_MENU_ITEM_TAG_COPY_IMAGE_TO_CLIPBOARD,
- EWK_CONTEXT_MENU_ITEM_TAG_COPY_IMAGE_URL_TO_CLIPBOARD,
- EWK_CONTEXT_MENU_ITEM_TAG_OPEN_FRAME_IN_NEW_WINDOW,
- EWK_CONTEXT_MENU_ITEM_TAG_COPY,
- EWK_CONTEXT_MENU_ITEM_TAG_GO_BACK,
- EWK_CONTEXT_MENU_ITEM_TAG_GO_FORWARD,
- EWK_CONTEXT_MENU_ITEM_TAG_STOP,
- EWK_CONTEXT_MENU_ITEM_TAG_RELOAD,
- EWK_CONTEXT_MENU_ITEM_TAG_CUT,
- EWK_CONTEXT_MENU_ITEM_TAG_PASTE,
- EWK_CONTEXT_MENU_ITEM_TAG_SELECT_ALL,
- EWK_CONTEXT_MENU_ITEM_TAG_SPELLING_GUESS,
- EWK_CONTEXT_MENU_ITEM_TAG_NO_GUESSES_FOUND,
- EWK_CONTEXT_MENU_ITEM_TAG_IGNORE_SPELLING,
- EWK_CONTEXT_MENU_ITEM_TAG_LEARN_SPELLING,
- EWK_CONTEXT_MENU_ITEM_TAG_OTHER,
- EWK_CONTEXT_MENU_ITEM_TAG_SEARCH_IN_SPOTLIGHT,
- EWK_CONTEXT_MENU_ITEM_TAG_SEARCH_WEB,
- EWK_CONTEXT_MENU_ITEM_TAG_LOOK_UP_IN_DICTIONARY,
- EWK_CONTEXT_MENU_ITEM_TAG_OPEN_WITH_DEFAULT_APPLICATION,
- EWK_CONTEXT_MENU_ITEM_PDFACTUAL_SIZE,
- EWK_CONTEXT_MENU_ITEM_PDFZOOM_IN,
- EWK_CONTEXT_MENU_ITEM_PDFZOOM_OUT,
- EWK_CONTEXT_MENU_ITEM_PDFAUTO_SIZE,
- EWK_CONTEXT_MENU_ITEM_PDFSINGLE_PAGE,
- EWK_CONTEXT_MENU_ITEM_PDFFACING_PAGES,
- EWK_CONTEXT_MENU_ITEM_PDFCONTINUOUS,
- EWK_CONTEXT_MENU_ITEM_PDFNEXT_PAGE,
- EWK_CONTEXT_MENU_ITEM_PDFPREVIOUS_PAGE,
- EWK_CONTEXT_MENU_ITEM_TAG_OPEN_LINK = 2000,
- EWK_CONTEXT_MENU_ITEM_TAG_IGNORE_GRAMMAR,
- EWK_CONTEXT_MENU_ITEM_TAG_SPELLING_MENU, /**< spelling or spelling/grammar sub-menu */
- EWK_CONTEXT_MENU_ITEM_TAG_SHOW_SPELLING_PANEL,
- EWK_CONTEXT_MENU_ITEM_TAG_CHECK_SPELLING,
- EWK_CONTEXT_MENU_ITEM_TAG_CHECK_SPELLING_WHILE_TYPING,
- EWK_CONTEXT_MENU_ITEM_TAG_CHECK_GRAMMAR_WITH_SPELLING,
- EWK_CONTEXT_MENU_ITEM_TAG_FONT_MENU, /**< font sub-menu */
- EWK_CONTEXT_MENU_ITEM_TAG_SHOW_FONTS,
- EWK_CONTEXT_MENU_ITEM_TAG_BOLD,
- EWK_CONTEXT_MENU_ITEM_TAG_ITALIC,
- EWK_CONTEXT_MENU_ITEM_TAG_UNDERLINE,
- EWK_CONTEXT_MENU_ITEM_TAG_OUTLINE,
- EWK_CONTEXT_MENU_ITEM_TAG_STYLES,
- EWK_CONTEXT_MENU_ITEM_TAG_SHOW_COLORS,
- EWK_CONTEXT_MENU_ITEM_TAG_SPEECH_MENU, /**< speech sub-menu */
- EWK_CONTEXT_MENU_ITEM_TAG_START_SPEAKING,
- EWK_CONTEXT_MENU_ITEM_TAG_STOP_SPEAKING,
- EWK_CONTEXT_MENU_ITEM_TAG_WRITING_DIRECTION_MENU, /**< writing direction sub-menu */
- EWK_CONTEXT_MENU_ITEM_TAG_DEFAULT_DIRECTION,
- EWK_CONTEXT_MENU_ITEM_TAG_LEFT_TO_RIGHT,
- EWK_CONTEXT_MENU_ITEM_TAG_RIGHT_TO_LEFT,
- EWK_CONTEXT_MENU_ITEM_TAG_PDFSINGLE_PAGE_SCROLLING,
- EWK_CONTEXT_MENU_ITEM_TAG_PDFFACING_PAGES_SCROLLING,
- EWK_CONTEXT_MENU_ITEM_TAG_INSPECT_ELEMENT,
- EWK_CONTEXT_MENU_ITEM_TAG_TEXT_DIRECTION_MENU, /**< text direction sub-menu */
- EWK_CONTEXT_MENU_ITEM_TAG_TEXT_DIRECTION_DEFAULT,
- EWK_CONTEXT_MENU_ITEM_TAG_TEXT_DIRECTION_LEFT_TO_RIGHT,
- EWK_CONTEXT_MENU_ITEM_TAG_TEXT_DIRECTION_RIGHT_TO_LEFT,
- EWK_CONTEXT_MENU_ITEM_OPEN_MEDIA_IN_NEW_WINDOW,
- EWK_CONTEXT_MENU_ITEM_TAG_DOWNLOAD_MEDIA_TO_DISK,
- EWK_CONTEXT_MENU_ITEM_TAG_COPY_MEDIA_LINK_TO_CLIPBOARD,
- EWK_CONTEXT_MENU_ITEM_TAG_TOGGLE_MEDIA_CONTROLS,
- EWK_CONTEXT_MENU_ITEM_TAG_TOGGLE_MEDIA_LOOP,
- EWK_CONTEXT_MENU_ITEM_TAG_ENTER_VIDEO_FULLSCREEN,
- EWK_CONTEXT_MENU_ITEM_TAG_MEDIA_PLAY_PAUSE,
- EWK_CONTEXT_MENU_ITEM_TAG_MEDIA_MUTE,
- EWK_CONTEXT_MENU_ITEM_TAG_DICTATION_ALTERNATIVE,
- EWK_CONTEXT_MENU_ITEM_TAG_OPEN_LINK_IN_THIS_WINDOW,
- EWK_CONTEXT_MENU_ITEM_TAG_TOGGLE_VIDEO_FULL_SCREEN,
- EWK_CONTEXT_MENU_ITEM_BASE_CUSTOM_TAG = 5000,
- EWK_CONTEXT_MENU_ITEM_CUSTOM_TAG_NO_ACTION = 5998,
- EWK_CONTEXT_MENU_ITEM_LAST_CUSTOM_TAG = 5999,
- EWK_CONTEXT_MENU_ITEM_BASE_APPLICATION_TAG = 10000
-};
-/** Creates a type name for _Ewk_Context_Menu_Action */
-typedef enum _Ewk_Context_Menu_Action Ewk_Context_Menu_Action;
-
-/**
- * \enum _Ewk_Context_Menu_Item_Type
- * @brief Defines the types of the items for the context menu.
- * @info Keep this in sync with ContextMenuItem.h
- */
-enum _Ewk_Context_Menu_Item_Type {
- EWK_ACTION_TYPE,
- EWK_CHECKABLE_ACTION_TYPE,
- EWK_SEPARATOR_TYPE,
- EWK_SUBMENU_TYPE
-};
-/** Creates a type name for _Ewk_Context_Menu_Item_Type */
-typedef enum _Ewk_Context_Menu_Item_Type Ewk_Context_Menu_Item_Type;
-
-/** Creates a type name for _Ewk_Context_Menu */
-typedef struct _Ewk_Context_Menu Ewk_Context_Menu;
-
-/** Creates a type name for _Ewk_Context_Menu_Item */
-typedef struct _Ewk_Context_Menu_Item Ewk_Context_Menu_Item;
-
-
-
-/************************** Exported functions ***********************/
-
-/**
- * Increases the reference count of the given object.
- *
- * @param menu the context menu object to increase the reference count
- */
-EAPI void ewk_context_menu_ref(Ewk_Context_Menu *menu);
-
-/**
- * Decreases the reference count of the given object, possibly freeing it.
- *
- * When the reference count reaches 0, the menu with all its items are freed.
- *
- * @param menu the context menu object to decrease the reference count
- */
-EAPI void ewk_context_menu_unref(Ewk_Context_Menu *menu);
-
-/**
- * Destroys the context menu object.
- *
- * @param menu the context menu object to destroy
- * @return @c EINA_TRUE on success, @c EINA_FALSE on failure
- *
- * @see ewk_context_menu_item_free
- */
-EAPI Eina_Bool ewk_context_menu_destroy(Ewk_Context_Menu *menu);
-
-/**
- * Gets the list of items.
- *
- * @param o the context menu object to get list of the items
- * @return the list of the items on success or @c NULL on failure
- */
-EAPI const Eina_List *ewk_context_menu_item_list_get(const Ewk_Context_Menu *o);
-
-/**
- * Creates a new item of the context menu.
- *
- * @param type specifies a type of the item
- * @param action specifies a action of the item
- * @param parent_menu specifies a parent menu of the item
- * @param submenu specifies a submenu of the item
- * @param title specifies a title of the item
- * @param checked @c EINA_TRUE if the item should be toggled or @c EINA_FALSE if not
- * @param enabled @c EINA_TRUE to enable the item or @c EINA_FALSE to disable
- * @return the pointer to the new item on success or @c NULL on failure
- *
- * @note The return value @b should @b be freed after use.
- */
-EAPI Ewk_Context_Menu_Item *ewk_context_menu_item_new(Ewk_Context_Menu_Item_Type type, Ewk_Context_Menu_Action action, Ewk_Context_Menu *parent_menu, Ewk_Context_Menu *submenu, const char *title, Eina_Bool checked, Eina_Bool enabled);
-
-/**
- * Destroys the item of the context menu object.
- *
- * @param item the item to destroy
- *
- * @see ewk_context_menu_destroy
- * @see ewk_context_menu_unref
- */
-EAPI void ewk_context_menu_item_free(Ewk_Context_Menu_Item *item);
-
-/**
- * Selects the item from the context menu object.
- *
- * @param menu the context menu object
- * @param item the item is selected
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_context_menu_item_select(Ewk_Context_Menu *menu, Ewk_Context_Menu_Item *item);
-
-/**
- * Gets type of the item.
- *
- * @param o the item to get the type
- * @return type of the item on success or @c EWK_ACTION_TYPE on failure
- *
- * @see ewk_context_menu_item_type_set
- */
-EAPI Ewk_Context_Menu_Item_Type ewk_context_menu_item_type_get(const Ewk_Context_Menu_Item *o);
-
-/**
- * Sets the type of item.
- *
- * @param o the item to set the type
- * @param type a new type for the item object
- * @return @c EINA_TRUE on success, or @c EINA_FALSE on failure
- *
- * @see ewk_context_menu_item_type_get
- */
-EAPI Eina_Bool ewk_context_menu_item_type_set(Ewk_Context_Menu_Item *o, Ewk_Context_Menu_Item_Type type);
-
-/**
- * Gets an action of the item.
- *
- * @param o the item to get the action
- * @return an action of the item on success or @c EWK_CONTEXT_MENU_ITEM_TAG_NO_ACTION on failure
- *
- * @see ewk_context_menu_item_action_set
- */
-EAPI Ewk_Context_Menu_Action ewk_context_menu_item_action_get(const Ewk_Context_Menu_Item *o);
-
-/**
- * Sets an action of the item.
- *
- * @param o the item to set the action
- * @param action a new action for the item object
- * @return @c EINA_TRUE on success, or @c EINA_FALSE on failure
- *
- * @see ewk_context_menu_item_action_get
- */
-EAPI Eina_Bool ewk_context_menu_item_action_set(Ewk_Context_Menu_Item *o, Ewk_Context_Menu_Action action);
-
-/**
- * Gets a title of the item.
- *
- * @param o the item to get the title
- * @return a title of the item on success, or @c NULL on failure
- *
- * @see ewk_context_menu_item_title_set
- */
-EAPI const char *ewk_context_menu_item_title_get(const Ewk_Context_Menu_Item *o);
-
-/**
- * Sets a title of the item.
- *
- * @param o the item to set the title
- * @param title a new title for the item object
- * @return a new title of the item on success or @c NULL on failure
- *
- * @see ewk_context_menu_item_title_get
- */
-EAPI const char *ewk_context_menu_item_title_set(Ewk_Context_Menu_Item *o, const char *title);
-
-/**
- * Queries if the item is toggled.
- *
- * @param o the item to query if the item is toggled
- * @return @c EINA_TRUE if the item is toggled or @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_context_menu_item_checked_get(const Ewk_Context_Menu_Item *o);
-
-/**
- * Sets if the item should be toggled.
- *
- * @param o the item to be toggled
- * @param checked @c EINA_TRUE if the item should be toggled or @c EINA_FALSE if not
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_context_menu_item_checked_set(Ewk_Context_Menu_Item *o, Eina_Bool checked);
-
-/**
- * Gets if the item is enabled.
- *
- * @param o the item to get enabled state
- * @return @c EINA_TRUE if it's enabled, @c EINA_FALSE if not or on failure
- *
- * @see ewk_context_menu_item_enabled_set
- */
-EAPI Eina_Bool ewk_context_menu_item_enabled_get(const Ewk_Context_Menu_Item *o);
-
-/**
- * Enables/disables the item.
- *
- * @param o the item to enable/disable
- * @param enabled @c EINA_TRUE to enable the item or @c EINA_FALSE to disable
- * @return @c EINA_TRUE on success, or @c EINA_FALSE on failure
- *
- * @see ewk_context_menu_item_enabled_get
- */
-EAPI Eina_Bool ewk_context_menu_item_enabled_set(Ewk_Context_Menu_Item *o, Eina_Bool enabled);
-
-/**
- * Gets the parent menu for context menu item.
- *
- * @param o the context menu item object
- * @return a context menu object on success or @c NULL on failure
- */
-EAPI Ewk_Context_Menu *ewk_context_menu_item_parent_get(const Ewk_Context_Menu_Item *o);
-
-#ifdef __cplusplus
-}
-#endif
-#endif // ewk_contextmenu_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_contextmenu_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_contextmenu_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_contextmenu_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_contextmenu_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_contextmenu_private_h
-#define ewk_contextmenu_private_h
-
-#include "ewk_contextmenu.h"
-
-// forward declarations
-namespace WebCore {
-struct ContextMenu;
-struct ContextMenuItem;
-}
-
-#if ENABLE(CONTEXT_MENUS)
-Ewk_Context_Menu* ewk_context_menu_new(Evas_Object* view, WebCore::ContextMenuController* controller, WebCore::ContextMenu* coreMenu);
-bool ewk_context_menu_free(Ewk_Context_Menu* menu);
-void ewk_context_menu_item_append(Ewk_Context_Menu* menu, const WebCore::ContextMenuItem& core);
-void ewk_context_menu_show(Ewk_Context_Menu* menu);
-#endif
-
-#endif // ewk_context_menu_private_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_cookiescpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_cookies.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_cookies.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_cookies.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,164 +0,0 @@
</span><del>-/*
- Copyright (C) 2010 ProFUSION embedded systems
- Copyright (C) 2010 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_cookies.h"
-
-#include "CookieJarSoup.h"
-#include "SoupNetworkSession.h"
-#include <Eina.h>
-#include <eina_safety_checks.h>
-#include <glib.h>
-#include <libsoup/soup.h>
-#include <wtf/text/CString.h>
-
-Eina_Bool ewk_cookies_file_set(const char* filename)
-{
- SoupCookieJar* cookieJar = 0;
- if (filename)
- cookieJar = soup_cookie_jar_text_new(filename, FALSE);
- else
- cookieJar = soup_cookie_jar_new();
-
- if (!cookieJar)
- return false;
-
- soup_cookie_jar_set_accept_policy(cookieJar, SOUP_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY);
-
- WebCore::SoupNetworkSession::defaultSession().setCookieJar(cookieJar);
- WebCore::setSoupCookieJar(cookieJar);
- g_object_unref(cookieJar);
-
- return true;
-}
-
-void ewk_cookies_clear(void)
-{
- GSList* list;
- GSList* p;
- SoupCookieJar* cookieJar = WebCore::soupCookieJar();
-
- list = soup_cookie_jar_all_cookies(cookieJar);
- for (p = list; p; p = p->next)
- soup_cookie_jar_delete_cookie(cookieJar, (SoupCookie*)p->data);
-
- soup_cookies_free(list);
-}
-
-Eina_List* ewk_cookies_get_all(void)
-{
- Eina_List* result = 0;
- GSList* list;
- GSList* p;
- SoupCookieJar* cookieJar = WebCore::soupCookieJar();
-
- list = soup_cookie_jar_all_cookies(cookieJar);
- for (p = list; p; p = p->next) {
- SoupCookie* cookie = static_cast<SoupCookie*>(p->data);
- Ewk_Cookie* ewkCookie = new Ewk_Cookie;
- ewkCookie->name = eina_stringshare_add(cookie->name);
- ewkCookie->value = eina_stringshare_add(cookie->value);
- ewkCookie->domain = eina_stringshare_add(cookie->domain);
- ewkCookie->path = eina_stringshare_add(cookie->path);
- ewkCookie->expires = soup_date_to_time_t(cookie->expires);
- ewkCookie->secure = static_cast<Eina_Bool>(cookie->secure);
- ewkCookie->http_only = static_cast<Eina_Bool>(cookie->http_only);
- result = eina_list_append(result, ewkCookie);
- }
-
- soup_cookies_free(list);
-
- return result;
-}
-
-void ewk_cookies_cookie_del(Ewk_Cookie* cookie)
-{
- EINA_SAFETY_ON_NULL_RETURN(cookie);
- GSList* list;
- GSList* p;
- SoupCookieJar* cookieJar = WebCore::soupCookieJar();
- SoupCookie* cookie1 = soup_cookie_new(
- cookie->name, cookie->value, cookie->domain, cookie->path, -1);
-
- list = soup_cookie_jar_all_cookies(cookieJar);
- for (p = list; p; p = p->next) {
- SoupCookie* cookie2 = static_cast<SoupCookie*>(p->data);
- if (soup_cookie_equal(cookie1, cookie2)) {
- soup_cookie_jar_delete_cookie(cookieJar, cookie2);
- break;
- }
- }
-
- soup_cookie_free(cookie1);
- soup_cookies_free(list);
-}
-
-void ewk_cookies_cookie_free(Ewk_Cookie* cookie)
-{
- EINA_SAFETY_ON_NULL_RETURN(cookie);
- eina_stringshare_del(cookie->name);
- eina_stringshare_del(cookie->value);
- eina_stringshare_del(cookie->domain);
- eina_stringshare_del(cookie->path);
- delete cookie;
-}
-
-void ewk_cookies_policy_set(Ewk_Cookie_Policy cookiePolicy)
-{
- SoupCookieJar* cookieJar = WebCore::soupCookieJar();
- SoupCookieJarAcceptPolicy policy;
-
- policy = SOUP_COOKIE_JAR_ACCEPT_ALWAYS;
- switch (cookiePolicy) {
- case EWK_COOKIE_JAR_ACCEPT_NEVER:
- policy = SOUP_COOKIE_JAR_ACCEPT_NEVER;
- break;
- case EWK_COOKIE_JAR_ACCEPT_ALWAYS:
- policy = SOUP_COOKIE_JAR_ACCEPT_ALWAYS;
- break;
- case EWK_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY:
- policy = SOUP_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY;
- break;
- }
-
- soup_cookie_jar_set_accept_policy(cookieJar, policy);
-}
-
-Ewk_Cookie_Policy ewk_cookies_policy_get(void)
-{
- Ewk_Cookie_Policy ewkPolicy = EWK_COOKIE_JAR_ACCEPT_ALWAYS;
- SoupCookieJar* cookieJar = WebCore::soupCookieJar();
- SoupCookieJarAcceptPolicy policy;
-
- policy = soup_cookie_jar_get_accept_policy(cookieJar);
- switch (policy) {
- case SOUP_COOKIE_JAR_ACCEPT_NEVER:
- ewkPolicy = EWK_COOKIE_JAR_ACCEPT_NEVER;
- break;
- case SOUP_COOKIE_JAR_ACCEPT_ALWAYS:
- ewkPolicy = EWK_COOKIE_JAR_ACCEPT_ALWAYS;
- break;
- case SOUP_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY:
- ewkPolicy = EWK_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY;
- break;
- }
-
- return ewkPolicy;
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_cookiesh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_cookies.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_cookies.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_cookies.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,146 +0,0 @@
</span><del>-/*
- Copyright (C) 2010 ProFUSION embedded systems
- Copyright (C) 2010 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file ewk_cookies.h
- * @brief The Ewk cookies API.
- *
- * @note If the libsoup network backend is being used the functions here will
- * only work with the @b default SoupSession, which can be retrieved with
- * ewk_network_defaul_soup_session_get(). If a different SoupSession is used
- * and associated with a view with ewk_view_soup_session_set(), all cookie
- * management will have to be done manually.
- */
-
-#ifndef ewk_cookies_h
-#define ewk_cookies_h
-
-#include <Eina.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * \struct _Ewk_Cookie
- *
- * @brief Describes properties of an HTTP cookie.
- *
- * All the strings are guaranteed to be stringshared, so use eina_stringshare_ref()
- * instead of eina_stringshare_add() or strdup().
- */
-struct _Ewk_Cookie {
- /// the cookie name
- const char *name;
- /// the cookie value
- const char *value;
- /// the "domain" attribute, or else the hostname that the cookie came from
- const char *domain;
- /// the "path" attribute, or @c NULL
- const char *path;
- /// the cookie expiration time, or @c 0 for a session cookie
- time_t expires;
- /// @c EINA_TRUE if the cookie should only be tranferred over SSL
- Eina_Bool secure;
- /// @c EINA_TRUE if the cookie should not be exposed to scripts
- Eina_Bool http_only;
-};
-/// Creates a type name for the _Ewk_Cookie.
-typedef struct _Ewk_Cookie Ewk_Cookie;
-
-/**
- * \enum _Ewk_Cookie_Policy
- *
- * @brief Contains a policy for the cookies.
- */
-enum _Ewk_Cookie_Policy {
- /// Rejects all cookies.
- EWK_COOKIE_JAR_ACCEPT_NEVER,
- /// Accepts every cookie sent from any page.
- EWK_COOKIE_JAR_ACCEPT_ALWAYS,
- /// Accepts cookies only from the main page.
- EWK_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY
-};
-/// Creates a type name for the _Ewk_Cookie_Policy.
-typedef enum _Ewk_Cookie_Policy Ewk_Cookie_Policy;
-
-/************************** Exported functions ***********************/
-
-/**
- * Sets the path where the cookies are going to be stored.
- *
- * @param filename path to the cookies.txt file, use @c NULL for keep
- * cookies just in memory.
- *
- * @return @c EINA_FALSE if it wasn't possible to create the cookie jar,
- * @c EINA_TRUE otherwise.
- */
-EAPI Eina_Bool ewk_cookies_file_set(const char *filename);
-
-/**
- * Clears all the cookies from the cookie jar.
- */
-EAPI void ewk_cookies_clear(void);
-
-/**
- * Returns a list of cookies in the cookie jar.
- *
- * @return an @c Eina_List with all the cookies in the cookie jar
- */
-EAPI Eina_List *ewk_cookies_get_all(void);
-
-/**
- * Deletes a cookie from the cookie jar.
- *
- * Note that the fields name, value, domain and path are used to match this
- * cookie in the cookie jar.
- *
- * @param cookie an @c Ewk_Cookie that has the info relative to that cookie
- */
-EAPI void ewk_cookies_cookie_del(Ewk_Cookie *cookie);
-
-/**
- * Frees the memory used by a cookie.
- *
- * @param cookie the Ewk_Cookie struct that will be freed
- */
-EAPI void ewk_cookies_cookie_free(Ewk_Cookie *cookie);
-
-/**
- * Sets accept policy for the cookies.
- *
- * @param p the acceptance policy
- *
- * @see Ewk_Cookie_Policy
- */
-EAPI void ewk_cookies_policy_set(Ewk_Cookie_Policy p);
-
-/**
- * Gets the acceptance policy used in the current cookie jar.
- *
- * @return the current acceptance policy
- * @see Ewk_Cookie_Policy
- */
-EAPI Ewk_Cookie_Policy ewk_cookies_policy_get(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif // ewk_cookies_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_custom_handlercpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_custom_handler.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_custom_handler.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_custom_handler.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,72 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_custom_handler_private.h"
-
-#if ENABLE(NAVIGATOR_CONTENT_UTILS)
-/**
- * @internal
- * Register a scheme handler.
- *
- * @param data Data of the handler including the protocol and the handler url.
- *
- * Emits signal: "protocolhandler,registration,requested" on View with a pointer to Ewk_Custom_Handler_Data.
- */
-bool ewk_custom_handler_register_protocol_handler(Ewk_Custom_Handler_Data* data)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(data->ewkView, false);
- evas_object_smart_callback_call(data->ewkView, "protocolhandler,registration,requested", data);
- return true;
-}
-
-#if ENABLE(CUSTOM_SCHEME_HANDLER)
-/**
- * @internal
- * Query whether the handler is registered or not.
- *
- * @param data Data of the handler including the protocol and the handler url.
- *
- * Emits signal: "protocolhandler,isregistered" on View with a pointer to Ewk_Custom_Handler_Data.
- */
-Ewk_Custom_Handlers_State ewk_custom_handler_is_protocol_handler_registered(Ewk_Custom_Handler_Data* data)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(data->ewkView, EWK_CUSTOM_HANDLERS_DECLINED);
- evas_object_smart_callback_call(data->ewkView, "protocolhandler,isregistered", data);
- Ewk_Custom_Handlers_State result = data->result;
- return result;
-}
-
-/**
- * @internal
- * Remove the registered scheme handler.
- *
- * @param data Data of the handler including the protocol and the handler url.
- *
- * Emits signal: "protocolhandler,unregistration,requested" on View with a pointer to Ewk_Custom_Handler_Data.
- */
-bool ewk_custom_handler_unregister_protocol_handler(Ewk_Custom_Handler_Data* data)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(data->ewkView, false);
- evas_object_smart_callback_call(data->ewkView, "protocolhandler,unregistration,requested", data);
- return true;
-}
-
-#endif // ENABLE(CUSTOM_SCHEME_HANDLER)
-#endif // ENABLE(NAVIGATOR_CONTENT_UTILS)
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_custom_handler_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_custom_handler_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_custom_handler_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_custom_handler_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,34 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_custom_handler_private_h
-#define ewk_custom_handler_private_h
-
-#include "ewk_view.h"
-
-#if ENABLE(NAVIGATOR_CONTENT_UTILS)
-bool ewk_custom_handler_register_protocol_handler(Ewk_Custom_Handler_Data* data);
-
-#if ENABLE(CUSTOM_SCHEME_HANDLER)
-Ewk_Custom_Handlers_State ewk_custom_handler_is_protocol_handler_registered(Ewk_Custom_Handler_Data* data);
-bool ewk_custom_handler_unregister_protocol_handler(Ewk_Custom_Handler_Data* data);
-
-#endif // ENABLE(CUSTOM_SCHEME_HANDLER)
-#endif // ENABLE(NAVIGATOR_CONTENT_UTILS)
-#endif // ewk_custom_handler_private_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_file_choosercpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_file_chooser.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_file_chooser.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_file_chooser.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,102 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_file_chooser.h"
-
-#include "FileChooser.h"
-#include "ewk_file_chooser_private.h"
-#include <wtf/text/CString.h>
-
-struct _Ewk_File_Chooser {
- RefPtr<WebCore::FileChooser> fileChooser;
-};
-
-Eina_Bool ewk_file_chooser_allows_multiple_files_get(const Ewk_File_Chooser* chooser)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(chooser, false);
- return chooser->fileChooser->settings().allowsMultipleFiles;
-}
-
-Eina_Bool ewk_file_chooser_allows_directory_upload_get(const Ewk_File_Chooser* chooser)
-{
- UNUSED_PARAM(chooser);
- return false;
-}
-
-Eina_List* ewk_file_chooser_accept_mimetypes_get(const Ewk_File_Chooser* chooser)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(chooser, 0);
-
- Eina_List* mimetypes = 0;
- size_t count = chooser->fileChooser->settings().acceptMIMETypes.size();
- for (size_t i = 0; i < count; ++i)
- mimetypes = eina_list_append(mimetypes, eina_stringshare_add(chooser->fileChooser->settings().acceptMIMETypes[i].utf8().data()));
-
- return mimetypes;
-}
-
-Eina_List* ewk_file_chooser_accept_file_extentions_get(const Ewk_File_Chooser* chooser)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(chooser, 0);
-
- Eina_List* fileExtentions = 0;
- size_t count = chooser->fileChooser->settings().acceptFileExtensions.size();
- for (size_t i = 0; i < count; ++i)
- fileExtentions = eina_list_append(fileExtentions, eina_stringshare_add(chooser->fileChooser->settings().acceptFileExtensions[i].utf8().data()));
-
- return fileExtentions;
-}
-
-Eina_List* ewk_file_chooser_selected_files_get(const Ewk_File_Chooser* chooser)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(chooser, 0);
-
- Eina_List* files = 0;
- size_t count = chooser->fileChooser->settings().selectedFiles.size();
- for (size_t i = 0; i < count; ++i)
- files = eina_list_append(files, eina_stringshare_add(chooser->fileChooser->settings().selectedFiles[i].utf8().data()));
-
- return files;
-}
-
-Eina_Bool ewk_file_chooser_capture_get(const Ewk_File_Chooser* chooser)
-{
-#if ENABLE(MEDIA_CAPTURE)
- EINA_SAFETY_ON_NULL_RETURN_VAL(chooser, false);
- return chooser->fileChooser->settings().capture;
-#else
- UNUSED_PARAM(chooser);
- return false;
-#endif
-}
-
-Ewk_File_Chooser* ewk_file_chooser_new(WebCore::FileChooser* fileChooser)
-{
- Ewk_File_Chooser* ewkFileChooser = new Ewk_File_Chooser;
- ewkFileChooser->fileChooser = fileChooser;
- return ewkFileChooser;
-}
-
-void ewk_file_chooser_free(Ewk_File_Chooser* chooser)
-{
- chooser->fileChooser = 0;
- delete chooser;
-}
-
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_file_chooserh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_file_chooser.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_file_chooser.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_file_chooser.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,118 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file ewk_file_chooser.h
- * @brief File Chooser API.
- *
- * File Chooser supports APIs for file selection dialog.
- * This support attributes of file chooser regarding:
- * - allowance of multiple files selection
- * - allowance of upload directory
- * - list of accepted mime types
- * - list of accepted file extensions
- * - list of initial selected file names
- * - capture attribute for HTML media capture
- */
-
-#ifndef ewk_file_chooser_h
-#define ewk_file_chooser_h
-
-#include <Eina.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef struct _Ewk_File_Chooser Ewk_File_Chooser;
-
-/**
- * Query if multiple files are supported by file chooser.
- *
- * @param f file chooser object.
- *
- * It returns a boolean value which indicates if multiple file is supported or not.
- *
- * @return @c EINA_TRUE on support multiple files or @c EINA_FALSE otherwise.
- */
-EAPI Eina_Bool ewk_file_chooser_allows_multiple_files_get(const Ewk_File_Chooser *f);
-
-/**
- * Query if directory upload is supported by file chooser.
- *
- * @param f file chooser object.
- *
- * It returns a boolean value which indicates if directory upload is supported or not.
- *
- * @return @c EINA_TRUE on support directory upload or @c EINA_FALSE otherwise.
- */
-EAPI Eina_Bool ewk_file_chooser_allows_directory_upload_get(const Ewk_File_Chooser *f);
-
-/**
- * Returns the list of accepted mimetypes of the file chooser.
- *
- * @param f file chooser object.
- *
- * @return Eina_List of accepted mimetypes on success, or @c NULL on failure,
- * the Eina_List and its items should be freed after use. Use eina_stringshare_del()
- * to free the items.
- */
-EAPI Eina_List *ewk_file_chooser_accept_mimetypes_get(const Ewk_File_Chooser *f);
-
-/**
- * Returns the list of accepted file extensions of the file chooser.
- *
- * @param f file chooser object.
- *
- * @return @c Eina_List of accepted file extensions on success, or @c NULL on failure,
- * the Eina_List and its items should be freed after use. Use eina_stringshare_del()
- * to free the items.
- */
-EAPI Eina_List *ewk_file_chooser_accept_file_extentions_get(const Ewk_File_Chooser *f);
-
-/**
- * Returns the list of selected file names of the file chooser.
- *
- * This list indicates previously selected file names of the file chooser.
- * These can be used by initial values of the file dialog.
- *
- * @param f file chooser object.
- *
- * @return @c Eina_List of selected file names on success, or @c NULL on failure,
- * the Eina_List and its items should be freed after use. Use eina_stringshare_del()
- * to free the items.
- */
-EAPI Eina_List *ewk_file_chooser_selected_files_get(const Ewk_File_Chooser *f);
-
-/**
- * Returns whether the device's media capture capabilities should be used in the file chooser.
- *
- * @see http://www.w3.org/TR/html-media-capture/ for the semantics of the capture attribute.
- *
- * @param f file chooser object.
- *
- * @return @c EINA_TRUE if the device's capabilities should be used, @c EINA_FALSE otherwise.
- */
-EAPI Eina_Bool ewk_file_chooser_capture_get(const Ewk_File_Chooser *f);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // ewk_file_chooser_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_file_chooser_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_file_chooser_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_file_chooser_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_file_chooser_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_file_chooser_private_h
-#define ewk_file_chooser_private_h
-
-namespace WebCore {
-class FileChooser;
-}
-
-Ewk_File_Chooser* ewk_file_chooser_new(WebCore::FileChooser* fileChooser);
-void ewk_file_chooser_free(Ewk_File_Chooser* chooser);
-
-#endif // ewk_file_chooser_private_h
-
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_framecpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_frame.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_frame.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_frame.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,1911 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2010 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-// Uncomment to view frame regions and debug messages
-// #define EWK_FRAME_DEBUG
-
-#include "config.h"
-#include "ewk_frame.h"
-
-#include "BackForwardController.h"
-#include "DocumentLoader.h"
-#include "DocumentMarkerController.h"
-#include "Editor.h"
-#include "EventHandler.h"
-#include "FocusController.h"
-#include "FrameLoadRequest.h"
-#include "FrameLoader.h"
-#include "FrameLoaderClientEfl.h"
-#include "FrameSelection.h"
-#include "FrameView.h"
-#include "HTMLCollection.h"
-#include "HTMLHeadElement.h"
-#include "HTMLImageElement.h"
-#include "HTMLNames.h"
-#include "HTMLPlugInElement.h"
-#include "HistoryItem.h"
-#include "HitTestRequest.h"
-#include "HitTestResult.h"
-#include "IntSize.h"
-#include "URL.h"
-#include "PlatformEvent.h"
-#include "PlatformKeyboardEvent.h"
-#include "PlatformMessagePortChannel.h"
-#include "PlatformMouseEvent.h"
-#include "PlatformTouchEvent.h"
-#include "PlatformWheelEvent.h"
-#include "ProgressTracker.h"
-#include "ResourceRequest.h"
-#include "ScriptController.h"
-#include "SharedBuffer.h"
-#include "SubstituteData.h"
-#include "WindowsKeyboardCodes.h"
-#include "ewk_frame_private.h"
-#include "ewk_private.h"
-#include "ewk_security_origin_private.h"
-#include "ewk_touch_event_private.h"
-#include "ewk_view_private.h"
-#include <Ecore_Input.h>
-#include <Eina.h>
-#include <Evas.h>
-#include <bindings/ScriptValue.h>
-#include <eina_safety_checks.h>
-#include <wtf/Assertions.h>
-#include <wtf/PassRefPtr.h>
-#include <wtf/RefPtr.h>
-#include <wtf/Vector.h>
-#include <wtf/text/CString.h>
-
-static const char EWK_FRAME_TYPE_STR[] = "EWK_Frame";
-
-struct Ewk_Frame_Smart_Data {
- Evas_Object_Smart_Clipped_Data base;
- Evas_Object* self;
- Evas_Object* view;
-#ifdef EWK_FRAME_DEBUG
- Evas_Object* region;
-#endif
- OwnPtr<WebCore::FrameLoaderClientEfl> frameLoaderClient;
- WebCore::Frame* frame;
- Ewk_Text_With_Direction title;
- const char* uri;
- const char* name;
- bool editable : 1;
- bool hasDisplayedMixedContent : 1;
- bool hasRunMixedContent : 1;
-};
-
-struct Eina_Iterator_Ewk_Frame {
- Eina_Iterator base;
- Evas_Object* object;
- unsigned currentIndex;
-};
-
-#ifndef EWK_TYPE_CHECK
-#define EWK_FRAME_TYPE_CHECK(ewkFrame, ...) do { } while (0)
-#else
-#define EWK_FRAME_TYPE_CHECK(ewkFrame, ...) \
- do { \
- const char* _tmp_otype = evas_object_type_get(ewkFrame); \
- if (EINA_UNLIKELY(_tmp_otype != EWK_FRAME_TYPE_STR)) { \
- EINA_LOG_CRIT \
- ("%p (%s) is not of an ewk_frame!", ewkFrame, \
- _tmp_otype ? _tmp_otype : "(null)"); \
- return __VA_ARGS__; \
- } \
- } while (0)
-#endif
-
-#define EWK_FRAME_SD_GET(ewkFrame, pointer) \
- Ewk_Frame_Smart_Data* pointer = static_cast<Ewk_Frame_Smart_Data*>(evas_object_smart_data_get(ewkFrame))
-
-#define EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, pointer, ...) \
- EWK_FRAME_TYPE_CHECK(ewkFrame, __VA_ARGS__); \
- EWK_FRAME_SD_GET(ewkFrame, pointer); \
- if (!pointer) { \
- CRITICAL("no smart data for object %p (%s)", \
- ewkFrame, evas_object_type_get(ewkFrame)); \
- return __VA_ARGS__; \
- }
-
-static Evas_Smart_Class _parent_sc = EVAS_SMART_CLASS_INIT_NULL;
-
-#ifdef EWK_FRAME_DEBUG
-static inline void _ewk_frame_debug(Evas_Object* ewkFrame)
-{
- Evas_Object* clip, * parent;
- Evas_Coord x, y, width, height, contentX, contentY, contentWidth, contentHeight;
- int red, green, blue, alpha, contentRed, contentGreen, contentBlue, contentAlpha;
-
- evas_object_color_get(ewkFrame, &red, &green, &blue, &alpha);
- evas_object_geometry_get(ewkFrame, &x, &y, &width, &height);
-
- clip = evas_object_clip_get(ewkFrame);
- evas_object_color_get(clip, &contentRed, &contentGreen, &contentBlue, &contentAlpha);
- evas_object_geometry_get(clip, &contentX, &contentY, &contentWidth, &contentHeight);
-
- EINA_LOG_DBG("%p: type=%s name=%s, visible=%d, color=%02x%02x%02x%02x, %d,%d+%dx%d, clipper=%p (%d, %02x%02x%02x%02x, %d,%d+%dx%d)\n",
- ewkFrame, evas_object_type_get(ewkFrame), evas_object_name_get(ewkFrame), evas_object_visible_get(ewkFrame),
- red, green, blue, alpha, x, y, width, height,
- clip, evas_object_visible_get(clip), contentRed, contentGreen, contentBlue, contentAlpha, contentX, contentY, contentWidth, contentHeight);
- parent = evas_object_smart_parent_get(ewkFrame);
- if (!parent)
- EINA_LOG_ERR("could not get parent object.\n");
- else
- _ewk_frame_debug(parent);
-}
-#endif
-
-static WebCore::FrameLoaderClientEfl* _ewk_frame_loader_efl_get(const WebCore::Frame* frame)
-{
- return &static_cast<WebCore::FrameLoaderClientEfl&>(frame->loader().client());
-}
-
-static Eina_Bool _ewk_frame_children_iterator_next(Eina_Iterator_Ewk_Frame* iterator, Evas_Object** data)
-{
- EWK_FRAME_SD_GET_OR_RETURN(iterator->object, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
-
- if (iterator->currentIndex < smartData->frame->tree().childCount()) {
- *data = EWKPrivate::kitFrame(smartData->frame->tree().child(iterator->currentIndex++));
- return true;
- }
-
- return false;
-}
-
-static Evas_Object* _ewk_frame_children_iterator_get_container(Eina_Iterator_Ewk_Frame* iterator)
-{
- return iterator->object;
-}
-
-static void _ewk_frame_smart_add(Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET(ewkFrame, smartData);
-
- if (!smartData) {
- smartData = static_cast<Ewk_Frame_Smart_Data*>(calloc(1, sizeof(Ewk_Frame_Smart_Data)));
- if (!smartData) {
- CRITICAL("could not allocate Ewk_Frame_Smart_Data");
- return;
- }
- evas_object_smart_data_set(ewkFrame, smartData);
- }
-
- smartData->self = ewkFrame;
-
- _parent_sc.add(ewkFrame);
- evas_object_static_clip_set(smartData->base.clipper, false);
- evas_object_move(smartData->base.clipper, 0, 0);
- evas_object_resize(smartData->base.clipper, 0, 0);
-
-#ifdef EWK_FRAME_DEBUG
- smartData->region = evas_object_rectangle_add(smartData->base.evas);
- static int i = 0;
- switch (i) {
- case 0:
- evas_object_color_set(smartData->region, 128, 0, 0, 128);
- break;
- case 1:
- evas_object_color_set(smartData->region, 0, 128, 0, 128);
- break;
- case 2:
- evas_object_color_set(smartData->region, 0, 0, 128, 128);
- break;
- case 3:
- evas_object_color_set(smartData->region, 128, 0, 0, 128);
- break;
- case 4:
- evas_object_color_set(smartData->region, 128, 128, 0, 128);
- break;
- case 5:
- evas_object_color_set(smartData->region, 128, 0, 128, 128);
- break;
- case 6:
- evas_object_color_set(smartData->region, 0, 128, 128, 128);
- break;
- default:
- break;
- }
- i++;
- if (i > 6)
- i = 0;
-
- evas_object_smart_member_add(smartData->region, ewkFrame);
- evas_object_hide(smartData->region);
-#endif
-}
-
-static void _ewk_frame_smart_del(Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET(ewkFrame, smartData);
-
- if (smartData) {
- if (smartData->frame) {
- WebCore::FrameLoaderClientEfl* flc = _ewk_frame_loader_efl_get(smartData->frame);
- flc->setWebFrame(0);
- EWK_FRAME_SD_GET(ewk_view_frame_main_get(smartData->view), mainSmartData);
- if (mainSmartData->frame == smartData->frame) // applying only for main frame is enough (will traverse through frame tree)
- smartData->frame->loader().detachFromParent();
- smartData->frame = 0;
- }
-
- eina_stringshare_del(smartData->title.string);
- eina_stringshare_del(smartData->uri);
- eina_stringshare_del(smartData->name);
- }
-
- _parent_sc.del(ewkFrame);
-}
-
-static void _ewk_frame_smart_resize(Evas_Object* ewkFrame, Evas_Coord width, Evas_Coord height)
-{
- EWK_FRAME_SD_GET(ewkFrame, smartData);
- evas_object_resize(smartData->base.clipper, width, height);
-
-#ifdef EWK_FRAME_DEBUG
- evas_object_resize(smartData->region, width, height);
- Evas_Coord x, y;
- evas_object_geometry_get(smartData->region, &x, &y, &width, &height);
- INFO("region=%p, visible=%d, geo=%d,%d + %dx%d",
- smartData->region, evas_object_visible_get(smartData->region), x, y, width, height);
- _ewk_frame_debug(ewkFrame);
-#endif
-}
-
-static void _ewk_frame_smart_set(Evas_Smart_Class* api)
-{
- evas_object_smart_clipped_smart_set(api);
- api->add = _ewk_frame_smart_add;
- api->del = _ewk_frame_smart_del;
- api->resize = _ewk_frame_smart_resize;
-}
-
-static inline Evas_Smart* _ewk_frame_smart_class_new(void)
-{
- static Evas_Smart_Class smartClass = EVAS_SMART_CLASS_INIT_NAME_VERSION(EWK_FRAME_TYPE_STR);
- static Evas_Smart* smart = 0;
-
- if (EINA_UNLIKELY(!smart)) {
- evas_object_smart_clipped_smart_set(&_parent_sc);
- _ewk_frame_smart_set(&smartClass);
- smart = evas_smart_class_new(&smartClass);
- }
-
- return smart;
-}
-
-Evas_Object* ewk_frame_view_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- return smartData->view;
-}
-
-Ewk_Security_Origin* ewk_frame_security_origin_get(const Evas_Object *ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame->document(), 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame->document()->securityOrigin(), 0);
-
- return ewk_security_origin_new(smartData->frame->document()->securityOrigin());
-}
-
-Eina_Iterator* ewk_frame_children_iterator_new(Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- Eina_Iterator_Ewk_Frame* iterator = static_cast<Eina_Iterator_Ewk_Frame*>
- (calloc(1, sizeof(Eina_Iterator_Ewk_Frame)));
- if (!iterator)
- return 0;
-
- EINA_MAGIC_SET(&iterator->base, EINA_MAGIC_ITERATOR);
- iterator->base.next = FUNC_ITERATOR_NEXT(_ewk_frame_children_iterator_next);
- iterator->base.get_container = FUNC_ITERATOR_GET_CONTAINER(_ewk_frame_children_iterator_get_container);
- iterator->base.free = FUNC_ITERATOR_FREE(free);
- iterator->object = ewkFrame;
- iterator->currentIndex = 0;
- return &iterator->base;
-}
-
-Evas_Object* ewk_frame_child_find(Evas_Object* ewkFrame, const char* name)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(name, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, 0);
- WTF::String frameName = WTF::String::fromUTF8(name);
- return EWKPrivate::kitFrame(smartData->frame->tree().find(WTF::AtomicString(frameName)));
-}
-
-Eina_Bool ewk_frame_uri_set(Evas_Object* ewkFrame, const char* uri)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- WebCore::URL kurl(WebCore::URL(), WTF::String::fromUTF8(uri));
- WebCore::ResourceRequest req(kurl);
- smartData->frame->loader().load(WebCore::FrameLoadRequest(smartData->frame, req));
-
- return true;
-}
-
-const char* ewk_frame_uri_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- return smartData->uri;
-}
-
-const Ewk_Text_With_Direction* ewk_frame_title_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- return &smartData->title;
-}
-
-const char* ewk_frame_name_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
-
- if (!smartData->frame) {
- ERR("could not get name of uninitialized frame.");
- return 0;
- }
-
- const WTF::String frameName = smartData->frame->tree().uniqueName();
-
- if ((smartData->name) && (smartData->name == frameName))
- return smartData->name;
-
- eina_stringshare_replace_length(&(smartData->name), frameName.utf8().data(), frameName.length());
-
- return smartData->name;
-}
-
-Eina_Bool ewk_frame_contents_size_get(const Evas_Object* ewkFrame, Evas_Coord* width, Evas_Coord* height)
-{
- if (width)
- *width = 0;
- if (height)
- *height = 0;
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- if (!smartData->frame || !smartData->frame->view())
- return false;
- if (width)
- *width = smartData->frame->view()->contentsWidth();
- if (height)
- *height = smartData->frame->view()->contentsHeight();
- return true;
-}
-
-static Eina_Bool _ewk_frame_contents_set_internal(Ewk_Frame_Smart_Data* smartData, const char* contents, size_t contentsSize, const char* mimeType, const char* encoding, const char* baseUri, const char* unreachableUri)
-{
- size_t length = strlen(contents);
- if (contentsSize < 1 || contentsSize > length)
- contentsSize = length;
- if (!mimeType)
- mimeType = "text/html";
- if (!encoding)
- encoding = "UTF-8";
- if (!baseUri)
- baseUri = "about:blank";
-
- WebCore::URL baseKURL(WebCore::URL(), WTF::String::fromUTF8(baseUri));
- WebCore::URL unreachableKURL;
- if (unreachableUri)
- unreachableKURL = WebCore::URL(WebCore::URL(), WTF::String::fromUTF8(unreachableUri));
- else
- unreachableKURL = WebCore::URL();
-
- WTF::RefPtr<WebCore::SharedBuffer> buffer = WebCore::SharedBuffer::create(contents, contentsSize);
- WebCore::SubstituteData substituteData
- (buffer.release(),
- WTF::String::fromUTF8(mimeType),
- WTF::String::fromUTF8(encoding),
- baseKURL, unreachableKURL);
- WebCore::ResourceRequest request(baseKURL);
-
- smartData->frame->loader().load(WebCore::FrameLoadRequest(smartData->frame, request, substituteData));
- return true;
-}
-
-Eina_Bool ewk_frame_contents_set(Evas_Object* ewkFrame, const char* contents, size_t contentsSize, const char* mimeType, const char* encoding, const char* baseUri)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(contents, false);
- return _ewk_frame_contents_set_internal
- (smartData, contents, contentsSize, mimeType, encoding, baseUri, 0);
-}
-
-Eina_Bool ewk_frame_contents_alternate_set(Evas_Object* ewkFrame, const char* contents, size_t contentsSize, const char* mimeType, const char* encoding, const char* baseUri, const char* unreachableUri)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(contents, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(unreachableUri, false);
- return _ewk_frame_contents_set_internal
- (smartData, contents, contentsSize, mimeType, encoding, baseUri,
- unreachableUri);
-}
-
-const char* ewk_frame_script_execute(Evas_Object* ewkFrame, const char* script)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(script, 0);
-
- WTF::String resultString;
- JSC::JSValue result = smartData->frame->script().executeScript(WTF::String::fromUTF8(script), true).jsValue();
-
- if (!smartData->frame) // In case the script removed our frame from the page.
- return 0;
-
- if (!result || (!result.isBoolean() && !result.isString() && !result.isNumber()))
- return 0;
-
- JSC::ExecState* exec = smartData->frame->script().globalObject(WebCore::mainThreadNormalWorld())->globalExec();
- JSC::JSLockHolder lock(exec);
- resultString = result.toString(exec)->value(exec);
- return eina_stringshare_add(resultString.utf8().data());
-}
-
-Eina_Bool ewk_frame_editable_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- return smartData->editable;
-}
-
-Eina_Bool ewk_frame_editable_set(Evas_Object* ewkFrame, Eina_Bool editable)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- editable = !!editable;
- if (smartData->editable == editable)
- return true;
- smartData->editable = editable;
- if (editable)
- smartData->frame->editor().applyEditingStyleToBodyElement();
- return true;
-}
-
-const char* ewk_frame_selection_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, 0);
- WTF::CString selectedText = smartData->frame->editor().selectedText().utf8();
- if (selectedText.isNull())
- return 0;
- return eina_stringshare_add(selectedText.data());
-}
-
-Eina_Bool ewk_frame_text_search(const Evas_Object* ewkFrame, const char* text, Eina_Bool caseSensitive, Eina_Bool forward, Eina_Bool wrap)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(text, false);
-
- WebCore::FindOptions options = (caseSensitive ? 0 : WebCore::CaseInsensitive) | (forward ? 0 : WebCore::Backwards) | (wrap ? WebCore::WrapAround : 0) | WebCore::StartInSelection;
- return smartData->frame->editor().findString(WTF::String::fromUTF8(text), options);
-}
-
-unsigned int ewk_frame_text_matches_mark(Evas_Object* ewkFrame, const char* string, Eina_Bool caseSensitive, Eina_Bool highlight, unsigned int limit)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(string, 0);
-
- smartData->frame->editor().setMarkedTextMatchesAreHighlighted(highlight);
- return smartData->frame->editor().countMatchesForText(WTF::String::fromUTF8(string), 0, caseSensitive, limit, true, 0);
-}
-
-Eina_Bool ewk_frame_text_matches_unmark_all(Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
-
- smartData->frame->document()->markers().removeMarkers(WebCore::DocumentMarker::TextMatch);
- return true;
-}
-
-Eina_Bool ewk_frame_text_matches_highlight_set(Evas_Object* ewkFrame, Eina_Bool highlight)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- smartData->frame->editor().setMarkedTextMatchesAreHighlighted(highlight);
- return true;
-}
-
-Eina_Bool ewk_frame_text_matches_highlight_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- return smartData->frame->editor().markedTextMatchesAreHighlighted();
-}
-
-/**
- * Comparison function used by ewk_frame_text_matches_nth_pos_get
- */
-static bool _ewk_frame_rect_cmp_less_than(const WebCore::IntRect& begin, const WebCore::IntRect& end)
-{
- return (begin.y() < end.y() || (begin.y() == end.y() && begin.x() < end.x()));
-}
-
-/**
- * Predicate used by ewk_frame_text_matches_nth_pos_get
- */
-static bool _ewk_frame_rect_is_negative_value(const WebCore::IntRect& rect)
-{
- return (rect.x() < 0 || rect.y() < 0);
-}
-
-Eina_Bool ewk_frame_text_matches_nth_pos_get(const Evas_Object* ewkFrame, size_t number, int* x, int* y)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
-
- Vector<WebCore::IntRect> intRects = smartData->frame->document()->markers().renderedRectsForMarkers(WebCore::DocumentMarker::TextMatch);
-
- /* remove useless values */
- std::remove_if(intRects.begin(), intRects.end(), _ewk_frame_rect_is_negative_value);
-
- if (intRects.isEmpty() || number > intRects.size())
- return false;
-
- std::sort(intRects.begin(), intRects.end(), _ewk_frame_rect_cmp_less_than);
-
- if (x)
- *x = intRects[number - 1].x();
- if (y)
- *y = intRects[number - 1].y();
- return true;
-}
-
-Eina_Bool ewk_frame_stop(Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- smartData->frame->loader().stopAllLoaders();
- return true;
-}
-
-Eina_Bool ewk_frame_reload(Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- smartData->frame->loader().reload();
- return true;
-}
-
-Eina_Bool ewk_frame_reload_full(Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- smartData->frame->loader().reload(true);
- return true;
-}
-
-Eina_Bool ewk_frame_back(Evas_Object* ewkFrame)
-{
- return ewk_frame_navigate(ewkFrame, -1);
-}
-
-Eina_Bool ewk_frame_forward(Evas_Object* ewkFrame)
-{
- return ewk_frame_navigate(ewkFrame, 1);
-}
-
-Eina_Bool ewk_frame_navigate(Evas_Object* ewkFrame, int steps)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- WebCore::Page* page = smartData->frame->page();
- if (!page->backForward().canGoBackOrForward(steps))
- return false;
- page->backForward().goBackOrForward(steps);
- return true;
-}
-
-Eina_Bool ewk_frame_back_possible(Evas_Object* ewkFrame)
-{
- return ewk_frame_navigate_possible(ewkFrame, -1);
-}
-
-Eina_Bool ewk_frame_forward_possible(Evas_Object* ewkFrame)
-{
- return ewk_frame_navigate_possible(ewkFrame, 1);
-}
-
-Eina_Bool ewk_frame_navigate_possible(Evas_Object* ewkFrame, int steps)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- WebCore::Page* page = smartData->frame->page();
- return page->backForward().canGoBackOrForward(steps);
-}
-
-float ewk_frame_page_zoom_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, -1.0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, -1.0);
- return smartData->frame->pageZoomFactor();
-}
-
-Eina_Bool ewk_frame_page_zoom_set(Evas_Object* ewkFrame, float pageZoomFactor)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- smartData->frame->setPageZoomFactor(pageZoomFactor);
- return true;
-}
-
-float ewk_frame_text_zoom_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, -1.0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, -1.0);
- return smartData->frame->textZoomFactor();
-}
-
-Eina_Bool ewk_frame_text_zoom_set(Evas_Object* ewkFrame, float textZoomFactor)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- smartData->frame->setTextZoomFactor(textZoomFactor);
- return true;
-}
-
-void ewk_frame_hit_test_free(Ewk_Hit_Test* hitTest)
-{
- EINA_SAFETY_ON_NULL_RETURN(hitTest);
- eina_stringshare_del(hitTest->title.string);
- eina_stringshare_del(hitTest->alternate_text);
- eina_stringshare_del(hitTest->link.text);
- eina_stringshare_del(hitTest->link.url);
- eina_stringshare_del(hitTest->link.title);
- eina_stringshare_del(hitTest->image_uri);
- eina_stringshare_del(hitTest->media_uri);
- delete hitTest;
-}
-
-Ewk_Hit_Test* ewk_frame_hit_test_new(const Evas_Object* ewkFrame, int x, int y)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, 0);
-
- WebCore::FrameView* view = smartData->frame->view();
- EINA_SAFETY_ON_NULL_RETURN_VAL(view, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame->contentRenderer(), 0);
-
- WebCore::HitTestResult result = smartData->frame->eventHandler().hitTestResultAtPoint
- (view->windowToContents(WebCore::IntPoint(x, y)),
- WebCore::HitTestRequest::ReadOnly | WebCore::HitTestRequest::Active | WebCore::HitTestRequest::IgnoreClipping | WebCore::HitTestRequest::DisallowShadowContent);
-
- if (result.scrollbar())
- return 0;
- if (!result.innerNode())
- return 0;
-
- Ewk_Hit_Test* hitTest = new Ewk_Hit_Test;
- // FIXME: This should probably use pointInMainFrame, if it is to match the documentation of ewk_hit_test.
- hitTest->x = result.pointInInnerNodeFrame().x();
- hitTest->y = result.pointInInnerNodeFrame().y();
-#if 0
- // FIXME
- hitTest->bounding_box.x = result.boundingBox().x();
- hitTest->bounding_box.y = result.boundingBox().y();
- hitTest->bounding_box.width = result.boundingBox().width();
- hitTest->bounding_box.height = result.boundingBox().height();
-#else
- hitTest->bounding_box.x = 0;
- hitTest->bounding_box.y = 0;
- hitTest->bounding_box.w = 0;
- hitTest->bounding_box.h = 0;
-#endif
-
- WebCore::TextDirection direction;
- hitTest->title.string = eina_stringshare_add(result.title(direction).utf8().data());
- hitTest->title.direction = (direction == WebCore::LTR) ? EWK_TEXT_DIRECTION_LEFT_TO_RIGHT : EWK_TEXT_DIRECTION_RIGHT_TO_LEFT;
- hitTest->alternate_text = eina_stringshare_add(result.altDisplayString().utf8().data());
- if (result.innerNonSharedNode()
- && result.innerNonSharedNode()->document().frame())
- hitTest->frame = EWKPrivate::kitFrame(result.innerNonSharedNode()->document().frame());
-
- hitTest->link.text = eina_stringshare_add(result.textContent().utf8().data());
- hitTest->link.url = eina_stringshare_add(result.absoluteLinkURL().string().utf8().data());
- hitTest->link.title = eina_stringshare_add(result.titleDisplayString().utf8().data());
- hitTest->link.target_frame = EWKPrivate::kitFrame(result.targetFrame());
-
- hitTest->image_uri = eina_stringshare_add(result.absoluteImageURL().string().utf8().data());
- hitTest->media_uri = eina_stringshare_add(result.absoluteMediaURL().string().utf8().data());
-
- int context = EWK_HIT_TEST_RESULT_CONTEXT_DOCUMENT;
-
- if (!result.absoluteLinkURL().isEmpty())
- context |= EWK_HIT_TEST_RESULT_CONTEXT_LINK;
- if (!result.absoluteImageURL().isEmpty())
- context |= EWK_HIT_TEST_RESULT_CONTEXT_IMAGE;
- if (!result.absoluteMediaURL().isEmpty())
- context |= EWK_HIT_TEST_RESULT_CONTEXT_MEDIA;
- if (result.isSelected())
- context |= EWK_HIT_TEST_RESULT_CONTEXT_SELECTION;
- if (result.isContentEditable())
- context |= EWK_HIT_TEST_RESULT_CONTEXT_EDITABLE;
-
- hitTest->context = static_cast<Ewk_Hit_Test_Result_Context>(context);
-
- return hitTest;
-}
-
-Eina_Bool
-ewk_frame_scroll_add(Evas_Object* ewkFrame, int deltaX, int deltaY)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame->view(), false);
- smartData->frame->view()->scrollBy(WebCore::IntSize(deltaX, deltaY));
- return true;
-}
-
-Eina_Bool
-ewk_frame_scroll_set(Evas_Object* ewkFrame, int x, int y)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame->view(), false);
- smartData->frame->view()->setScrollPosition(WebCore::IntPoint(x, y));
- return true;
-}
-
-Eina_Bool
-ewk_frame_scroll_size_get(const Evas_Object* ewkFrame, int* width, int* height)
-{
- if (width)
- *width = 0;
- if (height)
- *height = 0;
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame->view(), false);
- WebCore::IntPoint point = smartData->frame->view()->maximumScrollPosition();
- if (width)
- *width = point.x();
- if (height)
- *height = point.y();
- return true;
-}
-
-Eina_Bool
-ewk_frame_scroll_pos_get(const Evas_Object* ewkFrame, int* x, int* y)
-{
- if (x)
- *x = 0;
- if (y)
- *y = 0;
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame->view(), false);
- WebCore::IntPoint pos = smartData->frame->view()->scrollPosition();
- if (x)
- *x = pos.x();
- if (y)
- *y = pos.y();
- return true;
-}
-
-Eina_Bool ewk_frame_visible_content_geometry_get(const Evas_Object* ewkFrame, Eina_Bool includeScrollbars, int* x, int* y, int* width, int* height)
-{
- if (x)
- *x = 0;
- if (y)
- *y = 0;
- if (width)
- *width = 0;
- if (height)
- *height = 0;
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame->view(), false);
- WebCore::IntRect rect = includeScrollbars ? smartData->frame->view()->visibleContentRectIncludingScrollbars() : smartData->frame->view()->visibleContentRect();
- if (x)
- *x = rect.x();
- if (y)
- *y = rect.y();
- if (width)
- *width = rect.width();
- if (height)
- *height = rect.height();
- return true;
-}
-
-Eina_Bool ewk_frame_paint_full_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame->view(), false);
- return smartData->frame->view()->paintsEntireContents();
-}
-
-void ewk_frame_paint_full_set(Evas_Object* ewkFrame, Eina_Bool flag)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- EINA_SAFETY_ON_NULL_RETURN(smartData->frame);
- EINA_SAFETY_ON_NULL_RETURN(smartData->frame->view());
- smartData->frame->view()->setPaintsEntireContents(flag);
-}
-
-Eina_Bool ewk_frame_feed_focus_in(Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- smartData->frame->page()->focusController().setFocusedFrame(smartData->frame);
- return true;
-}
-
-Eina_Bool ewk_frame_feed_focus_out(Evas_Object*)
-{
- // TODO: what to do on focus out?
- ERR("what to do?");
- return false;
-}
-
-Eina_Bool ewk_frame_focused_element_geometry_get(const Evas_Object *ewkFrame, int *x, int *y, int *w, int *h)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- WebCore::Document* document = smartData->frame->document();
- if (!document)
- return false;
- WebCore::Node* focusedNode = document->focusedElement();
- if (!focusedNode)
- return false;
- WebCore::IntRect nodeRect = focusedNode->pixelSnappedBoundingBox();
- if (x)
- *x = nodeRect.x();
- if (y)
- *y = nodeRect.y();
- if (w)
- *w = nodeRect.width();
- if (h)
- *h = nodeRect.height();
- return true;
-}
-
-Eina_Bool ewk_frame_feed_mouse_wheel(Evas_Object* ewkFrame, const Evas_Event_Mouse_Wheel* wheelEvent)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(wheelEvent, false);
-
- WebCore::FrameView* view = smartData->frame->view();
- DBG("ewkFrame=%p, view=%p, direction=%d, z=%d, pos=%d,%d",
- ewkFrame, view, wheelEvent->direction, wheelEvent->z, wheelEvent->canvas.x, wheelEvent->canvas.y);
- EINA_SAFETY_ON_NULL_RETURN_VAL(view, false);
-
- WebCore::PlatformWheelEvent event(wheelEvent);
- return smartData->frame->eventHandler().handleWheelEvent(event);
-}
-
-Eina_Bool ewk_frame_feed_mouse_down(Evas_Object* ewkFrame, const Evas_Event_Mouse_Down* downEvent)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(downEvent, false);
-
- WebCore::FrameView* view = smartData->frame->view();
- DBG("ewkFrame=%p, view=%p, button=%d, pos=%d,%d",
- ewkFrame, view, downEvent->button, downEvent->canvas.x, downEvent->canvas.y);
- EINA_SAFETY_ON_NULL_RETURN_VAL(view, false);
-
- Evas_Coord x, y;
- evas_object_geometry_get(smartData->view, &x, &y, 0, 0);
-
- WebCore::PlatformMouseEvent event(downEvent, WebCore::IntPoint(x, y));
- return smartData->frame->eventHandler().handleMousePressEvent(event);
-}
-
-Eina_Bool ewk_frame_feed_mouse_up(Evas_Object* ewkFrame, const Evas_Event_Mouse_Up* upEvent)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(upEvent, false);
-
- WebCore::FrameView* view = smartData->frame->view();
- DBG("ewkFrame=%p, view=%p, button=%d, pos=%d,%d",
- ewkFrame, view, upEvent->button, upEvent->canvas.x, upEvent->canvas.y);
- EINA_SAFETY_ON_NULL_RETURN_VAL(view, false);
-
- Evas_Coord x, y;
- evas_object_geometry_get(smartData->view, &x, &y, 0, 0);
-
- WebCore::PlatformMouseEvent event(upEvent, WebCore::IntPoint(x, y));
- return smartData->frame->eventHandler().handleMouseReleaseEvent(event);
-}
-
-Eina_Bool ewk_frame_feed_mouse_move(Evas_Object* ewkFrame, const Evas_Event_Mouse_Move* moveEvent)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(moveEvent, false);
-
- WebCore::FrameView* view = smartData->frame->view();
- DBG("ewkFrame=%p, view=%p, pos: old=%d,%d, new=%d,%d, buttons=%d",
- ewkFrame, view, moveEvent->cur.canvas.x, moveEvent->cur.canvas.y,
- moveEvent->prev.canvas.x, moveEvent->prev.canvas.y, moveEvent->buttons);
- EINA_SAFETY_ON_NULL_RETURN_VAL(view, false);
-
- Evas_Coord x, y;
- evas_object_geometry_get(smartData->view, &x, &y, 0, 0);
-
- WebCore::PlatformMouseEvent event(moveEvent, WebCore::IntPoint(x, y));
- return smartData->frame->eventHandler().mouseMoved(event);
-}
-
-Eina_Bool ewk_frame_feed_touch_event(Evas_Object* ewkFrame, Ewk_Touch_Event_Type action, Eina_List* points, unsigned modifiers)
-{
-#if ENABLE(TOUCH_EVENTS)
- EINA_SAFETY_ON_NULL_RETURN_VAL(points, false);
- EWK_FRAME_SD_GET(ewkFrame, smartData);
-
- if (!smartData || !smartData->frame || !ewk_view_need_touch_events_get(smartData->view))
- return false;
-
- Evas_Coord x, y;
- evas_object_geometry_get(smartData->view, &x, &y, 0, 0);
-
- return smartData->frame->eventHandler().handleTouchEvent(EWKPrivate::platformTouchEvent(x, y, points, action, modifiers));
-#else
- UNUSED_PARAM(ewkFrame);
- UNUSED_PARAM(action);
- UNUSED_PARAM(points);
- UNUSED_PARAM(modifiers);
- return false;
-#endif
-}
-
-static inline Eina_Bool _ewk_frame_handle_key_scrolling(WebCore::Frame* frame, const WebCore::PlatformKeyboardEvent& keyEvent)
-{
- WebCore::ScrollDirection direction;
- WebCore::ScrollGranularity granularity;
-
- int keyCode = keyEvent.windowsVirtualKeyCode();
-
- switch (keyCode) {
- case VK_SPACE:
- granularity = WebCore::ScrollByPage;
- if (keyEvent.shiftKey())
- direction = WebCore::ScrollUp;
- else
- direction = WebCore::ScrollDown;
- break;
- case VK_NEXT:
- granularity = WebCore::ScrollByPage;
- direction = WebCore::ScrollDown;
- break;
- case VK_PRIOR:
- granularity = WebCore::ScrollByPage;
- direction = WebCore::ScrollUp;
- break;
- case VK_HOME:
- granularity = WebCore::ScrollByDocument;
- direction = WebCore::ScrollUp;
- break;
- case VK_END:
- granularity = WebCore::ScrollByDocument;
- direction = WebCore::ScrollDown;
- break;
- case VK_LEFT:
- granularity = WebCore::ScrollByLine;
- direction = WebCore::ScrollLeft;
- break;
- case VK_RIGHT:
- granularity = WebCore::ScrollByLine;
- direction = WebCore::ScrollRight;
- break;
- case VK_UP:
- direction = WebCore::ScrollUp;
- if (keyEvent.ctrlKey())
- granularity = WebCore::ScrollByDocument;
- else
- granularity = WebCore::ScrollByLine;
- break;
- case VK_DOWN:
- direction = WebCore::ScrollDown;
- if (keyEvent.ctrlKey())
- granularity = WebCore::ScrollByDocument;
- else
- granularity = WebCore::ScrollByLine;
- break;
- default:
- return false;
- }
-
- if (frame->eventHandler().scrollOverflow(direction, granularity))
- return false;
-
- frame->view()->scroll(direction, granularity);
- return true;
-}
-
-Eina_Bool ewk_frame_feed_key_down(Evas_Object* ewkFrame, const Evas_Event_Key_Down* downEvent)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(downEvent, false);
-
- DBG("ewkFrame=%p keyname=%s (key=%s, string=%s)",
- ewkFrame, downEvent->keyname, downEvent->key ? downEvent->key : "", downEvent->string ? downEvent->string : "");
-
- WebCore::PlatformKeyboardEvent event(downEvent);
- if (smartData->frame->eventHandler().keyEvent(event))
- return true;
-
- return _ewk_frame_handle_key_scrolling(smartData->frame, event);
-}
-
-Eina_Bool ewk_frame_feed_key_up(Evas_Object* ewkFrame, const Evas_Event_Key_Up* upEvent)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(upEvent, false);
-
- DBG("ewkFrame=%p keyname=%s (key=%s, string=%s)",
- ewkFrame, upEvent->keyname, upEvent->key ? upEvent->key : "", upEvent->string ? upEvent->string : "");
-
- WebCore::PlatformKeyboardEvent event(upEvent);
- return smartData->frame->eventHandler().keyEvent(event);
-}
-
-Ewk_Text_Selection_Type ewk_frame_text_selection_type_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, EWK_TEXT_SELECTION_NONE);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, EWK_TEXT_SELECTION_NONE);
-
- const WebCore::VisibleSelection& selection = smartData->frame->selection().selection();
-
- switch (selection.selectionType()) {
- case WebCore::VisibleSelection::NoSelection:
- return EWK_TEXT_SELECTION_NONE;
- case WebCore::VisibleSelection::CaretSelection:
- return EWK_TEXT_SELECTION_CARET;
- case WebCore::VisibleSelection::RangeSelection:
- return EWK_TEXT_SELECTION_RANGE;
- }
- ASSERT_NOT_REACHED();
-
- return EWK_TEXT_SELECTION_NONE;
-}
-
-/* internal methods ****************************************************/
-
-/**
- * @internal
- *
- * Creates a new EFL WebKit Frame object.
- *
- * Frames are low level entries contained in a page that is contained
- * by a view. Usually one operates on the view and not directly on the
- * frame.
- *
- * @param canvas canvas where to create the frame object
- *
- * @return a new frame object or @c 0 on failure
- */
-Evas_Object* ewk_frame_add(Evas* canvas)
-{
- return evas_object_smart_add(canvas, _ewk_frame_smart_class_new());
-}
-
-/**
- * @internal
- *
- * Initialize frame based on actual WebKit frame.
- *
- * This is internal and should never be called by external users.
- */
-bool ewk_frame_init(Evas_Object* ewkFrame, Evas_Object* view, PassOwnPtr<WebCore::FrameLoaderClientEfl> frameLoaderClient)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- if (!smartData->frame) {
- smartData->frameLoaderClient = frameLoaderClient;
- smartData->frameLoaderClient->setWebFrame(ewkFrame);
- smartData->view = view;
-
- // FIXME: FrameLoaderClientEfl should get user agent directly from ewk_view.
- smartData->frameLoaderClient->setCustomUserAgent(String::fromUTF8(ewk_view_setting_user_agent_get(view)));
- return true;
- }
-
- return false;
-}
-
-/**
- * @internal
- *
- * Adds child to the frame.
- */
-Evas_Object* ewk_frame_child_add(Evas_Object* ewkFrame, const WTF::String& name, WebCore::HTMLFrameOwnerElement* ownerElement)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- char buffer[256];
-
- Evas_Object* frame = ewk_frame_add(smartData->base.evas);
- if (!frame) {
- ERR("Could not create ewk_frame object.");
- return 0;
- }
-
- if (!ewk_frame_init(frame, smartData->view, adoptPtr(new WebCore::FrameLoaderClientEfl(smartData->view)))) {
- ERR("Could not init ewk_frame object.");
- evas_object_del(frame);
- return 0;
- }
-
- EWK_FRAME_SD_GET_OR_RETURN(frame, childFrameSmartData, 0);
- RefPtr<WebCore::Frame> coreFrame = WebCore::Frame::create(smartData->frame->page(), ownerElement, childFrameSmartData->frameLoaderClient.get());
- childFrameSmartData->frame = coreFrame.get();
- coreFrame->tree().setName(name);
-
- if (ownerElement) {
- ASSERT(ownerElement->document().frame());
- ownerElement->document().frame()->tree().appendChild(coreFrame.release());
- }
- childFrameSmartData->frame->init();
-
- snprintf(buffer, sizeof(buffer), "EWK_Frame:child/%s", name.utf8().data());
- evas_object_name_set(frame, buffer);
- evas_object_smart_member_add(frame, ewkFrame);
- evas_object_show(frame);
-
- return frame;
-}
-
-/**
- * @internal
- * Change the ewk view this frame is associated with.
- *
- * @param ewkFrame The ewk frame to act upon.
- * @param newParent The new view that will be set as the parent of the frame.
- */
-void ewk_frame_view_set(Evas_Object* ewkFrame, Evas_Object* newParent)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
-
- evas_object_smart_member_del(ewkFrame);
- evas_object_smart_member_add(ewkFrame, newParent);
-
- smartData->view = newParent;
-}
-
-/**
- * @internal
- * Frame was destroyed by loader, remove internal reference.
- */
-void ewk_frame_core_gone(Evas_Object* ewkFrame)
-{
- DBG("ewkFrame=%p", ewkFrame);
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- smartData->frame = 0;
-}
-
-/**
- * @internal
- * Reports cancellation of a client redirect.
- *
- * @param ewkFrame Frame.
- *
- * Emits signal: "redirect,cancelled"
- */
-void ewk_frame_redirect_cancelled(Evas_Object* ewkFrame)
-{
- evas_object_smart_callback_call(ewkFrame, "redirect,cancelled", 0);
-}
-
-/**
- * @internal
- * Reports receipt of server redirect for provisional load.
- *
- * @param ewkFrame Frame.
- *
- * Emits signal: "redirect,load,provisional"
- */
-void ewk_frame_redirect_provisional_load(Evas_Object* ewkFrame)
-{
- evas_object_smart_callback_call(ewkFrame, "redirect,load,provisional", 0);
-}
-
-/**
- * @internal
- * Reports that a client redirect will be performed.
- *
- * @param ewkFrame Frame.
- * @param url Redirection URL.
- *
- * Emits signal: "redirect,requested"
- */
-void ewk_frame_redirect_requested(Evas_Object* ewkFrame, const char* url)
-{
- evas_object_smart_callback_call(ewkFrame, "redirect,requested", (void*)url);
-}
-
-/**
- * @internal
- * Reports a resource will be requested. User may override behavior of webkit by
- * changing values in @param request.
- *
- * @param ewkFrame Frame.
- * @param messages Messages containing the request details that user may override and a
- * possible redirect reponse. Whenever values on this struct changes, it must be properly
- * malloc'd as it will be freed afterwards.
- *
- * Emits signal: "resource,request,willsend"
- */
-void ewk_frame_request_will_send(Evas_Object* ewkFrame, Ewk_Frame_Resource_Messages* messages)
-{
- evas_object_smart_callback_call(ewkFrame, "resource,request,willsend", messages);
-}
-
-/**
- * @internal
- * Reports that there's a new resource.
- *
- * @param ewkFrame Frame.
- * @param request New request details. No changes are allowed to fields.
- *
- * Emits signal: "resource,request,new"
- */
-void ewk_frame_request_assign_identifier(Evas_Object* ewkFrame, const Ewk_Frame_Resource_Request* request)
-{
- evas_object_smart_callback_call(ewkFrame, "resource,request,new", (void*)request);
-}
-
-/**
- * @internal
- * Reports that a response to a resource request was received.
- *
- * @param ewkFrame Frame.
- * @param request Response details. No changes are allowed to fields.
- *
- * Emits signal: "resource,response,received"
- */
-void ewk_frame_response_received(Evas_Object* ewkFrame, Ewk_Frame_Resource_Response* response)
-{
- evas_object_smart_callback_call(ewkFrame, "resource,response,received", response);
-}
-
-/**
- * @internal
- * Reports frame will be saved to current state
- *
- * @param ewkFrame Frame.
- * @param item History item to save details to.
- *
- * Emits signal: "state,save"
- */
-void ewk_frame_view_state_save(Evas_Object* ewkFrame, WebCore::HistoryItem*)
-{
- evas_object_smart_callback_call(ewkFrame, "state,save", 0);
-}
-
-/**
- * @internal
- * Reports the frame committed load.
- *
- * Emits signal: "load,committed" with no parameters.
- */
-void ewk_frame_load_committed(Evas_Object* ewkFrame)
-{
- evas_object_smart_callback_call(ewkFrame, "load,committed", 0);
-}
-
-/**
- * @internal
- * Reports the frame started loading something.
- *
- * Emits signal: "load,started" with no parameters.
- */
-void ewk_frame_load_started(Evas_Object* ewkFrame)
-{
- Evas_Object* mainFrame;
- DBG("ewkFrame=%p", ewkFrame);
- evas_object_smart_callback_call(ewkFrame, "load,started", 0);
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- ewk_view_load_started(smartData->view, ewkFrame);
-
- mainFrame = ewk_view_frame_main_get(smartData->view);
- if (mainFrame == ewkFrame)
- ewk_view_frame_main_load_started(smartData->view);
-}
-
-/**
- * @internal
- * Reports the frame started provisional load.
- *
- * @param ewkFrame Frame.
- *
- * Emits signal: "load,provisional" with no parameters.
- */
-void ewk_frame_load_provisional(Evas_Object* ewkFrame)
-{
- evas_object_smart_callback_call(ewkFrame, "load,provisional", 0);
-}
-
-/**
- * @internal
- * Reports the frame provisional load failed.
- *
- * @param ewkFrame Frame.
- * @param error Load error.
- *
- * Emits signal: "load,provisional,failed" with pointer to Ewk_Frame_Load_Error.
- */
-void ewk_frame_load_provisional_failed(Evas_Object* ewkFrame, const Ewk_Frame_Load_Error* error)
-{
- evas_object_smart_callback_call(ewkFrame, "load,provisional,failed", const_cast<Ewk_Frame_Load_Error*>(error));
-}
-
-/**
- * @internal
- * Reports the frame finished first layout.
- *
- * @param ewkFrame Frame.
- *
- * Emits signal: "load,firstlayout,finished" with no parameters.
- */
-void ewk_frame_load_firstlayout_finished(Evas_Object* ewkFrame)
-{
- evas_object_smart_callback_call(ewkFrame, "load,firstlayout,finished", 0);
-}
-
-/**
- * @internal
- * Reports the frame finished first non empty layout.
- *
- * @param ewkFrame Frame.
- *
- * Emits signal: "load,nonemptylayout,finished" with no parameters.
- */
-void ewk_frame_load_firstlayout_nonempty_finished(Evas_Object* ewkFrame)
-{
- evas_object_smart_callback_call(ewkFrame, "load,nonemptylayout,finished", 0);
-}
-
-/**
- * @internal
- * Reports the loading of a document has finished on frame.
- *
- * @param ewkFrame Frame.
- *
- * Emits signal: "load,document,finished" with no parameters.
- */
-void ewk_frame_load_document_finished(Evas_Object* ewkFrame)
-{
- evas_object_smart_callback_call(ewkFrame, "load,document,finished", 0);
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- ewk_view_load_document_finished(smartData->view, ewkFrame);
-}
-
-/**
- * @internal
- * Reports load finished, optionally with error information.
- *
- * Emits signal: "load,finished" with pointer to Ewk_Frame_Load_Error
- * if any error, or @c NULL if successful load.
- *
- * @note there should notbe any error stuff here, but trying to be
- * compatible with previous WebKit.
- */
-void ewk_frame_load_finished(Evas_Object* ewkFrame, const char* errorDomain, int errorCode, bool isCancellation, const char* errorDescription, const char* failingUrl)
-{
- Ewk_Frame_Load_Error buffer, *error;
- if (!errorDomain) {
- DBG("ewkFrame=%p, success.", ewkFrame);
- error = 0;
- } else {
- DBG("ewkFrame=%p, error=%s (%d, cancellation=%hhu) \"%s\", url=%s",
- ewkFrame, errorDomain, errorCode, isCancellation,
- errorDescription, failingUrl);
-
- buffer.domain = errorDomain;
- buffer.code = errorCode;
- buffer.is_cancellation = isCancellation;
- buffer.description = errorDescription;
- buffer.failing_url = failingUrl;
- buffer.resource_identifier = 0;
- buffer.frame = ewkFrame;
- error = &buffer;
- }
- evas_object_smart_callback_call(ewkFrame, "load,finished", error);
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- ewk_view_load_finished(smartData->view, error);
-}
-
-/**
- * @internal
- * Reports resource load finished.
- *
- * Emits signal: "load,resource,finished" with the resource
- * request identifier.
- */
-void ewk_frame_load_resource_finished(Evas_Object* ewkFrame, unsigned long identifier)
-{
- evas_object_smart_callback_call(ewkFrame, "load,resource,finished", &identifier);
-}
-
-/**
- * @internal
- * Reports resource load failure, with error information.
- *
- * Emits signal: "load,resource,failed" with the error information.
- */
-void ewk_frame_load_resource_failed(Evas_Object* ewkFrame, Ewk_Frame_Load_Error* error)
-{
- evas_object_smart_callback_call(ewkFrame, "load,resource,failed", error);
-}
-
-/**
- * @internal
- * Reports load failed with error information.
- *
- * Emits signal: "load,error" with pointer to Ewk_Frame_Load_Error.
- */
-void ewk_frame_load_error(Evas_Object* ewkFrame, const char* errorDomain, int errorCode, bool isCancellation, const char* errorDescription, const char* failingUrl)
-{
- Ewk_Frame_Load_Error error;
-
- DBG("ewkFrame=%p, error=%s (%d, cancellation=%hhu) \"%s\", url=%s",
- ewkFrame, errorDomain, errorCode, isCancellation,
- errorDescription, failingUrl);
-
- EINA_SAFETY_ON_NULL_RETURN(errorDomain);
-
- error.code = errorCode;
- error.is_cancellation = isCancellation;
- error.domain = errorDomain;
- error.description = errorDescription;
- error.failing_url = failingUrl;
- error.resource_identifier = 0;
- error.frame = ewkFrame;
- evas_object_smart_callback_call(ewkFrame, "load,error", &error);
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- ewk_view_load_error(smartData->view, &error);
-}
-
-/**
- * @internal
- * Reports load progress changed.
- *
- * Emits signal: "load,progress" with pointer to a double from 0.0 to 1.0.
- */
-void ewk_frame_load_progress_changed(Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- EINA_SAFETY_ON_NULL_RETURN(smartData->frame);
-
- // TODO: this is per page, there should be a way to have per-frame.
- double progress = smartData->frame->page()->progress().estimatedProgress();
-
- DBG("ewkFrame=%p (p=%0.3f)", ewkFrame, progress);
-
- evas_object_smart_callback_call(ewkFrame, "load,progress", &progress);
- ewk_view_load_progress_changed(smartData->view);
-}
-
-/**
- * @internal
- *
- * Reports contents size changed.
- */
-void ewk_frame_contents_size_changed(Evas_Object* ewkFrame, Evas_Coord width, Evas_Coord height)
-{
- Evas_Coord size[2] = {width, height};
- evas_object_smart_callback_call(ewkFrame, "contents,size,changed", size);
-}
-
-/**
- * @internal
- *
- * Reports title changed.
- */
-void ewk_frame_title_set(Evas_Object* ewkFrame, const Ewk_Text_With_Direction* title)
-{
- DBG("ewkFrame=%p, title=%s, direction=%s", ewkFrame, title->string ? title->string : "(null)", title->direction == EWK_TEXT_DIRECTION_LEFT_TO_RIGHT ? "ltr" : "rtl");
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- if (!eina_stringshare_replace(&smartData->title.string, title->string) && (smartData->title.direction == title->direction))
- return;
- smartData->title.direction = title->direction;
- evas_object_smart_callback_call(ewkFrame, "title,changed", (void*)title);
-}
-
-/**
- * @internal
- *
- * Creates a view.
- */
-void ewk_frame_view_create_for_view(Evas_Object* ewkFrame, Evas_Object* view)
-{
- DBG("ewkFrame=%p, view=%p", ewkFrame, view);
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- EINA_SAFETY_ON_NULL_RETURN(smartData->frame);
- Evas_Coord width, height;
-
- evas_object_geometry_get(view, 0, 0, &width, &height);
-
- WebCore::IntSize size(width, height);
- int red, green, blue, alpha;
- WebCore::Color background;
-
- ewk_view_bg_color_get(view, &red, &green, &blue, &alpha);
- if (!alpha)
- background = WebCore::Color(0, 0, 0, 0);
- else if (alpha == 255)
- background = WebCore::Color(red, green, blue, alpha);
- else
- background = WebCore::Color(red * 255 / alpha, green * 255 / alpha, blue * 255 / alpha, alpha);
-
- smartData->frame->createView(size, background, !alpha);
- if (!smartData->frame->view())
- return;
-
- smartData->frame->view()->setEvasObject(ewkFrame);
-
- ewk_frame_mixed_content_displayed_set(ewkFrame, false);
- ewk_frame_mixed_content_run_set(ewkFrame, false);
-}
-
-ssize_t ewk_frame_source_get(const Evas_Object* ewkFrame, char** frameSource)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, -1);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, -1);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame->document(), -1);
- EINA_SAFETY_ON_NULL_RETURN_VAL(frameSource, -1);
-
- StringBuilder builder;
- *frameSource = 0; // Saves 0 to pointer until it's not allocated.
-
- if (!ewk_frame_uri_get(ewkFrame))
- return -1;
-
- if (!smartData->frame->document()->isHTMLDocument()) {
- // FIXME: Support others documents.
- WARN("Only HTML documents are supported");
- return -1;
- }
-
- // Look for <html> tag. If it exists, the node contatins all document's source.
- WebCore::Node* documentNode = smartData->frame->document()->documentElement();
- if (documentNode)
- for (WebCore::Node* node = documentNode->firstChild(); node; node = node->parentElement()) {
- if (node->hasTagName(WebCore::HTMLNames::htmlTag)) {
- WebCore::HTMLElement* element = static_cast<WebCore::HTMLElement*>(node);
- if (element)
- builder.append(element->outerHTML());
- break;
- }
- }
-
- CString utf8String = builder.toString().utf8();
- size_t sourceLength = utf8String.length();
- *frameSource = static_cast<char*>(malloc(sourceLength + 1));
- if (!*frameSource) {
- CRITICAL("Could not allocate memory.");
- return -1;
- }
-
- strncpy(*frameSource, utf8String.data(), sourceLength);
- (*frameSource)[sourceLength] = '\0';
-
- return sourceLength;
-}
-
-Eina_List* ewk_frame_resources_location_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame->document(), 0);
-
- Eina_List* listOfImagesLocation = 0;
-
- // Get src attibute of images and saves them to the Eina_List.
- RefPtr<WebCore::HTMLCollection> images = smartData->frame->document()->images();
- for (size_t index = 0; index < images->length(); ++index) {
- WebCore::HTMLImageElement* imageElement = static_cast<WebCore::HTMLImageElement*>(images->item(index));
- if (!imageElement || imageElement->src().isNull() || imageElement->src().isEmpty())
- continue;
-
- WTF::String imageLocation = WebCore::decodeURLEscapeSequences(imageElement->src().string());
- // Look for duplicated location.
- Eina_List* listIterator = 0;
- void* data = 0;
- Eina_Bool found = false;
- EINA_LIST_FOREACH(listOfImagesLocation, listIterator, data)
- if ((found = !strcmp(static_cast<char*>(data), imageLocation.utf8().data())))
- break;
- if (found)
- continue;
-
- const char* imageLocationCopy = eina_stringshare_add(imageLocation.utf8().data());
- if (!imageLocationCopy)
- goto out_of_memory_handler;
- listOfImagesLocation = eina_list_append(listOfImagesLocation, imageLocationCopy);
- if (eina_error_get())
- goto out_of_memory_handler;
- }
- // FIXME: Get URL others resources (plugins, css, media files).
- return listOfImagesLocation;
-
-out_of_memory_handler:
- CRITICAL("Could not allocate memory.");
- void* data;
- EINA_LIST_FREE(listOfImagesLocation, data)
- free(data);
- return 0;
-}
-
-const char* ewk_frame_plain_text_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, 0);
-
- if (!smartData->frame->document())
- return 0;
-
- WebCore::Element* documentElement = smartData->frame->document()->documentElement();
-
- if (!documentElement)
- return 0;
-
- return eina_stringshare_add(documentElement->innerText().utf8().data());
-}
-
-Eina_Bool ewk_frame_mixed_content_displayed_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- return smartData->hasDisplayedMixedContent;
-}
-
-Eina_Bool ewk_frame_mixed_content_run_get(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- return smartData->hasRunMixedContent;
-}
-
-Ewk_Certificate_Status ewk_frame_certificate_status_get(Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, EWK_CERTIFICATE_STATUS_NO_CERTIFICATE);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, EWK_CERTIFICATE_STATUS_NO_CERTIFICATE);
-
- const WebCore::FrameLoader& frameLoader = smartData->frame->loader();
- const WebCore::DocumentLoader* documentLoader = frameLoader.documentLoader();
- const WebCore::URL documentURL = documentLoader->requestURL();
-
- if (!documentURL.protocolIs("https"))
- return EWK_CERTIFICATE_STATUS_NO_CERTIFICATE;
-
- if (frameLoader.subframeIsLoading())
- return EWK_CERTIFICATE_STATUS_NO_CERTIFICATE;
-
- if (documentLoader->request().soupMessageFlags() & SOUP_MESSAGE_CERTIFICATE_TRUSTED)
- return EWK_CERTIFICATE_STATUS_TRUSTED;
-
- return EWK_CERTIFICATE_STATUS_UNTRUSTED;
-}
-
-/**
- * @internal
- * Reports frame favicon changed.
- *
- * @param ewkFrame Frame.
- *
- * Emits signal: "icon,changed" with no parameters.
- */
-void ewk_frame_icon_changed(Evas_Object* ewkFrame)
-{
- DBG("ewkFrame=%p", ewkFrame);
- evas_object_smart_callback_call(ewkFrame, "icon,changed", 0);
-}
-
-/**
- * @internal
- * Reports uri changed and swap internal string reference.
- *
- * Emits signal: "uri,changed" with new uri as parameter.
- */
-bool ewk_frame_uri_changed(Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false);
- WTF::CString uri(smartData->frame->document()->url().string().utf8());
-
- INFO("uri=%s", uri.data());
- if (!uri.data()) {
- ERR("no uri");
- return false;
- }
-
- eina_stringshare_replace(&smartData->uri, uri.data());
- evas_object_smart_callback_call(ewkFrame, "uri,changed", (void*)smartData->uri);
- return true;
-}
-
-/**
- * @internal
- *
- * Forces layout for frame.
- */
-void ewk_frame_force_layout(Evas_Object* ewkFrame)
-{
- DBG("ewkFrame=%p", ewkFrame);
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- EINA_SAFETY_ON_NULL_RETURN(smartData->frame);
- WebCore::FrameView* view = smartData->frame->view();
- if (view)
- view->forceLayout(true);
-}
-
-/**
- * @internal
- *
- * Creates plugin.
- */
-WTF::PassRefPtr<WebCore::Widget> ewk_frame_plugin_create(Evas_Object* ewkFrame, const WebCore::IntSize& pluginSize, WebCore::HTMLPlugInElement* element, const WebCore::URL& url, const WTF::Vector<WTF::String>& paramNames, const WTF::Vector<WTF::String>& paramValues, const WTF::String& mimeType, bool loadManually)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- DBG("ewkFrame=%p, size=%dx%d, element=%p, url=%s, mimeType=%s",
- ewkFrame, pluginSize.width(), pluginSize.height(), element,
- url.string().utf8().data(), mimeType.utf8().data());
-
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, sd, 0);
-
- // TODO: emit signal and ask webkit users if something else should be done.
- // like creating another x window (see gtk, it allows users to create
- // GtkPluginWidget.
-
- WTF::RefPtr<WebCore::PluginView> pluginView = WebCore::PluginView::create
- (sd->frame, pluginSize, element, url, paramNames, paramValues,
- mimeType, loadManually);
-
- if (pluginView->status() == WebCore::PluginStatusLoadedSuccessfully)
- return pluginView.release();
-#else
- UNUSED_PARAM(ewkFrame);
- UNUSED_PARAM(pluginSize);
- UNUSED_PARAM(element);
- UNUSED_PARAM(url);
- UNUSED_PARAM(paramNames);
- UNUSED_PARAM(paramValues);
- UNUSED_PARAM(mimeType);
- UNUSED_PARAM(loadManually);
-#endif // #if ENABLE(NETSCAPE_PLUGIN_API)
- return 0;
-}
-
-/**
- * @internal
- * Reports that editor client selection was changed.
- *
- * @param ewkFrame Frame
- *
- * Emits signal: "editorclientselection,changed" with no parameters.
- */
-void ewk_frame_editor_client_selection_changed(Evas_Object* ewkFrame)
-{
- evas_object_smart_callback_call(ewkFrame, "editorclient,selection,changed", 0);
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- ewk_view_editor_client_selection_changed(smartData->view);
-}
-
-/**
- * @internal
- * Reports that editor client's contents were changed.
- *
- * @param o Frame
- *
- * Emits signal: "editorclient,contents,changed" with no parameters.
- */
-void ewk_frame_editor_client_contents_changed(Evas_Object* ewkFrame)
-{
- evas_object_smart_callback_call(ewkFrame, "editorclient,contents,changed", 0);
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- ewk_view_editor_client_contents_changed(smartData->view);
-}
-
-/**
- * @internal
- * Defines whether the frame has displayed mixed content.
- *
- * When a frame has displayed mixed content, the currently loaded URI is secure (HTTPS) but it has
- * loaded and displayed a resource, such as an image, from an insecure (HTTP) source.
- *
- * @param hasDisplayed Do or do not clear the flag from the frame. If @c true, the container view
- * is also notified and it then emits the "mixedcontent,displayed" signal.
- *
- * Emits signal: "mixedcontent,displayed" with no parameters when @p hasDisplayed is @c true.
- */
-void ewk_frame_mixed_content_displayed_set(Evas_Object* ewkFrame, bool hasDisplayed)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- smartData->hasDisplayedMixedContent = hasDisplayed;
-
- if (hasDisplayed) {
- ewk_view_mixed_content_displayed_set(smartData->view, true);
- evas_object_smart_callback_call(ewkFrame, "mixedcontent,displayed", 0);
- }
-}
-
-/**
- * @internal
- * Defines whether the frame has run mixed content.
- *
- * When a frame has run mixed content, the currently loaded URI is secure (HTTPS) but it has
- * loaded and run a resource, such as a script, from an insecure (HTTP) source.
- *
- * @param hasDisplayed Do or do not clear the flag from the frame. If @c true, the container view
- * is also notified and it then emits the "mixedcontent,run" signal.
- *
- * Emits signal: "mixedcontent,run" with no parameters when @p hasRun is @c true.
- */
-void ewk_frame_mixed_content_run_set(Evas_Object* ewkFrame, bool hasRun)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- smartData->hasRunMixedContent = hasRun;
-
- if (hasRun) {
- ewk_view_mixed_content_run_set(smartData->view, true);
- evas_object_smart_callback_call(ewkFrame, "mixedcontent,run", 0);
- }
-}
-
-/**
- * @internal
- * Reports that reflected XSS is encountered in the page and suppressed.
- *
- * @param xssInfo Information received from the XSSAuditor when XSS is
- * encountered in the page.
- *
- * Emits signal: "xss,detected" with pointer to Ewk_Frame_Xss_Notification.
- */
-void ewk_frame_xss_detected(Evas_Object* ewkFrame, const Ewk_Frame_Xss_Notification* xssInfo)
-{
- evas_object_smart_callback_call(ewkFrame, "xss,detected", (void*)xssInfo);
-}
-
-namespace EWKPrivate {
-
-void setCoreFrame(Evas_Object* ewkFrame, WebCore::Frame* coreFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData);
- smartData->frame = coreFrame;
-}
-
-WebCore::Frame* coreFrame(const Evas_Object* ewkFrame)
-{
- EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, 0);
- return smartData->frame;
-}
-
-Evas_Object* kitFrame(const WebCore::Frame* coreFrame)
-{
- if (!coreFrame)
- return 0;
-
- WebCore::FrameLoaderClientEfl* frameLoaderClient = _ewk_frame_loader_efl_get(coreFrame);
- if (!frameLoaderClient)
- return 0;
-
- return frameLoaderClient->webFrame();
-}
-
-} // namespace EWKPrivate
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_frameh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_frame.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_frame.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_frame.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,986 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2010 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file ewk_frame.h
- * @brief WebKit frame smart object.
- *
- * This object is the low level access to WebKit-EFL browser
- * component. It represents both the main and internal frames that
- * HTML pages contain.
- *
- * Every ewk_view has at least one frame, called "main frame" and
- * retrieved with ewk_view_frame_main_get(). One can retrieve frame's
- * owner view with ewk_frame_view_get(). Parent frame can be retrieved
- * with standard smart object's evas_object_smart_parent_get().
- * Children can be accessed with ewk_frame_children_iterator_new() or
- * ewk_frame_child_find().
- *
- * The following signals (see evas_object_smart_callback_add()) are emitted:
- *
- * - "contents,size,changed", Evas_Coord[2]: reports contents size
- * were changed due new layout, script actions or any other events.
- * - "editorclient,contents,changed", void: reports that editor client's
- * contents were changed
- * - "icon,changed", void: frame favicon changed.
- * - "load,committed", void: reports load committed.
- * - "load,document,finished", void: frame finished loading the document.
- * - "load,error", const Ewk_Frame_Load_Error*: reports load failed
- * and it gives a pointer to structure defining the error as an argument.
- * - "load,finished", const Ewk_Frame_Load_Error*: reports load
- * finished and it gives @c NULL on success or pointer to
- * structure defining the error.
- * - "load,resource,finished", unsigned long*: reports resource load finished and it gives
- * a pointer to its identifier.
- * - "load,resource,failed", Ewk_Frame_Load_Error*: reports resource load failure and it
- * gives a pointer to structure defining the error as an argument.
- * - "load,firstlayout,finished", void: frame finished first layout.
- * - "load,nonemptylayout,finished", void: frame finished first
- * non-empty layout.
- * - "load,progress", double*: load progress is changed (overall value
- * from 0.0 to 1.0, connect to individual frames for fine grained).
- * - "load,provisional", void: frame started provisional load.
- * - "load,provisional,failed", Ewk_Frame_Load_Error*: frame provisional load failed.
- * - "load,started", void: frame started loading the document.
- * - "mixedcontent,displayed", void: frame has loaded and displayed mixed content.
- * - "mixedcontent,run", void: frame has loaded and run mixed content.
- * - "navigation,first", void: first navigation was occurred.
- * - "redirect,cancelled", void: client redirect was cancelled.
- * - "redirect,load,provisional", void: received server redirect for provisional load.
- * - "redirect,requested", const char*: url of the client redirect that will be performed.
- * - "resource,request,new", Ewk_Frame_Resource_Request*: reports that
- * there's a new resource request.
- * - "resource,request,willsend", Ewk_Frame_Resource_Messages*: a resource will be requested.
- * and the possible redirect response.
- * - "resource,response,received", Ewk_Frame_Resource_Response*: reports that a response
- * to a resource request was received.
- * - "state,save", void: frame's state will be saved as a history item.
- * - "title,changed", Ewk_Text_With_Direction*: title of the main frame was changed.
- * - "uri,changed", const char*: uri of the main frame was changed.
- * - "xss,detected", Ewk_Frame_Xss_Notification*: reflected XSS is encountered in the page and suppressed.
- */
-
-#ifndef ewk_frame_h
-#define ewk_frame_h
-
-#include "ewk_security_origin.h"
-
-#include <Evas.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/// Creates a type name for _Ewk_Frame_Load_Error.
-typedef struct _Ewk_Frame_Load_Error Ewk_Frame_Load_Error;
-/**
- * @brief Structure used to report load errors.
- *
- * Load errors are reported as signal by ewk_view. All the strings are
- * temporary references and should @b not be used after the signal
- * callback returns. If it's required, make copies with strdup() or
- * eina_stringshare_add() (they are not even guaranteed to be
- * stringshared, so must use eina_stringshare_add() and not
- * eina_stringshare_ref()).
- */
-struct _Ewk_Frame_Load_Error {
- int code; /**< numeric error code */
- Eina_Bool is_cancellation; /**< if load failed because it was canceled */
- const char *domain; /**< error domain name */
- const char *description; /**< error description already localized */
- const char *failing_url; /**< the url that failed to load */
- unsigned long resource_identifier; /**< identifier of resource */
- Evas_Object *frame; /**< frame where the failure happened */
-};
-
-/// Creates a type name for _Ewk_Frame_Resource_Request.
-typedef struct _Ewk_Frame_Resource_Request Ewk_Frame_Resource_Request;
-/**
- * @brief Structure containing details about a resource request.
- *
- * Details given before a resource is loaded on a given frame. It's used in
- * Ewk_Frame_Resource_Messages to inform about the details of a resource request.
- */
-struct _Ewk_Frame_Resource_Request {
- const char *url; /**< url of the resource */
- const char *first_party; /**< first party for cookies, can not be changed */
- const char *http_method; /**< http method, can not be changed */
- const unsigned long identifier; /**< identifier of resource, can not be changed */
- Evas_Object *frame; /**< frame where the resource is requested */
- Eina_Bool is_main_frame_request; /** < indicates if the request is for the main frame */
-};
-
-/// Creates a type name for _Ewk_Frame_Resource_Response.
-typedef struct _Ewk_Frame_Resource_Response Ewk_Frame_Resource_Response;
-
-/**
- * @brief Structure containing details about a response to a resource request.
- *
- * Details given in the response to a resource request. It's used by
- * ewk_frame_response_received() to inform about the details of a response.
- */
-struct _Ewk_Frame_Resource_Response {
- const char *url; /**< url of the resource */
- int status_code; /**< http status code */
- unsigned long identifier; /**< identifier of resource */
- const char *mime_type; /**< MIME type of the resource */
-};
-
-/// Creates a type name for _Ewk_Frame_Resource_Messages.
-typedef struct _Ewk_Frame_Resource_Messages Ewk_Frame_Resource_Messages;
-
-struct _Ewk_Frame_Resource_Messages {
- Ewk_Frame_Resource_Request *request; /**< resource request */
- Ewk_Frame_Resource_Response *redirect_response; /**< redirect response, can not be changed */
-};
-
-/// Enum containing text directionality values.
-typedef enum {
- EWK_TEXT_DIRECTION_DEFAULT, /**< Natural writing direction ("inherit") */
- EWK_TEXT_DIRECTION_LEFT_TO_RIGHT,
- EWK_TEXT_DIRECTION_RIGHT_TO_LEFT
-} Ewk_Text_Direction;
-
-/// Creates a type name for Ewk_Text_With_Direction.
-typedef struct _Ewk_Text_With_Direction Ewk_Text_With_Direction;
-
-struct _Ewk_Text_With_Direction {
- const char *string;
- Ewk_Text_Direction direction;
-};
-
-/// Creates a type name for Ewk_Frame_Xss_Notification.
-typedef struct _Ewk_Frame_Xss_Notification Ewk_Frame_Xss_Notification;
-
-/**
- * @brief Structure used to report reflected XSS is encountered in the page.
- *
- * This structure contains information received from the XSSAuditor when reflected XSS
- * is encountered in the page. The string is temporary reference and should @b not
- * be used after the signal callback returns. If it's required, make a copy of it.
- */
-struct _Ewk_Frame_Xss_Notification {
- const char *insecure_url; /**< insecure url of the document */
- Eina_Bool is_entire_page_blocked; /** < indicates if the entire page was blocked by XSSAuditor */
-};
-
-/// Enum containing hit test data types
-typedef enum {
- EWK_HIT_TEST_RESULT_CONTEXT_DOCUMENT = 1 << 1,
- EWK_HIT_TEST_RESULT_CONTEXT_LINK = 1 << 2,
- EWK_HIT_TEST_RESULT_CONTEXT_IMAGE = 1 << 3,
- EWK_HIT_TEST_RESULT_CONTEXT_MEDIA = 1 << 4,
- EWK_HIT_TEST_RESULT_CONTEXT_SELECTION = 1 << 5,
- EWK_HIT_TEST_RESULT_CONTEXT_EDITABLE = 1 << 6
-} Ewk_Hit_Test_Result_Context;
-
-/// Enum containing navigation types
-typedef enum {
- EWK_NAVIGATION_TYPE_LINK_CLICKED,
- EWK_NAVIGATION_TYPE_FORM_SUBMITTED,
- EWK_NAVIGATION_TYPE_BACK_FORWARD,
- EWK_NAVIGATION_TYPE_RELOAD,
- EWK_NAVIGATION_TYPE_FORM_RESUBMITTED,
- EWK_NAVIGATION_TYPE_OTHER
-} Ewk_Navigation_Type;
-
-/// Creates a type name for _Ewk_Hit_Test.
-typedef struct _Ewk_Hit_Test Ewk_Hit_Test;
-/// Structure used to report hit test result.
-struct _Ewk_Hit_Test {
- int x; /**< the horizontal position of the hit test */
- int y; /**< the vertical position of the hit test */
- struct {
- int x, y, w, h;
- } bounding_box; /**< DEPRECATED, see ewk_frame_hit_test_new() */
- Ewk_Text_With_Direction title; /**< title of the element */
- const char *alternate_text; /**< the alternate text for image, area, input and applet */
- Evas_Object *frame; /**< the pointer to frame where hit test was requested */
- struct {
- const char *text; /**< the text of the link */
- const char *url; /**< URL of the link */
- const char *title; /**< the title of link */
- Evas_Object *target_frame;
- } link;
- const char *image_uri;
- const char *media_uri;
-
- Ewk_Hit_Test_Result_Context context;
-};
-
-/// Represents actions of touch events.
-typedef enum {
- EWK_TOUCH_START,
- EWK_TOUCH_MOVE,
- EWK_TOUCH_END,
- EWK_TOUCH_CANCEL
-} Ewk_Touch_Event_Type;
-
-/// Creates a type name for _Ewk_Touch_Point.
-typedef struct _Ewk_Touch_Point Ewk_Touch_Point;
-/// Represents a touch point.
-struct _Ewk_Touch_Point {
- int id; /**< identifier of the touch event */
- int x; /**< the horizontal position of the touch event */
- int y; /**< the horizontal position of the touch event */
- Evas_Touch_Point_State state; /**< state of the touch event */
-};
-
-typedef enum {
- EWK_TEXT_SELECTION_NONE,
- EWK_TEXT_SELECTION_CARET,
- EWK_TEXT_SELECTION_RANGE
-} Ewk_Text_Selection_Type;
-
-/**
- * Represents the validity of a X.509 certificate related to the current frame.
- *
- * A certificate is considered untrusted when any problem is found in it: it may have
- * expired, the certificate's Common Name does not match the current host, the certificate
- * does not validate against the current set of root CA certificates etc.
- *
- * @sa ewk_frame_certificate_status_get, ewk_network_tls_ca_certificates_path_set
- */
-typedef enum {
- EWK_CERTIFICATE_STATUS_NO_CERTIFICATE = 1 << 1, /**< No certificate provided (non-HTTPS connection). */
- EWK_CERTIFICATE_STATUS_UNTRUSTED = 1 << 2, /**< The certificate provided is not trusted. */
- EWK_CERTIFICATE_STATUS_TRUSTED = 1 << 3 /**< The certificate is valid and fully trusted. */
-} Ewk_Certificate_Status;
-
-/**
- * Retrieves the ewk_view object that owns this frame.
- *
- * @param o frame object to get view object
- *
- * @return view object or @c NULL on failure
- */
-EAPI Evas_Object *ewk_frame_view_get(const Evas_Object *o);
-
-/**
- * Retrieves the Ewk_Security_Origin of this frame.
- *
- * The returned object should be freed by ewk_security_origin_free().
- *
- * @param o frame object to get the security origin
- *
- * @return security origin object
- */
-EAPI Ewk_Security_Origin *ewk_frame_security_origin_get(const Evas_Object *o);
-
-/**
- * Returns a new iterator over all direct children frames.
- *
- * Keep frame object intact while iteration happens otherwise frame
- * may be destroyed while iterated.
- *
- * Iteration results are Evas_Object*, so give eina_iterator_next() a
- * pointer to it.
- *
- * Returned iterator should be freed by eina_iterator_free().
- *
- * @param o frame object to create the iterator
- *
- * @return a newly allocated iterator on sucess, or @c NULL if not possible to
- * create the iterator
- */
-EAPI Eina_Iterator *ewk_frame_children_iterator_new(Evas_Object *o);
-
-/**
- * Finds a child frame by its name, recursively.
- *
- * For pre-defined names, returns @a o if @a name is "_self" or
- * "_current", returns @a o's parent frame if @a name is "_parent",
- * and returns the main frame if @a name is "_top". Also returns @a o
- * if it is the main frame and @a name is either "_parent" or
- * "_top". For other names, this function returns the first frame that
- * matches @a name. This function searches @a o and its descendents
- * first, then @a o's parent and its children moving up the hierarchy
- * until a match is found. If no match is found in @a o's hierarchy,
- * this function will search for a matching frame in other main frame
- * hierarchies.
- *
- * @param o frame object to find a child frame
- * @param name child frame name
- *
- * @return child frame of the given frame, or @c NULL if the the child wasn't found
- */
-EAPI Evas_Object *ewk_frame_child_find(Evas_Object *o, const char *name);
-
-/**
- * Asks the main frame to load the given URI.
- *
- * @param o frame object to load uri
- * @param uri uniform resource identifier to load
- *
- * @return @c EINA_TRUE on success, or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_frame_uri_set(Evas_Object *o, const char *uri);
-
-/**
- * Gets the uri of this frame.
- *
- * It returns an internal string and should not
- * be modified. The string is guaranteed to be stringshared.
- *
- * @param o frame object to get uri
- *
- * @return frame uri on success or @c NULL on failure
- */
-EAPI const char *ewk_frame_uri_get(const Evas_Object *o);
-
-/**
- * Gets the title of this frame.
- *
- * It returns an internal string and should not
- * be modified. The string is guaranteed to be stringshared.
- *
- * @param o frame object to get title
- *
- * @return frame title on success or @c NULL on failure
- */
-EAPI const Ewk_Text_With_Direction *ewk_frame_title_get(const Evas_Object *o);
-
-/**
- * Gets the name of this frame.
- *
- * It returns an internal string and should not
- * be modified. The string is guaranteed to be stringshared.
- *
- * @param o frame object to get name
- *
- * @return frame name on success or @c NULL on failure
- */
-EAPI const char *ewk_frame_name_get(const Evas_Object *o);
-
-/**
- * Gets last known contents size.
- *
- * @param o frame object to get contents size
- * @param w pointer to store contents size width, may be @c NULL
- * @param h pointer to store contents size height, may be @c NULL
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure and
- * @a w and @a h will be zeroed
- */
-EAPI Eina_Bool ewk_frame_contents_size_get(const Evas_Object *o, Evas_Coord *w, Evas_Coord *h);
-
-/**
- * Requests loading the given contents in this frame.
- *
- * @param o frame object to load document
- * @param contents what to load into frame
- * @param contents_size size of @a contents (in bytes),
- * if @c 0 is given, length of @a contents is used
- * @param mime_type type of @a contents data, if @c NULL is given "text/html" is assumed
- * @param encoding encoding for @a contents data, if @c NULL is given "UTF-8" is assumed
- * @param base_uri base uri to use for relative resources, may be @c NULL,
- * if provided @b must be an absolute uri
- *
- * @return @c EINA_TRUE on successful request, @c EINA_FALSE on errors
- */
-EAPI Eina_Bool ewk_frame_contents_set(Evas_Object *o, const char *contents, size_t contents_size, const char *mime_type, const char *encoding, const char *base_uri);
-
-/**
- * Requests loading alternative contents for unreachable URI in this frame.
- *
- * This is similar to ewk_frame_contents_set(), but is used when some
- * URI was failed to load, using the provided content instead. The main
- * difference is that back-forward navigation list is not changed.
- *
- * @param o frame object to load alternative content
- * @param contents what to load into frame, must @b not be @c NULL
- * @param contents_size size of @a contents (in bytes),
- * if @c 0 is given, length of @a contents is used
- * @param mime_type type of @a contents data, if @c NULL is given "text/html" is assumed
- * @param encoding encoding used for @a contents data, if @c NULL is given "UTF-8" is assumed
- * @param base_uri base URI to use for relative resources, may be @c NULL,
- * if provided must be an absolute uri
- * @param unreachable_uri the URI that failed to load and is getting the
- * alternative representation, must @b not be @c NULL
- *
- * @return @c EINA_TRUE on successful request, @c EINA_FALSE on errors
- */
-EAPI Eina_Bool ewk_frame_contents_alternate_set(Evas_Object *o, const char *contents, size_t contents_size, const char *mime_type, const char *encoding, const char *base_uri, const char *unreachable_uri);
-
-/**
- * Requests execution of the given script.
- *
- * The returned string @b should be freed by eina_stringshare_del() after use.
- *
- * @param o frame object to execute script
- * @param script Java Script to execute
- *
- * @return newly allocated string for result or @c NULL if the result cannot be converted to string or failure
- */
-EAPI const char *ewk_frame_script_execute(Evas_Object *o, const char *script);
-
-/**
- * Queries if the frame is editable.
- *
- * @param o the frame object to query editable state
- *
- * @return @c EINA_TRUE if the frame is editable, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_editable_get(const Evas_Object *o);
-
-/**
- * Sets editable state for frame.
- *
- * @param o the frame object to set editable state
- * @param editable a new state to set
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_editable_set(Evas_Object *o, Eina_Bool editable);
-
-/**
- * Gets the copy of the selected text.
- *
- * The returned string @b should be freed by eina_stringshare_del() after use.
- *
- * @param o the frame object to get selected text
- *
- * @return a newly allocated string or @c NULL if nothing is selected or on failure
- */
-EAPI const char *ewk_frame_selection_get(const Evas_Object *o);
-
-/**
- * Searches the given string in a document.
- *
- * @param o frame object where to search the text
- * @param string reference string to search
- * @param case_sensitive if search should be case sensitive or not
- * @param forward if search is from cursor and on or backwards
- * @param wrap if search should wrap at the end
- *
- * @return @c EINA_TRUE if the given string was found, @c EINA_FALSE if not or failure
- */
-EAPI Eina_Bool ewk_frame_text_search(const Evas_Object *o, const char *string, Eina_Bool case_sensitive, Eina_Bool forward, Eina_Bool wrap);
-
-/**
- * Marks matches the given string in a document.
- *
- * @param o frame object where to search text
- * @param string reference string to match
- * @param case_sensitive if match should be case sensitive or not
- * @param highlight if matches should be highlighted
- * @param limit maximum amount of matches, or zero to unlimited
- *
- * @return number of matched @a string
- */
-EAPI unsigned int ewk_frame_text_matches_mark(Evas_Object *o, const char *string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit);
-
-/**
- * Unmarks all marked matches in a document.
- * Reverses the effect of ewk_frame_text_matches_mark().
- *
- * @param o frame object where to unmark matches
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_frame_text_matches_unmark_all(Evas_Object *o);
-
-/**
- * Sets whether matches marked with ewk_frame_text_matches_mark() should be highlighted.
- *
- * @param o frame object where to set if matches are highlighted or not
- * @param highlight @c EINA_TRUE if matches are highlighted, @c EINA_FALSE if not
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_frame_text_matches_highlight_set(Evas_Object *o, Eina_Bool highlight);
-
-/**
- * Returns whether matches marked with ewk_frame_text_matches_mark() are highlighted.
- *
- * @param o frame object to query if matches are highlighted or not
- *
- * @return @c EINA_TRUE if matches are highlighted, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_text_matches_highlight_get(const Evas_Object *o);
-
-/**
- * Returns the position of the n-th matched text in the frame.
- *
- * @param o frame object where matches are marked
- * @param n index of element
- * @param x the pointer to store the horizontal position of @a n matched text, may be @c NULL
- * @param y the pointer to store the vertical position of @a n matched text, may be @c NULL
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE when no matches were found or
- * @a n is bigger than search results or on failure
- */
-EAPI Eina_Bool ewk_frame_text_matches_nth_pos_get(const Evas_Object *o, size_t n, int *x, int *y);
-
-/**
- * Asks frame to stop loading.
- *
- * @param o frame object to stop loading
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_stop(Evas_Object *o);
-
-/**
- * Asks frame to reload current document.
- *
- * @param o frame object to reload current document
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise
- *
- * @see ewk_frame_reload_full()
- */
-EAPI Eina_Bool ewk_frame_reload(Evas_Object *o);
-
-/**
- * Asks frame to fully reload current document, using no previous caches.
- *
- * @param o frame object to reload current document
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_reload_full(Evas_Object *o);
-
-/**
- * Asks the frame to navigate back in the history.
- *
- * @param o frame object to navigate back
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise
- *
- * @see ewk_frame_navigate()
- */
-EAPI Eina_Bool ewk_frame_back(Evas_Object *o);
-
-/**
- * Asks frame to navigate forward in the history.
- *
- * @param o frame object to navigate forward
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise
- *
- * @see ewk_frame_navigate()
- */
-EAPI Eina_Bool ewk_frame_forward(Evas_Object *o);
-
-/**
- * Navigates back or forward in the history.
- *
- * @param o frame object to navigate
- * @param steps if positive navigates that amount forwards, if negative
- * does backwards
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_navigate(Evas_Object *o, int steps);
-
-/**
- * Queries if it's possible to navigate backwards one item in the history.
- *
- * @param o frame object to query if backward navigation is possible
- *
- * @return @c EINA_TRUE if it's possible to navigate backwards one item in the history, @c EINA_FALSE otherwise
- *
- * @see ewk_frame_navigate_possible()
- */
-EAPI Eina_Bool ewk_frame_back_possible(Evas_Object *o);
-
-/**
- * Queries if it's possible to navigate forwards one item in the history.
- *
- * @param o frame object to query if forward navigation is possible
- *
- * @return @c EINA_TRUE if it's possible to navigate forwards in the history, @c EINA_FALSE otherwise
- *
- * @see ewk_frame_navigate_possible()
- */
-EAPI Eina_Bool ewk_frame_forward_possible(Evas_Object *o);
-
-/**
- * Queries if it's possible to navigate given @a steps in the history.
- *
- * @param o frame object to query if is possible to navigate @a steps in the history
- * @param steps positive value navigates that amount forwards, negative value
- * does backwards
- *
- * @return @c EINA_TRUE if it's possible to navigate @a steps in the history, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_navigate_possible(Evas_Object *o, int steps);
-
-/**
- * Gets the current page zoom level used by this frame.
- *
- * @param o frame object to get zoom level
- *
- * @return page zoom level for the frame or @c -1.0 on failure
- *
- * @see ewk_frame_text_zoom_get()
- */
-EAPI float ewk_frame_page_zoom_get(const Evas_Object *o);
-
-/**
- * Sets the current page zoom level used by this frame.
- *
- * @param o frame object to change zoom level
- * @param page_zoom_factor a new zoom level
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- *
- * @see ewk_frame_text_zoom_set()
- */
-EAPI Eina_Bool ewk_frame_page_zoom_set(Evas_Object *o, float page_zoom_factor);
-
-/**
- * Gets the current text zoom level used by this frame.
- *
- * @param o frame object to get zoom level
- *
- * @return text zoom level for the frame or @c -1.0 on failure
- *
- * @see ewk_frame_page_zoom_get()
- */
-EAPI float ewk_frame_text_zoom_get(const Evas_Object *o);
-
-/**
- * Sets the current text zoom level used by this frame.
- *
- * @param o frame object to change zoom level
- * @param textZoomFactor a new zoom level
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- *
- * @see ewk_frame_page_zoom_set()
- */
-EAPI Eina_Bool ewk_frame_text_zoom_set(Evas_Object *o, float text_zoom_factor);
-
-/**
- * Frees hit test instance created by ewk_frame_hit_test_new().
- *
- * @param hit_test instance
- */
-EAPI void ewk_frame_hit_test_free(Ewk_Hit_Test *hit_test);
-
-/**
- * Creates a new hit test for the given frame and point.
- *
- * The returned object should be freed by ewk_frame_hit_test_free().
- *
- * @param o frame object to do hit test on
- * @param x the horizontal position to query
- * @param y the vertical position to query
- *
- * @return a newly allocated hit test on success, @c NULL otherwise
- */
-EAPI Ewk_Hit_Test *ewk_frame_hit_test_new(const Evas_Object *o, int x, int y);
-
-/**
- * Sets a relative scroll of the given frame.
- *
- * This function does scroll @a dx and @a dy pixels
- * from the current position of scroll.
- *
- * @param o frame object to scroll
- * @param dx horizontal offset to scroll
- * @param dy vertical offset to scroll
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_scroll_add(Evas_Object *o, int dx, int dy);
-
-/**
- * Sets an absolute scroll of the given frame.
- *
- * Both values are from zero to the contents size minus the viewport
- * size. See ewk_frame_scroll_size_get().
- *
- * @param o frame object to scroll
- * @param x horizontal position to scroll
- * @param y vertical position to scroll
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_scroll_set(Evas_Object *o, int x, int y);
-
-/**
- * Gets the possible scroll size of the given frame.
- *
- * Possible scroll size is contents size minus the viewport
- * size. It's the last allowed value for ewk_frame_scroll_set()
- *
- * @param o frame object to get scroll size
- * @param w the pointer to store the horizontal size that is possible to scroll,
- * may be @c NULL
- * @param h the pointer to store the vertical size that is possible to scroll,
- * may be @c NULL
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise and
- * values are zeroed
- */
-EAPI Eina_Bool ewk_frame_scroll_size_get(const Evas_Object *o, int *w, int *h);
-
-/**
- * Gets the current scroll position of given frame.
- *
- * @param o frame object to get the current scroll position
- * @param x the pointer to store the horizontal position, may be @c NULL
- * @param y the pointer to store the vertical position. may be @c NULL
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise and
- * values are zeroed.
- */
-EAPI Eina_Bool ewk_frame_scroll_pos_get(const Evas_Object *o, int *x, int *y);
-
-/**
- * Gets the visible content geometry of the frame.
- *
- * @param o frame object to query visible content geometry
- * @param include_scrollbars whenever to include scrollbars size
- * @param x the pointer to store the horizontal position, may be @c NULL
- * @param y the pointer to store the vertical position, may be @c NULL
- * @param w the pointer to store width, may be @c NULL
- * @param h the pointer to store height, may be @c NULL
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise and
- * values are zeroed
- */
-EAPI Eina_Bool ewk_frame_visible_content_geometry_get(const Evas_Object *o, Eina_Bool include_scrollbars, int *x, int *y, int *w, int *h);
-
-/**
- * Queries if the frame should be repainted completely.
- *
- * Function tells if dirty areas should be repainted
- * even if they are out of the screen.
- *
- * @param o frame object to query if the frame should be repainted completely
- *
- * @return @c EINA_TRUE if any dirty areas should be repainted, @c EINA_FALSE
- * otherwise
- */
-EAPI Eina_Bool ewk_frame_paint_full_get(const Evas_Object *o);
-
-/**
- * Sets if the frame should be repainted completely.
- *
- * Function sets if dirty areas should be repainted
- * even if they are out of the screen.
- *
- * @param o frame object to set if the frame should be repainted completely
- * @param flag @c EINA_TRUE to repaint the frame completely,
- * @c EINA_FALSE if not
- */
-EAPI void ewk_frame_paint_full_set(Evas_Object *o, Eina_Bool flag);
-
-/**
- * Feeds the focus in event to the frame.
- *
- * @param o frame object to feed focus
- *
- * @return @c EINA_TRUE if the focus was handled, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_feed_focus_in(Evas_Object *o);
-
-/**
- * Feeds the focus out event to the frame.
- *
- * @param o frame object to remove focus
- *
- * @return @c EINA_FALSE since the feature is not implemented
- */
-EAPI Eina_Bool ewk_frame_feed_focus_out(Evas_Object *o);
-
-/**
- * Gets the geometry, relative to the frame, of the focused element in the
- * document.
- *
- * @param o frame object containing the focused element
- * @param x pointer where to store the X value of the geometry, may be @c NULL
- * @param x pointer where to store the Y value of the geometry, may be @c NULL
- * @param x pointer where to store width of the geometry, may be @c NULL
- * @param x pointer where to store height of the geometry, may be @c NULL
- *
- * @return @c EINA_TRUE if the frame contains the currently focused element and
- * its geometry was correctly fetched, @c EINA_FALSE in any other case
- */
-EAPI Eina_Bool ewk_frame_focused_element_geometry_get(const Evas_Object *o, int *x, int *y, int *w, int *h);
-
-/**
- * Feeds the mouse wheel event to the frame.
- *
- * @param o frame object to feed the mouse wheel event
- * @param ev the mouse wheel event
- *
- * @return @c EINA_TRUE if the mouse wheel event was handled, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_feed_mouse_wheel(Evas_Object *o, const Evas_Event_Mouse_Wheel *ev);
-
-/**
- * Feeds the mouse down event to the frame.
- *
- * @param o frame object to feed the mouse down event
- * @param ev the mouse down event
- *
- * @return @c EINA_TRUE if the mouse down event was handled, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_feed_mouse_down(Evas_Object *o, const Evas_Event_Mouse_Down *ev);
-
-/**
- * Feeds the mouse up event to the frame.
- *
- * @param o frame object to feed the mouse up event
- * @param ev the mouse up event
- *
- * @return @c EINA_TRUE if the mouse up event was handled, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_feed_mouse_up(Evas_Object *o, const Evas_Event_Mouse_Up *ev);
-
-/**
- * Feeds the mouse move event to the frame.
- *
- * @param o frame object to feed the mouse move event
- * @param ev the mouse move event
- *
- * @return @c EINA_TRUE if the mouse move event was handled, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_feed_mouse_move(Evas_Object *o, const Evas_Event_Mouse_Move *ev);
-
-/**
- * Feeds the touch event to the frame.
- *
- * @param o frame object to feed touch event
- * @param action the action of touch event
- * @param points a list of points (Ewk_Touch_Point) to process
- * @param metaState modifiers state of touch event. Users are expected to pass ORed values of the ECORE_EVENT_MODIFIER macros in Ecore_Input.h, such as ECORE_EVENT_MODIFIER_ALT or ECORE_EVENT_MODIFIER_SHIFT
- *
- * @return @c EINA_TRUE if touch event was handled, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_feed_touch_event(Evas_Object *o, Ewk_Touch_Event_Type action, Eina_List *points, unsigned modifiers);
-
-/**
- * Feeds the keyboard key down event to the frame.
- *
- * @param o frame object to feed event
- * @param ev keyboard key down event
- *
- * @return @c EINA_TRUE if the key down event was handled, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_feed_key_down(Evas_Object *o, const Evas_Event_Key_Down *ev);
-
-/**
- * Feeds the keyboard key up event to the frame.
- *
- * @param o frame object to feed event
- * @param ev keyboard key up event
- *
- * @return @c EINA_TRUE if the key up event was handled, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_frame_feed_key_up(Evas_Object *o, const Evas_Event_Key_Up *ev);
-
-/**
- * Returns current text selection type.
- *
- * @param o a frame object to check selection type
- * @return current text selection type on success or no selection otherwise
- */
-EAPI Ewk_Text_Selection_Type ewk_frame_text_selection_type_get(const Evas_Object *o);
-
-/**
- * Gets the frame source.
- *
- * It's part of HTML saving feature. Currently only HTML documents are supported.
- *
- * @param o frame smart object to get the frame source
- * @param frame_source a pointer to store the source of frame,
- * must @b not be @c NULL, this value @b should be freed after use
- *
- * @return @c length of @a frame_source on success, or @c -1 on failure
- *
- * @see ewk_frame_resources_location_get()
- */
-EAPI ssize_t ewk_frame_source_get(const Evas_Object *o, char **frame_source);
-
-/**
- * Gets the resource list of this frame.
- *
- * It's part of HTML saving feature. Currently only locations of images are supported.
- * An application might find these values in frame source and
- * replace them to the local paths. Values are not duplicated and they are decoded.
- *
- * @param o frame smart object to get the resources list
- * @return @c Eina_List with location of resources on success, or @c NULL on failure,
- * the Eina_List should be freed after use
- *
- * @see ewk_frame_source_get()
- */
-EAPI Eina_List *ewk_frame_resources_location_get(const Evas_Object *o);
-
-/**
- * Retrieve the frame's contents in plain text.
- *
- * This function returns the contents of the given frame converted to plain text,
- * removing all the HTML formatting.
- *
- * The returned string @b should be freed by eina_stringshare_del() after use.
- *
- * @param ewkFrame Frame object whose contents to retrieve.
- *
- * @return A newly allocated string (which must be freed by the caller with @c free())
- * or @c NULL in case of failure.
- */
-EAPI const char *ewk_frame_plain_text_get(const Evas_Object *o);
-
-/**
- * Returns whether the frame has displayed mixed content.
- *
- * When a frame has displayed mixed content, its current URI is an HTTPS one, but it has
- * loaded and displayed a resource (such as an image) from an insecure (non-HTTPS) URI.
- * Both the frame and the container view send a "mixedcontent,displayed" signal in this case.
- *
- * The status is reset only when a load event occurs (eg. the page is reloaded or a new page is loaded).
- *
- * @param o The frame to query.
- *
- * @sa ewk_view_mixed_content_displayed_get
- */
-EAPI Eina_Bool ewk_frame_mixed_content_displayed_get(const Evas_Object *o);
-
-/**
- * Returns whether the frame has run mixed content.
- *
- * When a frame has run mixed content, its current URI is an HTTPS one, but it has
- * loaded and run a resource (such as an image) from an insecure (non-HTTPS) URI.
- * Both the frame and the container view send a "mixedcontent,run" signal in this case.
- *
- * The status is reset only when a load event occurs (eg. the page is reloaded or a new page is loaded).
- *
- * @param o The frame to query.
- *
- * @sa ewk_view_mixed_content_run_get
- */
-EAPI Eina_Bool ewk_frame_mixed_content_run_get(const Evas_Object *o);
-
-/**
- * Returns the validity of the X.509 certificate related to the current frame.
- */
-EAPI Ewk_Certificate_Status ewk_frame_certificate_status_get(Evas_Object *o);
-
-#ifdef __cplusplus
-}
-#endif
-#endif // ewk_frame_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_frame_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_frame_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_frame_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_frame_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,93 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_frame_private_h
-#define ewk_frame_private_h
-
-#include "ewk_frame.h"
-#include <Evas.h>
-#include <wtf/PassRefPtr.h>
-#include <wtf/Vector.h>
-#include <wtf/text/WTFString.h>
-
-namespace WebCore {
-class FrameLoaderClientEfl;
-class HistoryItem;
-class HTMLPlugInElement;
-class HTMLFrameOwnerElement;
-class URL;
-class Frame;
-class IntSize;
-class Widget;
-}
-
-Evas_Object* ewk_frame_add(Evas* canvas);
-bool ewk_frame_init(Evas_Object* ewkFrame, Evas_Object* view, PassOwnPtr<WebCore::FrameLoaderClientEfl> frameLoaderClient);
-Evas_Object* ewk_frame_child_add(Evas_Object* ewkFrame, const WTF::String& name, WebCore::HTMLFrameOwnerElement* ownerElement);
-void ewk_frame_view_set(Evas_Object* ewkFrame, Evas_Object* newParent);
-
-void ewk_frame_core_gone(Evas_Object* ewkFrame);
-
-void ewk_frame_load_committed(Evas_Object* ewkFrame);
-void ewk_frame_load_started(Evas_Object* ewkFrame);
-void ewk_frame_load_provisional(Evas_Object* ewkFrame);
-void ewk_frame_load_provisional_failed(Evas_Object* ewkFrame, const Ewk_Frame_Load_Error* error);
-void ewk_frame_load_firstlayout_finished(Evas_Object* ewkFrame);
-void ewk_frame_load_firstlayout_nonempty_finished(Evas_Object* ewkFrame);
-void ewk_frame_load_document_finished(Evas_Object* ewkFrame);
-void ewk_frame_load_finished(Evas_Object* ewkFrame, const char* errorDomain, int errorCode, bool isCancellation, const char* errorDescription, const char* failingUrl);
-void ewk_frame_load_resource_finished(Evas_Object* ewkFrame, unsigned long identifier);
-void ewk_frame_load_resource_failed(Evas_Object* ewkFrame, Ewk_Frame_Load_Error* error);
-void ewk_frame_load_error(Evas_Object* ewkFrame, const char* errorDomain, int errorCode, bool isCancellation, const char* errorDescription, const char* failingUrl);
-void ewk_frame_load_progress_changed(Evas_Object* ewkFrame);
-
-void ewk_frame_redirect_cancelled(Evas_Object* ewkFrame);
-void ewk_frame_redirect_provisional_load(Evas_Object* ewkFrame);
-void ewk_frame_redirect_requested(Evas_Object* ewkFrame, const char* url);
-void ewk_frame_request_will_send(Evas_Object* ewkFrame, Ewk_Frame_Resource_Messages* messages);
-void ewk_frame_request_assign_identifier(Evas_Object* ewkFrame, const Ewk_Frame_Resource_Request* request);
-void ewk_frame_response_received(Evas_Object* ewkFrame, Ewk_Frame_Resource_Response* response);
-void ewk_frame_view_state_save(Evas_Object* ewkFrame, WebCore::HistoryItem* item);
-
-void ewk_frame_contents_size_changed(Evas_Object* ewkFrame, Evas_Coord width, Evas_Coord height);
-void ewk_frame_title_set(Evas_Object* ewkFrame, const Ewk_Text_With_Direction* title);
-
-void ewk_frame_view_create_for_view(Evas_Object* ewkFrame, Evas_Object* view);
-bool ewk_frame_uri_changed(Evas_Object* ewkFrame);
-void ewk_frame_force_layout(Evas_Object* ewkFrame);
-void ewk_frame_icon_changed(Evas_Object* ewkFrame);
-
-WTF::PassRefPtr<WebCore::Widget> ewk_frame_plugin_create(Evas_Object* ewkFrame, const WebCore::IntSize& pluginSize, WebCore::HTMLPlugInElement* element, const WebCore::URL& url, const WTF::Vector<WTF::String>& paramNames, const WTF::Vector<WTF::String>& paramValues, const WTF::String& mimeType, bool loadManually);
-
-void ewk_frame_editor_client_contents_changed(Evas_Object* ewkFrame);
-void ewk_frame_editor_client_selection_changed(Evas_Object* ewkFrame);
-
-void ewk_frame_mixed_content_displayed_set(Evas_Object* ewkFrame, bool hasDisplayed);
-void ewk_frame_mixed_content_run_set(Evas_Object* ewkFrame, bool hasRun);
-
-void ewk_frame_xss_detected(Evas_Object* ewkFrame, const Ewk_Frame_Xss_Notification* xssInfo);
-
-namespace EWKPrivate {
-void setCoreFrame(Evas_Object* ewkFrame, WebCore::Frame* coreFrame);
-WebCore::Frame *coreFrame(const Evas_Object *ewkFrame);
-Evas_Object* kitFrame(const WebCore::Frame* coreFrame);
-} // namespace EWKPrivate
-
-#endif // ewk_frame_private_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_historycpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_history.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_history.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_history.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,403 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2010 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_history.h"
-
-#include "BackForwardList.h"
-#include "CairoUtilitiesEfl.h"
-#include "HistoryItem.h"
-#include "IconDatabaseBase.h"
-#include "Image.h"
-#include "IntSize.h"
-#include "Page.h"
-#include "PageGroup.h"
-#include "ewk_history_private.h"
-#include "ewk_private.h"
-#include <Eina.h>
-#include <eina_safety_checks.h>
-#include <wtf/text/CString.h>
-
-struct _Ewk_History {
- WebCore::BackForwardList* core;
-};
-
-#define EWK_HISTORY_CORE_GET_OR_RETURN(history, core_, ...) \
- if (!(history)) { \
- CRITICAL("history is NULL."); \
- return __VA_ARGS__; \
- } \
- if (!(history)->core) { \
- CRITICAL("history->core is NULL."); \
- return __VA_ARGS__; \
- } \
- if (!(history)->core->enabled()) { \
- ERR("history->core is disabled!."); \
- return __VA_ARGS__; \
- } \
- WebCore::BackForwardList* core_ = (history)->core
-
-
-struct _Ewk_History_Item {
- WebCore::HistoryItem* core;
-
- const char* title;
- const char* alternateTitle;
- const char* uri;
- const char* originalUri;
-};
-
-#define EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, core_, ...) \
- if (!(item)) { \
- CRITICAL("item is NULL."); \
- return __VA_ARGS__; \
- } \
- if (!(item)->core) { \
- CRITICAL("item->core is NULL."); \
- return __VA_ARGS__; \
- } \
- WebCore::HistoryItem* core_ = (item)->core
-
-static inline Eina_List* _ewk_history_item_list_get(const WebCore::HistoryItemVector& coreItems)
-{
- Eina_List* result = 0;
- unsigned int size;
-
- size = coreItems.size();
- for (unsigned int i = 0; i < size; i++) {
- Ewk_History_Item* item = ewk_history_item_new_from_core(coreItems[i].get());
- if (item)
- result = eina_list_append(result, item);
- }
-
- return result;
-}
-
-Eina_Bool ewk_history_clear(Ewk_History* history)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, false);
-
- WebCore::Page* page = core->page();
- if (page && page->groupPtr())
- page->groupPtr()->removeVisitedLinks();
-
- const int limit = ewk_history_limit_get(history);
- ewk_history_limit_set(history, 0);
- ewk_history_limit_set(history, limit);
-
- return true;
-}
-
-Eina_Bool ewk_history_forward(Ewk_History* history)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, false);
- if (core->forwardListCount() < 1)
- return false;
- core->goForward();
- return true;
-}
-
-Eina_Bool ewk_history_back(Ewk_History* history)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, false);
- if (core->backListCount() < 1)
- return false;
- core->goBack();
- return true;
-}
-
-Eina_Bool ewk_history_history_item_add(Ewk_History* history, const Ewk_History_Item* item)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, history_core, false);
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, item_core, false);
- history_core->addItem(item_core);
- return true;
-}
-
-Eina_Bool ewk_history_history_item_set(Ewk_History* history, const Ewk_History_Item* item)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, history_core, false);
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, item_core, false);
- history_core->goToItem(item_core);
- return true;
-}
-
-Ewk_History_Item* ewk_history_history_item_back_get(const Ewk_History* history)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, 0);
- return ewk_history_item_new_from_core(core->backItem());
-}
-
-Ewk_History_Item* ewk_history_history_item_current_get(const Ewk_History* history)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, 0);
- WebCore::HistoryItem* currentItem = core->currentItem();
- if (currentItem)
- return ewk_history_item_new_from_core(currentItem);
- return 0;
-}
-
-Ewk_History_Item* ewk_history_history_item_forward_get(const Ewk_History* history)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, 0);
- return ewk_history_item_new_from_core(core->forwardItem());
-}
-
-Ewk_History_Item* ewk_history_history_item_nth_get(const Ewk_History* history, int index)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, 0);
- return ewk_history_item_new_from_core(core->itemAtIndex(index));
-}
-
-Eina_Bool ewk_history_history_item_contains(const Ewk_History* history, const Ewk_History_Item* item)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, history_core, false);
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, item_core, false);
- return history_core->containsItem(item_core);
-}
-
-Eina_List* ewk_history_forward_list_get(const Ewk_History* history)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, 0);
- WebCore::HistoryItemVector items;
- int limit = core->forwardListCount();
- core->forwardListWithLimit(limit, items);
- return _ewk_history_item_list_get(items);
-}
-
-Eina_List* ewk_history_forward_list_get_with_limit(const Ewk_History* history, int limit)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, 0);
- WebCore::HistoryItemVector items;
- core->forwardListWithLimit(limit, items);
- return _ewk_history_item_list_get(items);
-}
-
-int ewk_history_forward_list_length(const Ewk_History* history)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, 0);
- return core->forwardListCount();
-}
-
-Eina_List* ewk_history_back_list_get(const Ewk_History* history)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, 0);
- WebCore::HistoryItemVector items;
- int limit = core->backListCount();
- core->backListWithLimit(limit, items);
- return _ewk_history_item_list_get(items);
-}
-
-Eina_List* ewk_history_back_list_get_with_limit(const Ewk_History* history, int limit)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, 0);
- WebCore::HistoryItemVector items;
- core->backListWithLimit(limit, items);
- return _ewk_history_item_list_get(items);
-}
-
-int ewk_history_back_list_length(const Ewk_History* history)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, 0);
- return core->backListCount();
-}
-
-int ewk_history_limit_get(const Ewk_History* history)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, 0);
- return core->capacity();
-}
-
-Eina_Bool ewk_history_limit_set(const Ewk_History* history, int limit)
-{
- EWK_HISTORY_CORE_GET_OR_RETURN(history, core, false);
- core->setCapacity(limit);
- return true;
-}
-
-Ewk_History_Item* ewk_history_item_new_from_core(WebCore::HistoryItem* core)
-{
- Ewk_History_Item* item;
-
- if (!core) {
- ERR("WebCore::HistoryItem is NULL.");
- return 0;
- }
-
- core->ref();
-
- item = new Ewk_History_Item;
- memset(item, 0, sizeof(*item));
- item->core = core;
-
- return item;
-}
-
-Ewk_History_Item* ewk_history_item_new(const char* uri, const char* title)
-{
- WTF::String historyUri = WTF::String::fromUTF8(uri);
- WTF::String historyTitle = WTF::String::fromUTF8(title);
- WTF::RefPtr<WebCore::HistoryItem> core = WebCore::HistoryItem::create(historyUri, historyTitle);
- Ewk_History_Item* item = ewk_history_item_new_from_core(core.release().leakRef());
- return item;
-}
-
-static inline void _ewk_history_item_free(Ewk_History_Item* item, WebCore::HistoryItem* core)
-{
- core->deref();
- delete item;
-}
-
-void ewk_history_item_free(Ewk_History_Item* item)
-{
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, core);
- _ewk_history_item_free(item, core);
-}
-
-void ewk_history_item_list_free(Eina_List* history_items)
-{
- void* deleteItem;
- EINA_LIST_FREE(history_items, deleteItem) {
- Ewk_History_Item* item = (Ewk_History_Item*)deleteItem;
- _ewk_history_item_free(item, item->core);
- }
-}
-
-const char* ewk_history_item_title_get(const Ewk_History_Item* item)
-{
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, core, 0);
- // hide the following optimzation from outside
- Ewk_History_Item* historyItem = const_cast<Ewk_History_Item*>(item);
- eina_stringshare_replace(&historyItem->title, core->title().utf8().data());
- return historyItem->title;
-}
-
-const char* ewk_history_item_title_alternate_get(const Ewk_History_Item* item)
-{
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, core, 0);
- // hide the following optimzation from outside
- Ewk_History_Item* historyItem = const_cast<Ewk_History_Item*>(item);
- eina_stringshare_replace(&historyItem->alternateTitle,
- core->alternateTitle().utf8().data());
- return historyItem->alternateTitle;
-}
-
-void ewk_history_item_title_alternate_set(Ewk_History_Item* item, const char* title)
-{
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, core);
- if (!eina_stringshare_replace(&item->alternateTitle, title))
- return;
- core->setAlternateTitle(WTF::String::fromUTF8(title));
-}
-
-const char* ewk_history_item_uri_get(const Ewk_History_Item* item)
-{
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, core, 0);
- // hide the following optimzation from outside
- Ewk_History_Item* historyItem = const_cast<Ewk_History_Item*>((item));
- eina_stringshare_replace(&historyItem->uri, core->urlString().utf8().data());
- return historyItem->uri;
-}
-
-const char* ewk_history_item_uri_original_get(const Ewk_History_Item* item)
-{
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, core, 0);
- // hide the following optimzation from outside
- Ewk_History_Item* historyItem = const_cast<Ewk_History_Item*>(item);
- eina_stringshare_replace(&historyItem->originalUri,
- core->originalURLString().utf8().data());
- return historyItem->originalUri;
-}
-
-Evas_Object* ewk_history_item_icon_object_add(const Ewk_History_Item* item, Evas* canvas)
-{
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, core, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(canvas, 0);
-
- RefPtr<cairo_surface_t> surface = WebCore::iconDatabase().synchronousNativeIconForPageURL(core->url(), WebCore::IntSize(16, 16));
- if (!surface) {
- ERR("icon is NULL.");
- return 0;
- }
-
- return surface ? WebCore::evasObjectFromCairoImageSurface(canvas, surface.get()).leakRef() : 0;
-}
-
-Eina_Bool ewk_history_item_page_cache_exists(const Ewk_History_Item* item)
-{
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, core, false);
- return core->isInPageCache();
-}
-
-Eina_Bool ewk_history_item_visit_last_failed(const Ewk_History_Item* item)
-{
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(item, core, true);
- return core->lastVisitWasFailure();
-}
-
-
-/* internal methods ****************************************************/
-/**
- * @internal
- *
- * Creates history for given view. Called internally by ewk_view and
- * should never be called from outside.
- *
- * @param core WebCore::BackForwardList instance to use internally.
- *
- * @return newly allocated history instance or @c NULL on errors.
- */
-Ewk_History* ewk_history_new(WebCore::BackForwardList* core)
-{
- Ewk_History* history;
- EINA_SAFETY_ON_NULL_RETURN_VAL(core, 0);
- DBG("core=%p", core);
-
- history = new Ewk_History;
- history->core = core;
- core->ref();
-
- return history;
-}
-
-/**
- * @internal
- *
- * Destroys previously allocated history instance. This is called
- * automatically by ewk_view and should never be called from outside.
- *
- * @param history instance to free
- */
-void ewk_history_free(Ewk_History* history)
-{
- DBG("history=%p", history);
- history->core->deref();
- delete history;
-}
-
-namespace EWKPrivate {
-
-WebCore::HistoryItem* coreHistoryItem(const Ewk_History_Item* ewkHistoryItem)
-{
- EWK_HISTORY_ITEM_CORE_GET_OR_RETURN(ewkHistoryItem, core, 0);
- return core;
-}
-
-} // namespace EWKPrivate
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_historyh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_history.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_history.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_history.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,393 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2010 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_history_h
-#define ewk_history_h
-
-#include <Eina.h>
-#include <Evas.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * @file ewk_history.h
- * @brief The history (back-forward list) associated with a given ewk_view.
- *
- * Changing the history affects immediately the view, changing the
- * current uri, for example.
- *
- * When ewk_view is navigated or uris are set, history automatically
- * updates. That's why no direct access to history structure is
- * allowed.
- */
-typedef struct _Ewk_History Ewk_History;
-
-/**
- * Represents one item from Ewk_History.
- */
-typedef struct _Ewk_History_Item Ewk_History_Item;
-
-
-
-/**
- * Clear the current history, if there is any.
- *
- * @param history which history instance to modify.
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE on failure.
- */
-EAPI Eina_Bool ewk_history_clear(Ewk_History *history);
-
-/**
- * Go forward in history one item, if possible.
- *
- * @param history which history instance to modify.
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE on failure.
- */
-EAPI Eina_Bool ewk_history_forward(Ewk_History *history);
-
-/**
- * Go back in history one item, if possible.
- *
- * @param history which history instance to modify.
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE on failure.
- */
-EAPI Eina_Bool ewk_history_back(Ewk_History *history);
-
-/**
- * Adds the given item to history.
- *
- * Memory handling: This will not modify or even take references to
- * given item (Ewk_History_Item), so you should still handle it with
- * ewk_history_item_free().
- *
- * @param history which history instance to modify.
- * @param item reference to add to history. Unmodified. Must @b not be @c NULL.
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE on failure.
- */
-EAPI Eina_Bool ewk_history_history_item_add(Ewk_History *history, const Ewk_History_Item *item);
-
-/**
- * Sets the given item as current in history (go to item).
- *
- * Memory handling: This will not modify or even take references to
- * given item (Ewk_History_Item), so you should still handle it with
- * ewk_history_item_free().
- *
- * @param history which history instance to modify.
- * @param item reference to go to history. Unmodified. Must @b not be @c NULL.
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE on failure.
- */
-EAPI Eina_Bool ewk_history_history_item_set(Ewk_History *history, const Ewk_History_Item *item);
-
-/**
- * Get the first item from back list, if any.
- *
- * @param history which history instance to query.
- *
- * @return the @b newly allocated item instance. This memory must be
- * released with ewk_history_item_free() after use.
- */
-EAPI Ewk_History_Item *ewk_history_history_item_back_get(const Ewk_History *history);
-
-/**
- * Get the current item in history, if any.
- *
- * @param history which history instance to query.
- *
- * @return the @b newly allocated item instance or @c NULL on error. This memory
- * must be released with ewk_history_item_free() after use.
- */
-EAPI Ewk_History_Item *ewk_history_history_item_current_get(const Ewk_History *history);
-
-/**
- * Get the first item from forward list, if any.
- *
- * @param history which history instance to query.
- *
- * @return the @b newly allocated item instance. This memory must be
- * released with ewk_history_item_free() after use.
- */
-EAPI Ewk_History_Item *ewk_history_history_item_forward_get(const Ewk_History *history);
-
-/**
- * Get item at given position, if any at that index.
- *
- * @param history which history instance to query.
- * @param index position of item to get.
- *
- * @return the @b newly allocated item instance. This memory must be
- * released with ewk_history_item_free() after use.
- */
-EAPI Ewk_History_Item *ewk_history_history_item_nth_get(const Ewk_History *history, int index);
-
-/**
- * Queries if given item is in history.
- *
- * Memory handling: This will not modify or even take references to
- * given item (Ewk_History_Item), so you should still handle it with
- * ewk_history_item_free().
- *
- * @param history which history instance to modify.
- * @param item reference to check in history. Must @b not be @c NULL.
- *
- * @return @c EINA_TRUE if in history, @c EINA_FALSE if not or failure.
- */
-EAPI Eina_Bool ewk_history_history_item_contains(const Ewk_History *history, const Ewk_History_Item *item);
-
-/**
- * Get the whole forward list.
- *
- * @param history which history instance to query.
- *
- * @return a newly allocated list of @b newly allocated item
- * instance. This memory of each item must be released with
- * ewk_history_item_free() after use. use
- * ewk_history_item_list_free() for convenience.
- *
- * @see ewk_history_item_list_free()
- * @see ewk_history_forward_list_get_with_limit()
- */
-EAPI Eina_List *ewk_history_forward_list_get(const Ewk_History *history);
-
-/**
- * Get the forward list within the given limit.
- *
- * @param history which history instance to query.
- * @param limit the maximum number of items to return.
- *
- * @return a newly allocated list of @b newly allocated item
- * instance. This memory of each item must be released with
- * ewk_history_item_free() after use. use
- * ewk_history_item_list_free() for convenience.
- *
- * @see ewk_history_item_list_free()
- * @see ewk_history_forward_list_length()
- * @see ewk_history_forward_list_get()
- */
-EAPI Eina_List *ewk_history_forward_list_get_with_limit(const Ewk_History *history, int limit);
-
-/**
- * Get the whole size of forward list.
- *
- * @param history which history instance to query.
- *
- * @return number of elements in whole list.
- *
- * @see ewk_history_forward_list_get_with_limit()
- */
-EAPI int ewk_history_forward_list_length(const Ewk_History *history);
-
-/**
- * Get the whole back list.
- *
- * @param history which history instance to query.
- *
- * @return a newly allocated list of @b newly allocated item
- * instance. This memory of each item must be released with
- * ewk_history_item_free() after use. use
- * ewk_history_item_list_free() for convenience.
- *
- * @see ewk_history_item_list_free()
- * @see ewk_history_back_list_get_with_limit()
- */
-EAPI Eina_List *ewk_history_back_list_get(const Ewk_History *history);
-
-/**
- * Get the back list within the given limit.
- *
- * @param history which history instance to query.
- * @param limit the maximum number of items to return.
- *
- * @return a newly allocated list of @b newly allocated item
- * instance. This memory of each item must be released with
- * ewk_history_item_free() after use. use
- * ewk_history_item_list_free() for convenience.
- *
- * @see ewk_history_item_list_free()
- * @see ewk_history_back_list_length()
- * @see ewk_history_back_list_get()
- */
-EAPI Eina_List *ewk_history_back_list_get_with_limit(const Ewk_History *history, int limit);
-
-/**
- * Get the whole size of back list.
- *
- * @param history which history instance to query.
- *
- * @return number of elements in whole list.
- *
- * @see ewk_history_back_list_get_with_limit()
- */
-EAPI int ewk_history_back_list_length(const Ewk_History *history);
-
-/**
- * Get maximum capacity of given history.
- *
- * @param history which history instance to query.
- *
- * @return maximum number of entries this history will hold.
- */
-EAPI int ewk_history_limit_get(const Ewk_History *history);
-
-/**
- * Set maximum capacity of given history.
- *
- * @param history which history instance to modify.
- * @param limit maximum size to allow.
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
- */
-EAPI Eina_Bool ewk_history_limit_set(const Ewk_History *history, int limit);
-
-/**
- * Create a new history item with given URI and title.
- *
- * @param uri where this resource is located.
- * @param title resource title.
- *
- * @return newly allocated history item or @c NULL on errors. You must
- * free this item with ewk_history_item_free().
- */
-EAPI Ewk_History_Item *ewk_history_item_new(const char *uri, const char *title);
-
-/**
- * Free given history item instance.
- *
- * @param item what to free.
- */
-EAPI void ewk_history_item_free(Ewk_History_Item *item);
-
-/**
- * Free given list and associated history items instances.
- *
- * @param history_items list of items to free (both list nodes and
- * item instances).
- */
-EAPI void ewk_history_item_list_free(Eina_List *history_items);
-
-/**
- * Query title for given history item.
- *
- * @param item history item to query.
- *
- * @return the title pointer, that may be @c NULL. This pointer is
- * guaranteed to be eina_stringshare, so whenever possible
- * save yourself some cpu cycles and use
- * eina_stringshare_ref() instead of eina_stringshare_add() or
- * strdup().
- */
-EAPI const char *ewk_history_item_title_get(const Ewk_History_Item *item);
-
-/**
- * Query alternate title for given history item.
- *
- * @param item history item to query.
- *
- * @return the alternate title pointer, that may be @c NULL. This
- * pointer is guaranteed to be eina_stringshare, so whenever
- * possible save yourself some cpu cycles and use
- * eina_stringshare_ref() instead of eina_stringshare_add() or
- * strdup().
- */
-EAPI const char *ewk_history_item_title_alternate_get(const Ewk_History_Item *item);
-
-/**
- * Set alternate title for given history item.
- *
- * @param item history item to query.
- * @param title new alternate title to use for given item. No
- * references are kept after this function returns.
- */
-EAPI void ewk_history_item_title_alternate_set(Ewk_History_Item *item, const char *title);
-
-/**
- * Query URI for given history item.
- *
- * @param item history item to query.
- *
- * @return the URI pointer, that may be @c NULL. This pointer is
- * guaranteed to be eina_stringshare, so whenever possible
- * save yourself some cpu cycles and use
- * eina_stringshare_ref() instead of eina_stringshare_add() or
- * strdup().
- */
-EAPI const char *ewk_history_item_uri_get(const Ewk_History_Item *item);
-
-/**
- * Query original URI for given history item.
- *
- * @param item history item to query.
- *
- * @return the original URI pointer, that may be @c NULL. This pointer
- * is guaranteed to be eina_stringshare, so whenever possible
- * save yourself some cpu cycles and use
- * eina_stringshare_ref() instead of eina_stringshare_add() or
- * strdup().
- */
-EAPI const char *ewk_history_item_uri_original_get(const Ewk_History_Item *item);
-
-/**
- * Add an Evas_Object of type 'image' to given canvas with history item icon.
- *
- * This is an utility function that creates an Evas_Object of type
- * image set to have fill always match object size
- * (evas_object_image_filled_add()), saving some code to use it from Evas.
- *
- * @note in order to have this working, one must open icon database
- * with ewk_settings_icon_database_path_set().
- *
- * @param item history item to query.
- * @param canvas evas instance where to add resulting object.
- *
- * @return newly allocated Evas_Object instance or @c NULL on
- * errors. Delete the object with evas_object_del().
- */
-EAPI Evas_Object *ewk_history_item_icon_object_add(const Ewk_History_Item *item, Evas *canvas);
-
-/**
- * Query if given item is still in page cache.
- *
- * @param item history item to query.
- *
- * @return @c EINA_TRUE if in cache, @c EINA_FALSE otherwise.
- */
-EAPI Eina_Bool ewk_history_item_page_cache_exists(const Ewk_History_Item *item);
-
-/**
- * Query if last visit to item was failure or not.
- *
- * @param item history item to query.
- *
- * @return @c EINA_TRUE if last visit was failure, @c EINA_FALSE if it
- * was fine.
- */
-EAPI Eina_Bool ewk_history_item_visit_last_failed(const Ewk_History_Item *item);
-
-#ifdef __cplusplus
-}
-#endif
-#endif // ewk_history_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_history_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_history_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_history_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_history_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_history_private_h
-#define ewk_history_private_h
-
-#include "BackForwardList.h"
-
-namespace WebCore {
-class HistoryItem;
-class BackForwardList;
-}
-
-Ewk_History_Item *ewk_history_item_new_from_core(WebCore::HistoryItem *core);
-Ewk_History* ewk_history_new(WebCore::BackForwardList* history);
-void ewk_history_free(Ewk_History* history);
-
-namespace EWKPrivate {
-WebCore::HistoryItem *coreHistoryItem(const Ewk_History_Item *ewkHistoryItem);
-} // namespace EWKPrivate
-
-#endif // ewk_history_private_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_jscpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_js.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_js.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_js.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,751 +0,0 @@
</span><del>-/*
- Copyright (C) 2011 ProFUSION embedded systems
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_js.h"
-
-#if ENABLE(NETSCAPE_PLUGIN_API)
-
-#include "NP_jsobject.h"
-#include "Operations.h"
-#include "ewk_js_private.h"
-#include "ewk_private.h"
-#include "npruntime.h"
-#include "npruntime_impl.h"
-#include <string.h>
-
-#define EINA_MAGIC_CHECK_OR_RETURN(o, ...) \
- if (!EINA_MAGIC_CHECK(o, EWK_JS_OBJECT_MAGIC)) { \
- EINA_MAGIC_FAIL(o, EWK_JS_OBJECT_MAGIC); \
- return __VA_ARGS__; \
- }
-
-struct _Ewk_JS_Class {
- const Ewk_JS_Class_Meta* meta;
- Eina_Hash* methods; // Key=NPIdentifier(name), value=pointer to meta->methods.
- Eina_Hash* properties; // Key=NPIdentifier(name), value=pointer to meta->properties.
- Ewk_JS_Default default_prop;
-};
-
-static Eina_Bool ewk_js_npvariant_to_variant(Ewk_JS_Variant* data, const NPVariant* result);
-
-static Eina_Bool ewk_js_variant_to_npvariant(const Ewk_JS_Variant* data, NPVariant* result)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(data, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(result, false);
- const char* string_value;
-
- switch (data->type) {
- case EWK_JS_VARIANT_VOID:
- VOID_TO_NPVARIANT(*result);
- break;
- case EWK_JS_VARIANT_NULL:
- NULL_TO_NPVARIANT(*result);
- break;
- case EWK_JS_VARIANT_INT32:
- INT32_TO_NPVARIANT(data->value.i, *result);
- break;
- case EWK_JS_VARIANT_DOUBLE:
- DOUBLE_TO_NPVARIANT(data->value.d, *result);
- break;
- case EWK_JS_VARIANT_STRING:
- string_value = eina_stringshare_add(data->value.s);
- if (string_value)
- STRINGZ_TO_NPVARIANT(string_value, *result);
- else
- return false;
- break;
- case EWK_JS_VARIANT_BOOL:
- BOOLEAN_TO_NPVARIANT(data->value.b, *result);
- break;
- case EWK_JS_VARIANT_OBJECT:
- OBJECT_TO_NPVARIANT(reinterpret_cast<NPObject*>(data->value.o), *result);
- break;
- default:
- return false;
- }
-
- return true;
-}
-
-// These methods are used by NPAI, thats the reason to use bool instead of Eina_Bool.
-static bool ewk_js_property_has(NPObject* npObject, NPIdentifier name)
-{
- Ewk_JS_Object* object = reinterpret_cast<Ewk_JS_Object*>(npObject);
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(npObject, false);
- EINA_MAGIC_CHECK_OR_RETURN(object, false);
-
- if (!_NPN_IdentifierIsString(name)) {
- ERR("int NPIdentifier is not supported.");
- return false;
- }
-
- char* prop_name = _NPN_UTF8FromIdentifier(name);
- bool fail = eina_hash_find(object->properties, prop_name); // FIXME: should search methods too?
- free(prop_name);
-
- return fail;
-}
-
-static bool ewk_js_property_get(NPObject* npObject, NPIdentifier name, NPVariant* result)
-{
- Ewk_JS_Object* object = reinterpret_cast<Ewk_JS_Object*>(npObject);
- Ewk_JS_Variant* value;
- Ewk_JS_Property* prop;
- bool fail = false;
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(npObject, false);
- EINA_MAGIC_CHECK_OR_RETURN(object, false);
-
- if (!_NPN_IdentifierIsString(name)) {
- ERR("int NPIdentifier is not supported.");
- return false;
- }
-
- value = static_cast<Ewk_JS_Variant*>(malloc(sizeof(Ewk_JS_Variant)));
- if (!value) {
- ERR("Could not allocate memory for ewk_js_variant");
- return false;
- }
-
- prop = static_cast<Ewk_JS_Property*>(eina_hash_find(object->cls->properties, name));
- if (prop && prop->get) { // Class has property and property has getter.
- fail = prop->get(object, prop->name, value);
- if (!fail)
- fail = ewk_js_variant_to_npvariant(value, result);
- } else if (object->cls->default_prop.get) { // Default getter exists.
- fail = object->cls->default_prop.get(object, prop->name, value);
- if (!fail)
- fail = ewk_js_variant_to_npvariant(value, result);
- } else { // Fallback to objects hash map.
- char* prop_name = _NPN_UTF8FromIdentifier(name);
- free(value);
- value = static_cast<Ewk_JS_Variant*>(eina_hash_find(object->properties, prop_name));
- free(prop_name);
- if (value)
- return ewk_js_variant_to_npvariant(value, result);
- }
-
- free(value);
- return fail;
-}
-
-static bool ewk_js_property_set(NPObject* npObject, NPIdentifier name, const NPVariant* npValue)
-{
- Ewk_JS_Object* object = reinterpret_cast<Ewk_JS_Object*>(npObject);
- Ewk_JS_Variant* value;
- Ewk_JS_Property* prop;
- bool fail = false;
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(npObject, false);
- EINA_MAGIC_CHECK_OR_RETURN(object, false);
-
- if (!_NPN_IdentifierIsString(name)) {
- ERR("int NPIdentifier is not supported.");
- return fail;
- }
-
- value = static_cast<Ewk_JS_Variant*>(malloc(sizeof(Ewk_JS_Variant)));
- if (!value) {
- ERR("Could not allocate memory for ewk_js_variant");
- return false;
- }
-
- ewk_js_npvariant_to_variant(value, npValue);
- char* prop_name = _NPN_UTF8FromIdentifier(name);
- prop = static_cast<Ewk_JS_Property*>(eina_hash_find(object->cls->properties, prop_name));
- if (prop && prop->set)
- fail = prop->set(object, prop->name, value); // Class has property and property has setter.
- else if (object->cls->default_prop.set)
- fail = object->cls->default_prop.set(object, prop_name, value); // Default getter exists.
- else { // Fallback to objects hash map.
- void* old = eina_hash_set(object->properties, prop_name, value);
- free(old);
- fail = true;
- }
-
- free(prop_name);
- return fail;
-}
-
-static bool ewk_js_property_remove(NPObject* npObject, NPIdentifier name)
-{
- Ewk_JS_Object* object = reinterpret_cast<Ewk_JS_Object*>(npObject);
- Ewk_JS_Property* prop;
- bool fail = false;
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(npObject, false);
- EINA_MAGIC_CHECK_OR_RETURN(object, false);
-
- if (!_NPN_IdentifierIsString(name)) {
- ERR("int NPIdentifier is not supported.");
- return fail;
- }
-
- char* prop_name = _NPN_UTF8FromIdentifier(name);
- prop = static_cast<Ewk_JS_Property*>(eina_hash_find(object->cls->properties, prop_name));
- if (prop && prop->del)
- fail = prop->del(object, prop->name); // Class has property and property has getter.
- else if (object->cls->default_prop.del)
- fail = object->cls->default_prop.del(object, prop_name);
- else
- fail = eina_hash_del(object->properties, prop_name, 0);
-
- free(prop_name);
- return fail;
-}
-
-static bool ewk_js_properties_enumerate(NPObject* npObject, NPIdentifier** value, uint32_t* count)
-{
- Ewk_JS_Object* object = reinterpret_cast<Ewk_JS_Object*>(npObject);
- Eina_Iterator* it;
- char* key;
- int i = 0;
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(npObject, false);
- EINA_MAGIC_CHECK_OR_RETURN(object, false);
-
- *count = eina_hash_population(object->properties);
- *value = static_cast<NPIdentifier*>(malloc(sizeof(NPIdentifier) * *count));
- if (!*value) {
- ERR("Could not allocate memory for NPIdentifier");
- return false;
- }
-
- it = eina_hash_iterator_key_new(object->properties);
- EINA_ITERATOR_FOREACH(it, key)
- (*value)[i++] = _NPN_GetStringIdentifier(key);
-
- eina_iterator_free(it);
- return true;
-}
-
-static bool ewk_js_method_has(NPObject* npObject, NPIdentifier name)
-{
- Ewk_JS_Object* object = reinterpret_cast<Ewk_JS_Object*>(npObject);
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(npObject, false);
- EINA_MAGIC_CHECK_OR_RETURN(object, false);
-
- if (!_NPN_IdentifierIsString(name)) {
- ERR("int NPIdentifier is not supported.");
- return false;
- }
- return eina_hash_find(object->cls->methods, name); // Returns pointer if found(true), 0(false) otherwise.
-}
-
-static bool ewk_js_method_invoke(NPObject* npObject, NPIdentifier name, const NPVariant* npArgs, uint32_t npArgCount, NPVariant* result)
-{
- Ewk_JS_Object* object = reinterpret_cast<Ewk_JS_Object*>(npObject);
- Ewk_JS_Method* method;
- Ewk_JS_Variant* args;
- Ewk_JS_Variant* ret_val;
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(npObject, false);
- EINA_MAGIC_CHECK_OR_RETURN(object, false);
-
- if (!_NPN_IdentifierIsString(name)) {
- ERR("int NPIdentifier is not supported.");
- return false;
- }
-
- method = static_cast<Ewk_JS_Method*>(eina_hash_find(object->cls->methods, name));
- if (!method)
- return false;
-
- args = static_cast<Ewk_JS_Variant*>(malloc(sizeof(Ewk_JS_Variant) *npArgCount));
- if (!args) {
- ERR("Could not allocate memory for ewk_js_variant");
- return false;
- }
-
- for (uint32_t i = 0; i < npArgCount; i++)
- ewk_js_npvariant_to_variant(&args[i], &npArgs[i]);
- ret_val = method->invoke(object, args, npArgCount);
- ewk_js_variant_to_npvariant(ret_val, result);
-
- ewk_js_variant_free(ret_val);
-
- return true;
-}
-
-static Eina_Bool ewk_js_npobject_property_get(Ewk_JS_Object* jsObject, const char* name, Ewk_JS_Variant* value)
-{
- NPIdentifier id = _NPN_GetStringIdentifier(name);
- NPVariant var;
- bool fail = _NPN_GetProperty(0, reinterpret_cast<NPObject*>(jsObject), id, &var);
- if (!fail)
- fail = ewk_js_npvariant_to_variant(value, &var);
- return fail;
-}
-
-static Eina_Bool ewk_js_npobject_property_set(Ewk_JS_Object* jsObject, const char* name, const Ewk_JS_Variant* value)
-{
- NPIdentifier id = _NPN_GetStringIdentifier(name);
- NPVariant var;
- bool fail = ewk_js_variant_to_npvariant(value, &var);
- if (fail)
- fail = _NPN_SetProperty(0, reinterpret_cast<NPObject*>(jsObject), id, &var);
- return fail;
-}
-
-static Eina_Bool ewk_js_npobject_property_del(Ewk_JS_Object* jsObject, const char* name)
-{
- NPIdentifier id = _NPN_GetStringIdentifier(name);
- return _NPN_RemoveProperty(0, reinterpret_cast<NPObject*>(jsObject), id);
-}
-
-static void ewk_js_property_free(Ewk_JS_Property* prop)
-{
- free(const_cast<char*>(prop->name));
- if (prop->value.type == EWK_JS_VARIANT_STRING)
- eina_stringshare_del(prop->value.value.s);
- else if (prop->value.type == EWK_JS_VARIANT_OBJECT)
- ewk_js_object_free(prop->value.value.o);
- free(prop);
-}
-
-/**
- * Create a Ewk_JS_Class to be used in @a ewk_js_object_new.
- *
- * @param meta @a Ewk_JS_Class_Meta that describes the class to be created.
- *
- * @return The Ewk_JS_Class created.
- */
-Ewk_JS_Class* ewk_js_class_new(const Ewk_JS_Class_Meta* jsMetaClass)
-{
- Ewk_JS_Class* cls;
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(jsMetaClass, 0);
-
- cls = static_cast<Ewk_JS_Class*>(malloc(sizeof(Ewk_JS_Class)));
- if (!cls) {
- ERR("Could not allocate memory for ewk_js_class");
- return 0;
- }
-
- cls->meta = jsMetaClass;
- cls->default_prop = cls->meta->default_prop;
-
- // Don't free methods since they point to meta class methods(will be freed when meta class is freed).
- cls->methods = eina_hash_pointer_new(0);
- for (int i = 0; cls->meta->methods && cls->meta->methods[i].name; i++) {
- NPIdentifier id = _NPN_GetStringIdentifier(cls->meta->methods[i].name);
- eina_hash_add(cls->methods, id, &cls->meta->methods[i]);
- }
-
- // Don't free properties since they point to cls->meta class properties(will be freed when cls->meta class is freed).
- cls->properties = eina_hash_pointer_new(0);
- for (int i = 0; cls->meta->properties && cls->meta->properties[i].name; i++) {
- NPIdentifier id = _NPN_GetStringIdentifier(cls->meta->properties[i].name);
- eina_hash_add(cls->properties, id, &cls->meta->properties[i]);
- }
-
- return cls;
-}
-
-/**
- * Release resources allocated by @a cls.
- *
- * @param cls @a Ewk_JS_Class to be released.
- */
-void ewk_js_class_free(Ewk_JS_Class* jsClass)
-{
- EINA_SAFETY_ON_NULL_RETURN(jsClass);
- eina_hash_free(jsClass->methods);
- eina_hash_free(jsClass->properties);
- free(jsClass);
-}
-
-static NPClass EWK_NPCLASS = {
- NP_CLASS_STRUCT_VERSION,
- 0, // NPAllocateFunctionPtr
- 0, // NPDeallocateFunctionPtr
- 0, // NPInvalidateFunctionPtr
- ewk_js_method_has, // NPHasMethodFunctionPtr
- ewk_js_method_invoke, // NPInvokeFunctionPtr
- 0, // NPInvokeDefaultFunctionPtr
- ewk_js_property_has, // NPHasPropertyFunctionPtr
- ewk_js_property_get, // NPGetPropertyFunctionPtr
- ewk_js_property_set, // NPSetPropertyFunctionPtr
- ewk_js_property_remove, // NPRemovePropertyFunctionPtr
- ewk_js_properties_enumerate, // NPEnumerationFunctionPtr
- 0 // NPConstructFunction
-};
-
-static Ewk_JS_Object* ewk_js_npobject_to_object(NPObject* npObject)
-{
- NPIdentifier* values;
- uint32_t np_props_count;
- Ewk_JS_Class* cls;
- Ewk_JS_Object* object;
- Eina_Iterator* it;
- Ewk_JS_Property* prop;
- JavaScriptObject* jso;
-
- if (EINA_MAGIC_CHECK(reinterpret_cast<Ewk_JS_Object*>(npObject), EWK_JS_OBJECT_MAGIC))
- return reinterpret_cast<Ewk_JS_Object*>(npObject);
-
- if (!_NPN_Enumerate(0, npObject, &values, &np_props_count))
- return 0;
-
- cls = static_cast<Ewk_JS_Class*>(malloc(sizeof(Ewk_JS_Class)));
- if (!cls) {
- ERR("Could not allocate memory for ewk_js_class");
- return 0;
- }
-
- cls->meta = 0;
- Ewk_JS_Default def = {
- ewk_js_npobject_property_set,
- ewk_js_npobject_property_get,
- ewk_js_npobject_property_del
- };
- cls->default_prop = def;
- cls->methods = eina_hash_pointer_new(0);
- cls->properties = eina_hash_pointer_new(reinterpret_cast<Eina_Free_Cb>(ewk_js_property_free));
- for (uint32_t i = 0; i < np_props_count; i++) {
- if (_NPN_HasProperty(0, npObject, values[i])) {
- NPVariant var;
- Ewk_JS_Property* prop = static_cast<Ewk_JS_Property*>(calloc(sizeof(Ewk_JS_Property), 1));
- if (!prop) {
- ERR("Could not allocate memory for ewk_js_property");
- goto error;
- }
-
- _NPN_GetProperty(0, npObject, values[i], &var);
- ewk_js_npvariant_to_variant(&(prop->value), &var);
- prop->name = _NPN_UTF8FromIdentifier(values[i]);
- eina_hash_add(cls->properties, values[i], prop);
- }
- }
-
- // Can't use ewk_js_object_new(cls) because it expects cls->meta to exist.
- object = static_cast<Ewk_JS_Object*>(malloc(sizeof(Ewk_JS_Object)));
- if (!object) {
- ERR("Could not allocate memory for ewk_js_object");
- goto error;
- }
-
- free(values);
- EINA_MAGIC_SET(object, EWK_JS_OBJECT_MAGIC);
- object->name = 0;
- object->cls = cls;
- object->view = 0;
-
- jso = reinterpret_cast<JavaScriptObject*>(npObject);
- if (!strcmp("Array", jso->imp->methodTable()->className(jso->imp).ascii().data()))
- object->type = EWK_JS_OBJECT_ARRAY;
- else if (!strcmp("Function", jso->imp->methodTable()->className(jso->imp).ascii().data()))
- object->type = EWK_JS_OBJECT_FUNCTION;
- else
- object->type = EWK_JS_OBJECT_OBJECT;
-
- if (eina_hash_population(cls->properties) < 25)
- object->properties = eina_hash_string_small_new(0);
- else
- object->properties = eina_hash_string_superfast_new(0);
-
- it = eina_hash_iterator_data_new(cls->properties);
- EINA_ITERATOR_FOREACH(it, prop) {
- const char* key = prop->name;
- Ewk_JS_Variant* value = &prop->value;
- eina_hash_add(object->properties, key, value);
- }
-
- eina_iterator_free(it);
- object->base = *reinterpret_cast<JavaScriptObject*>(npObject);
-
- return object;
-
-error:
- ewk_js_class_free(cls);
- free(values);
- return 0;
-}
-
-static Eina_Bool ewk_js_npvariant_to_variant(Ewk_JS_Variant* data, const NPVariant* result)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(data, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(result, false);
- switch (result->type) {
- case NPVariantType_Void:
- data->type = EWK_JS_VARIANT_VOID;
- data->value.o = 0;
- break;
- case NPVariantType_Null:
- data->type = EWK_JS_VARIANT_NULL;
- data->value.o = 0;
- break;
- case NPVariantType_Int32:
- data->type = EWK_JS_VARIANT_INT32;
- data->value.i = NPVARIANT_TO_INT32(*result);
- break;
- case NPVariantType_Double:
- data->type = EWK_JS_VARIANT_DOUBLE;
- data->value.d = NPVARIANT_TO_DOUBLE(*result);
- break;
- case NPVariantType_String:
- data->value.s = eina_stringshare_add_length(NPVARIANT_TO_STRING(*result).UTF8Characters, NPVARIANT_TO_STRING(*result).UTF8Length);
- data->type = EWK_JS_VARIANT_STRING;
- break;
- case NPVariantType_Bool:
- data->type = EWK_JS_VARIANT_BOOL;
- data->value.b = NPVARIANT_TO_BOOLEAN(*result);
- break;
- case NPVariantType_Object:
- data->type = EWK_JS_VARIANT_OBJECT;
- data->value.o = ewk_js_npobject_to_object(NPVARIANT_TO_OBJECT(*result));
- break;
- default:
- return false;
- }
-
- return true;
-}
-#endif // ENABLE(NETSCAPE_PLUGIN_API)
-
-Ewk_JS_Object* ewk_js_object_new(const Ewk_JS_Class_Meta* jsMetaClass)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- Ewk_JS_Object* object;
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(jsMetaClass, 0);
-
- object = static_cast<Ewk_JS_Object*>(malloc(sizeof(Ewk_JS_Object)));
- if (!object) {
- ERR("Could not allocate memory for ewk_js_object");
- return 0;
- }
-
- EINA_MAGIC_SET(object, EWK_JS_OBJECT_MAGIC);
- object->cls = ewk_js_class_new(jsMetaClass);
- object->view = 0;
- object->name = 0;
- object->type = EWK_JS_OBJECT_OBJECT;
-
- if (eina_hash_population(object->cls->properties) < 25)
- object->properties = eina_hash_string_small_new(reinterpret_cast<Eina_Free_Cb>(ewk_js_variant_free));
- else
- object->properties = eina_hash_string_superfast_new(reinterpret_cast<Eina_Free_Cb>(ewk_js_variant_free));
-
- for (int i = 0; object->cls->meta->properties && object->cls->meta->properties[i].name; i++) {
- Ewk_JS_Property prop = object->cls->meta->properties[i];
- const char* key = object->cls->meta->properties[i].name;
- Ewk_JS_Variant* value = static_cast<Ewk_JS_Variant*>(malloc(sizeof(Ewk_JS_Variant)));
- if (!value) {
- ERR("Could not allocate memory for ewk_js_variant");
- goto error;
- }
- if (prop.get)
- prop.get(object, key, value);
- else {
- value->type = prop.value.type;
- switch (value->type) {
- case EWK_JS_VARIANT_VOID:
- case EWK_JS_VARIANT_NULL:
- value->value.o = 0;
- break;
- case EWK_JS_VARIANT_STRING:
- value->value.s = eina_stringshare_add(prop.value.value.s);
- break;
- case EWK_JS_VARIANT_BOOL:
- value->value.b = prop.value.value.b;
- break;
- case EWK_JS_VARIANT_INT32:
- value->value.i = prop.value.value.i;
- break;
- case EWK_JS_VARIANT_DOUBLE:
- value->value.d = prop.value.value.d;
- break;
- case EWK_JS_VARIANT_OBJECT:
- value->value.o = prop.value.value.o;
- break;
- }
- }
- eina_hash_add(object->properties, key, value);
- }
-
- object->base.object.referenceCount = 1;
- object->base.object._class = &EWK_NPCLASS;
- return object;
-
-error:
- ewk_js_object_free(object);
- return 0;
-#else
- UNUSED_PARAM(jsMetaClass);
- return 0;
-#endif
-}
-
-void ewk_js_object_free(Ewk_JS_Object* jsObject)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- EINA_SAFETY_ON_NULL_RETURN(jsObject);
- EINA_MAGIC_CHECK_OR_RETURN(jsObject);
- Eina_Bool script_obj = !jsObject->cls->meta;
-
- eina_hash_free(jsObject->properties);
- eina_stringshare_del(jsObject->name);
-
- ewk_js_class_free(const_cast<Ewk_JS_Class*>(jsObject->cls));
-
- EINA_MAGIC_SET(jsObject, EINA_MAGIC_NONE);
-
- if (script_obj)
- free(jsObject);
-#else
- UNUSED_PARAM(jsObject);
-#endif
-}
-
-Evas_Object* ewk_js_object_view_get(const Ewk_JS_Object* jsObject)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- EINA_SAFETY_ON_NULL_RETURN_VAL(jsObject, 0);
- EINA_MAGIC_CHECK_OR_RETURN(jsObject, 0);
- return jsObject->view;
-#else
- UNUSED_PARAM(jsObject);
- return 0;
-#endif
-}
-
-Eina_Hash* ewk_js_object_properties_get(const Ewk_JS_Object* jsObject)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- EINA_SAFETY_ON_NULL_RETURN_VAL(jsObject, 0);
- EINA_MAGIC_CHECK_OR_RETURN(jsObject, 0);
- return jsObject->properties;
-#else
- UNUSED_PARAM(jsObject);
- return 0;
-#endif
-}
-
-const char* ewk_js_object_name_get(const Ewk_JS_Object* jsObject)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- EINA_SAFETY_ON_NULL_RETURN_VAL(jsObject, 0);
- EINA_MAGIC_CHECK_OR_RETURN(jsObject, 0);
- return jsObject->name;
-#else
- UNUSED_PARAM(jsObject);
- return 0;
-#endif
-}
-
-Eina_Bool ewk_js_object_invoke(Ewk_JS_Object* jsObject, Ewk_JS_Variant* args, int argCount, Ewk_JS_Variant* result)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- NPVariant* np_args;
- NPVariant np_result;
- bool fail = false;
-
- EINA_MAGIC_CHECK_OR_RETURN(jsObject, false);
- if (ewk_js_object_type_get(jsObject) != EWK_JS_OBJECT_FUNCTION)
- return false;
- if (argCount)
- EINA_SAFETY_ON_NULL_RETURN_VAL(args, false);
-
- np_args = static_cast<NPVariant*>(malloc(sizeof(NPVariant) *argCount));
- if (!np_args) {
- ERR("Could not allocate memory to method arguments");
- return false;
- }
-
- for (int i = 0; i < argCount; i++)
- if (!ewk_js_variant_to_npvariant(&args[i], &np_args[i]))
- goto end;
-
- if (!(fail = _NPN_InvokeDefault(0, reinterpret_cast<NPObject*>(jsObject), np_args, argCount, &np_result)))
- goto end;
- if (result)
- fail = ewk_js_npvariant_to_variant(result, &np_result);
-
-end:
- free(np_args);
- return fail;
-#else
- UNUSED_PARAM(jsObject);
- UNUSED_PARAM(args);
- UNUSED_PARAM(argCount);
- UNUSED_PARAM(result);
- return false;
-#endif
-}
-
-Ewk_JS_Object_Type ewk_js_object_type_get(const Ewk_JS_Object* jsObject)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- EINA_SAFETY_ON_NULL_RETURN_VAL(jsObject, EWK_JS_OBJECT_OBJECT);
- EINA_MAGIC_CHECK_OR_RETURN(jsObject, EWK_JS_OBJECT_OBJECT);
-
- return jsObject->type;
-#else
- UNUSED_PARAM(jsObject);
- return EWK_JS_OBJECT_INVALID;
-#endif
-}
-
-void ewk_js_object_type_set(Ewk_JS_Object* jsObject, Ewk_JS_Object_Type type)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- EINA_SAFETY_ON_NULL_RETURN(jsObject);
- EINA_MAGIC_CHECK_OR_RETURN(jsObject);
-
- jsObject->type = type;
-#else
- UNUSED_PARAM(jsObject);
- UNUSED_PARAM(type);
-#endif
-}
-
-void ewk_js_variant_free(Ewk_JS_Variant* jsVariant)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- EINA_SAFETY_ON_NULL_RETURN(jsVariant);
- if (jsVariant->type == EWK_JS_VARIANT_STRING)
- eina_stringshare_del(jsVariant->value.s);
- else if (jsVariant->type == EWK_JS_VARIANT_OBJECT)
- ewk_js_object_free(jsVariant->value.o);
- free(jsVariant);
-#else
- UNUSED_PARAM(jsVariant);
-#endif
-}
-
-void ewk_js_variant_array_free(Ewk_JS_Variant* jsVariant, int count)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- EINA_SAFETY_ON_NULL_RETURN(jsVariant);
- for (int i = 0; i < count; i++) {
- if (jsVariant[i].type == EWK_JS_VARIANT_STRING)
- eina_stringshare_del(jsVariant[i].value.s);
- else if (jsVariant[i].type == EWK_JS_VARIANT_OBJECT)
- ewk_js_object_free(jsVariant[i].value.o);
- }
- free(jsVariant);
-#else
- UNUSED_PARAM(jsVariant);
- UNUSED_PARAM(count);
-#endif
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_jsh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_js.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_js.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_js.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,209 +0,0 @@
</span><del>-/*
- Copyright (C) 2011 ProFUSION embedded systems
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file ewk_js.h
- * @brief Allows to export objects to JavaScript API.
- */
-
-#ifndef ewk_js_h
-#define ewk_js_h
-
-#include <Eina.h>
-#include <Evas.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define EWK_JS_CLASS_META_VERSION 0
-
-typedef struct _Ewk_JS_Object Ewk_JS_Object;
-typedef struct _Ewk_JS_Class_Meta Ewk_JS_Class_Meta;
-typedef struct _Ewk_JS_Variant Ewk_JS_Variant;
-typedef struct _Ewk_JS_Method Ewk_JS_Method;
-typedef struct _Ewk_JS_Property Ewk_JS_Property;
-typedef struct _Ewk_JS_Default Ewk_JS_Default;
-typedef Eina_Bool (*Ewk_JS_Set_Cb)(Ewk_JS_Object *obj, const char *name, const Ewk_JS_Variant *value);
-typedef Eina_Bool (*Ewk_JS_Get_Cb)(Ewk_JS_Object *obj, const char *name, Ewk_JS_Variant *value);
-typedef Eina_Bool (*Ewk_JS_Del_Cb)(Ewk_JS_Object *obj, const char *name);
-typedef Ewk_JS_Variant* (*Ewk_JS_Invoke_Cb)(Ewk_JS_Object *obj, Ewk_JS_Variant *args, int argCount);
-
-typedef enum {
- EWK_JS_VARIANT_VOID,
- EWK_JS_VARIANT_NULL,
- EWK_JS_VARIANT_BOOL,
- EWK_JS_VARIANT_INT32,
- EWK_JS_VARIANT_DOUBLE,
- EWK_JS_VARIANT_STRING,
- EWK_JS_VARIANT_OBJECT
-} Ewk_JS_Variant_Type;
-
-typedef enum {
- EWK_JS_OBJECT_OBJECT,
- EWK_JS_OBJECT_ARRAY,
- EWK_JS_OBJECT_FUNCTION,
- EWK_JS_OBJECT_INVALID
-} Ewk_JS_Object_Type;
-
-struct _Ewk_JS_Variant {
- Ewk_JS_Variant_Type type;
- union {
- Eina_Bool b;
- int i;
- double d;
- const char *s;
- Ewk_JS_Object *o;
- } value;
-};
-
-struct _Ewk_JS_Method {
- const char *name;
- Ewk_JS_Invoke_Cb invoke;
-};
-
-struct _Ewk_JS_Property {
- const char *name;
- Ewk_JS_Set_Cb set;
- Ewk_JS_Get_Cb get;
- Ewk_JS_Del_Cb del;
- Ewk_JS_Variant value;
-};
-
-struct _Ewk_JS_Default {
- Ewk_JS_Set_Cb set;
- Ewk_JS_Get_Cb get;
- Ewk_JS_Del_Cb del;
-};
-
-struct _Ewk_JS_Class_Meta {
- unsigned int version; // define
- const Ewk_JS_Method *methods; // null terminated array
- const Ewk_JS_Property *properties; // null terminated array
- Ewk_JS_Default default_prop;
-};
-
-/**
- * Gets Eina_Hash with object's properties.
- *
- * @param obj Object whose properties are wanted.
- *
- * @return object's properties.
- */
-EAPI Eina_Hash *ewk_js_object_properties_get(const Ewk_JS_Object *obj);
-
-/**
- * Gets name of the object.
- *
- * @param obj Object whose name is wanted.
- *
- * @return name of object.
- */
-
-EAPI const char *ewk_js_object_name_get(const Ewk_JS_Object *obj);
-
-/**
- * Returns the view associated with an Ewk_JS_Object.
- *
- * The returned view is the one passed to ewk_view_js_object_add. Right now,
- * the object is always added to the view's main frame.
- *
- * @param obj The object to be queried.
- *
- * @return The view whose main frame the object has been inserted into, or
- * @c NULL if the object has not been added to a view yet.
- *
- * @sa ewk_view_js_object_add, ewk_view_frame_main_get
- */
-EAPI Evas_Object *ewk_js_object_view_get(const Ewk_JS_Object *obj);
-
-/**
- * Release resources allocated by @a var.
- *
- * @param var @a Ewk_JS_Variant to be release
- */
-EAPI void ewk_js_variant_free(Ewk_JS_Variant *var);
-
-/**
- * Release resources allocated by @a var.
- *
- * @param var @a Ewk_JS_Variant to be release
- * @param count @a size of array
- */
-EAPI void ewk_js_variant_array_free(Ewk_JS_Variant *var, int count);
-
-/**
- * Create a Ewk_JS_Object to be used in @a ewk_view_js_object_add. The Meta class's
- * methods and properties are not modified but references to it are kept as long
- * as the object created from it lives. All properties created here
- * will be added to the object hash of properties. Properties using default_prop's
- * get/set/del methods should also be added to the objects hash(see:
- * @a ewk_js_object_properties_get). Methods must free the arguments they receive(see:
- * @a ewk_js_variang_array_free).
- *
- *
- * @param cls @a Ewk_JS_Class that describes the object to be created.
- *
- * @return The Ewk_JS_Object created.
- */
-EAPI Ewk_JS_Object *ewk_js_object_new(const Ewk_JS_Class_Meta *meta_cls);
-
-/**
- * Release resources allocated by @a obj.
- *
- * @param obj @a Ewk_JS_Object to be released.
- */
-EAPI void ewk_js_object_free(Ewk_JS_Object *obj);
-
-/**
- * Calls the function this object represents.
- *
- * @param obj Object that represents function.
- * @param args Arguments to be passed to function.
- * @param arg_count Number of arguments.
- * @param result Return value of the invoked function.
- *
- * @return @c EINA_TRUE if function was executed, @c EINA_FALSE if function was not executed.
- */
-EAPI Eina_Bool ewk_js_object_invoke(Ewk_JS_Object *obj, Ewk_JS_Variant *args, int arg_count, Ewk_JS_Variant *result);
-
-/**
- * Returns the type this object represents.
- *
- * @param obj Object
- *
- * @return @c EWK_JS_OBJECT if it is an object, @c EWK_JS_ARRAY if it is an array and
- * @c EWK_JS_FUNCTION if it is a function.
- */
-EAPI Ewk_JS_Object_Type ewk_js_object_type_get(const Ewk_JS_Object *obj);
-
-/**
- * Sets the type this object represents.
- *
- * @param obj Object
- * @param type Type
- *
- */
-EAPI void ewk_js_object_type_set(Ewk_JS_Object *obj, Ewk_JS_Object_Type type);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // ewk_js_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_js_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_js_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_js_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_js_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,41 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_js_private_h
-#define ewk_js_private_h
-
-#include "NP_jsobject.h"
-#include "ewk_js.h"
-
-#if ENABLE(NETSCAPE_PLUGIN_API)
-#define EWK_JS_OBJECT_MAGIC 0x696969
-
-typedef struct _Ewk_JS_Class Ewk_JS_Class;
-struct _Ewk_JS_Object {
- JavaScriptObject base;
- const char* name;
- const Ewk_JS_Class* cls;
- Eina_Hash* properties;
- Evas_Object* view; // ewk_view: check if this object has already been added to another ewk_view
- Ewk_JS_Object_Type type;
- EINA_MAGIC;
-};
-#endif // ENABLE(NETSCAPE_PLUGIN_API)
-
-#endif // ewk_js_private_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_maincpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_main.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_main.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_main.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,214 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2011 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_main.h"
-
-#include "FileSystem.h"
-#include "Logging.h"
-#include "PageCache.h"
-#include "PageGroup.h"
-#include "PlatformStrategiesEfl.h"
-#include "ResourceHandle.h"
-#include "ScriptController.h"
-#include "Settings.h"
-#include "SoupNetworkSession.h"
-#include "StorageTracker.h"
-#include "StorageTrackerClientEfl.h"
-#include "ewk_auth_soup_private.h"
-#include "ewk_network.h"
-#include "ewk_private.h"
-#include "ewk_settings.h"
-#include "ewk_settings_private.h"
-#include "runtime/InitializeThreading.h"
-#include "runtime/Operations.h"
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Edje.h>
-#include <Efreet.h>
-#include <Eina.h>
-#include <Evas.h>
-#include <glib-object.h>
-#include <glib.h>
-#include <libsoup/soup.h>
-#include <stdlib.h>
-#include <sys/stat.h>
-#include <wtf/Threading.h>
-
-#ifdef HAVE_ECORE_X
-#include <Ecore_X.h>
-#endif
-
-static int _ewkInitCount = 0;
-
-/**
- * \var _ewk_log_dom
- * @brief the log domain identifier that is used with EINA's macros
- */
-int _ewk_log_dom = -1;
-
-static Eina_Bool _ewk_init_body(void);
-
-int ewk_init(void)
-{
- if (_ewkInitCount)
- return ++_ewkInitCount;
-
- if (!eina_init())
- goto error_eina;
-
- _ewk_log_dom = eina_log_domain_register("ewebkit", EINA_COLOR_ORANGE);
- if (_ewk_log_dom < 0) {
- EINA_LOG_CRIT("could not register log domain 'ewebkit'");
- goto error_log_domain;
- }
-
- if (!evas_init()) {
- CRITICAL("could not init evas.");
- goto error_evas;
- }
-
- if (!ecore_init()) {
- CRITICAL("could not init ecore.");
- goto error_ecore;
- }
-
- if (!ecore_evas_init()) {
- CRITICAL("could not init ecore_evas.");
- goto error_ecore_evas;
- }
-
- if (!efreet_init()) {
- CRITICAL("could not init efreet.");
- goto error_efreet;
- }
-
- if (!edje_init()) {
- CRITICAL("could not init edje.");
- goto error_edje;
- }
-
-#ifdef HAVE_ECORE_X
- if (!ecore_x_init(0)) {
- CRITICAL("could not init ecore_x.");
- goto error_ecore_x;
- }
-#endif
-
- if (!_ewk_init_body()) {
- CRITICAL("could not init body");
- goto error_edje;
- }
-
- return ++_ewkInitCount;
-
-#ifdef HAVE_ECORE_X
-error_ecore_x:
- edje_shutdown();
-#endif
-error_edje:
- efreet_shutdown();
-error_efreet:
- ecore_evas_shutdown();
-error_ecore_evas:
- ecore_shutdown();
-error_ecore:
- evas_shutdown();
-error_evas:
- eina_log_domain_unregister(_ewk_log_dom);
- _ewk_log_dom = -1;
-error_log_domain:
- eina_shutdown();
-error_eina:
- return 0;
-}
-
-int ewk_shutdown(void)
-{
- _ewkInitCount--;
- if (_ewkInitCount)
- return _ewkInitCount;
-
-#ifdef HAVE_ECORE_X
- ecore_x_shutdown();
-#endif
- edje_shutdown();
- efreet_shutdown();
- ecore_evas_shutdown();
- ecore_shutdown();
- evas_shutdown();
- eina_log_domain_unregister(_ewk_log_dom);
- _ewk_log_dom = -1;
- eina_shutdown();
-
- return 0;
-}
-
-static WebCore::StorageTrackerClientEfl* trackerClient()
-{
- DEPRECATED_DEFINE_STATIC_LOCAL(WebCore::StorageTrackerClientEfl, trackerClient, ());
- return &trackerClient;
-}
-
-Eina_Bool _ewk_init_body(void)
-{
-#if !GLIB_CHECK_VERSION(2, 35, 0)
- g_type_init();
-#endif
-
- if (!ecore_main_loop_glib_integrate())
- WARN("Ecore was not compiled with GLib support, some plugins will not "
- "work (ie: Adobe Flash)");
-
- WebCore::ScriptController::initializeThreading();
-#if !LOG_DISABLED
- WebCore::initializeLoggingChannelsIfNecessary();
-#endif // !LOG_DISABLED
- WebCore::Settings::setDefaultMinDOMTimerInterval(0.004);
-
- PlatformStrategiesEfl::initialize();
-
- // Page cache capacity (in pages). Comment from Mac port:
- // (Research indicates that value / page drops substantially after 3 pages.)
- // FIXME: Calculate based on available resources
- ewk_settings_page_cache_capacity_set(3);
- WebCore::PageGroup::setShouldTrackVisitedLinks(true);
-
- String localStorageDirectory = String::fromUTF8(efreet_data_home_get()) + "/WebKitEfl/LocalStorage";
- String webDatabaseDirectory = String::fromUTF8(efreet_cache_home_get()) + "/WebKitEfl/Databases";
- String applicationCacheDirectory = String::fromUTF8(efreet_cache_home_get()) + "/WebKitEfl/Applications";
- String fileSystemDirectory = String::fromUTF8(efreet_data_home_get()) + "/WebKitEfl/FileSystem";
-
- ewk_settings_local_storage_path_set(localStorageDirectory.utf8().data());
- ewk_settings_web_database_path_set(webDatabaseDirectory.utf8().data());
- ewk_settings_application_cache_path_set(applicationCacheDirectory.utf8().data());
- ewk_settings_file_system_path_set(fileSystemDirectory.utf8().data());
-
- ewk_network_tls_certificate_check_set(false);
-
- WebCore::StorageTracker::initializeTracker(localStorageDirectory.utf8().data(), trackerClient());
-
- SoupSessionFeature* auth_dialog = static_cast<SoupSessionFeature*>(g_object_new(EWK_TYPE_SOUP_AUTH_DIALOG, 0));
- soup_session_add_feature(WebCore::SoupNetworkSession::defaultSession().soupSession(), auth_dialog);
-
- WebCore::ResourceHandle::setIgnoreSSLErrors(true);
-
- return true;
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_mainh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_main.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_main.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_main.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2010 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file ewk_main.h
- * @brief The main file of WebKit-EFL, not tied to any view object.
- */
-
-#ifndef ewk_main_h
-#define ewk_main_h
-
-#include <Eina.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * Initializes webkit's instance.
- *
- * - initializes components needed by Efl,
- * - sets web database location,
- * - sets page cache capacity,
- * - increases a reference count of webkit's instance.
- *
- * @return a reference count of webkit's instance on success or 0 on failure
- */
-EAPI int ewk_init(void);
-
-/**
- * Decreases a reference count of webkit's instance, possibly destroying it.
- *
- * If the reference count reaches 0 webkit's instance is destroyed.
- *
- * @return a reference count of webkit's instance
- */
-EAPI int ewk_shutdown(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif // ewk_main_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_networkcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_network.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_network.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_network.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,80 +0,0 @@
</span><del>-/*
- Copyright (C) 2011 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_network.h"
-
-#include "NetworkStateNotifier.h"
-#include "ProxyResolverSoup.h"
-#include "ResourceHandle.h"
-#include "SoupNetworkSession.h"
-#include "ewk_private.h"
-#include <Eina.h>
-#include <libsoup/soup.h>
-#include <wtf/text/CString.h>
-
-void ewk_network_proxy_uri_set(const char* proxy)
-{
- if (!proxy)
- ERR("no proxy uri. remove proxy feature in soup.");
- WebCore::SoupNetworkSession::defaultSession().setHTTPProxy(proxy, 0);
-}
-
-const char* ewk_network_proxy_uri_get(void)
-{
- char* uri = WebCore::SoupNetworkSession::defaultSession().httpProxy();
- if (!uri) {
- ERR("no proxy uri");
- return 0;
- }
-
- return eina_stringshare_add(uri);
-}
-
-Eina_Bool ewk_network_tls_certificate_check_get()
-{
- unsigned policy = WebCore::SoupNetworkSession::defaultSession().sslPolicy();
- return policy & WebCore::SoupNetworkSession::SSLStrict;
-}
-
-void ewk_network_tls_certificate_check_set(Eina_Bool enable)
-{
- unsigned policy = WebCore::SoupNetworkSession::defaultSession().sslPolicy();
- if (enable && !(policy | WebCore::SoupNetworkSession::SSLStrict))
- policy |= WebCore::SoupNetworkSession::SSLStrict;
- else if (!enable && (policy | WebCore::SoupNetworkSession::SSLStrict))
- policy &= ~WebCore::SoupNetworkSession::SSLStrict;
- WebCore::SoupNetworkSession::defaultSession().setSSLPolicy(policy);
-}
-
-const char* ewk_network_tls_ca_certificates_path_get()
-{
- const char* bundlePath = 0;
-
- SoupSession* defaultSession = WebCore::SoupNetworkSession::defaultSession().soupSession();
- g_object_get(defaultSession, "ssl-ca-file", &bundlePath, NULL);
-
- return bundlePath;
-}
-
-void ewk_network_tls_ca_certificates_path_set(const char* bundlePath)
-{
- SoupSession* defaultSession = WebCore::SoupNetworkSession::defaultSession().soupSession();
- g_object_set(defaultSession, "ssl-ca-file", bundlePath, NULL);
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_networkh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_network.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_network.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_network.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,107 +0,0 @@
</span><del>-/*
- Copyright (C) 2011 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file ewk_network.h
- * @brief Describes the network API.
- */
-
-#ifndef ewk_network_h
-#define ewk_network_h
-
-#include <Eina.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * Sets the given proxy URI to network backend.
- *
- * @param proxy URI to set
- */
-EAPI void ewk_network_proxy_uri_set(const char *proxy);
-
-/**
- * Gets the proxy URI from the network backend.
- *
- * The returned string should be freed by eina_stringshare_del() after use.
- *
- * @return current proxy URI or @c NULL if it's not set
- */
-EAPI const char *ewk_network_proxy_uri_get(void);
-
-/**
- * Returns whether HTTPS connections should check the received certificate and error out if it is invalid.
- *
- * By default, HTTPS connections are performed regardless of the validity of the certificate provided.
- *
- * @sa ewk_network_tls_ca_certificates_path_set
- */
-EAPI Eina_Bool ewk_network_tls_certificate_check_get(void);
-
-/**
- * Sets whether HTTPS connections should check the received certificate and error out if it is invalid.
- *
- * By default, HTTPS connections are performed regardless of the validity of the certificate provided.
- *
- * @param enable Whether to check the provided certificates or not.
- *
- * @sa ewk_network_tls_ca_certificates_path_set
- */
-EAPI void ewk_network_tls_certificate_check_set(Eina_Bool enable);
-
-/**
- * Returns the path to a file containing the platform's root X.509 CA certificates.
- *
- * The file is a list of concatenated PEM-format X.509 certificates used as root CA certificates.
- * They are used to validate all the certificates received when a TLS connection (such as an HTTPS one) is made.
- *
- * If @c ewk_network_tls_certificate_check_get() returns @c EINA_TRUE, the certificates set by this function
- * will be used to decide whether a certificate provided by a web site is invalid and the request should then
- * be cancelled.
- *
- * By default, the path is not set, so all certificates are considered as not signed by a trusted root CA.
- *
- * @sa ewk_network_tls_certificate_check_set
- */
-EAPI const char *ewk_network_tls_ca_certificates_path_get(void);
-
-/**
- * Sets the path to a file containing the platform's root X.509 CA certificates.
- *
- * The file is a list of concatenated PEM-format X.509 certificates used as root CA certificates.
- * They are used to validate all the certificates received when a TLS connection (such as an HTTPS one) is made.
- *
- * If @c ewk_network_tls_certificate_check_get() returns @c EINA_TRUE, the certificates set by this function
- * will be used to decide whether a certificate provided by a web site is invalid and the request should then
- * be cancelled.
- *
- * By default, the path is not set, so all certificates are considered as not signed by a trusted root CA.
- *
- * @param path The path to the certificate bundle.
- *
- * @sa ewk_network_tls_certificate_check_set
- */
-EAPI void ewk_network_tls_ca_certificates_path_set(const char *path);
-
-#ifdef __cplusplus
-}
-#endif
-#endif // ewk_network_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_private_h
-#define ewk_private_h
-
-#include "APICast.h"
-#include <Evas.h>
-
-// If defined, ewk will do type checking to ensure objects are of correct type
-#define EWK_TYPE_CHECK 1
-#define EWK_ARGB_BYTES_SIZE 4
-
-// forward declarations
-namespace WebCore {
-class GraphicsContext3D;
-class GraphicsLayer;
-}
-
-struct Ewk_Window_Object_Cleared_Event {
- JSContextRef context;
- JSObjectRef windowObject;
- Evas_Object* frame;
-};
-
-extern int _ewk_log_dom;
-
-#define CRITICAL(...) EINA_LOG_DOM_CRIT(_ewk_log_dom, __VA_ARGS__)
-#define ERR(...) EINA_LOG_DOM_ERR(_ewk_log_dom, __VA_ARGS__)
-#define WARN(...) EINA_LOG_DOM_WARN(_ewk_log_dom, __VA_ARGS__)
-#define INFO(...) EINA_LOG_DOM_INFO(_ewk_log_dom, __VA_ARGS__)
-#define DBG(...) EINA_LOG_DOM_DBG(_ewk_log_dom, __VA_ARGS__)
-
-#endif // ewk_private_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_security_origincpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_security_origin.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_security_origin.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_security_origin.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,166 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Intel Corporation
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_security_origin.h"
-
-#include "ApplicationCache.h"
-#include "ApplicationCacheStorage.h"
-#include "DatabaseManager.h"
-#include "SecurityOrigin.h"
-#include "ewk_security_origin_private.h"
-#include "ewk_web_database.h"
-#include "ewk_web_database_private.h"
-#include <wtf/RefPtr.h>
-#include <wtf/text/CString.h>
-
-struct _Ewk_Security_Origin {
- RefPtr<WebCore::SecurityOrigin> securityOrigin;
- const char* protocol;
- const char* host;
- const char* originString;
-};
-
-const char* ewk_security_origin_protocol_get(const Ewk_Security_Origin* origin)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(origin, 0);
- return origin->protocol;
-}
-
-const char* ewk_security_origin_host_get(const Ewk_Security_Origin* origin)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(origin, 0);
- return origin->host;
-}
-
-const char* ewk_security_origin_string_get(const Ewk_Security_Origin* origin)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(origin, 0);
- return origin->originString;
-}
-
-uint32_t ewk_security_origin_port_get(const Ewk_Security_Origin* origin)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(origin, 0);
- return origin->securityOrigin->port();
-}
-
-uint64_t ewk_security_origin_web_database_usage_get(const Ewk_Security_Origin* origin)
-{
-#if ENABLE(SQL_DATABASE)
- EINA_SAFETY_ON_NULL_RETURN_VAL(origin, 0);
-
- return WebCore::DatabaseManager::manager().usageForOrigin(origin->securityOrigin.get());
-#else
- UNUSED_PARAM(origin);
- return 0;
-#endif
-}
-
-uint64_t ewk_security_origin_web_database_quota_get(const Ewk_Security_Origin* origin)
-{
-#if ENABLE(SQL_DATABASE)
- EINA_SAFETY_ON_NULL_RETURN_VAL(origin, 0);
-
- return WebCore::DatabaseManager::manager().quotaForOrigin(origin->securityOrigin.get());
-#else
- UNUSED_PARAM(origin);
- return 0;
-#endif
-}
-
-void ewk_security_origin_web_database_quota_set(const Ewk_Security_Origin* origin, uint64_t quota)
-{
- EINA_SAFETY_ON_NULL_RETURN(origin);
-
-#if ENABLE(SQL_DATABASE)
- WebCore::DatabaseManager::manager().setQuota(origin->securityOrigin.get(), quota);
-#endif
-}
-
-void ewk_security_origin_application_cache_quota_set(const Ewk_Security_Origin* origin, int64_t quota)
-{
- EINA_SAFETY_ON_NULL_RETURN(origin);
- WebCore::cacheStorage().storeUpdatedQuotaForOrigin(origin->securityOrigin.get(), quota);
-}
-
-void ewk_security_origin_application_cache_clear(const Ewk_Security_Origin* origin)
-{
- EINA_SAFETY_ON_NULL_RETURN(origin);
- WebCore::ApplicationCache::deleteCacheForOrigin(origin->securityOrigin.get());
-}
-
-Eina_List* ewk_security_origin_web_database_get_all(const Ewk_Security_Origin* origin)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(origin, 0);
-
- Eina_List* databases = 0;
-#if ENABLE(SQL_DATABASE)
- Vector<WTF::String> names;
-
- if (!WebCore::DatabaseManager::manager().databaseNamesForOrigin(origin->securityOrigin.get(), names))
- return 0;
-
- for (unsigned i = 0; i < names.size(); i++) {
- Ewk_Web_Database* database = ewk_web_database_new(origin->securityOrigin.get(), names[i].utf8().data());
- databases = eina_list_append(databases, database);
- }
-#else
- UNUSED_PARAM(origin);
-#endif
- return databases;
-}
-
-void ewk_security_origin_free(Ewk_Security_Origin* origin)
-{
- EINA_SAFETY_ON_NULL_RETURN(origin);
-
- origin->securityOrigin = 0;
- eina_stringshare_del(origin->host);
- eina_stringshare_del(origin->protocol);
- eina_stringshare_del(origin->originString);
-
- delete origin;
-}
-
-Ewk_Security_Origin* ewk_security_origin_new_from_string(const char* url)
-{
- return ewk_security_origin_new(WebCore::SecurityOrigin::createFromString(String::fromUTF8(url)).get());
-}
-
-/**
- * @internal
- * Creates a EWK wrapper for WebCore Security Origin object.
- *
- * @param coreOrigin WebCore Security Origin object
- *
- * @return a EWK wrapper of WebCore Security Origin object which should be
- * freed by ewk_security_origin_free()
- */
-Ewk_Security_Origin* ewk_security_origin_new(WebCore::SecurityOrigin* coreOrigin)
-{
- Ewk_Security_Origin* origin = new Ewk_Security_Origin;
-
- origin->securityOrigin = coreOrigin;
- origin->protocol = eina_stringshare_add(coreOrigin->protocol().utf8().data());
- origin->host = eina_stringshare_add(coreOrigin->host().utf8().data());
- origin->originString = eina_stringshare_add(origin->securityOrigin->toString().utf8().data());
-
- return origin;
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_security_originh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_security_origin.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_security_origin.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_security_origin.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,175 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Intel Corporation
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file ewk_security_origin.h
- * @brief Security Origin API.
- *
- * Security Origin is the mechanism that defines the access limits of a website.
- * Based on information such as domain, protocol and port, you can grant or not
- * authorization for accessing data and performing certain tasks. Database quota
- * can also be defined based on the security origin.
- *
- * The database related functions will do nothing if WebKit is built without Web
- * SQL Database support.
- */
-
-#ifndef ewk_security_origin_h
-#define ewk_security_origin_h
-
-#include <Eina.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef struct _Ewk_Security_Origin Ewk_Security_Origin;
-
-/**
- * Returns the protocol of the security origin.
- *
- * @param o security origin object
- *
- * It returns a internal string which should not
- * be modified. The string is guaranteed to be stringshared.
- *
- * @return the protocol scheme or @c NULL if there is not a protocol scheme
- */
-EAPI const char *ewk_security_origin_protocol_get(const Ewk_Security_Origin *o);
-
-/**
- * Returns the host of the security origin.
- *
- * It returns a internal string which should not
- * be modified. The string is guaranteed to be stringshared.
- *
- * @param o security origin object
- *
- * @return the host domain or @c NULL if there is not a host scheme
- */
-EAPI const char *ewk_security_origin_host_get(const Ewk_Security_Origin *o);
-
-/**
- * Convert this Ewk_Security_Origin into a string.
- * The string representation of a security origin is similar to a URL, except it lacks a path component.
- * The string representation does not encode the value of the security origin's domain property.
- *
- * @param o security origin object
- *
- * @return the string representation of security origin or @c NULL if there is not a proper security origin scheme
- */
-EAPI const char *ewk_security_origin_string_get(const Ewk_Security_Origin *o);
-
-/**
- * Returns the port of the security origin.
- *
- * @param o security origin object
- *
- * @return the port or @c 0 if there is not a proper security origin scheme
- */
-EAPI uint32_t ewk_security_origin_port_get(const Ewk_Security_Origin *o);
-
-/**
- * Retrieves the usage of a database for a security origin.
- *
- * This function won't work if Web SQL Database was not enabled when
- * building WebKit and will just return 0.
- *
- * @param o security origin object or @c 0 if there is not a proper security origin scheme
- *
- * @return the usage in bytes
- */
-EAPI uint64_t ewk_security_origin_web_database_usage_get(const Ewk_Security_Origin *o);
-
-/**
- * Retrieves the quota of a database for a security origin.
- *
- * This function won't work if Web SQL Database was not enabled when
- * building WebKit and will just return 0.
- *
- * @param o security origin object
- *
- * @return the quota in bytes or @c 0 if there is not a proper security origin scheme
- */
-EAPI uint64_t ewk_security_origin_web_database_quota_get(const Ewk_Security_Origin *o);
-
-/**
- * Sets the database usage quota for a security origin.
- *
- * This function won't work if Web SQL Database was not enabled when
- * building WebKit.
- *
- * @param o security origin object
- * @param quota the usage quota in bytes
- */
-EAPI void ewk_security_origin_web_database_quota_set(const Ewk_Security_Origin *o, uint64_t quota);
-
-/**
- * Sets the application cache usage quota for a security origin.
- *
- * @param o security origin object
- * @param quota the usage quota in bytes
- */
-EAPI void ewk_security_origin_application_cache_quota_set(const Ewk_Security_Origin *o, int64_t quota);
-
-/**
- * Clears the application cache for a security origin.
- *
- * @param o security origin object.
- */
-EAPI void ewk_security_origin_application_cache_clear(const Ewk_Security_Origin *o);
-
-/**
- * Return the list of web databases in the security origin.
- *
- * Each item of the list should be release using ewk_web_database_free() or
- * use ewk_web_database_list_free() as convenience.
- *
- * This function won't work if Web SQL Database was not enabled when
- * building WebKit and will just return @c NULL.
- *
- * @param o security origin object
- *
- * @return list of web databases in the security origin or @c NULL if there is not a proper security origin scheme
- *
- * @see ewk_web_database_free()
- * @see ewk_web_database_list_free()
- */
-EAPI Eina_List *ewk_security_origin_web_database_get_all(const Ewk_Security_Origin *o);
-
-/**
- * Release all resources allocated by a security origin object.
- *
- * @param o security origin object
- */
-EAPI void ewk_security_origin_free(Ewk_Security_Origin *o);
-
-/**
- * Creates a security origin for a url.
- *
- * @param url the url for the security origin.
- *
- * @return the security origin object
- */
-EAPI Ewk_Security_Origin *ewk_security_origin_new_from_string(const char *url);
-
-#ifdef __cplusplus
-}
-#endif
-#endif // ewk_security_origin_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_security_origin_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_security_origin_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_security_origin_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_security_origin_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Intel Corporation
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_security_origin_private_h
-#define ewk_security_origin_private_h
-
-// forward declarations
-namespace WebCore {
-class SecurityOrigin;
-}
-
-Ewk_Security_Origin* ewk_security_origin_new(WebCore::SecurityOrigin* origin);
-
-#endif // ewk_security_origin_private_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_security_policycpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_security_policy.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_security_policy.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_security_policy.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 ProFUSION embedded systems
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_security_policy.h"
-
-#include "URL.h"
-#include "SecurityOrigin.h"
-#include "SecurityPolicy.h"
-
-using namespace WebCore;
-
-void ewk_security_policy_whitelist_origin_add(const char* sourceUrl, const char* destinationUrl, Eina_Bool allowSubdomains)
-{
- const RefPtr<SecurityOrigin> source = SecurityOrigin::createFromString(sourceUrl);
- const URL destination(URL(), destinationUrl);
-
- SecurityPolicy::addOriginAccessWhitelistEntry(*source, destination.protocol(), destination.host(), allowSubdomains);
-}
-
-void ewk_security_policy_whitelist_origin_del(const char* sourceUrl, const char* destinationUrl, Eina_Bool allowSubdomains)
-{
- const RefPtr<SecurityOrigin> source = SecurityOrigin::createFromString(sourceUrl);
- const URL destination(URL(), destinationUrl);
-
- SecurityPolicy::removeOriginAccessWhitelistEntry(*source, destination.protocol(), destination.host(), allowSubdomains);
-}
-
-void ewk_security_policy_whitelist_origin_reset()
-{
- SecurityPolicy::resetOriginAccessWhitelists();
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_security_policyh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_security_policy.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_security_policy.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_security_policy.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,60 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 ProFUSION embedded systems
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_security_policy_h
-#define ewk_security_policy_h
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <Eina.h>
-
-/**
- * Allows a page from @p source_url to request a resource from @p destination_url.
- *
- * @param source_url Source URL; protocol and domain only (e.g. app://clock.zip)
- * @param destination_url Destination URL; protocol and domain only (e.g. http://api.example.com)
- * @param allow_subdomains EINA_TRUE if subdomains of destination URLs should be whitelisted
- */
-EAPI void ewk_security_policy_whitelist_origin_add(const char *source_url,
- const char *destination_url,
- Eina_Bool allow_subdomains);
-
-/**
- * Remove a whitelist item added with ewk_security_policy_whitelist_origin_del().
- *
- * @param source_url Source URL; protocol and domain only (e.g. app://clock.zip)
- * @param destination_url Destination URL; protocol and domain only (e.g. http://api.example.com)
- * @param allow_subdomains EINA_TRUE if subdomains of destination URLs should be whitelisted
- */
-EAPI void ewk_security_policy_whitelist_origin_del(const char *source_url,
- const char *destination_url,
- Eina_Bool allow_subdomains);
-
-/**
- * Resets the whitelist to EWebKit's default, empty list.
- */
-EAPI void ewk_security_policy_whitelist_origin_reset();
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // ewk_security_policy_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_settingscpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_settings.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_settings.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_settings.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,376 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2010 Samsung Electronics
- Copyright (C) 2012 Intel Corporation
- Copyright (C) 2013 Apple Inc. All rights reserved.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_settings.h"
-
-#include "ApplicationCacheStorage.h"
-#include "CairoUtilitiesEfl.h"
-#include "CrossOriginPreflightResultCache.h"
-#include "DatabaseManager.h"
-#include "FontCache.h"
-#include "FrameView.h"
-#include "GCController.h"
-#include "IconDatabase.h"
-#include "Image.h"
-#include "IntSize.h"
-#include "URL.h"
-#include "MemoryCache.h"
-#include "PageCache.h"
-#include "RuntimeEnabledFeatures.h"
-#include "Settings.h"
-#include "StorageThread.h"
-#include "StorageTracker.h"
-#include "WebKitVersion.h"
-#include "WorkerThread.h"
-#include "ewk_private.h"
-#include <Eina.h>
-#include <eina_safety_checks.h>
-#include <errno.h>
-#include <string.h>
-#include <unistd.h>
-#include <wtf/FastMalloc.h>
-#include <wtf/text/CString.h>
-#include <wtf/text/StringConcatenate.h>
-
-#if OS(UNIX)
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <sys/utsname.h>
-#elif OS(WINDOWS)
-#include "SystemInfo.h"
-#endif
-
-static const char* s_offlineAppCachePath = 0;
-
-static const char* _ewk_icon_database_path = 0;
-
-static const char* s_webDatabasePath = 0;
-static const char* s_localStoragePath = 0;
-static const char* s_cssMediaType = 0;
-static uint64_t s_webDatabaseQuota = 1 * 1024 * 1024; // 1MB.
-
-static WTF::String _ewk_settings_webkit_platform_get()
-{
- WTF::String uaPlatform;
-#if PLATFORM(X11)
- uaPlatform = "X11";
-#else
- uaPlatform = "Unknown";
-#endif
- return uaPlatform;
-}
-
-static WTF::String _ewk_settings_webkit_os_version_get()
-{
- WTF::String uaOsVersion;
-#if OS(DARWIN)
-#if CPU(X86) || CPU(X86_64)
- uaOsVersion = "Intel Mac OS X";
-#else
- uaOsVersion = "PPC Mac OS X";
-#endif
-#elif OS(UNIX)
- struct utsname name;
-
- if (uname(&name) != -1)
- uaOsVersion = makeString(name.sysname, ' ', name.machine);
- else
- uaOsVersion = "Unknown";
-#elif OS(WINDOWS)
- uaOsVersion = windowsVersionFroUAString();
-#else
- uaOsVersion = "Unknown";
-#endif
- return uaOsVersion;
-}
-
-uint64_t ewk_settings_web_database_default_quota_get()
-{
- return s_webDatabaseQuota;
-}
-
-void ewk_settings_web_database_default_quota_set(uint64_t maximumSize)
-{
- s_webDatabaseQuota = maximumSize;
-}
-
-void ewk_settings_local_storage_path_set(const char* path)
-{
- WebCore::StorageTracker::tracker().setDatabaseDirectoryPath(WTF::String::fromUTF8(path));
- eina_stringshare_replace(&s_localStoragePath, path);
-}
-
-const char* ewk_settings_local_storage_path_get(void)
-{
- return s_localStoragePath;
-}
-
-void ewk_settings_local_storage_database_clear()
-{
- WebCore::StorageTracker::tracker().deleteAllOrigins();
-}
-
-void ewk_settings_local_storage_database_origin_clear(const char* url)
-{
- EINA_SAFETY_ON_NULL_RETURN(url);
-
- const WebCore::URL kurl(WebCore::URL(), WTF::String::fromUTF8(url));
- WebCore::StorageTracker::tracker().deleteOrigin(WebCore::SecurityOrigin::create(kurl).get());
-}
-
-void ewk_settings_web_database_path_set(const char* path)
-{
-#if ENABLE(SQL_DATABASE)
- WebCore::DatabaseManager::manager().setDatabaseDirectoryPath(WTF::String::fromUTF8(path));
- eina_stringshare_replace(&s_webDatabasePath, path);
-#else
- UNUSED_PARAM(path);
-#endif
-}
-
-const char* ewk_settings_web_database_path_get(void)
-{
- return s_webDatabasePath;
-}
-
-Eina_Bool ewk_settings_icon_database_path_set(const char* directory)
-{
- WebCore::IconDatabase::delayDatabaseCleanup();
-
- if (directory) {
- if (WebCore::iconDatabase().isEnabled()) {
- ERR("IconDatabase is already open: %s", _ewk_icon_database_path);
- return false;
- }
-
- struct stat st;
-
- if (stat(directory, &st)) {
- ERR("could not stat(%s): %s", directory, strerror(errno));
- return false;
- }
-
- if (!S_ISDIR(st.st_mode)) {
- ERR("not a directory: %s", directory);
- return false;
- }
-
- if (access(directory, R_OK | W_OK)) {
- ERR("could not access directory '%s' for read and write: %s",
- directory, strerror(errno));
- return false;
- }
-
- WebCore::iconDatabase().setEnabled(true);
- WebCore::iconDatabase().open(WTF::String::fromUTF8(directory), WebCore::IconDatabase::defaultDatabaseFilename());
-
- eina_stringshare_replace(&_ewk_icon_database_path, directory);
- } else {
- WebCore::iconDatabase().setEnabled(false);
- WebCore::iconDatabase().close();
-
- eina_stringshare_del(_ewk_icon_database_path);
- _ewk_icon_database_path = 0;
- }
- return true;
-}
-
-const char* ewk_settings_icon_database_path_get(void)
-{
- return _ewk_icon_database_path;
-}
-
-Eina_Bool ewk_settings_icon_database_clear(void)
-{
- if (!WebCore::iconDatabase().isEnabled())
- return false;
- if (!WebCore::iconDatabase().isOpen())
- return false;
-
- WebCore::iconDatabase().removeAllIcons();
- return true;
-}
-
-Evas_Object* ewk_settings_icon_database_icon_object_get(const char* url, Evas* canvas)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(url, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(canvas, 0);
-
- WebCore::URL kurl(WebCore::URL(), WTF::String::fromUTF8(url));
- RefPtr<cairo_surface_t> surface = WebCore::iconDatabase().synchronousNativeIconForPageURL(kurl.string(), WebCore::IntSize(16, 16));
-
- if (!surface) {
- ERR("no icon for url %s", url);
- return 0;
- }
-
- return surface ? WebCore::evasObjectFromCairoImageSurface(canvas, surface.get()).leakRef() : 0;
-}
-
-void ewk_settings_object_cache_capacity_set(unsigned minDeadCapacity, unsigned maxDeadCapacity, unsigned totalCapacity)
-{
- WebCore::memoryCache()->setCapacities(minDeadCapacity, maxDeadCapacity, totalCapacity);
-}
-
-Eina_Bool ewk_settings_object_cache_enable_get()
-{
- return !WebCore::memoryCache()->disabled();
-}
-
-void ewk_settings_object_cache_enable_set(Eina_Bool enable)
-{
- WebCore::memoryCache()->setDisabled(!enable);
-}
-
-Eina_Bool ewk_settings_shadow_dom_enable_get()
-{
- return false;
-}
-
-Eina_Bool ewk_settings_shadow_dom_enable_set(Eina_Bool enable)
-{
- UNUSED_PARAM(enable);
- return false;
-}
-
-unsigned ewk_settings_page_cache_capacity_get()
-{
- return WebCore::pageCache()->capacity();
-}
-
-void ewk_settings_page_cache_capacity_set(unsigned pages)
-{
- WebCore::pageCache()->setCapacity(pages);
-}
-
-void ewk_settings_memory_cache_clear()
-{
- // Turn the cache on and off. Disabling the object cache will remove all
- // resources from the cache. They may still live on if they are referenced
- // by some Web page though.
- if (!WebCore::memoryCache()->disabled()) {
- WebCore::memoryCache()->setDisabled(true);
- WebCore::memoryCache()->setDisabled(false);
- }
-
- int pageCapacity = WebCore::pageCache()->capacity();
- // Setting size to 0, makes all pages be released.
- WebCore::pageCache()->setCapacity(0);
- WebCore::pageCache()->setCapacity(pageCapacity);
-
- // Invalidating the font cache and freeing all inactive font data.
- WebCore::fontCache().invalidate();
-
- // Empty the Cross-Origin Preflight cache
- WebCore::CrossOriginPreflightResultCache::shared().empty();
-
- // Drop JIT compiled code from ExecutableAllocator.
- WebCore::gcController().discardAllCompiledCode();
- // Garbage Collect to release the references of CachedResource from dead objects.
- WebCore::gcController().garbageCollectNow();
-
- // FastMalloc has lock-free thread specific caches that can only be cleared from the thread itself.
- WebCore::StorageThread::releaseFastMallocFreeMemoryInAllThreads();
- WebCore::WorkerThread::releaseFastMallocFreeMemoryInAllThreads();
- WTF::releaseFastMallocFreeMemory();
-}
-
-void ewk_settings_repaint_throttling_set(double deferredRepaintDelay, double initialDeferredRepaintDelayDuringLoading, double maxDeferredRepaintDelayDuringLoading, double deferredRepaintDelayIncrementDuringLoading)
-{
- // FIXME: EFL should switch to layer flush throttling.
- UNUSED_PARAM(deferredRepaintDelay);
- UNUSED_PARAM(initialDeferredRepaintDelayDuringLoading);
- UNUSED_PARAM(maxDeferredRepaintDelayDuringLoading);
- UNUSED_PARAM(deferredRepaintDelayIncrementDuringLoading);
-}
-
-/**
- * @internal
- *
- * Gets the default user agent string.
- *
- * @return a pointer to an eina_stringshare containing the user agent string
- */
-const char* ewk_settings_default_user_agent_get()
-{
- WTF::String uaVersion = String::number(WEBKIT_MAJOR_VERSION) + '.' + String::number(WEBKIT_MINOR_VERSION) + '+';
- WTF::String staticUa = "Mozilla/5.0 (" + _ewk_settings_webkit_platform_get() + "; " + _ewk_settings_webkit_os_version_get() + ") AppleWebKit/" + uaVersion + " (KHTML, like Gecko) Version/5.0 Safari/" + uaVersion;
-
- return eina_stringshare_add(staticUa.utf8().data());
-}
-
-/**
- * @internal
- *
- * Sets the given path to the directory where WebKit will write for
- * the HTML5 file system API.
- *
- * @param path the new file system directory path
- */
-void ewk_settings_file_system_path_set(const char* path)
-{
- UNUSED_PARAM(path);
-}
-
-void ewk_settings_application_cache_path_set(const char* path)
-{
- WebCore::cacheStorage().setCacheDirectory(WTF::String::fromUTF8(path));
- eina_stringshare_replace(&s_offlineAppCachePath, path);
-}
-
-const char* ewk_settings_application_cache_path_get()
-{
- return s_offlineAppCachePath;
-}
-
-int64_t ewk_settings_application_cache_max_quota_get()
-{
- return WebCore::cacheStorage().maximumSize();
-}
-
-void ewk_settings_application_cache_max_quota_set(int64_t maximumSize)
-{
- ewk_settings_application_cache_clear();
-
- WebCore::cacheStorage().setMaximumSize(maximumSize);
-}
-
-void ewk_settings_application_cache_clear()
-{
- WebCore::cacheStorage().deleteAllEntries();
-}
-
-double ewk_settings_default_timer_interval_get(void)
-{
- return WebCore::Settings::defaultMinDOMTimerInterval();
-}
-
-void ewk_settings_css_media_type_set(const char* type)
-{
- eina_stringshare_replace(&s_cssMediaType, type);
-}
-
-const char* ewk_settings_css_media_type_get()
-{
- return s_cssMediaType;
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_settingsh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_settings.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_settings.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_settings.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,408 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2010 Samsung Electronics
- Copyright (C) 2012 Intel Corporation
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_settings_h
-#define ewk_settings_h
-
-#include <Eina.h>
-#include <Evas.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * @file ewk_settings.h
- *
- * @brief General purpose settings, not tied to any view object.
- */
-
-/**
- * Returns the default quota for Web Database databases. By default
- * this value is 1MB.
- *
- * @return the current default database quota in bytes
- */
-EAPI uint64_t ewk_settings_web_database_default_quota_get(void);
-
-/**
- * Sets the default maximum size (in bytes) an HTML5 Web Database database can have.
- *
- * By default, this value is 1MB.
- *
- * @param maximum_size the new maximum size a database is allowed
- */
-EAPI void ewk_settings_web_database_default_quota_set(uint64_t maximum_size);
-
-/**
- * Sets the current path to the directory WebKit will write Web
- * Database databases.
- *
- * By default, the value is @c ~/.cache/WebKitEfl/Databases
- *
- * @param path the new database directory path
- */
-EAPI void ewk_settings_web_database_path_set(const char *path);
-
-/**
- * Sets the current path to the directory where WebKit will write the
- * HTML5 local storage indexing database (the one keeping track of
- * individual views' local storage databases).
- *
- * By default, the value is @c ~/.local/share/WebKitEfl/LocalStorage
- *
- * @param path the new local storage database directory path
- *
- * @note You may want to call
- * ewk_view_setting_local_storage_database_path_set() on the same @p
- * path, here, for your views.
- */
-EAPI void ewk_settings_local_storage_path_set(const char* path);
-
-/**
- * Returns directory's path where the HTML5 local storage indexing
- * database is stored.
- *
- * This is guaranteed to be eina-stringshared, so whenever possible
- * save yourself some cpu cycles and use eina_stringshare_ref()
- * instead of eina_stringshare_add() or strdup().
- *
- * By default, the value is @c ~/.local/share/WebKitEfl/LocalStorage
- *
- * @return database path or @c NULL, on errors.
- *
- * @see ewk_settings_local_storage_path_set()
- */
-EAPI const char* ewk_settings_local_storage_path_get(void);
-
-/**
- * Removes @b all HTML 5 local storage databases.
- */
-EAPI void ewk_settings_local_storage_database_clear();
-
-/**
- * Clears the HTML 5 local storage database for the given URL
- * (origin).
- *
- * @param url which URL to clear local storage to.
- *
- * After this call, the file holding the local storage database for
- * that origin will be deleted, along with its entry on the local
- * storage files database (a file stored under the path returned by
- * ewk_settings_local_storage_path_get()).
- */
-EAPI void ewk_settings_local_storage_database_origin_clear(const char *url);
-
-/**
- * Returns directory path where web database is stored.
- *
- * By default, the value is @c ~/.cache/WebKitEfl/Databases
- *
- * This is guaranteed to be eina_stringshare, so whenever possible
- * save yourself some cpu cycles and use eina_stringshare_ref()
- * instead of eina_stringshare_add() or strdup().
- *
- * @return database path or @c NULL if none or web database is not supported
- */
-EAPI const char *ewk_settings_web_database_path_get(void);
-
-/**
- * Sets directory where to store icon database, opening or closing database.
- *
- * Icon database must be opened only once. If you try to set a path when the icon
- * database is already open, this function returns @c EINA_FALSE.
- *
- * @param directory where to store icon database, must be
- * write-able, if @c NULL is given, then database is closed
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE on errors
- */
-EAPI Eina_Bool ewk_settings_icon_database_path_set(const char *path);
-
-/**
- * Returns directory path where icon database is stored.
- *
- * This is guaranteed to be eina_stringshare, so whenever possible
- * save yourself some cpu cycles and use eina_stringshare_ref()
- * instead of eina_stringshare_add() or strdup().
- *
- * @return database path or @c NULL if none is set
- */
-EAPI const char *ewk_settings_icon_database_path_get(void);
-
-/**
- * Removes all known icons from database.
- *
- * Database must be opened with ewk_settings_icon_database_path_set()
- * in order to work.
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise, like
- * closed database.
- */
-EAPI Eina_Bool ewk_settings_icon_database_clear(void);
-
-/**
- * Gets image representing the given URL.
- *
- * This is an utility function that creates an Evas_Object of type
- * image set to have fill always match object size
- * (evas_object_image_filled_add()), saving some code to use it from Evas.
- *
- * @note In order to have this working, one must open icon database
- * with ewk_settings_icon_database_path_set().
- *
- * @note The "load,finished" signal doesn't guarantee that icons are completely loaded and
- * saved to database. Icon can be taken after the "icon,received" signal.
- *
- * @param url which url to query icon
- * @param canvas evas instance where to add resulting object
- *
- * @return newly allocated Evas_Object instance or @c NULL on
- * errors. Delete the object with evas_object_del().
- */
-EAPI Evas_Object *ewk_settings_icon_database_icon_object_get(const char *url, Evas *canvas);
-
-/**
- * Sets the path where the application cache will be stored.
- *
- * The Offline Application Caching APIs are part of HTML5 and allow applications to store data locally that is accessed
- * when the network cannot be reached.
- *
- * By default, the path is @c ~/.cache/WebKitEfl/Applications
- * Once the path is set, the feature is enabled and the path cannot be changed.
- *
- * @param path where to store cache, must be write-able.
- *
- * @sa ewk_view_setting_application_cache_set
- */
-EAPI void ewk_settings_application_cache_path_set(const char *path);
-
-/**
- * Returns the path where the HTML5 application cache is stored.
- *
- * The Offline Application Caching APIs are part of HTML5 and allow applications to store data locally that is accessed
- * when the network cannot be reached.
- *
- * By default, the path is @c ~/.cache/WebKitEfl/Applications
- *
- * @return eina_stringshare'd path value.
- *
- * @sa ewk_view_setting_application_cache_set
- */
-EAPI const char *ewk_settings_application_cache_path_get(void);
-
-/**
- * Returns the maximum size, in bytes, of the application cache for HTML5 Offline Web Applications.
- *
- * By default, applications are allowed unlimited storage space.
- *
- * @sa ewk_view_setting_offine_app_cache_set
- */
-EAPI int64_t ewk_settings_application_cache_max_quota_get(void);
-
-/**
- * Sets the maximum size, in bytes, of the application cache for HTML5 Offline Web Applications.
- *
- * By default, applications are allowed unlimited storage space.
- *
- * Note that calling this function will delete all the entries currently in the app cache.
- *
- * @param maximum_size the new maximum size, in bytes.
- *
- * @sa ewk_view_setting_application_cache_enabled_set
- */
-EAPI void ewk_settings_application_cache_max_quota_set(int64_t maximum_size);
-
-/**
- * Removes all entries from the HTML5 application cache.
- *
- * @sa ewk_view_setting_application_cache_enabled_set, ewk_settings_application_cache_path_set
- */
-EAPI void ewk_settings_application_cache_clear(void);
-
-/**
- * Returns whether the in-memory object cache is enabled.
- *
- * The object cache is responsible for holding resources such as scripts, stylesheets
- * and images in memory.
- *
- * By default, the cache is enabled.
- *
- * @return @c EINA_TRUE if the cache is enabled or @c EINA_FALSE if not
- *
- * @sa ewk_settings_object_cache_capacity_set
- */
-EAPI Eina_Bool ewk_settings_object_cache_enable_get(void);
-
-/**
- * Enables/disables the in-memory object cache of WebCore, possibly clearing it.
- *
- * The object cache is responsible for holding resources such as scripts, stylesheets
- * and images in memory.
- *
- * By default, the cache is enabled.
- *
- * Disabling the cache will remove all resources from the cache.
- * They may still live on if they are referenced by some Web page though.
- *
- * @param set @c EINA_TRUE to enable memory cache, @c EINA_FALSE to disable
- */
-EAPI void ewk_settings_object_cache_enable_set(Eina_Bool set);
-
-/**
- * Returns whether Shadow DOM is enabled.
- *
- * Shadow DOM is a method of establishing and maintaining functional boundaries between
- * DOM subtrees and how these subtrees interact with each other within a document tree,
- * thus enabling better functional encapsulation within DOM.
- *
- * By default, Shadow DOM is disabled.
- *
- * @return @c EINA_TRUE if Shadow DOM is enabled or @c EINA_FALSE if not
- *
- * @sa ewk_settings_shadow_dom_enable_set
- */
-EAPI Eina_Bool ewk_settings_shadow_dom_enable_get(void);
-
-/**
- * Enables/disables Shadow DOM functionality.
- *
- * Shadow DOM is a method of establishing and maintaining functional boundaries between
- * DOM subtrees and how these subtrees interact with each other within a document tree,
- * thus enabling better functional encapsulation within DOM.
- *
- * By default, Shadow DOM is disabled.
- *
- * @param set @c EINA_TRUE to enable Shadow DOM, @c EINA_FALSE to disable
- */
-EAPI Eina_Bool ewk_settings_shadow_dom_enable_set(Eina_Bool enable);
-
-/**
- * Defines the capacities for the in-memory object cache.
- *
- * The object cache is responsible for holding resources such as scripts, stylesheets
- * and images in memory.
- *
- * By default, @p min_dead_bytes is 0 and both @p max_dead_bytes and @p total_bytes are 8MB.
- *
- * @param min_dead_bytes The maximum number of bytes that dead resources should consume when
- * the cache is under pressure.
- * @param max_dead_bytes The maximum number of bytes that dead resources should consume when
- * the cache is not under pressure.
- * @param total_bytes The maximum number of bytes that the cache should consume overall.
- *
- * @param capacity the maximum number of bytes that the cache should consume overall
- */
-EAPI void ewk_settings_object_cache_capacity_set(unsigned min_dead_bytes, unsigned max_dead_bytes, unsigned total_bytes);
-
-/**
- * Returns the maximum number of pages in the memory page cache.
- *
- * By default, maximum number of pages is 3.
- *
- * @return The maximum number of pages in the memory page cache.
- *
- * @sa ewk_settings_page_cache_capacity_set
- */
-EAPI unsigned ewk_settings_page_cache_capacity_get(void);
-
-/**
- * Defines the capacity for the memory page cache.
- *
- * The page cache is responsible for holding visited web pages in memory. So it improves user experience when navigating forth or back
- * to pages in the forward/back history as the cached pages do not require to be loaded from server.
- *
- * By default, @p pages is 3.
- *
- * @param pages The maximum number of pages to keep in the memory page cache.
- */
-EAPI void ewk_settings_page_cache_capacity_set(unsigned pages);
-
-/**
- * Clears all memory caches.
- *
- * This function clears all memory caches, which include the object cache (for resources such as
- * images, scripts and stylesheets), the page cache, the font cache and the Cross-Origin Preflight
- * cache.
- */
-EAPI void ewk_settings_memory_cache_clear(void);
-
-/**
- * Sets values for repaint throttling.
- *
- * It allows to slow down page loading and
- * should ensure displaying a content with many css/gif animations.
- *
- * These values can be used as a example for repaints throttling.
- * 0, 0, 0, 0 - default WebCore's values, these do not delay any repaints
- * 0.025, 0, 2.5, 0.5 - recommended values for dynamic content
- * 0.01, 0, 1, 0.2 - minimal level
- * 0.025, 1, 5, 0.5 - medium level
- * 0.1, 2, 10, 1 - heavy level
- *
- * @param deferred_repaint_delay a normal delay
- * @param initial_deferred_repaint_delay_during_loading negative value would mean that first few repaints happen without a delay
- * @param max_deferred_repaint_delay_during_loading the delay grows on each repaint to this maximum value
- * @param deferred_repaint_delay_increment_during_loading on each repaint the delay increses by this amount
- */
-EAPI void ewk_settings_repaint_throttling_set(double deferred_repaint_delay, double initial_deferred_repaint_delay_during_loading, double max_deferred_repaint_delay_during_loading, double deferred_repaint_delay_increment_during_loading);
-
-/**
- * Gets the default interval for DOMTimers on all pages.
- *
- * DOMTimer processes javascript function registered by setInterval() based on interval value.
- *
- * @return default minimum interval for DOMTimers
- */
-EAPI double ewk_settings_default_timer_interval_get(void);
-
-/**
- * Sets the CSS media type.
- *
- * Setting this will override the normal value of the CSS media property.
- *
- * Setting the value to @c NULL will restore the internal default value.
- *
- * @param type css media type to be set, must be write-able
- *
- * @sa ewk_settings_css_media_type_get
- */
-EAPI void ewk_settings_css_media_type_set(const char *type);
-
-/**
- * Returns the current CSS media type.
- *
- * It will only return the value set through ewk_settings_css_media_type_set and not the one used internally.
- *
- * This is guaranteed to be eina_stringshare, so whenever possible
- * save yourself some cpu cycles and use eina_stringshare_ref()
- * instead of eina_stringshare_add() or strdup().
- *
- * @return css media type set by user or @c NULL if none is set
- *
- * @sa ewk_settings_css_media_type_set
- */
-EAPI const char *ewk_settings_css_media_type_get(void);
-
-#ifdef __cplusplus
-}
-#endif
-#endif // ewk_settings_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_settings_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_settings_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_settings_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_settings_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_settings_private_h
-#define ewk_settings_private_h
-
-const char* ewk_settings_default_user_agent_get();
-
-void ewk_settings_file_system_path_set(const char *path);
-
-#endif // ewk_settings_private_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_touch_eventcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_touch_event.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_touch_event.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_touch_event.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,118 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-
-#if ENABLE(TOUCH_EVENTS)
-
-#include "PlatformTouchPoint.h"
-#include "ewk_touch_event_private.h"
-#include <Ecore_Input.h>
-#include <wtf/CurrentTime.h>
-
-class WebKitPlatformTouchPoint : public WebCore::PlatformTouchPoint {
-public:
- WebKitPlatformTouchPoint(unsigned id, const WebCore::IntPoint& windowPos, WebCore::PlatformTouchPoint::State state)
- {
- m_id = id;
- m_state = state;
- m_screenPos = windowPos;
- m_pos = windowPos;
- }
-};
-
-inline static WebCore::PlatformTouchPoint::State toPlatformTouchPointState(Evas_Touch_Point_State type)
-{
- switch (type) {
- case EVAS_TOUCH_POINT_UP:
- return WebCore::PlatformTouchPoint::TouchReleased;
- case EVAS_TOUCH_POINT_DOWN:
- return WebCore::PlatformTouchPoint::TouchPressed;
- case EVAS_TOUCH_POINT_MOVE:
- return WebCore::PlatformTouchPoint::TouchMoved;
- case EVAS_TOUCH_POINT_STILL:
- return WebCore::PlatformTouchPoint::TouchStationary;
- case EVAS_TOUCH_POINT_CANCEL:
- return WebCore::PlatformTouchPoint::TouchCancelled;
- }
-
- ASSERT_NOT_REACHED();
-
- return WebCore::PlatformTouchPoint::TouchCancelled;
-}
-
-class WebKitPlatformTouchEvent : public WebCore::PlatformTouchEvent {
-public:
- WebKitPlatformTouchEvent(const Eina_List* points, const WebCore::IntPoint& pos, Ewk_Touch_Event_Type action, unsigned modifiers)
- {
- switch (action) {
- case EWK_TOUCH_START:
- m_type = WebCore::PlatformEvent::TouchStart;
- break;
- case EWK_TOUCH_MOVE:
- m_type = WebCore::PlatformEvent::TouchMove;
- break;
- case EWK_TOUCH_END:
- m_type = WebCore::PlatformEvent::TouchEnd;
- break;
- case EWK_TOUCH_CANCEL:
- m_type = WebCore::PlatformEvent::TouchCancel;
- break;
- default:
- ASSERT_NOT_REACHED();
- break;
- }
-
- if (modifiers & ECORE_EVENT_MODIFIER_ALT)
- m_modifiers |= WebCore::PlatformEvent::AltKey;
- if (modifiers & ECORE_EVENT_MODIFIER_CTRL)
- m_modifiers |= WebCore::PlatformEvent::CtrlKey;
- if (modifiers & ECORE_EVENT_MODIFIER_SHIFT)
- m_modifiers |= WebCore::PlatformEvent::ShiftKey;
- if (modifiers & ECORE_EVENT_MODIFIER_WIN)
- m_modifiers |= WebCore::PlatformEvent::MetaKey;
-
- m_timestamp = currentTime();
-
- const Eina_List* list;
- void* item;
- EINA_LIST_FOREACH(points, list, item) {
- Ewk_Touch_Point* point = static_cast<Ewk_Touch_Point*>(item);
- WebCore::IntPoint pnt = WebCore::IntPoint(point->x - pos.x(), point->y - pos.y());
- m_touchPoints.append(WebKitPlatformTouchPoint(point->id, pnt, toPlatformTouchPointState(point->state)));
- }
- }
-};
-
-namespace EWKPrivate {
-
-WebCore::PlatformTouchEvent platformTouchEvent(Evas_Coord x, Evas_Coord y, Eina_List* points, Ewk_Touch_Event_Type action, unsigned modifiers)
-{
- return WebKitPlatformTouchEvent(points, WebCore::IntPoint(x, y), action, modifiers);
-}
-
-}
-
-#endif // ENABLE(TOUCH_EVENTS)
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_touch_event_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_touch_event_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_touch_event_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_touch_event_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,40 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef ewk_touch_event_private_h
-#define ewk_touch_event_private_h
-
-#if ENABLE(TOUCH_EVENTS)
-
-#include "PlatformTouchEvent.h"
-#include "ewk_frame.h"
-
-namespace EWKPrivate {
-WebCore::PlatformTouchEvent platformTouchEvent(Evas_Coord x, Evas_Coord y, Eina_List* points, Ewk_Touch_Event_Type action, unsigned modifiers);
-} // namespace EWKPrivate
-
-#endif // ENABLE(TOUCH_EVENTS)
-
-#endif // ewk_touch_event_private_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_viewcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_view.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_view.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_view.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,4308 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2012 Samsung Electronics
- Copyright (C) 2012 Intel Corporation
- Copyright (C) 2013 Apple Inc. All rights reserved.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#define __STDC_FORMAT_MACROS
-#include "config.h"
-#include "ewk_view.h"
-
-#include "AcceleratedCompositingContextEfl.h"
-#include "BackForwardController.h"
-#include "BackForwardList.h"
-#include "Bridge.h"
-#include "Chrome.h"
-#include "ChromeClientEfl.h"
-#include "ContextMenuClientEfl.h"
-#include "ContextMenuController.h"
-#include "DocumentLoader.h"
-#include "DragClientEfl.h"
-#include "DumpRenderTreeSupportEfl.h"
-#include "Editor.h"
-#include "EditorClientEfl.h"
-#include "EflScreenUtilities.h"
-#include "EventHandler.h"
-#include "FocusController.h"
-#include "FrameLoaderClientEfl.h"
-#include "FrameSelection.h"
-#include "FrameView.h"
-#include "GraphicsContext.h"
-#include "HTMLElement.h"
-#include "HTMLInputElement.h"
-#include "HTMLNames.h"
-#include "InspectorClientEfl.h"
-#include "InspectorController.h"
-#include "IntSize.h"
-#include "JSDOMBinding.h"
-#include "JSDOMWindow.h"
-#include "JSLock.h"
-#include "MainFrame.h"
-#include "NetworkStorageSession.h"
-#include "Operations.h"
-#include "PageGroup.h"
-#include "PlatformMouseEvent.h"
-#include "PopupMenuClient.h"
-#include "ProgressTracker.h"
-#include "ProgressTrackerClientEfl.h"
-#include "RefPtrCairo.h"
-#include "RenderThemeEfl.h"
-#include "ResourceHandle.h"
-#include "RuntimeEnabledFeatures.h"
-#include "ScriptController.h"
-#include "SessionID.h"
-#include "Settings.h"
-#include "SoupNetworkSession.h"
-#include "c_instance.h"
-#include "ewk_contextmenu_private.h"
-#include "ewk_frame.h"
-#include "ewk_frame_private.h"
-#include "ewk_history_private.h"
-#include "ewk_js_private.h"
-#include "ewk_private.h"
-#include "ewk_settings_private.h"
-#include "ewk_view_private.h"
-#include "ewk_window_features_private.h"
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Edje.h>
-#include <Eina.h>
-#include <Evas.h>
-#include <eina_safety_checks.h>
-#include <inttypes.h>
-#include <limits>
-#include <math.h>
-#include <sys/time.h>
-
-#if ENABLE(DEVICE_ORIENTATION)
-#include "DeviceMotionClientEfl.h"
-#include "DeviceOrientationClientEfl.h"
-#endif
-
-#if ENABLE(GEOLOCATION)
-#include "GeolocationClientMock.h"
-#include "GeolocationController.h"
-#endif
-
-#if ENABLE(VIBRATION)
-#include "VibrationClientEfl.h"
-#endif
-
-#if ENABLE(BATTERY_STATUS)
-#include "BatteryClientEfl.h"
-#endif
-
-#if ENABLE(INPUT_TYPE_COLOR)
-#include "ColorChooserClient.h"
-#endif
-
-#if ENABLE(NAVIGATOR_CONTENT_UTILS)
-#include "NavigatorContentUtilsClientEfl.h"
-#endif
-
-static const float zoomMinimum = 0.05;
-static const float zoomMaximum = 4.0;
-
-static const char ewkViewTypeString[] = "EWK_View";
-
-static const size_t ewkViewRepaintsSizeInitial = 32;
-static const size_t ewkViewRepaintsSizeStep = 8;
-static const size_t ewkViewRepaintsSizeMaximumFree = 64;
-
-static const Evas_Smart_Cb_Description _ewk_view_callback_names[] = {
- { "colorchooser,create", "(yyyy)" },
- { "colorchooser,willdelete", "" },
- { "colorchooser,color,changed", "(yyyy)" },
- { "download,request", "p" },
- { "editorclient,contents,changed", "" },
- { "editorclient,selection,changed", "" },
- { "frame,created", "p" },
- { "icon,received", "" },
- { "inputmethod,changed", "b" },
- { "js,windowobject,clear", "" },
- { "link,hover,in", "p" },
- { "link,hover,out", "" },
- { "load,document,finished", "p" },
- { "load,error", "p" },
- { "load,finished", "p" },
- { "load,newwindow,show", "" },
- { "load,progress", "d" },
- { "load,provisional", "" },
- { "load,started", "" },
- { "menubar,visible,get", "b" },
- { "menubar,visible,set", "b" },
- { "popup,created", "p" },
- { "popup,willdelete", "p" },
- { "ready", "" },
- { "scrollbars,visible,get", "b" },
- { "scrollbars,visible,set", "b" },
- { "statusbar,text,set", "s" },
- { "statusbar,visible,get", "b" },
- { "statusbar,visible,set", "b" },
- { "title,changed", "s" },
- { "toolbars,visible,get", "b" },
- { "toolbars,visible,set", "b" },
- { "tooltip,text,set", "s" },
- { "tooltip,text,unset", "s" },
- { "uri,changed", "s" },
- { "view,resized", "" },
- { "zoom,animated,end", "" },
- { 0, 0 }
-};
-
-struct EditorCommand {
- Ewk_Editor_Command ewkEditorCommand;
- const char* editorCommandString;
-};
-
-/**
- * @brief A table grouping Ewk_Editor_Command enums with corresponding command
- * strings used by WebCore::EditorCommand, keeping both in sync.
- *
- * @internal
- */
-static const EditorCommand editorCommands[] = {
- { EWK_EDITOR_COMMAND_UNDO, "Undo" },
- { EWK_EDITOR_COMMAND_REDO, "Redo" },
- { EWK_EDITOR_COMMAND_TOGGLE_BOLD, "ToggleBold" },
- { EWK_EDITOR_COMMAND_TOGGLE_ITALIC, "ToggleItalic" },
- { EWK_EDITOR_COMMAND_TOGGLE_UNDERLINE, "ToggleUnderline" },
- { EWK_EDITOR_COMMAND_TOGGLE_STRIKETHROUGH, "Strikethrough" },
- { EWK_EDITOR_COMMAND_TOGGLE_SUBSCRIPT, "SubScript" },
- { EWK_EDITOR_COMMAND_TOGGLE_SUPERSCRIPT, "SuperScript" },
- { EWK_EDITOR_COMMAND_INDENT, "Indent" },
- { EWK_EDITOR_COMMAND_OUTDENT, "Outdent" },
- { EWK_EDITOR_COMMAND_INSERT_ORDEREDLIST, "InsertOrderedList" },
- { EWK_EDITOR_COMMAND_INSERT_UNORDEREDLIST, "InsertUnorderedList" },
- { EWK_EDITOR_COMMAND_INSERT_IMAGE, "InsertImage" },
- { EWK_EDITOR_COMMAND_INSERT_TEXT, "InsertText" },
- { EWK_EDITOR_COMMAND_INSERT_HTML, "InsertHTML" },
- { EWK_EDITOR_COMMAND_INSERT_PARAGRAPH, "InsertParagraph" },
- { EWK_EDITOR_COMMAND_INSERT_PARAGRAPH_SEPARATOR, "InsertNewLine" },
- { EWK_EDITOR_COMMAND_INSERT_LINE_SEPARATOR, "InsertLineBreak" },
- { EWK_EDITOR_COMMAND_BACK_COLOR, "BackColor" },
- { EWK_EDITOR_COMMAND_FORE_COLOR, "ForeColor" },
- { EWK_EDITOR_COMMAND_HILITE_COLOR, "HiliteColor" },
- { EWK_EDITOR_COMMAND_FONT_SIZE, "FontSize" },
- { EWK_EDITOR_COMMAND_ALIGN_CENTER, "AlignCenter" },
- { EWK_EDITOR_COMMAND_ALIGN_JUSTIFIED, "AlignJustified" },
- { EWK_EDITOR_COMMAND_ALIGN_LEFT, "AlignLeft" },
- { EWK_EDITOR_COMMAND_ALIGN_RIGHT, "AlignRight" },
- { EWK_EDITOR_COMMAND_MOVE_TO_NEXT_CHAR, "MoveForward" },
- { EWK_EDITOR_COMMAND_MOVE_TO_PREVIOUS_CHAR, "MoveBackward" },
- { EWK_EDITOR_COMMAND_MOVE_TO_NEXT_WORD, "MoveWordForward" },
- { EWK_EDITOR_COMMAND_MOVE_TO_PREVIOUS_WORD, "MoveWordBackward" },
- { EWK_EDITOR_COMMAND_MOVE_TO_NEXT_LINE, "MoveDown" },
- { EWK_EDITOR_COMMAND_MOVE_TO_PREVIOUS_LINE, "MoveUp" },
- { EWK_EDITOR_COMMAND_MOVE_TO_BEGINNING_OF_LINE, "MoveToBeginningOfLine" },
- { EWK_EDITOR_COMMAND_MOVE_TO_END_OF_LINE, "MoveToEndOfLine" },
- { EWK_EDITOR_COMMAND_MOVE_TO_BEGINNING_OF_PARAGRAPH, "MoveToBeginningOfParagraph" },
- { EWK_EDITOR_COMMAND_MOVE_TO_END_OF_PARAGRAPH, "MoveToEndOfParagraph" },
- { EWK_EDITOR_COMMAND_MOVE_TO_BEGINNING_OF_DOCUMENT, "MoveToBeginningOfDocument" },
- { EWK_EDITOR_COMMAND_MOVE_TO_END_OF_DOCUMENT, "MoveToEndOfDocument" },
- { EWK_EDITOR_COMMAND_SELECT_NONE, "SelectNone" },
- { EWK_EDITOR_COMMAND_SELECT_ALL, "SelectAll" },
- { EWK_EDITOR_COMMAND_SELECT_PARAGRAPH, "SelectParagraph" },
- { EWK_EDITOR_COMMAND_SELECT_SENTENCE, "SelectSentence" },
- { EWK_EDITOR_COMMAND_SELECT_LINE, "SelectLine" },
- { EWK_EDITOR_COMMAND_SELECT_WORD, "SelectWord" },
- { EWK_EDITOR_COMMAND_SELECT_NEXT_CHAR, "MoveForwardAndModifySelection" },
- { EWK_EDITOR_COMMAND_SELECT_PREVIOUS_CHAR, "MoveBackwardAndModifySelection" },
- { EWK_EDITOR_COMMAND_SELECT_NEXT_WORD, "MoveWordForwardAndModifySelection" },
- { EWK_EDITOR_COMMAND_SELECT_PREVIOUS_WORD, "MoveWordBackwardAndModifySelection" },
- { EWK_EDITOR_COMMAND_SELECT_NEXT_LINE, "MoveDownAndModifySelection" },
- { EWK_EDITOR_COMMAND_SELECT_PREVIOUS_LINE, "MoveUpAndModifySelection" },
- { EWK_EDITOR_COMMAND_SELECT_START_OF_LINE, "MoveToBeginningOfLineAndModifySelection" },
- { EWK_EDITOR_COMMAND_SELECT_END_OF_LINE, "MoveToEndOfLineAndModifySelection" },
- { EWK_EDITOR_COMMAND_SELECT_START_OF_PARAGRAPH, "MoveToBeginningOfParagraphAndModifySelection" },
- { EWK_EDITOR_COMMAND_SELECT_END_OF_PARAGRAPH, "MoveToEndOfParagraphAndModifySelection" },
- { EWK_EDITOR_COMMAND_SELECT_START_OF_DOCUMENT, "MoveToBeginningOfDocumentAndModifySelection" },
- { EWK_EDITOR_COMMAND_SELECT_END_OF_DOCUMENT, "MoveToEndOfDocumentAndModifySelection" },
- { EWK_EDITOR_COMMAND_DELETE_WORD_BACKWARD, "DeleteWordBackward" },
- { EWK_EDITOR_COMMAND_DELETE_WORD_FORWARD, "DeleteWordForward" },
- { EWK_EDITOR_COMMAND_NONE, 0 } // EWK_EDITOR_COMMAND_NONE must be the last element.
-};
-
-/**
- * @brief Private data that is used internally by EFL WebKit
- * and should never be modified from outside.
- *
- * @internal
- */
-struct _Ewk_View_Private_Data {
- OwnPtr<WebCore::Page> page;
- WebCore::ViewportArguments viewportArguments;
- Ewk_History* history;
- std::unique_ptr<WebCore::AcceleratedCompositingContext> acceleratedCompositingContext;
-#if ENABLE(INPUT_TYPE_COLOR)
- WebCore::ColorChooserClient* colorChooserClient;
-#endif
- struct {
- Ewk_Menu menu;
- WebCore::PopupMenuClient* menuClient;
- } popup;
- unsigned int imh; /**< input method hints */
- struct {
- bool viewCleared : 1;
- bool needTouchEvents : 1;
- bool hasDisplayedMixedContent : 1;
- bool hasRunMixedContent : 1;
- } flags;
- struct {
- const char* userAgent;
- const char* userStylesheet;
- const char* encodingDefault;
- const char* encodingCustom;
- const char* theme;
- const char* localStorageDatabasePath;
- int fontMinimumSize;
- int fontMinimumLogicalSize;
- int fontDefaultSize;
- int fontMonospaceSize;
- const char* fontStandard;
- const char* fontCursive;
- const char* fontMonospace;
- const char* fontFantasy;
- const char* fontSerif;
- const char* fontSansSerif;
- bool autoLoadImages : 1;
- bool autoShrinkImages : 1;
- bool enableAutoResizeWindow : 1;
- bool enableDeveloperExtras : 1;
- bool enableScripts : 1;
- bool enablePlugins : 1;
- bool enableFrameFlattening : 1;
-#if ENABLE(FULLSCREEN_API)
- bool enableFullscreen : 1;
-#endif
- bool encodingDetector : 1;
- bool hyperlinkAuditingEnabled : 1;
- bool scriptsCanOpenWindows : 1;
- bool scriptsCanCloseWindows : 1;
-#if ENABLE(VIDEO_TRACK)
- bool shouldDisplayCaptions : 1;
- bool shouldDisplaySubtitles : 1;
- bool shouldDisplayTextDescriptions: 1;
-#endif
- bool scriptsCanAccessClipboard : 1;
- bool resizableTextareas : 1;
- bool privateBrowsing : 1;
- bool caretBrowsing : 1;
- bool spatialNavigation : 1;
- bool localStorage : 1;
- bool offlineAppCache : 1;
- bool pageCache : 1;
- bool enableXSSAuditor : 1;
- bool webGLEnabled : 1;
- bool tabsToLinks : 1;
- struct {
- float minScale;
- float maxScale;
- Eina_Bool userScalable : 1;
- } zoomRange;
- double domTimerInterval;
- bool allowUniversalAccessFromFileURLs : 1;
- bool allowFileAccessFromFileURLs : 1;
- } settings;
- struct {
- struct {
- double start;
- double end;
- double duration;
- } time;
- struct {
- float start;
- float end;
- float range;
- } zoom;
- struct {
- Evas_Coord x, y;
- } center;
- Ecore_Animator* animator;
- } animatedZoom;
- const char* cursorGroup;
- Evas_Object* cursorObject;
-#if ENABLE(INSPECTOR)
- Evas_Object* inspectorView;
-#endif
-#if ENABLE(CONTEXT_MENUS)
- Ewk_Context_Menu* contextMenu;
-#endif
-};
-
-#ifndef EWK_TYPE_CHECK
-#define EWK_VIEW_TYPE_CHECK(ewkView, ...) do { } while (0)
-#else
-#define EWK_VIEW_TYPE_CHECK(ewkView, ...) \
- do { \
- const char* _tmp_otype = evas_object_type_get(ewkView); \
- const Evas_Smart* _tmp_s = evas_object_smart_smart_get(ewkView); \
- if (EINA_UNLIKELY(!_tmp_s)) { \
- EINA_LOG_CRIT \
- ("%p (%s) is not a smart object!", ewkView, \
- _tmp_otype ? _tmp_otype : "(null)"); \
- return __VA_ARGS__; \
- } \
- const Evas_Smart_Class* _tmp_sc = evas_smart_class_get(_tmp_s); \
- if (EINA_UNLIKELY(!_tmp_sc)) { \
- EINA_LOG_CRIT \
- ("%p (%s) is not a smart object!", ewkView, \
- _tmp_otype ? _tmp_otype : "(null)"); \
- return __VA_ARGS__; \
- } \
- if (EINA_UNLIKELY(_tmp_sc->data != ewkViewTypeString)) { \
- EINA_LOG_CRIT \
- ("%p (%s) is not of an ewk_view (need %p, got %p)!", \
- ewkView, _tmp_otype ? _tmp_otype : "(null)", \
- ewkViewTypeString, _tmp_sc->data); \
- return __VA_ARGS__; \
- } \
- } while (0)
-#endif
-
-#define EWK_VIEW_SD_GET(ewkView, pointer) \
- Ewk_View_Smart_Data* pointer = static_cast<Ewk_View_Smart_Data*>(evas_object_smart_data_get(ewkView))
-
-#define EWK_VIEW_SD_GET_OR_RETURN(ewkView, pointer, ...) \
- EWK_VIEW_TYPE_CHECK(ewkView, __VA_ARGS__); \
- EWK_VIEW_SD_GET(ewkView, pointer); \
- if (!pointer) { \
- CRITICAL("no smart data for object %p (%s)", \
- ewkView, evas_object_type_get(ewkView)); \
- return __VA_ARGS__; \
- }
-
-#define EWK_VIEW_PRIV_GET(smartData, pointer) \
- Ewk_View_Private_Data* pointer = smartData->_priv
-
-#define EWK_VIEW_PRIV_GET_OR_RETURN(smartData, pointer, ...) \
- EWK_VIEW_PRIV_GET(smartData, pointer); \
- if (!pointer) { \
- CRITICAL("no private data for object %p (%s)", \
- smartData->self, evas_object_type_get(smartData->self)); \
- return __VA_ARGS__; \
- }
-
-static void _ewk_view_smart_changed(Ewk_View_Smart_Data* smartData)
-{
- if (smartData->changed.any)
- return;
- smartData->changed.any = true;
- evas_object_smart_changed(smartData->self);
-}
-
-// Default Event Handling //////////////////////////////////////////////
-static Eina_Bool _ewk_view_smart_focus_in(Ewk_View_Smart_Data* smartData)
-{
- EWK_VIEW_PRIV_GET(smartData, priv);
- WebCore::FocusController* focusController = &priv->page->focusController();
- DBG("ewkView=%p, focusController=%p", smartData->self, focusController);
-
- focusController->setActive(true);
- focusController->setFocused(true);
- return true;
-}
-
-static Eina_Bool _ewk_view_smart_focus_out(Ewk_View_Smart_Data* smartData)
-{
- EWK_VIEW_PRIV_GET(smartData, priv);
- WebCore::FocusController* focusController = &priv->page->focusController();
- DBG("ewkView=%p, fc=%p", smartData->self, focusController);
-
- focusController->setActive(false);
- focusController->setFocused(false);
- return true;
-}
-
-static Eina_Bool _ewk_view_smart_mouse_wheel(Ewk_View_Smart_Data* smartData, const Evas_Event_Mouse_Wheel* wheelEvent)
-{
- return ewk_frame_feed_mouse_wheel(smartData->main_frame, wheelEvent);
-}
-
-static Eina_Bool _ewk_view_smart_mouse_down(Ewk_View_Smart_Data* smartData, const Evas_Event_Mouse_Down* downEvent)
-{
- return ewk_frame_feed_mouse_down(smartData->main_frame, downEvent);
-}
-
-static Eina_Bool _ewk_view_smart_mouse_up(Ewk_View_Smart_Data* smartData, const Evas_Event_Mouse_Up* upEvent)
-{
- return ewk_frame_feed_mouse_up(smartData->main_frame, upEvent);
-}
-
-static Eina_Bool _ewk_view_smart_mouse_move(Ewk_View_Smart_Data* smartData, const Evas_Event_Mouse_Move* moveEvent)
-{
- return ewk_frame_feed_mouse_move(smartData->main_frame, moveEvent);
-}
-
-static Eina_Bool _ewk_view_smart_key_down(Ewk_View_Smart_Data* smartData, const Evas_Event_Key_Down* downEvent)
-{
- Evas_Object* frame = ewk_view_frame_focused_get(smartData->self);
-
- if (!frame)
- frame = smartData->main_frame;
-
- return ewk_frame_feed_key_down(frame, downEvent);
-}
-
-static Eina_Bool _ewk_view_smart_key_up(Ewk_View_Smart_Data* smartData, const Evas_Event_Key_Up* upEvent)
-{
- Evas_Object* frame = ewk_view_frame_focused_get(smartData->self);
-
- if (!frame)
- frame = smartData->main_frame;
-
- return ewk_frame_feed_key_up(frame, upEvent);
-}
-
-static void _ewk_view_smart_add_console_message(Ewk_View_Smart_Data*, const char* message, unsigned int lineNumber, const char* sourceID)
-{
- INFO("console message: %s @%d: %s\n", sourceID, lineNumber, message);
-}
-
-static void _ewk_view_smart_run_javascript_alert(Ewk_View_Smart_Data*, Evas_Object* /*frame*/, const char* message)
-{
- INFO("javascript alert: %s\n", message);
-}
-
-static Eina_Bool _ewk_view_smart_run_javascript_confirm(Ewk_View_Smart_Data*, Evas_Object* /*frame*/, const char* message)
-{
- INFO("javascript confirm: %s", message);
- INFO("javascript confirm (HARD CODED)? YES");
- return true;
-}
-
-static Eina_Bool _ewk_view_smart_run_before_unload_confirm(Ewk_View_Smart_Data*, Evas_Object* /*frame*/, const char* message)
-{
- INFO("before unload confirm: %s", message);
- return true;
-}
-
-static Eina_Bool _ewk_view_smart_should_interrupt_javascript(Ewk_View_Smart_Data*)
-{
- INFO("should interrupt javascript?\n"
- "\t(HARD CODED) NO");
- return false;
-}
-
-static Eina_Bool _ewk_view_smart_run_javascript_prompt(Ewk_View_Smart_Data*, Evas_Object* /*frame*/, const char* message, const char* defaultValue, const char** value)
-{
- *value = eina_stringshare_add("test");
- Eina_Bool result = true;
- INFO("javascript prompt:\n"
- "\t message: %s\n"
- "\tdefault value: %s\n"
- "\tgiving answer: %s\n"
- "\t button: %s", message, defaultValue, *value, result ? "ok" : "cancel");
-
- return result;
-}
-
-// Event Handling //////////////////////////////////////////////////////
-static void _ewk_view_on_focus_in(void* data, Evas*, Evas_Object*, void*)
-{
- Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api->focus_in);
- smartData->api->focus_in(smartData);
-}
-
-static void _ewk_view_on_focus_out(void* data, Evas*, Evas_Object*, void*)
-{
- Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api->focus_out);
- smartData->api->focus_out(smartData);
-}
-
-static void _ewk_view_on_mouse_wheel(void* data, Evas*, Evas_Object*, void* eventInfo)
-{
- Evas_Event_Mouse_Wheel* wheelEvent = static_cast<Evas_Event_Mouse_Wheel*>(eventInfo);
- Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api->mouse_wheel);
- smartData->api->mouse_wheel(smartData, wheelEvent);
-}
-
-static void _ewk_view_on_mouse_down(void* data, Evas*, Evas_Object*, void* eventInfo)
-{
- Evas_Event_Mouse_Down* downEvent = static_cast<Evas_Event_Mouse_Down*>(eventInfo);
- Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api->mouse_down);
- smartData->api->mouse_down(smartData, downEvent);
-}
-
-static void _ewk_view_on_mouse_up(void* data, Evas*, Evas_Object*, void* eventInfo)
-{
- Evas_Event_Mouse_Up* upEvent = static_cast<Evas_Event_Mouse_Up*>(eventInfo);
- Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api->mouse_up);
- smartData->api->mouse_up(smartData, upEvent);
-}
-
-static void _ewk_view_on_mouse_move(void* data, Evas*, Evas_Object*, void* eventInfo)
-{
- Evas_Event_Mouse_Move* moveEvent = static_cast<Evas_Event_Mouse_Move*>(eventInfo);
- Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api->mouse_move);
- smartData->api->mouse_move(smartData, moveEvent);
-}
-
-static void _ewk_view_on_key_down(void* data, Evas*, Evas_Object*, void* eventInfo)
-{
- Evas_Event_Key_Down* downEvent = static_cast<Evas_Event_Key_Down*>(eventInfo);
- Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api->key_down);
- smartData->api->key_down(smartData, downEvent);
-}
-
-static void _ewk_view_on_key_up(void* data, Evas*, Evas_Object*, void* eventInfo)
-{
- Evas_Event_Key_Up* upEvent = static_cast<Evas_Event_Key_Up*>(eventInfo);
- Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api->key_up);
- smartData->api->key_up(smartData, upEvent);
-}
-
-static Evas_Smart_Class _parent_sc = EVAS_SMART_CLASS_INIT_NULL;
-
-static Ewk_View_Private_Data* _ewk_view_priv_new(Ewk_View_Smart_Data* smartData)
-{
- Ewk_View_Private_Data* priv = new Ewk_View_Private_Data;
- memset(priv, 0, sizeof(Ewk_View_Private_Data));
- AtomicString string;
- WebCore::URL url;
-
- WebCore::Page::PageClients pageClients;
- pageClients.chromeClient = new WebCore::ChromeClientEfl(smartData->self);
-#if ENABLE(CONTEXT_MENUS)
- pageClients.contextMenuClient = new WebCore::ContextMenuClientEfl;
-#endif
- pageClients.editorClient = new WebCore::EditorClientEfl(smartData->self);
- pageClients.dragClient = new WebCore::DragClientEfl;
-#if ENABLE(INSPECTOR)
- pageClients.inspectorClient = new WebCore::InspectorClientEfl(smartData->self);
-#endif
- pageClients.loaderClientForMainFrame = new WebCore::FrameLoaderClientEfl(smartData->self);
- pageClients.progressTrackerClient = new WebCore::ProgressTrackerClientEfl(smartData->self);
- priv->page = adoptPtr(new WebCore::Page(pageClients));
-
-#if ENABLE(DEVICE_ORIENTATION)
- WebCore::provideDeviceMotionTo(priv->page.get(), new WebCore::DeviceMotionClientEfl);
- WebCore::provideDeviceOrientationTo(priv->page.get(), new WebCore::DeviceOrientationClientEfl);
-#endif
-
-#if ENABLE(VIBRATION)
- WebCore::provideVibrationTo(priv->page.get(), new WebCore::VibrationClientEfl(smartData->self));
-#endif
-
-#if ENABLE(BATTERY_STATUS)
- WebCore::provideBatteryTo(priv->page.get(), new BatteryClientEfl(smartData->self));
-#endif
-
-#if ENABLE(NAVIGATOR_CONTENT_UTILS)
- WebCore::provideNavigatorContentUtilsTo(priv->page.get(), std::make_unique<WebCore::NavigatorContentUtilsClientEfl>(smartData->self));
-#endif
-
-#if ENABLE(GEOLOCATION)
- if (DumpRenderTreeSupportEfl::dumpRenderTreeModeEnabled()) {
- WebCore::GeolocationClientMock* mock = new WebCore::GeolocationClientMock;
- WebCore::provideGeolocationTo(priv->page.get(), mock);
- mock->setController(WebCore::GeolocationController::from(priv->page.get()));
- }
-#endif
-
- WebCore::Settings& pageSettings = priv->page->settings();
-
- WebCore::LayoutMilestones layoutMilestones = WebCore::DidFirstLayout | WebCore::DidFirstVisuallyNonEmptyLayout;
- priv->page->addLayoutMilestones(layoutMilestones);
-
- // FIXME: Noone is supposed to do this manually.
- priv->viewportArguments.width = WebCore::ViewportArguments::ValueAuto;
- priv->viewportArguments.height = WebCore::ViewportArguments::ValueAuto;
- priv->viewportArguments.zoom = WebCore::ViewportArguments::ValueAuto;
- priv->viewportArguments.minZoom = WebCore::ViewportArguments::ValueAuto;
- priv->viewportArguments.maxZoom = WebCore::ViewportArguments::ValueAuto;
- priv->viewportArguments.userZoom = true;
-
- pageSettings.setLoadsImagesAutomatically(true);
- pageSettings.setDefaultTextEncodingName("iso-8859-1");
- pageSettings.setDefaultFixedFontSize(12);
- pageSettings.setDefaultFontSize(16);
- pageSettings.setSerifFontFamily("serif");
- pageSettings.setFixedFontFamily("monotype");
- pageSettings.setSansSerifFontFamily("sans");
- pageSettings.setStandardFontFamily("sans");
- pageSettings.setHyperlinkAuditingEnabled(false);
- WebCore::RuntimeEnabledFeatures::sharedFeatures().setCSSRegionsEnabled(true);
- pageSettings.setScriptEnabled(true);
- pageSettings.setPluginsEnabled(true);
- pageSettings.setLocalStorageEnabled(true);
- pageSettings.setOfflineWebApplicationCacheEnabled(true);
- pageSettings.setUsesPageCache(true);
- pageSettings.setUsesEncodingDetector(false);
-#if ENABLE(WEB_AUDIO)
- pageSettings.setWebAudioEnabled(false);
-#endif
- pageSettings.setWebGLEnabled(true);
- pageSettings.setXSSAuditorEnabled(true);
-#if ENABLE(FULLSCREEN_API)
- pageSettings.setFullScreenEnabled(true);
-#endif
- pageSettings.setInteractiveFormValidationEnabled(true);
- pageSettings.setAcceleratedCompositingEnabled(true);
- pageSettings.setForceCompositingMode(true);
- char* debugVisualsEnvironment = getenv("WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS");
- bool showDebugVisuals = debugVisualsEnvironment && !strcmp(debugVisualsEnvironment, "1");
- pageSettings.setShowDebugBorders(showDebugVisuals);
- pageSettings.setShowRepaintCounter(showDebugVisuals);
-
- url = pageSettings.userStyleSheetLocation();
- priv->settings.userStylesheet = eina_stringshare_add(url.string().utf8().data());
-
- priv->settings.encodingDefault = eina_stringshare_add(pageSettings.defaultTextEncodingName().utf8().data());
- priv->settings.encodingCustom = 0;
-
- string = pageSettings.localStorageDatabasePath();
- priv->settings.localStorageDatabasePath = eina_stringshare_add(string.string().utf8().data());
-
- priv->settings.fontMinimumSize = pageSettings.minimumFontSize();
- priv->settings.fontMinimumLogicalSize = pageSettings.minimumLogicalFontSize();
- priv->settings.fontDefaultSize = pageSettings.defaultFontSize();
- priv->settings.fontMonospaceSize = pageSettings.defaultFixedFontSize();
-
- string = pageSettings.standardFontFamily();
- priv->settings.fontStandard = eina_stringshare_add(string.string().utf8().data());
- string = pageSettings.cursiveFontFamily();
- priv->settings.fontCursive = eina_stringshare_add(string.string().utf8().data());
- string = pageSettings.fixedFontFamily();
- priv->settings.fontMonospace = eina_stringshare_add(string.string().utf8().data());
- string = pageSettings.fantasyFontFamily();
- priv->settings.fontFantasy = eina_stringshare_add(string.string().utf8().data());
- string = pageSettings.serifFontFamily();
- priv->settings.fontSerif = eina_stringshare_add(string.string().utf8().data());
- string = pageSettings.sansSerifFontFamily();
- priv->settings.fontSansSerif = eina_stringshare_add(string.string().utf8().data());
-
- priv->settings.autoLoadImages = pageSettings.loadsImagesAutomatically();
- priv->settings.autoShrinkImages = pageSettings.shrinksStandaloneImagesToFit();
- priv->settings.enableAutoResizeWindow = true;
- priv->settings.enableDeveloperExtras = pageSettings.developerExtrasEnabled();
- priv->settings.enableScripts = pageSettings.isScriptEnabled();
- priv->settings.enablePlugins = pageSettings.arePluginsEnabled();
- priv->settings.enableFrameFlattening = pageSettings.frameFlatteningEnabled();
-#if ENABLE(FULLSCREEN_API)
- priv->settings.enableFullscreen = pageSettings.fullScreenEnabled();
-#endif
- priv->settings.enableXSSAuditor = pageSettings.xssAuditorEnabled();
- priv->settings.hyperlinkAuditingEnabled = pageSettings.hyperlinkAuditingEnabled();
- priv->settings.scriptsCanOpenWindows = pageSettings.javaScriptCanOpenWindowsAutomatically();
- priv->settings.scriptsCanCloseWindows = pageSettings.allowScriptsToCloseWindows();
-#if ENABLE(VIDEO_TRACK)
- priv->settings.shouldDisplayCaptions = pageSettings.shouldDisplayCaptions();
- priv->settings.shouldDisplaySubtitles = pageSettings.shouldDisplaySubtitles();
- priv->settings.shouldDisplayTextDescriptions = pageSettings.shouldDisplayTextDescriptions();
-#endif
- priv->settings.scriptsCanAccessClipboard = pageSettings.javaScriptCanAccessClipboard() && pageSettings.DOMPasteAllowed();
- priv->settings.resizableTextareas = pageSettings.textAreasAreResizable();
- priv->settings.privateBrowsing = priv->page->usesEphemeralSession();
- priv->settings.caretBrowsing = pageSettings.caretBrowsingEnabled();
- priv->settings.spatialNavigation = pageSettings.spatialNavigationEnabled();
- priv->settings.localStorage = pageSettings.localStorageEnabled();
- priv->settings.offlineAppCache = true; // XXX no function to read setting; this keeps the original setting
- priv->settings.pageCache = pageSettings.usesPageCache();
- priv->settings.encodingDetector = pageSettings.usesEncodingDetector();
- priv->settings.webGLEnabled = pageSettings.webGLEnabled();
- priv->settings.tabsToLinks = true;
-
- priv->settings.userAgent = ewk_settings_default_user_agent_get();
-
- // Since there's no scale separated from zooming in webkit-efl, this functionality of
- // viewport meta tag is implemented using zoom. When scale zoom is supported by webkit-efl,
- // this functionality will be modified by the scale zoom patch.
- priv->settings.zoomRange.minScale = zoomMinimum;
- priv->settings.zoomRange.maxScale = zoomMaximum;
- priv->settings.zoomRange.userScalable = true;
-
- priv->settings.domTimerInterval = pageSettings.defaultMinDOMTimerInterval();
-
- priv->settings.allowUniversalAccessFromFileURLs = pageSettings.allowUniversalAccessFromFileURLs();
- priv->settings.allowFileAccessFromFileURLs = pageSettings.allowFileAccessFromFileURLs();
-
- priv->history = ewk_history_new(static_cast<WebCore::BackForwardList*>(priv->page->backForward().client()));
-
-#if ENABLE(CONTEXT_MENUS)
- priv->contextMenu = 0;
-#endif
-
- return priv;
-}
-
-static void _ewk_view_priv_del(Ewk_View_Private_Data* priv)
-{
- if (!priv)
- return;
-
- /* do not delete priv->main_frame */
-
- eina_stringshare_del(priv->settings.userAgent);
- eina_stringshare_del(priv->settings.userStylesheet);
- eina_stringshare_del(priv->settings.encodingDefault);
- eina_stringshare_del(priv->settings.encodingCustom);
- eina_stringshare_del(priv->settings.fontStandard);
- eina_stringshare_del(priv->settings.fontCursive);
- eina_stringshare_del(priv->settings.fontMonospace);
- eina_stringshare_del(priv->settings.fontFantasy);
- eina_stringshare_del(priv->settings.fontSerif);
- eina_stringshare_del(priv->settings.fontSansSerif);
- eina_stringshare_del(priv->settings.localStorageDatabasePath);
-
- if (priv->animatedZoom.animator)
- ecore_animator_del(priv->animatedZoom.animator);
-
- ewk_history_free(priv->history);
-
- if (priv->cursorObject)
- evas_object_del(priv->cursorObject);
-
-#if ENABLE(CONTEXT_MENUS)
- if (priv->contextMenu)
- ewk_context_menu_free(priv->contextMenu);
-#endif
-
- priv->acceleratedCompositingContext = nullptr;
-
- delete priv;
-}
-
-static void _ewk_view_accelerated_compositing_cb(void* data, Evas_Object*)
-{
- static_cast<WebCore::AcceleratedCompositingContext*>(data)->flushAndRenderLayers();
-}
-
-static void _ewk_view_smart_add(Evas_Object* ewkView)
-{
- const Evas_Smart* smart = evas_object_smart_smart_get(ewkView);
- const Evas_Smart_Class* smartClass = evas_smart_class_get(smart);
- const Ewk_View_Smart_Class* api = reinterpret_cast<const Ewk_View_Smart_Class*>(smartClass);
- EWK_VIEW_SD_GET(ewkView, smartData);
-
- if (!smartData) {
- smartData = static_cast<Ewk_View_Smart_Data*>(calloc(1, sizeof(Ewk_View_Smart_Data)));
- if (!smartData) {
- CRITICAL("could not allocate Ewk_View_Smart_Data");
- return;
- }
- evas_object_smart_data_set(ewkView, smartData);
- }
-
- smartData->bg_color.r = 255;
- smartData->bg_color.g = 255;
- smartData->bg_color.b = 255;
- smartData->bg_color.a = 255;
-
- smartData->self = ewkView;
- smartData->api = api;
-
- _parent_sc.add(ewkView);
-
- smartData->_priv = _ewk_view_priv_new(smartData);
- if (!smartData->_priv)
- return;
-
- EWK_VIEW_PRIV_GET(smartData, priv);
-
- smartData->image = evas_object_image_add(smartData->base.evas);
- if (EINA_UNLIKELY(!smartData->image)) {
- ERR("Could not create backing store object.");
- return;
- }
-
- evas_object_image_alpha_set(smartData->image, false);
- evas_object_image_filled_set(smartData->image, true);
- evas_object_image_smooth_scale_set(smartData->image, smartData->zoom_weak_smooth_scale);
- evas_object_pass_events_set(smartData->image, true);
- evas_object_smart_member_add(smartData->image, ewkView);
- evas_object_show(smartData->image);
-
- priv->acceleratedCompositingContext = std::make_unique<WebCore::AcceleratedCompositingContext>(ewkView, smartData->image);
-
- // Set the pixel get callback.
- evas_object_image_pixels_get_callback_set(smartData->image, _ewk_view_accelerated_compositing_cb, priv->acceleratedCompositingContext.get());
-
- smartData->events_rect = evas_object_rectangle_add(smartData->base.evas);
- evas_object_color_set(smartData->events_rect, 0, 0, 0, 0);
- evas_object_smart_member_add(smartData->events_rect, ewkView);
- evas_object_show(smartData->events_rect);
-
- smartData->main_frame = ewk_frame_add(smartData->base.evas);
- if (!smartData->main_frame) {
- ERR("Could not create main frame object.");
- return;
- }
-
- if (!ewk_frame_init(smartData->main_frame, ewkView, adoptPtr(static_cast<WebCore::FrameLoaderClientEfl*>(&priv->page->mainFrame().loader().client())))) {
- ERR("Could not initialize main frme object.");
- evas_object_del(smartData->main_frame);
- smartData->main_frame = 0;
-
- return;
- }
- EWKPrivate::setCoreFrame(smartData->main_frame, &priv->page->mainFrame());
- priv->page->mainFrame().tree().setName(String());
- priv->page->mainFrame().init();
-
- evas_object_name_set(smartData->main_frame, "EWK_Frame:main");
- evas_object_smart_member_add(smartData->main_frame, ewkView);
- evas_object_show(smartData->main_frame);
-
-#define CONNECT(s, c) evas_object_event_callback_add(ewkView, s, c, smartData)
- CONNECT(EVAS_CALLBACK_FOCUS_IN, _ewk_view_on_focus_in);
- CONNECT(EVAS_CALLBACK_FOCUS_OUT, _ewk_view_on_focus_out);
- CONNECT(EVAS_CALLBACK_MOUSE_WHEEL, _ewk_view_on_mouse_wheel);
- CONNECT(EVAS_CALLBACK_MOUSE_DOWN, _ewk_view_on_mouse_down);
- CONNECT(EVAS_CALLBACK_MOUSE_UP, _ewk_view_on_mouse_up);
- CONNECT(EVAS_CALLBACK_MOUSE_MOVE, _ewk_view_on_mouse_move);
- CONNECT(EVAS_CALLBACK_KEY_DOWN, _ewk_view_on_key_down);
- CONNECT(EVAS_CALLBACK_KEY_UP, _ewk_view_on_key_up);
-#undef CONNECT
-}
-
-static void _ewk_view_smart_del(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET(ewkView, smartData);
- Ewk_View_Private_Data* priv = smartData ? smartData->_priv : 0;
-
- ewk_view_stop(ewkView);
- _parent_sc.del(ewkView);
- _ewk_view_priv_del(priv);
-}
-
-static void _ewk_view_smart_resize(Evas_Object* ewkView, Evas_Coord width, Evas_Coord height)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- // these should be queued and processed in calculate as well!
- evas_object_resize(smartData->image, width, height);
- evas_object_image_size_set(smartData->image, width, height);
- evas_object_image_fill_set(smartData->image, 0, 0, width, height);
-
- priv->acceleratedCompositingContext->resize(WebCore::IntSize(width, height));
-
- smartData->changed.size = true;
- _ewk_view_smart_changed(smartData);
-}
-
-static void _ewk_view_smart_move(Evas_Object* ewkView, Evas_Coord /*x*/, Evas_Coord /*y*/)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- smartData->changed.position = true;
- _ewk_view_smart_changed(smartData);
-}
-
-static inline void _ewk_view_screen_move(uint32_t* image, size_t destinationX, size_t destinationY, size_t sourceX, size_t sourceY, size_t copyWidth, size_t copyHeight, size_t imageWidth)
-{
- uint32_t* sourceBegin = image + (imageWidth * sourceY) + sourceX;
- uint32_t* destinationBegin = image + (imageWidth * destinationY) + destinationX;
-
- size_t copyLength = copyWidth * 4;
-
- int moveLineUpDown;
- int row;
-
- if (sourceY >= destinationY) {
- row = 0;
- moveLineUpDown = 1;
- } else {
- row = copyHeight - 1;
- moveLineUpDown = -1;
- }
-
- uint32_t* source, * destination;
- if ((destinationX > sourceX && destinationX < sourceX + copyWidth)
- || (destinationX < sourceX && destinationX + copyWidth > sourceX)) {
- for (size_t i = 0; i < copyHeight; ++i, row += moveLineUpDown) {
- source = sourceBegin + (imageWidth * row);
- destination = destinationBegin + (imageWidth * row);
- memmove(destination, source, copyLength);
- }
- } else {
- for (size_t i = 0; i < copyHeight; ++i, row += moveLineUpDown) {
- source = sourceBegin + (imageWidth * row);
- destination = destinationBegin + (imageWidth * row);
- memcpy(destination, source, copyLength);
- }
- }
-}
-
-static void _ewk_view_smart_calculate(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET(ewkView, smartData);
- EWK_VIEW_PRIV_GET(smartData, priv);
- Evas_Coord x, y, width, height;
-
- smartData->changed.any = false;
-
- if (!smartData->main_frame)
- return;
-
- evas_object_geometry_get(ewkView, &x, &y, &width, &height);
-
- DBG("ewkView=%p geo=[%d, %d + %dx%d], changed: size=%huu",
- ewkView, x, y, width, height, smartData->changed.size);
-
- if (smartData->changed.size && ((width != smartData->view.w) || (height != smartData->view.h))) {
- WebCore::FrameView* view = priv->page->mainFrame().view();
- if (view) {
- view->resize(width, height);
- view->forceLayout();
- view->adjustViewSize();
- }
- evas_object_resize(smartData->main_frame, width, height);
- evas_object_resize(smartData->events_rect, width, height);
- smartData->changed.frame_rect = true;
- smartData->view.w = width;
- smartData->view.h = height;
-
- // This callback is a good place e.g. to change fixed layout size (ewk_view_fixed_layout_size_set).
- evas_object_smart_callback_call(ewkView, "view,resized", 0);
- }
- smartData->changed.size = false;
-
- if (smartData->changed.position && ((x != smartData->view.x) || (y != smartData->view.y))) {
- evas_object_move(smartData->main_frame, x, y);
- evas_object_move(smartData->image, x, y);
- evas_object_move(smartData->events_rect, x, y);
- smartData->changed.frame_rect = true;
- smartData->view.x = x;
- smartData->view.y = y;
- }
- smartData->changed.position = false;
-
- if (smartData->changed.frame_rect) {
- priv->page->mainFrame().view()->frameRectsChanged();
- smartData->changed.frame_rect = false;
- }
-}
-
-static void _ewk_view_smart_show(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- if (evas_object_clipees_get(smartData->base.clipper))
- evas_object_show(smartData->base.clipper);
- evas_object_show(smartData->image);
-}
-
-static void _ewk_view_smart_hide(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- evas_object_hide(smartData->base.clipper);
- evas_object_hide(smartData->image);
-}
-
-static Eina_Bool _ewk_view_smart_contents_resize(Ewk_View_Smart_Data*, int /*width*/, int /*height*/)
-{
- return true;
-}
-
-static Eina_Bool _ewk_view_smart_zoom_set(Ewk_View_Smart_Data* smartData, float zoom, Evas_Coord centerX, Evas_Coord centerY)
-{
- double px, py;
- Evas_Coord x, y, width, height;
- Eina_Bool result;
-
- ewk_frame_scroll_size_get(smartData->main_frame, &width, &height);
- ewk_frame_scroll_pos_get(smartData->main_frame, &x, &y);
-
- if (width + smartData->view.w > 0)
- px = static_cast<double>(x + centerX) / (width + smartData->view.w);
- else
- px = 0.0;
-
- if (height + smartData->view.h > 0)
- py = static_cast<double>(y + centerY) / (height + smartData->view.h);
- else
- py = 0.0;
-
- result = ewk_frame_page_zoom_set(smartData->main_frame, zoom);
-
- ewk_frame_scroll_size_get(smartData->main_frame, &width, &height);
- x = (width + smartData->view.w) * px - centerX;
- y = (height + smartData->view.h) * py - centerY;
- ewk_frame_scroll_set(smartData->main_frame, x, y);
- return result;
-}
-
-static void _ewk_view_zoom_animated_mark_stop(Ewk_View_Smart_Data* smartData)
-{
- smartData->animated_zoom.zoom.start = 0.0;
- smartData->animated_zoom.zoom.end = 0.0;
- smartData->animated_zoom.zoom.current = 0.0;
-}
-
-static void _ewk_view_zoom_animated_finish(Ewk_View_Smart_Data* smartData)
-{
- EWK_VIEW_PRIV_GET(smartData, priv);
- ecore_animator_del(priv->animatedZoom.animator);
- priv->animatedZoom.animator = 0;
- _ewk_view_zoom_animated_mark_stop(smartData);
- evas_object_smart_callback_call(smartData->self, "zoom,animated,end", 0);
-}
-
-static float _ewk_view_zoom_animated_current(Ewk_View_Private_Data* priv)
-{
- double now = ecore_loop_time_get();
- double delta = now - priv->animatedZoom.time.start;
-
- if (delta > priv->animatedZoom.time.duration)
- delta = priv->animatedZoom.time.duration;
- if (delta < 0.0) // time went back, clock adjusted?
- delta = 0.0;
-
- delta /= priv->animatedZoom.time.duration;
-
- return ((priv->animatedZoom.zoom.range * delta)
- + priv->animatedZoom.zoom.start);
-}
-
-static Eina_Bool _ewk_view_smart_zoom_weak_set(Ewk_View_Smart_Data* smartData, float zoom, Evas_Coord centerX, Evas_Coord centerY)
-{
- float scale = zoom / smartData->animated_zoom.zoom.start;
- Evas_Coord w = smartData->view.w * scale;
- Evas_Coord h = smartData->view.h * scale;
- Evas_Coord deltaX, deltaY, contentWidth, contentHeight;
- Evas_Object* clip = evas_object_clip_get(smartData->image);
-
- ewk_frame_contents_size_get(smartData->main_frame, &contentWidth, &contentHeight);
- if (smartData->view.w > 0 && smartData->view.h > 0) {
- deltaX = (w * (smartData->view.w - centerX)) / smartData->view.w;
- deltaY = (h * (smartData->view.h - centerY)) / smartData->view.h;
- } else {
- deltaX = 0;
- deltaY = 0;
- }
-
- evas_object_image_fill_set(smartData->image, centerX + deltaX, centerY + deltaY, w, h);
-
- if (smartData->view.w > 0 && smartData->view.h > 0) {
- deltaX = ((smartData->view.w - w) * centerX) / smartData->view.w;
- deltaY = ((smartData->view.h - h) * centerY) / smartData->view.h;
- } else {
- deltaX = 0;
- deltaY = 0;
- }
- evas_object_move(clip, smartData->view.x + deltaX, smartData->view.y + deltaY);
-
- if (contentWidth < smartData->view.w)
- w = contentWidth * scale;
- if (contentHeight < smartData->view.h)
- h = contentHeight * scale;
- evas_object_resize(clip, w, h);
-
- return true;
-}
-
-static void _ewk_view_smart_zoom_weak_smooth_scale_set(Ewk_View_Smart_Data* smartData, Eina_Bool smooth_scale)
-{
- evas_object_image_smooth_scale_set(smartData->image, smooth_scale);
-}
-
-static Eina_Bool _ewk_view_zoom_animator_cb(void* data)
-{
- Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
- Evas_Coord centerX, centerY;
- EWK_VIEW_PRIV_GET(smartData, priv);
- double now = ecore_loop_time_get();
-
- centerX = priv->animatedZoom.center.x;
- centerY = priv->animatedZoom.center.y;
-
- // TODO: progressively center (cx, cy) -> (view.x + view.h/2, view.y + view.h/2)
- if (centerX >= smartData->view.w)
- centerX = smartData->view.w - 1;
- if (centerY >= smartData->view.h)
- centerY = smartData->view.h - 1;
-
- if ((now >= priv->animatedZoom.time.end)
- || (now < priv->animatedZoom.time.start)) {
- _ewk_view_zoom_animated_finish(smartData);
- ewk_view_zoom_set(smartData->self, priv->animatedZoom.zoom.end, centerX, centerY);
- smartData->api->sc.calculate(smartData->self);
- return false;
- }
-
- smartData->animated_zoom.zoom.current = _ewk_view_zoom_animated_current(priv);
- smartData->api->zoom_weak_set(smartData, smartData->animated_zoom.zoom.current, centerX, centerY);
- return true;
-}
-
-static void _ewk_view_zoom_animation_start(Ewk_View_Smart_Data* smartData)
-{
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
- if (priv->animatedZoom.animator)
- return;
- priv->animatedZoom.animator = ecore_animator_add
- (_ewk_view_zoom_animator_cb, smartData);
-}
-
-static WebCore::ViewportAttributes _ewk_view_viewport_attributes_compute(Ewk_View_Private_Data* priv)
-{
- int desktopWidth = 980;
- WebCore::IntRect availableRect = enclosingIntRect(priv->page->chrome().client().pageRect());
- WebCore::IntRect deviceRect = enclosingIntRect(priv->page->chrome().client().windowRect());
-
- WebCore::ViewportAttributes attributes = WebCore::computeViewportAttributes(priv->viewportArguments, desktopWidth, deviceRect.width(), deviceRect.height(), priv->page->deviceScaleFactor(), availableRect.size());
- WebCore::restrictMinimumScaleFactorToViewportSize(attributes, availableRect.size(), priv->page->deviceScaleFactor());
- WebCore::restrictScaleFactorToInitialScaleIfNotUserScalable(attributes);
-
- return attributes;
-}
-
-static Eina_Bool _ewk_view_smart_disable_render(Ewk_View_Smart_Data* smartData)
-{
- WARN("not supported by engine. smartData=%p", smartData);
- return false;
-}
-
-static Eina_Bool _ewk_view_smart_enable_render(Ewk_View_Smart_Data* smartData)
-{
- WARN("not supported by engine. smartData=%p", smartData);
- return false;
-}
-
-static const char* _ewk_view_editor_command_string_get(Ewk_View_Private_Data*, Ewk_Editor_Command ewkCommand)
-{
- static EflUniquePtr<Eina_Hash> editorCommandHash;
-
- if (!editorCommandHash) {
- editorCommandHash = EflUniquePtr<Eina_Hash>(eina_hash_int32_new(0));
- for (int i = 0; editorCommands[i].ewkEditorCommand != EWK_EDITOR_COMMAND_NONE; i++)
- eina_hash_add(editorCommandHash.get(), &editorCommands[i].ewkEditorCommand, editorCommands[i].editorCommandString);
- }
- return reinterpret_cast<const char*>(eina_hash_find(editorCommandHash.get(), &ewkCommand));
-}
-
-Eina_Bool ewk_view_smart_set(Ewk_View_Smart_Class* api)
-{
- EINA_SAFETY_ON_NULL_RETURN_VAL(api, false);
-
- if (api->version != EWK_VIEW_SMART_CLASS_VERSION) {
- EINA_LOG_CRIT
- ("Ewk_View_Smart_Class %p is version %lu while %lu was expected.",
- api, api->version, EWK_VIEW_SMART_CLASS_VERSION);
- return false;
- }
-
- if (EINA_UNLIKELY(!_parent_sc.add))
- evas_object_smart_clipped_smart_set(&_parent_sc);
-
- evas_object_smart_clipped_smart_set(&api->sc);
- api->sc.add = _ewk_view_smart_add;
- api->sc.del = _ewk_view_smart_del;
- api->sc.resize = _ewk_view_smart_resize;
- api->sc.move = _ewk_view_smart_move;
- api->sc.calculate = _ewk_view_smart_calculate;
- api->sc.show = _ewk_view_smart_show;
- api->sc.hide = _ewk_view_smart_hide;
- api->sc.data = ewkViewTypeString; /* used by type checking */
- api->sc.callbacks = _ewk_view_callback_names;
-
- api->contents_resize = _ewk_view_smart_contents_resize;
- api->zoom_set = _ewk_view_smart_zoom_set;
- api->zoom_weak_set = _ewk_view_smart_zoom_weak_set;
- api->zoom_weak_smooth_scale_set = _ewk_view_smart_zoom_weak_smooth_scale_set;
- api->disable_render = _ewk_view_smart_disable_render;
- api->enable_render = _ewk_view_smart_enable_render;
-
- api->focus_in = _ewk_view_smart_focus_in;
- api->focus_out = _ewk_view_smart_focus_out;
- api->mouse_wheel = _ewk_view_smart_mouse_wheel;
- api->mouse_down = _ewk_view_smart_mouse_down;
- api->mouse_up = _ewk_view_smart_mouse_up;
- api->mouse_move = _ewk_view_smart_mouse_move;
- api->key_down = _ewk_view_smart_key_down;
- api->key_up = _ewk_view_smart_key_up;
-
- api->add_console_message = _ewk_view_smart_add_console_message;
- api->run_javascript_alert = _ewk_view_smart_run_javascript_alert;
- api->run_javascript_confirm = _ewk_view_smart_run_javascript_confirm;
- api->run_before_unload_confirm = _ewk_view_smart_run_before_unload_confirm;
- api->run_javascript_prompt = _ewk_view_smart_run_javascript_prompt;
- api->should_interrupt_javascript = _ewk_view_smart_should_interrupt_javascript;
-
- return true;
-}
-
-static inline Evas_Smart* _ewk_view_smart_class_new()
-{
- static Ewk_View_Smart_Class api = EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION(ewkViewTypeString);
- static Evas_Smart* smart = 0;
-
- if (EINA_UNLIKELY(!smart)) {
- ewk_view_smart_set(&api);
- smart = evas_smart_class_new(&api.sc);
- }
-
- return smart;
-}
-
-Evas_Object* ewk_view_add(Evas* canvas)
-{
- return evas_object_smart_add(canvas, _ewk_view_smart_class_new());
-}
-
-void ewk_view_fixed_layout_size_set(Evas_Object* ewkView, Evas_Coord width, Evas_Coord height)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- WebCore::FrameView* view = priv->page->mainFrame().view();
- if (!view)
- return;
-
- WebCore::IntSize layoutSize(width, height);
- if (layoutSize.width() <= 0 && layoutSize.height() <= 0) {
- if (!view->useFixedLayout())
- return;
- view->setUseFixedLayout(false);
- } else {
- WebCore::IntSize fixedLayoutSize = view->fixedLayoutSize();
- if (fixedLayoutSize == layoutSize)
- return;
- view->setFixedLayoutSize(layoutSize);
- view->setUseFixedLayout(true);
- }
-
- view->setNeedsLayout();
-}
-
-void ewk_view_fixed_layout_size_get(const Evas_Object* ewkView, Evas_Coord* width, Evas_Coord* height)
-{
- if (width)
- *width = 0;
- if (height)
- *height = 0;
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
- WebCore::FrameView* view = priv->page->mainFrame().view();
- if (view->useFixedLayout()) {
- WebCore::IntSize size = view->fixedLayoutSize();
- if (width)
- *width = size.width();
- if (height)
- *height = size.height();
- }
-}
-
-void ewk_view_theme_set(Evas_Object* ewkView, const char* path)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
- if (!eina_stringshare_replace(&priv->settings.theme, path))
- return;
-
- WebCore::RenderThemeEfl& theme = static_cast<WebCore::RenderThemeEfl&>(priv->page->theme());
- theme.setThemePath(path);
-}
-
-const char* ewk_view_theme_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- return priv->settings.theme;
-}
-
-Evas_Object* ewk_view_frame_main_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- return smartData->main_frame;
-}
-
-Evas_Object* ewk_view_frame_focused_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
-
- WebCore::Frame* core = priv->page->focusController().focusedFrame();
- if (!core)
- return 0;
-
- WebCore::FrameLoaderClientEfl& client = static_cast<WebCore::FrameLoaderClientEfl&>(core->loader().client());
- return client.webFrame();
-}
-
-Eina_Bool ewk_view_uri_set(Evas_Object* ewkView, const char* uri)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_uri_set(smartData->main_frame, uri);
-}
-
-const char* ewk_view_uri_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- return ewk_frame_uri_get(smartData->main_frame);
-}
-
-const Ewk_Text_With_Direction* ewk_view_title_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- return ewk_frame_title_get(smartData->main_frame);
-}
-
-Eina_Bool ewk_view_editable_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_editable_get(smartData->main_frame);
-}
-
-void ewk_view_bg_color_set(Evas_Object* ewkView, int red, int green, int blue, int alpha)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
-
- if (alpha < 0) {
- WARN("Alpha less than zero (%d).", alpha);
- alpha = 0;
- } else if (alpha > 255) {
- WARN("Alpha is larger than 255 (%d).", alpha);
- alpha = 255;
- }
-
-#define CHECK_PREMUL_COLOR(color, alpha) \
- if (color < 0) { \
- WARN("Color component " #color " is less than zero (%d).", color); \
- color = 0; \
- } else if (color > alpha) { \
- WARN("Color component " #color " is greater than alpha (%d, alpha=%d).", \
- color, alpha); \
- color = alpha; \
- }
- CHECK_PREMUL_COLOR(red, alpha);
- CHECK_PREMUL_COLOR(green, alpha);
- CHECK_PREMUL_COLOR(blue, alpha);
-#undef CHECK_PREMUL_COLOR
-
- smartData->bg_color.r = red;
- smartData->bg_color.g = green;
- smartData->bg_color.b = blue;
- smartData->bg_color.a = alpha;
-
- evas_object_image_alpha_set(smartData->image, alpha < 255);
-
- WebCore::FrameView* view = smartData->_priv->page->mainFrame().view();
- if (view) {
- WebCore::Color color;
-
- if (!alpha)
- color = WebCore::Color(0, 0, 0, 0);
- else if (alpha == 255)
- color = WebCore::Color(red, green, blue, alpha);
- else
- color = WebCore::Color(red * 255 / alpha, green * 255 / alpha, blue * 255 / alpha, alpha);
-
- view->updateBackgroundRecursively(color, !alpha);
- }
-}
-
-void ewk_view_bg_color_get(const Evas_Object* ewkView, int* red, int* green, int* blue, int* alpha)
-{
- if (red)
- *red = 0;
- if (green)
- *green = 0;
- if (blue)
- *blue = 0;
- if (alpha)
- *alpha = 0;
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- if (red)
- *red = smartData->bg_color.r;
- if (green)
- *green = smartData->bg_color.g;
- if (blue)
- *blue = smartData->bg_color.b;
- if (alpha)
- *alpha = smartData->bg_color.a;
-}
-
-Eina_Bool ewk_view_text_search(const Evas_Object* ewkView, const char* string, Eina_Bool caseSensitive, Eina_Bool forward, Eina_Bool wrap)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(string, false);
-
- WebCore::FindOptions options = (caseSensitive ? 0 : WebCore::CaseInsensitive) | (forward ? 0 : WebCore::Backwards) | (wrap ? WebCore::WrapAround : 0);
- return priv->page->findString(String::fromUTF8(string), options);
-}
-
-/**
- * Mark matches the given text string in document.
- *
- * @param ewkView view object where to search text.
- * @param string reference string to match.
- * @param caseSensitive if match should be case sensitive or not.
- * @param heightighlight if matches should be highlighted.
- * @param limit maximum amount of matches, or zero to unlimited.
- *
- * @return number of matches.
- */
-unsigned int ewk_view_text_matches_mark(Evas_Object* ewkView, const char* string, Eina_Bool caseSensitive, Eina_Bool highlight, unsigned int limit)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(string, 0);
- WTF::TextCaseSensitivity sensitive;
-
- if (caseSensitive)
- sensitive = WTF::TextCaseSensitive;
- else
- sensitive = WTF::TextCaseInsensitive;
-
- return priv->page->markAllMatchesForText(String::fromUTF8(string), sensitive, highlight, limit);
-}
-
-Eina_Bool ewk_view_text_matches_unmark_all(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- priv->page->unmarkAllTextMatches();
- return true;
-}
-
-Eina_Bool ewk_view_text_matches_highlight_set(Evas_Object* ewkView, Eina_Bool highlight)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_text_matches_highlight_set(smartData->main_frame, highlight);
-}
-
-Eina_Bool ewk_view_text_matches_highlight_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_text_matches_highlight_get(smartData->main_frame);
-}
-
-Eina_Bool ewk_view_editable_set(Evas_Object* ewkView, Eina_Bool editable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_editable_set(smartData->main_frame, editable);
-}
-
-const char* ewk_view_selection_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- CString selectedString = priv->page->focusController().focusedOrMainFrame().editor().selectedText().utf8();
- if (selectedString.isNull())
- return 0;
- return eina_stringshare_add(selectedString.data());
-}
-
-Eina_Bool ewk_view_editor_command_execute(const Evas_Object* ewkView, const Ewk_Editor_Command command, const char* value)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- const char* commandString = _ewk_view_editor_command_string_get(priv, command);
- if (!commandString)
- return false;
-
- return priv->page->focusController().focusedOrMainFrame().editor().command(commandString).execute(WTF::String::fromUTF8(value));
-}
-
-Eina_Bool ewk_view_context_menu_forward_event(Evas_Object* ewkView, const Evas_Event_Mouse_Down* downEvent)
-{
-#if ENABLE(CONTEXT_MENUS)
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- Eina_Bool mouse_press_handled = false;
-
- priv->page->contextMenuController().clearContextMenu();
- if (priv->contextMenu)
- ewk_context_menu_free(priv->contextMenu);
-
- WebCore::Frame& mainFrame = priv->page->mainFrame();
- Evas_Coord x, y;
- evas_object_geometry_get(smartData->self, &x, &y, 0, 0);
-
- WebCore::PlatformMouseEvent event(downEvent, WebCore::IntPoint(x, y));
-
- if (mainFrame.view()) {
- mouse_press_handled =
- mainFrame.eventHandler().handleMousePressEvent(event);
- }
-
- if (!mainFrame.eventHandler().sendContextMenuEvent(event))
- return false;
-
- WebCore::ContextMenu* coreMenu =
- priv->page->contextMenuController().contextMenu();
- if (!coreMenu) {
- // WebCore decided not to create a context menu, return true if event
- // was handled by handleMouseReleaseEvent
- return mouse_press_handled;
- }
-
- priv->contextMenu = ewk_context_menu_new(ewkView, &priv->page->contextMenuController(), coreMenu);
- if (!priv->contextMenu)
- return false;
-
- ewk_context_menu_show(priv->contextMenu);
-
- return true;
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(downEvent);
- return false;
-#endif
-}
-
-double ewk_view_load_progress_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, -1.0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, -1.0);
- return priv->page->progress().estimatedProgress();
-}
-
-Eina_Bool ewk_view_stop(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_stop(smartData->main_frame);
-}
-
-Eina_Bool ewk_view_reload(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_reload(smartData->main_frame);
-}
-
-Eina_Bool ewk_view_reload_full(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_reload_full(smartData->main_frame);
-}
-
-Eina_Bool ewk_view_back(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_back(smartData->main_frame);
-}
-
-Eina_Bool ewk_view_forward(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_forward(smartData->main_frame);
-}
-
-Eina_Bool ewk_view_navigate(Evas_Object* ewkView, int steps)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_navigate(smartData->main_frame, steps);
-}
-
-Eina_Bool ewk_view_back_possible(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_back_possible(smartData->main_frame);
-}
-
-Eina_Bool ewk_view_forward_possible(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_forward_possible(smartData->main_frame);
-}
-
-Eina_Bool ewk_view_navigate_possible(Evas_Object* ewkView, int steps)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_navigate_possible(smartData->main_frame, steps);
-}
-
-Eina_Bool ewk_view_history_enable_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return static_cast<WebCore::BackForwardList*>(priv->page->backForward().client())->enabled();
-}
-
-Eina_Bool ewk_view_history_enable_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- static_cast<WebCore::BackForwardList*>(priv->page->backForward().client())->setEnabled(enable);
- return true;
-}
-
-Ewk_History* ewk_view_history_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- if (!static_cast<WebCore::BackForwardList*>(priv->page->backForward().client())->enabled()) {
- ERR("asked history, but it's disabled! Returning 0!");
- return 0;
- }
- return priv->history;
-}
-
-Eina_Bool ewk_view_visited_link_add(Evas_Object* ewkView, const char* visitedUrl)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(priv->page, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(priv->page->groupPtr(), false);
-
- WebCore::URL kurl(WebCore::URL(), WTF::String::fromUTF8(visitedUrl));
- priv->page->groupPtr()->addVisitedLink(kurl);
- return true;
-}
-
-float ewk_view_zoom_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, -1.0);
- return ewk_frame_page_zoom_get(smartData->main_frame);
-}
-
-Eina_Bool ewk_view_zoom_set(Evas_Object* ewkView, float zoom, Evas_Coord centerX, Evas_Coord centerY)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET(smartData, priv);
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api->zoom_set, false);
-
- if (!priv->settings.zoomRange.userScalable) {
- WARN("userScalable is false");
- return false;
- }
-
- if (zoom < priv->settings.zoomRange.minScale) {
- WARN("zoom level is < %f : %f", priv->settings.zoomRange.minScale, zoom);
- return false;
- }
- if (zoom > priv->settings.zoomRange.maxScale) {
- WARN("zoom level is > %f : %f", priv->settings.zoomRange.maxScale, zoom);
- return false;
- }
-
- _ewk_view_zoom_animated_mark_stop(smartData);
- return smartData->api->zoom_set(smartData, zoom, centerX, centerY);
-}
-
-float ewk_view_page_zoom_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, -1.0);
- return ewk_frame_page_zoom_get(smartData->main_frame);
-}
-
-Eina_Bool ewk_view_page_zoom_set(Evas_Object* ewkView, float pageZoomFactor)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_page_zoom_set(smartData->main_frame, pageZoomFactor);
-}
-
-float ewk_view_scale_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, -1.0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, -1.0);
- return priv->page->pageScaleFactor();
-}
-
-Eina_Bool ewk_view_scale_set(Evas_Object* ewkView, float scaleFactor, Evas_Coord scrollX, Evas_Coord scrollY)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- float currentScaleFactor = ewk_view_scale_get(ewkView);
- if (currentScaleFactor == -1)
- return false;
-
- priv->page->setPageScaleFactor(scaleFactor, WebCore::IntPoint(scrollX, scrollY));
- return true;
-}
-
-float ewk_view_text_zoom_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, -1.0);
- return ewk_frame_text_zoom_get(smartData->main_frame);
-}
-
-Eina_Bool ewk_view_text_zoom_set(Evas_Object* ewkView, float textZoomFactor)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return ewk_frame_text_zoom_set(smartData->main_frame, textZoomFactor);
-}
-
-Eina_Bool ewk_view_zoom_weak_smooth_scale_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- return smartData->zoom_weak_smooth_scale;
-}
-
-void ewk_view_zoom_weak_smooth_scale_set(Evas_Object* ewkView, Eina_Bool smoothScale)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- smoothScale = !!smoothScale;
- if (smartData->zoom_weak_smooth_scale == smoothScale)
- return;
- smartData->zoom_weak_smooth_scale = smoothScale;
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api->zoom_weak_smooth_scale_set);
- smartData->api->zoom_weak_smooth_scale_set(smartData, smoothScale);
-}
-
-Eina_Bool ewk_view_zoom_weak_set(Evas_Object* ewkView, float zoom, Evas_Coord centerX, Evas_Coord centerY)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET(smartData, priv);
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api->zoom_weak_set, false);
-
- if (!priv->settings.zoomRange.userScalable) {
- WARN("userScalable is false");
- return false;
- }
-
- if (zoom < priv->settings.zoomRange.minScale) {
- WARN("zoom level is < %f : %f", priv->settings.zoomRange.minScale, zoom);
- return false;
- }
- if (zoom > priv->settings.zoomRange.maxScale) {
- WARN("zoom level is > %f : %f", priv->settings.zoomRange.maxScale, zoom);
- return false;
- }
-
- smartData->animated_zoom.zoom.start = ewk_frame_page_zoom_get(smartData->main_frame);
- smartData->animated_zoom.zoom.end = zoom;
- smartData->animated_zoom.zoom.current = zoom;
- return smartData->api->zoom_weak_set(smartData, zoom, centerX, centerY);
-}
-
-Eina_Bool ewk_view_zoom_animated_mark_start(Evas_Object* ewkView, float zoom)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- smartData->animated_zoom.zoom.start = zoom;
- return true;
-}
-
-Eina_Bool ewk_view_zoom_animated_mark_end(Evas_Object* ewkView, float zoom)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- smartData->animated_zoom.zoom.end = zoom;
- return true;
-}
-
-Eina_Bool ewk_view_zoom_animated_mark_current(Evas_Object* ewkView, float zoom)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- smartData->animated_zoom.zoom.current = zoom;
- return true;
-}
-
-Eina_Bool ewk_view_zoom_animated_mark_stop(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- _ewk_view_zoom_animated_mark_stop(smartData);
- return true;
-}
-
-Eina_Bool ewk_view_zoom_animated_set(Evas_Object* ewkView, float zoom, float duration, Evas_Coord centerX, Evas_Coord centerY)
-{
- double now;
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api->zoom_weak_set, false);
-
- if (!priv->settings.zoomRange.userScalable) {
- WARN("userScalable is false");
- return false;
- }
-
- if (zoom < priv->settings.zoomRange.minScale) {
- WARN("zoom level is < %f : %f", priv->settings.zoomRange.minScale, zoom);
- return false;
- }
- if (zoom > priv->settings.zoomRange.maxScale) {
- WARN("zoom level is > %f : %f", priv->settings.zoomRange.maxScale, zoom);
- return false;
- }
-
- if (priv->animatedZoom.animator)
- priv->animatedZoom.zoom.start = _ewk_view_zoom_animated_current(priv);
- else {
- priv->animatedZoom.zoom.start = ewk_frame_page_zoom_get(smartData->main_frame);
- _ewk_view_zoom_animation_start(smartData);
- }
-
- if (centerX < 0)
- centerX = 0;
- if (centerY < 0)
- centerY = 0;
-
- now = ecore_loop_time_get();
- priv->animatedZoom.time.start = now;
- priv->animatedZoom.time.end = now + duration;
- priv->animatedZoom.time.duration = duration;
- priv->animatedZoom.zoom.end = zoom;
- priv->animatedZoom.zoom.range = (priv->animatedZoom.zoom.end - priv->animatedZoom.zoom.start);
- priv->animatedZoom.center.x = centerX;
- priv->animatedZoom.center.y = centerY;
- smartData->animated_zoom.zoom.current = priv->animatedZoom.zoom.start;
- smartData->animated_zoom.zoom.start = priv->animatedZoom.zoom.start;
- smartData->animated_zoom.zoom.end = priv->animatedZoom.zoom.end;
-
- return true;
-}
-
-unsigned int ewk_view_imh_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- return priv->imh;
-}
-
-Eina_Bool ewk_view_enable_render(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api->enable_render, false);
- return smartData->api->enable_render(smartData);
-}
-
-Eina_Bool ewk_view_disable_render(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api->disable_render, false);
- return smartData->api->disable_render(smartData);
-}
-
-const char* ewk_view_setting_user_agent_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- return priv->settings.userAgent;
-}
-
-Eina_Bool ewk_view_setting_user_agent_set(Evas_Object* ewkView, const char* userAgent)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- if (eina_stringshare_replace(&priv->settings.userAgent, userAgent)) {
- WebCore::FrameLoaderClientEfl& client = static_cast<WebCore::FrameLoaderClientEfl&>(priv->page->mainFrame().loader().client());
- client.setCustomUserAgent(String::fromUTF8(userAgent));
- }
- return true;
-}
-
-const char* ewk_view_setting_user_stylesheet_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- return priv->settings.userStylesheet;
-}
-
-Eina_Bool ewk_view_setting_user_stylesheet_set(Evas_Object* ewkView, const char* uri)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- if (eina_stringshare_replace(&priv->settings.userStylesheet, uri)) {
- WebCore::URL kurl(WebCore::URL(), String::fromUTF8(uri));
- priv->page->settings().setUserStyleSheetLocation(kurl);
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_auto_load_images_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.autoLoadImages;
-}
-
-Eina_Bool ewk_view_setting_auto_load_images_set(Evas_Object* ewkView, Eina_Bool automatic)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- automatic = !!automatic;
- if (priv->settings.autoLoadImages != automatic) {
- priv->page->settings().setLoadsImagesAutomatically(automatic);
- priv->settings.autoLoadImages = automatic;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_auto_shrink_images_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.autoShrinkImages;
-}
-
-Eina_Bool ewk_view_setting_auto_shrink_images_set(Evas_Object* ewkView, Eina_Bool automatic)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- automatic = !!automatic;
- if (priv->settings.autoShrinkImages != automatic) {
- priv->page->settings().setShrinksStandaloneImagesToFit(automatic);
- priv->settings.autoShrinkImages = automatic;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_enable_auto_resize_window_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.enableAutoResizeWindow;
-}
-
-Eina_Bool ewk_view_setting_enable_auto_resize_window_set(Evas_Object* ewkView, Eina_Bool resizable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- priv->settings.enableAutoResizeWindow = resizable;
- return true;
-}
-
-Eina_Bool ewk_view_setting_enable_scripts_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.enableScripts;
-}
-
-Eina_Bool ewk_view_setting_enable_scripts_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.enableScripts != enable) {
- priv->page->settings().setScriptEnabled(enable);
- priv->settings.enableScripts = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_enable_plugins_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.enablePlugins;
-}
-
-Eina_Bool ewk_view_setting_enable_plugins_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.enablePlugins != enable) {
- priv->page->settings().setPluginsEnabled(enable);
- priv->settings.enablePlugins = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_enable_frame_flattening_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.enableFrameFlattening;
-}
-
-Eina_Bool ewk_view_setting_enable_frame_flattening_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.enableFrameFlattening != enable) {
- priv->page->settings().setFrameFlatteningEnabled(enable);
- priv->settings.enableFrameFlattening = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_scripts_can_open_windows_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.scriptsCanOpenWindows;
-}
-
-Eina_Bool ewk_view_setting_scripts_can_open_windows_set(Evas_Object* ewkView, Eina_Bool allow)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- allow = !!allow;
- if (priv->settings.scriptsCanOpenWindows != allow) {
- priv->page->settings().setJavaScriptCanOpenWindowsAutomatically(allow);
- priv->settings.scriptsCanOpenWindows = allow;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_scripts_can_close_windows_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.scriptsCanCloseWindows;
-}
-
-Eina_Bool ewk_view_setting_scripts_can_close_windows_set(Evas_Object* ewkView, Eina_Bool allow)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- allow = !!allow;
- if (priv->settings.scriptsCanCloseWindows != allow) {
- priv->page->settings().setAllowScriptsToCloseWindows(allow);
- priv->settings.scriptsCanCloseWindows = allow;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_scripts_can_access_clipboard_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.scriptsCanAccessClipboard;
-}
-
-Eina_Bool ewk_view_setting_scripts_can_access_clipboard_set(Evas_Object* ewkView, Eina_Bool allow)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- allow = !!allow;
- if (priv->settings.scriptsCanAccessClipboard != allow) {
- priv->page->settings().setJavaScriptCanAccessClipboard(allow);
- priv->page->settings().setDOMPasteAllowed(allow);
- priv->settings.scriptsCanAccessClipboard = allow;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_resizable_textareas_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.resizableTextareas;
-}
-
-Eina_Bool ewk_view_setting_resizable_textareas_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.resizableTextareas != enable) {
- priv->page->settings().setTextAreasAreResizable(enable);
- priv->settings.resizableTextareas = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_private_browsing_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.privateBrowsing;
-}
-
-Eina_Bool ewk_view_setting_private_browsing_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.privateBrowsing != enable) {
- priv->page->enableLegacyPrivateBrowsing(enable);
- priv->settings.privateBrowsing = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_application_cache_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.offlineAppCache;
-}
-
-Eina_Bool ewk_view_setting_application_cache_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.offlineAppCache != enable) {
- priv->page->settings().setOfflineWebApplicationCacheEnabled(enable);
- priv->settings.offlineAppCache = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_caret_browsing_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.caretBrowsing;
-}
-
-Eina_Bool ewk_view_setting_caret_browsing_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.caretBrowsing != enable) {
- priv->page->settings().setCaretBrowsingEnabled(enable);
- priv->settings.caretBrowsing = enable;
- }
- return true;
-}
-
-const char* ewk_view_setting_encoding_custom_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- Evas_Object* main_frame = ewk_view_frame_main_get(ewkView);
- WebCore::Frame* core_frame = EWKPrivate::coreFrame(main_frame);
-
- String overrideEncoding = core_frame->loader().documentLoader()->overrideEncoding();
-
- if (overrideEncoding.isEmpty())
- return 0;
-
- eina_stringshare_replace(&priv->settings.encodingCustom, overrideEncoding.utf8().data());
- return priv->settings.encodingCustom;
-}
-
-Eina_Bool ewk_view_setting_encoding_custom_set(Evas_Object* ewkView, const char* encoding)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- Evas_Object* main_frame = ewk_view_frame_main_get(ewkView);
- WebCore::Frame* coreFrame = EWKPrivate::coreFrame(main_frame);
- DBG("%s", encoding);
- if (eina_stringshare_replace(&priv->settings.encodingCustom, encoding))
- coreFrame->loader().reloadWithOverrideEncoding(String::fromUTF8(encoding));
- return true;
-}
-
-const char* ewk_view_setting_encoding_default_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- return priv->settings.encodingDefault;
-}
-
-Eina_Bool ewk_view_setting_encoding_default_set(Evas_Object* ewkView, const char* encoding)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- if (eina_stringshare_replace(&priv->settings.encodingDefault, encoding))
- priv->page->settings().setDefaultTextEncodingName(String::fromUTF8(encoding));
- return true;
-}
-
-Eina_Bool ewk_view_setting_encoding_detector_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.encodingDetector != enable) {
- priv->page->settings().setUsesEncodingDetector(enable);
- priv->settings.encodingDetector = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_encoding_detector_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.encodingDetector;
-}
-
-Eina_Bool ewk_view_setting_enable_developer_extras_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.enableDeveloperExtras;
-}
-
-Eina_Bool ewk_view_setting_enable_developer_extras_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.enableDeveloperExtras != enable) {
- priv->page->settings().setDeveloperExtrasEnabled(enable);
- priv->settings.enableDeveloperExtras = enable;
- }
- return true;
-}
-
-int ewk_view_setting_font_minimum_size_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- return priv->settings.fontMinimumSize;
-}
-
-Eina_Bool ewk_view_setting_font_minimum_size_set(Evas_Object* ewkView, int size)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- if (priv->settings.fontMinimumSize != size) {
- priv->page->settings().setMinimumFontSize(size);
- priv->settings.fontMinimumSize = size;
- }
- return true;
-}
-
-int ewk_view_setting_font_minimum_logical_size_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- return priv->settings.fontMinimumLogicalSize;
-}
-
-Eina_Bool ewk_view_setting_font_minimum_logical_size_set(Evas_Object* ewkView, int size)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- if (priv->settings.fontMinimumLogicalSize != size) {
- priv->page->settings().setMinimumLogicalFontSize(size);
- priv->settings.fontMinimumLogicalSize = size;
- }
- return true;
-}
-
-int ewk_view_setting_font_default_size_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- return priv->settings.fontDefaultSize;
-}
-
-Eina_Bool ewk_view_setting_font_default_size_set(Evas_Object* ewkView, int size)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- if (priv->settings.fontDefaultSize != size) {
- priv->page->settings().setDefaultFontSize(size);
- priv->settings.fontDefaultSize = size;
- }
- return true;
-}
-
-int ewk_view_setting_font_monospace_size_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- return priv->settings.fontMonospaceSize;
-}
-
-Eina_Bool ewk_view_setting_font_monospace_size_set(Evas_Object* ewkView, int size)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- if (priv->settings.fontMonospaceSize != size) {
- priv->page->settings().setDefaultFixedFontSize(size);
- priv->settings.fontMonospaceSize = size;
- }
- return true;
-}
-
-const char* ewk_view_font_family_name_get(const Evas_Object* ewkView, Ewk_Font_Family fontFamily)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
-
- switch (fontFamily) {
- case EWK_FONT_FAMILY_STANDARD:
- return priv->settings.fontStandard;
- case EWK_FONT_FAMILY_CURSIVE:
- return priv->settings.fontCursive;
- case EWK_FONT_FAMILY_FANTASY:
- return priv->settings.fontFantasy;
- case EWK_FONT_FAMILY_MONOSPACE:
- return priv->settings.fontMonospace;
- case EWK_FONT_FAMILY_SERIF:
- return priv->settings.fontSerif;
- case EWK_FONT_FAMILY_SANS_SERIF:
- return priv->settings.fontSansSerif;
- }
- return 0;
-}
-
-Eina_Bool ewk_view_font_family_name_set(Evas_Object* ewkView, Ewk_Font_Family fontFamily, const char* name)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- switch (fontFamily) {
- case EWK_FONT_FAMILY_STANDARD:
- eina_stringshare_replace(&priv->settings.fontStandard, name);
- priv->page->settings().setStandardFontFamily(AtomicString::fromUTF8(name));
- break;
- case EWK_FONT_FAMILY_CURSIVE:
- eina_stringshare_replace(&priv->settings.fontCursive, name);
- priv->page->settings().setCursiveFontFamily(AtomicString::fromUTF8(name));
- break;
- case EWK_FONT_FAMILY_FANTASY:
- eina_stringshare_replace(&priv->settings.fontFantasy, name);
- priv->page->settings().setFantasyFontFamily(AtomicString::fromUTF8(name));
- break;
- case EWK_FONT_FAMILY_MONOSPACE:
- eina_stringshare_replace(&priv->settings.fontMonospace, name);
- priv->page->settings().setFixedFontFamily(AtomicString::fromUTF8(name));
- break;
- case EWK_FONT_FAMILY_SERIF:
- eina_stringshare_replace(&priv->settings.fontSerif, name);
- priv->page->settings().setSerifFontFamily(AtomicString::fromUTF8(name));
- break;
- case EWK_FONT_FAMILY_SANS_SERIF:
- eina_stringshare_replace(&priv->settings.fontSansSerif, name);
- priv->page->settings().setSansSerifFontFamily(AtomicString::fromUTF8(name));
- break;
- default:
- return false;
- }
-
- return true;
-}
-
-Eina_Bool ewk_view_setting_spatial_navigation_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.spatialNavigation;
-}
-
-Eina_Bool ewk_view_setting_spatial_navigation_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.spatialNavigation != enable) {
- priv->page->settings().setSpatialNavigationEnabled(enable);
- priv->settings.spatialNavigation = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_local_storage_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.localStorage;
-}
-
-Eina_Bool ewk_view_setting_local_storage_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.localStorage != enable) {
- priv->page->settings().setLocalStorageEnabled(enable);
- priv->settings.localStorage = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_page_cache_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.pageCache;
-}
-
-Eina_Bool ewk_view_setting_page_cache_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.pageCache != enable) {
- priv->page->settings().setUsesPageCache(enable);
- priv->settings.pageCache = enable;
- }
- return true;
-}
-
-const char* ewk_view_setting_local_storage_database_path_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- return priv->settings.localStorageDatabasePath;
-}
-
-Eina_Bool ewk_view_setting_local_storage_database_path_set(Evas_Object* ewkView, const char* path)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- if (eina_stringshare_replace(&priv->settings.localStorageDatabasePath, path))
- priv->page->settings().setLocalStorageDatabasePath(String::fromUTF8(path));
- return true;
-}
-
-Eina_Bool ewk_view_setting_minimum_timer_interval_set(Evas_Object* ewkView, double interval)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- if (fabs(priv->settings.domTimerInterval - interval) >= std::numeric_limits<double>::epsilon()) {
- priv->page->settings().setMinDOMTimerInterval(interval);
- priv->settings.domTimerInterval = interval;
- }
- return true;
-}
-
-double ewk_view_setting_minimum_timer_interval_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, -1.0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, -1.0);
- return priv->settings.domTimerInterval;
-}
-
-Eina_Bool ewk_view_setting_enable_webgl_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.webGLEnabled;
-}
-
-Eina_Bool ewk_view_setting_enable_webgl_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.webGLEnabled != enable) {
- priv->page->settings().setWebGLEnabled(enable);
- priv->settings.webGLEnabled = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_include_links_in_focus_chain_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.tabsToLinks;
-}
-
-Eina_Bool ewk_view_setting_include_links_in_focus_chain_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- priv->settings.tabsToLinks = enable;
- return true;
-}
-
-Eina_Bool ewk_view_setting_enable_hyperlink_auditing_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.hyperlinkAuditingEnabled;
-}
-
-Eina_Bool ewk_view_setting_enable_hyperlink_auditing_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.hyperlinkAuditingEnabled != enable) {
- priv->page->settings().setHyperlinkAuditingEnabled(enable);
- priv->settings.hyperlinkAuditingEnabled = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_allow_universal_access_from_file_urls_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.allowUniversalAccessFromFileURLs != enable) {
- priv->page->settings().setAllowUniversalAccessFromFileURLs(enable);
- priv->settings.allowUniversalAccessFromFileURLs = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_allow_universal_access_from_file_urls_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.allowUniversalAccessFromFileURLs;
-}
-
-Eina_Bool ewk_view_setting_allow_file_access_from_file_urls_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.allowFileAccessFromFileURLs != enable) {
- priv->page->settings().setAllowFileAccessFromFileURLs(enable);
- priv->settings.allowFileAccessFromFileURLs = enable;
- }
- return true;
-}
-
-Eina_Bool ewk_view_setting_allow_file_access_from_file_urls_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.allowFileAccessFromFileURLs;
-}
-
-Ewk_View_Smart_Data* ewk_view_smart_data_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- return smartData;
-}
-
-/**
- * Do layout if required, applied recursively.
- *
- * @param priv private handle pointer of the view to layout.
- *
- * @note this is not for general use but just for subclasses that want
- * to define their own backing store.
- */
-void ewk_view_layout_if_needed_recursive(Ewk_View_Private_Data* priv)
-{
- EINA_SAFETY_ON_NULL_RETURN(priv);
-
- WebCore::FrameView* view = priv->page->mainFrame().view();
- if (!view) {
- ERR("no main frame view");
- return;
- }
- view->updateLayoutAndStyleIfNeededRecursive();
-}
-
-/**
- * @internal
- * Reports the view is ready to be displayed as all elements are aready.
- *
- * Emits signal: "ready" with no parameters.
- */
-void ewk_view_ready(Evas_Object* ewkView)
-{
- DBG("ewkView=%p", ewkView);
- evas_object_smart_callback_call(ewkView, "ready", 0);
-}
-
-/**
- * @internal
- * Reports the state of input method changed. This is triggered, for example
- * when a input field received/lost focus
- *
- * Emits signal: "inputmethod,changed" with a boolean indicating whether it's
- * enabled or not.
- */
-void ewk_view_input_method_state_set(Evas_Object* ewkView, bool active)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET(smartData, priv);
- WebCore::Frame& focusedFrame = priv->page->focusController().focusedOrMainFrame();
-
- priv->imh = 0;
- if (focusedFrame.document()
- && focusedFrame.document()->focusedElement()
- && isHTMLInputElement(focusedFrame.document()->focusedElement())) {
- WebCore::HTMLInputElement* inputElement;
-
- inputElement = static_cast<WebCore::HTMLInputElement*>(focusedFrame.document()->focusedElement());
- if (inputElement) {
- // for password fields, active == false
- if (!active) {
- active = inputElement->isPasswordField();
- priv->imh = inputElement->isPasswordField() * EWK_IMH_PASSWORD;
- } else {
- // Set input method hints for "number", "tel", "email", and "url" input elements.
- priv->imh |= inputElement->isTelephoneField() * EWK_IMH_TELEPHONE;
- priv->imh |= inputElement->isNumberField() * EWK_IMH_NUMBER;
- priv->imh |= inputElement->isEmailField() * EWK_IMH_EMAIL;
- priv->imh |= inputElement->isURLField() * EWK_IMH_URL;
- }
- }
- }
-
- evas_object_smart_callback_call(ewkView, "inputmethod,changed", (void*)active);
-}
-
-/**
- * @internal
- * The view title was changed by the frame loader.
- *
- * Emits signal: "title,changed" with pointer to new title string.
- */
-void ewk_view_title_set(Evas_Object* ewkView, const Ewk_Text_With_Direction* title)
-{
- DBG("ewkView=%p, title=%s", ewkView, (title && title->string) ? title->string : "(null)");
- evas_object_smart_callback_call(ewkView, "title,changed", (void*)title);
-}
-
-/**
- * @internal
- * Reports that main frame's uri changed.
- *
- * Emits signal: "uri,changed" with pointer to the new uri string.
- */
-void ewk_view_uri_changed(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- const char* uri = ewk_frame_uri_get(smartData->main_frame);
- DBG("ewkView=%p, uri=%s", ewkView, uri ? uri : "(null)");
- evas_object_smart_callback_call(ewkView, "uri,changed", (void*)uri);
-}
-
-/**
- * @internal
- * Reports that a DOM document object has finished loading for @p frame.
- *
- * @param ewkView View which contains the frame.
- * @param frame The frame whose load has triggered the event.
- *
- * Emits signal: "load,document,finished" with @p frame as the parameter.
- */
-void ewk_view_load_document_finished(Evas_Object* ewkView, Evas_Object* frame)
-{
- evas_object_smart_callback_call(ewkView, "load,document,finished", frame);
-}
-
-/**
- * @internal
- * Reports the view started loading something.
- *
- * @param ewkView View.
- * @param ewkFrame Frame being loaded.
- *
- * Emits signal: "load,started" with no parameters.
- */
-void ewk_view_load_started(Evas_Object* ewkView, Evas_Object* ewkFrame)
-{
- DBG("ewkView=%p, ewkFrame=%p", ewkView, ewkFrame);
- evas_object_smart_callback_call(ewkView, "load,started", ewkFrame);
-}
-
-/**
- * Reports the frame started loading something.
- *
- * @param ewkView View.
- *
- * Emits signal: "load,started" on main frame with no parameters.
- */
-void ewk_view_frame_main_load_started(Evas_Object* ewkView)
-{
- DBG("ewkView=%p", ewkView);
- Evas_Object* frame = ewk_view_frame_main_get(ewkView);
- evas_object_smart_callback_call(frame, "load,started", 0);
-}
-
-/**
- * @internal
- * Reports the main frame started provisional load.
- *
- * @param ewkView View.
- *
- * Emits signal: "load,provisional" on View with no parameters.
- */
-void ewk_view_load_provisional(Evas_Object* ewkView)
-{
- DBG("ewkView=%p", ewkView);
- evas_object_smart_callback_call(ewkView, "load,provisional", 0);
-}
-
-/**
- * @internal
- * Reports the main frame provisional load failed.
- *
- * @param ewkView View.
- * @param error Load error.
- *
- * Emits signal: "load,provisional" on View with pointer to Ewk_Frame_Load_Error.
- */
-void ewk_view_load_provisional_failed(Evas_Object* ewkView, const Ewk_Frame_Load_Error* error)
-{
- DBG("ewkView=%p, error=%p", ewkView, error);
- evas_object_smart_callback_call(ewkView, "load,provisional,failed", const_cast<Ewk_Frame_Load_Error*>(error));
-}
-
-/**
- * @internal
- * Reports view can be shown after a new window is created.
- *
- * @param ewkView Frame.
- *
- * Emits signal: "load,newwindow,show" on view with no parameters.
- */
-void ewk_view_load_show(Evas_Object* ewkView)
-{
- DBG("ewkView=%p", ewkView);
- evas_object_smart_callback_call(ewkView, "load,newwindow,show", 0);
-}
-
-/**
- * @internal
- * Reports an onload event for @p frame.
- *
- * @param ewkView View which contains the frame.
- * @param frame The frame whose onload event was received.
- *
- * Emits signal: "onload,event" with @p frame as the parameter.
- */
-void ewk_view_onload_event(Evas_Object* ewkView, Evas_Object* frame)
-{
- evas_object_smart_callback_call(ewkView, "onload,event", frame);
-}
-
-/**
- * @internal
- * Reports the main frame received an icon.
- *
- * @param ewkView View.
- *
- * Emits signal: "icon,received" with no parameters.
- */
-void ewk_view_frame_main_icon_received(Evas_Object* ewkView)
-{
- DBG("ewkView=%p", ewkView);
- Evas_Object* frame = ewk_view_frame_main_get(ewkView);
- evas_object_smart_callback_call(frame, "icon,received", 0);
-}
-
-/**
- * @internal
- * Reports load finished, optionally with error information.
- *
- * Emits signal: "load,finished" with pointer to #Ewk_Frame_Load_Error
- * if any error, or @c 0 if successful load.
- *
- * @note there should not be any error stuff here, but trying to be
- * compatible with previous WebKit.
- */
-void ewk_view_load_finished(Evas_Object* ewkView, const Ewk_Frame_Load_Error* error)
-{
- DBG("ewkView=%p, error=%p", ewkView, error);
- evas_object_smart_callback_call(ewkView, "load,finished", (void*)error);
-}
-
-/**
- * @internal
- * Reports load failed with error information.
- *
- * Emits signal: "load,error" with pointer to Ewk_Frame_Load_Error.
- */
-void ewk_view_load_error(Evas_Object* ewkView, const Ewk_Frame_Load_Error* error)
-{
- DBG("ewkView=%p, error=%p", ewkView, error);
- evas_object_smart_callback_call(ewkView, "load,error", (void*)error);
-}
-
-/**
- * @internal
- * Reports load progress changed.
- *
- * Emits signal: "load,progress" with pointer to a double from 0.0 to 1.0.
- */
-void ewk_view_load_progress_changed(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- // Evas_Coord width, height;
- double progress = priv->page->progress().estimatedProgress();
-
- DBG("ewkView=%p (p=%0.3f)", ewkView, progress);
-
- evas_object_smart_callback_call(ewkView, "load,progress", &progress);
-}
-
-/**
- * @internal
- * Reports view @param ewkView should be restored to default conditions
- *
- * @param ewkView View.
- * @param frame Frame that originated restore.
- *
- * Emits signal: "restore" with frame.
- */
-void ewk_view_restore_state(Evas_Object* ewkView, Evas_Object* frame)
-{
- evas_object_smart_callback_call(ewkView, "restore", frame);
-}
-
-/**
- * @internal
- * Delegates to browser the creation of a new window. If it is not implemented,
- * current view is returned, so navigation might continue in same window. If
- * browser supports the creation of new windows, a new Ewk_Window_Features is
- * created and passed to browser. If it intends to keep the request for opening
- * the window later it must increments the Ewk_Winwdow_Features ref count by
- * calling ewk_window_features_ref(window_features). Otherwise this struct will
- * be freed after returning to this function.
- *
- * @param ewkView Current view.
- * @param javascript @c true if the new window is originated from javascript,
- * @c false otherwise
- * @param window_features Features of the new window being created. If it's @c
- * 0, it will be created a window with default features.
- *
- * @return New view, in case smart class implements the creation of new windows;
- * else, current view @param ewkView or @c 0 on failure.
- *
- * @see ewk_window_features_ref().
- */
-Evas_Object* ewk_view_window_create(Evas_Object* ewkView, bool javascript, const WebCore::WindowFeatures* coreFeatures)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
-
- if (!smartData->api->window_create)
- return ewkView;
-
- Ewk_Window_Features* windowFeatures = ewk_window_features_new_from_core(coreFeatures);
- if (!windowFeatures)
- return 0;
-
- Evas_Object* view = smartData->api->window_create(smartData, javascript, windowFeatures);
- ewk_window_features_unref(windowFeatures);
-
- return view;
-}
-
-/**
- * @internal
- * Reports a window should be closed. It's client responsibility to decide if
- * the window should in fact be closed. So, if only windows created by javascript
- * are allowed to be closed by this call, browser needs to save the javascript
- * flag when the window is created. Since a window can close itself (for example
- * with a 'self.close()' in Javascript) browser must postpone the deletion to an
- * idler.
- *
- * @param ewkView View to be closed.
- */
-void ewk_view_window_close(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
-
- ewk_view_stop(ewkView);
- if (!smartData->api->window_close)
- return;
- smartData->api->window_close(smartData);
-}
-
-/**
- * @internal
- * Reports mouse has moved over a link.
- *
- * Emits signal: "link,hover,in"
- */
-void ewk_view_mouse_link_hover_in(Evas_Object* ewkView, void* data)
-{
- evas_object_smart_callback_call(ewkView, "link,hover,in", data);
-}
-
-/**
- * @internal
- * Reports mouse is not over a link anymore.
- *
- * Emits signal: "link,hover,out"
- */
-void ewk_view_mouse_link_hover_out(Evas_Object* ewkView)
-{
- evas_object_smart_callback_call(ewkView, "link,hover,out", 0);
-}
-
-/**
- * @internal
- * Set toolbar visible.
- *
- * Emits signal: "toolbars,visible,set" with a pointer to a boolean.
- */
-void ewk_view_toolbars_visible_set(Evas_Object* ewkView, bool visible)
-{
- DBG("ewkView=%p (visible=%d)", ewkView, !!visible);
- evas_object_smart_callback_call(ewkView, "toolbars,visible,set", &visible);
-}
-
-/**
- * @internal
- * Get toolbar visibility.
- *
- * @param ewkView View.
- * @param visible boolean pointer in which to save the result. It defaults
- * to @c FALSE, i.e. if browser does no listen to emitted signal, it means
- * there are no toolbars and therefore they are not visible.
- *
- * Emits signal: "toolbars,visible,get" with a pointer to a boolean.
- */
-void ewk_view_toolbars_visible_get(Evas_Object* ewkView, bool* visible)
-{
- DBG("%s, ewkView=%p", __func__, ewkView);
- *visible = false;
- evas_object_smart_callback_call(ewkView, "toolbars,visible,get", visible);
-}
-
-/**
- * @internal
- * Set statusbar visible.
- *
- * @param ewkView View.
- * @param visible @c TRUE if statusbar are visible, @c FALSE otherwise.
- *
- * Emits signal: "statusbar,visible,set" with a pointer to a boolean.
- */
-void ewk_view_statusbar_visible_set(Evas_Object* ewkView, bool visible)
-{
- DBG("ewkView=%p (visible=%d)", ewkView, !!visible);
- evas_object_smart_callback_call(ewkView, "statusbar,visible,set", &visible);
-}
-
-/**
- * @internal
- * Get statusbar visibility.
- *
- * @param ewkView View.
- * @param visible boolean pointer in which to save the result. It defaults
- * to @c FALSE, i.e. if browser does no listen to emitted signal, it means
- * there is no statusbar and therefore it is not visible.
- *
- * Emits signal: "statusbar,visible,get" with a pointer to a boolean.
- */
-void ewk_view_statusbar_visible_get(Evas_Object* ewkView, bool* visible)
-{
- DBG("%s, ewkView=%p", __func__, ewkView);
- *visible = false;
- evas_object_smart_callback_call(ewkView, "statusbar,visible,get", visible);
-}
-
-/**
- * @internal
- * Set text of statusbar
- *
- * @param ewkView View.
- * @param text New text to put on statusbar.
- *
- * Emits signal: "statusbar,text,set" with a string.
- */
-void ewk_view_statusbar_text_set(Evas_Object* ewkView, const char* text)
-{
- DBG("ewkView=%p (text=%s)", ewkView, text);
- INFO("status bar text set: %s", text);
- evas_object_smart_callback_call(ewkView, "statusbar,text,set", (void*)text);
-}
-
-/**
- * @internal
- * Set scrollbars visible.
- *
- * @param ewkView View.
- * @param visible @c TRUE if scrollbars are visible, @c FALSE otherwise.
- *
- * Emits signal: "scrollbars,visible,set" with a pointer to a boolean.
- */
-void ewk_view_scrollbars_visible_set(Evas_Object* ewkView, bool visible)
-{
- DBG("ewkView=%p (visible=%d)", ewkView, !!visible);
- evas_object_smart_callback_call(ewkView, "scrollbars,visible,set", &visible);
-}
-
-/**
- * @internal
- * Get scrollbars visibility.
- *
- * @param ewkView View.
- * @param visible boolean pointer in which to save the result. It defaults
- * to @c FALSE, i.e. if browser does no listen to emitted signal, it means
- * there are no scrollbars and therefore they are not visible.
- *
- * Emits signal: "scrollbars,visible,get" with a pointer to a boolean.
- */
-void ewk_view_scrollbars_visible_get(Evas_Object* ewkView, bool* visible)
-{
- DBG("%s, ewkView=%p", __func__, ewkView);
- *visible = false;
- evas_object_smart_callback_call(ewkView, "scrollbars,visible,get", visible);
-}
-
-/**
- * @internal
- * Set menubar visible.
- *
- * @param ewkView View.
- * @param visible @c TRUE if menubar is visible, @c FALSE otherwise.
- *
- * Emits signal: "menubar,visible,set" with a pointer to a boolean.
- */
-void ewk_view_menubar_visible_set(Evas_Object* ewkView, bool visible)
-{
- DBG("ewkView=%p (visible=%d)", ewkView, !!visible);
- evas_object_smart_callback_call(ewkView, "menubar,visible,set", &visible);
-}
-
-/**
- * @internal
- * Get menubar visibility.
- *
- * @param ewkView View.
- * @param visible boolean pointer in which to save the result. It defaults
- * to @c FALSE, i.e. if browser does no listen to emitted signal, it means
- * there is no menubar and therefore it is not visible.
- *
- * Emits signal: "menubar,visible,get" with a pointer to a boolean.
- */
-void ewk_view_menubar_visible_get(Evas_Object* ewkView, bool* visible)
-{
- DBG("%s, ewkView=%p", __func__, ewkView);
- *visible = false;
- evas_object_smart_callback_call(ewkView, "menubar,visible,get", visible);
-}
-
-/**
- * @internal
- */
-void ewk_view_tooltip_text_set(Evas_Object* ewkView, const char* text)
-{
- DBG("ewkView=%p text=%s", ewkView, text);
- if (text && *text)
- evas_object_smart_callback_call(ewkView, "tooltip,text,set", (void*)text);
- else
- evas_object_smart_callback_call(ewkView, "tooltip,text,unset", 0);
-}
-
-/**
- * @internal
- *
- * @param ewkView View.
- * @param message String to show on console.
- * @param lineNumber Line number.
- * @sourceID Source id.
- *
- */
-void ewk_view_add_console_message(Evas_Object* ewkView, const char* message, unsigned int lineNumber, const char* sourceID)
-{
- DBG("ewkView=%p message=%s lineNumber=%u sourceID=%s", ewkView, message, lineNumber, sourceID);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api->add_console_message);
- smartData->api->add_console_message(smartData, message, lineNumber, sourceID);
-}
-
-bool ewk_view_focus_can_cycle(Evas_Object* ewkView, Ewk_Focus_Direction direction)
-{
- DBG("ewkView=%p direction=%d", ewkView, direction);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api, false);
-
- if (!smartData->api->focus_can_cycle)
- return false;
-
- return smartData->api->focus_can_cycle(smartData, direction);
-}
-
-void ewk_view_run_javascript_alert(Evas_Object* ewkView, Evas_Object* frame, const char* message)
-{
- DBG("ewkView=%p frame=%p message=%s", ewkView, frame, message);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
-
- if (!smartData->api->run_javascript_alert)
- return;
-
- smartData->api->run_javascript_alert(smartData, frame, message);
-}
-
-bool ewk_view_run_javascript_confirm(Evas_Object* ewkView, Evas_Object* frame, const char* message)
-{
- DBG("ewkView=%p frame=%p message=%s", ewkView, frame, message);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api, false);
-
- if (!smartData->api->run_javascript_confirm)
- return false;
-
- return smartData->api->run_javascript_confirm(smartData, frame, message);
-}
-
-bool ewk_view_run_before_unload_confirm(Evas_Object* ewkView, Evas_Object* frame, const char* message)
-{
- DBG("ewkView=%p frame=%p message=%s", ewkView, frame, message);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api, false);
-
- if (!smartData->api->run_before_unload_confirm)
- return false;
-
- return smartData->api->run_before_unload_confirm(smartData, frame, message);
-}
-
-bool ewk_view_run_javascript_prompt(Evas_Object* ewkView, Evas_Object* frame, const char* message, const char* defaultValue, const char** value)
-{
- DBG("ewkView=%p frame=%p message=%s", ewkView, frame, message);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api, false);
-
- if (!smartData->api->run_javascript_prompt)
- return false;
-
- return smartData->api->run_javascript_prompt(smartData, frame, message, defaultValue, value);
-}
-
-/**
- * @internal
- * Delegates to client to decide whether a script must be stopped because it's
- * running for too long. If client does not implement it, it goes to default
- * implementation, which logs and returns false. Client may remove log by
- * setting this function 0, which will just return false.
- *
- * @param ewkView View.
- *
- * @return @c true if script should be stopped; @c false otherwise
- */
-bool ewk_view_should_interrupt_javascript(Evas_Object* ewkView)
-{
- DBG("ewkView=%p", ewkView);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api, false);
-
- if (!smartData->api->should_interrupt_javascript)
- return false;
-
- return smartData->api->should_interrupt_javascript(smartData);
-}
-
-/**
- * @internal
- * This is called whenever the application is asking to store data to the cache and the
- * quota allocated to that application is exceeded. Browser may use this to increase the
- * size of quota before the originating operation fails.
- *
- * @param ewkView View.
- * @param origin Security origin.
- * @param defaultOriginQuota Default quota for origin.
- * @param totalSpaceNeeded The total space needed in the cache in order to fulfill
- * application's requirement.
- */
-int64_t ewk_view_exceeded_application_cache_quota(Evas_Object* ewkView, Ewk_Security_Origin *origin, int64_t defaultOriginQuota, int64_t totalSpaceNeeded)
-{
- DBG("ewkView=%p", ewkView);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api, 0);
- if (!smartData->api->exceeded_application_cache_quota)
- return 0;
-
- INFO("defaultOriginQuota=%" PRIu64 " totalSpaceNeeded=%" PRIu64, defaultOriginQuota, totalSpaceNeeded);
- return smartData->api->exceeded_application_cache_quota(smartData, origin, defaultOriginQuota, totalSpaceNeeded);
-}
-
-/**
- * @internal
- * This is called whenever the web site shown in @param frame is asking to store data
- * to the database @param databaseName and the quota allocated to that web site
- * is exceeded. Browser may use this to increase the size of quota before the
- * originating operationa fails.
- *
- * @param ewkView View.
- * @param frame The frame whose web page exceeded its database quota.
- * @param databaseName Database name.
- * @param currentSize Current size of this database
- * @param expectedSize The expected size of this database in order to fulfill
- * site's requirement.
- */
-uint64_t ewk_view_exceeded_database_quota(Evas_Object* ewkView, Evas_Object* frame, const char* databaseName, uint64_t currentSize, uint64_t expectedSize)
-{
- DBG("ewkView=%p", ewkView);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api, 0);
- if (!smartData->api->exceeded_database_quota)
- return 0;
-
- INFO("currentSize=%" PRIu64 " expectedSize=%" PRIu64, currentSize, expectedSize);
- return smartData->api->exceeded_database_quota(smartData, frame, databaseName, currentSize, expectedSize);
-}
-
-/**
- * @internal
- * Open panel to choose a file.
- *
- * @param ewkView View.
- * @param frame Frame in which operation is required.
- * @param allowsMultipleFiles @c true when more than one file may be selected, @c false otherwise.
- * @param acceptMIMETypes List of accepted mime types. It is passed to child objects as an Eina_List of char pointers that is freed automatically.
- * @param selectedFilenames List of files selected.
- *
- * @return @false if user canceled file selection; @true if confirmed.
- */
-bool ewk_view_run_open_panel(Evas_Object* ewkView, Evas_Object* frame, Ewk_File_Chooser* fileChooser, Eina_List** selectedFilenames)
-{
- DBG("ewkView=%p frame=%p allows_multiple_files=%d", ewkView, frame, ewk_file_chooser_allows_multiple_files_get(fileChooser));
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api, false);
-
- if (!smartData->api->run_open_panel)
- return false;
-
- *selectedFilenames = 0;
- bool confirm = smartData->api->run_open_panel(smartData, frame, fileChooser, selectedFilenames);
- if (!confirm && *selectedFilenames)
- ERR("Canceled file selection, but selected filenames != 0. Free names before return.");
-
- return confirm;
-}
-
-/**
- * @internal
- *
- * Marked the change to call frameRectsChanged.
- */
-void ewk_view_frame_rect_changed(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
-
- smartData->changed.frame_rect = true;
- _ewk_view_smart_changed(smartData);
-}
-
-WTF::PassRefPtr<WebCore::Widget> ewk_view_plugin_create(Evas_Object* ewkView, Evas_Object* frame, const WebCore::IntSize& pluginSize, WebCore::HTMLPlugInElement* element, const WebCore::URL& url, const WTF::Vector<WTF::String>& paramNames, const WTF::Vector<WTF::String>& paramValues, const WTF::String& mimeType, bool loadManually)
-{
- DBG("ewkView=%p, frame=%p, size=%dx%d, element=%p, url=%s, mimeType=%s",
- ewkView, frame, pluginSize.width(), pluginSize.height(), element,
- url.string().utf8().data(), mimeType.utf8().data());
-
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- smartData->changed.frame_rect = true;
- _ewk_view_smart_changed(smartData);
-
- return ewk_frame_plugin_create
- (frame, pluginSize, element, url, paramNames, paramValues,
- mimeType, loadManually);
-}
-
-/**
- * @internal
- *
- * Creates a new popup with options when a select widget was clicked.
- *
- * @param client PopupMenuClient instance that allows communication with webkit.
- * @param selected Selected item.
- * @param rect Menu's position.
- *
- * Emits: "popup,create" with a list of Ewk_Menu containing each item's data
- */
-void ewk_view_popup_new(Evas_Object* ewkView, WebCore::PopupMenuClient* client, int /*selected*/, const WebCore::IntRect& rect)
-{
- INFO("ewkView=%p", ewkView);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- if (priv->popup.menuClient)
- ewk_view_popup_destroy(ewkView);
-
- priv->popup.menuClient = client;
-
- // populate items
- const int size = client->listSize();
- for (int i = 0; i < size; ++i) {
- Ewk_Menu_Item* item = new Ewk_Menu_Item;
- if (client->itemIsSeparator(i))
- item->type = EWK_MENU_SEPARATOR;
- else if (client->itemIsLabel(i))
- item->type = EWK_MENU_GROUP;
- else
- item->type = EWK_MENU_OPTION;
- item->text = eina_stringshare_add(client->itemText(i).utf8().data());
-
- priv->popup.menu.items = eina_list_append(priv->popup.menu.items, item);
- }
-
- priv->popup.menu.x = rect.x();
- priv->popup.menu.y = rect.y();
- priv->popup.menu.width = rect.width();
- priv->popup.menu.height = rect.height();
- evas_object_smart_callback_call(ewkView, "popup,create", &priv->popup.menu);
-}
-
-Eina_Bool ewk_view_popup_destroy(Evas_Object* ewkView)
-{
- INFO("ewkView=%p", ewkView);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- if (!priv->popup.menuClient)
- return false;
-
- evas_object_smart_callback_call(ewkView, "popup,willdelete", &priv->popup.menu);
-
- void* itemv;
- EINA_LIST_FREE(priv->popup.menu.items, itemv) {
- Ewk_Menu_Item* item = static_cast<Ewk_Menu_Item*>(itemv);
- eina_stringshare_del(item->text);
- delete item;
- }
- priv->popup.menuClient->popupDidHide();
- priv->popup.menuClient = 0;
-
- return true;
-}
-
-void ewk_view_popup_selected_set(Evas_Object* ewkView, int index)
-{
- INFO("ewkView=%p", ewkView);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
- EINA_SAFETY_ON_NULL_RETURN(priv->popup.menuClient);
-
- priv->popup.menuClient->valueChanged(index);
-}
-
-#if ENABLE(INPUT_TYPE_COLOR)
-/**
- * @internal
- *
- * Creates a new color chooser with an initial selected color.
- *
- * @param client ColorChooserClient instance that allows communication with webkit.
- * @param initialColor The initial selected color.
- *
- */
-void ewk_view_color_chooser_new(Evas_Object* ewkView, WebCore::ColorChooserClient* client, const WebCore::Color& initialColor)
-{
- INFO("ewkView=%p", ewkView);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- if (priv->colorChooserClient)
- ewk_view_color_chooser_destroy(ewkView);
-
- priv->colorChooserClient = client;
-
- Ewk_Color color;
- color.r = initialColor.red();
- color.g = initialColor.green();
- color.b = initialColor.blue();
- color.a = initialColor.alpha();
-
- evas_object_smart_callback_call(ewkView, "colorchooser,create", &color);
-}
-
-Eina_Bool ewk_view_color_chooser_destroy(Evas_Object* ewkView)
-{
- INFO("ewkView=%p", ewkView);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- if (!priv->colorChooserClient)
- return false;
-
- evas_object_smart_callback_call(ewkView, "colorchooser,willdelete", 0);
-
- priv->colorChooserClient->didEndChooser();
- priv->colorChooserClient = 0;
-
- return true;
-}
-
-void ewk_view_color_chooser_color_set(Evas_Object *ewkView, int r, int g, int b)
-{
- INFO("ewkView=%p", ewkView);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
- EINA_SAFETY_ON_NULL_RETURN(priv->colorChooserClient);
-
- // Alpha channel is not allowed, see ColorInputType::sanitizeValue().
- priv->colorChooserClient->didChooseColor(WebCore::Color(r, g, b));
-}
-
-/**
- * @internal
- *
- * The selected color of the color input associated with the color chooser has
- * changed. Usually the browser should updated the current selected value on the
- * color picker if the user is not interacting.
- *
- * @param newColor The new selected color.
- *
- */
-void ewk_view_color_chooser_changed(Evas_Object* ewkView, const WebCore::Color& newColor)
-{
- INFO("ewkView=%p", ewkView);
-
- Ewk_Color color;
- color.r = newColor.red();
- color.g = newColor.green();
- color.b = newColor.blue();
- color.a = newColor.alpha();
-
- evas_object_smart_callback_call(ewkView, "colorchooser,color,changed", &color);
-}
-#endif
-
-/**
- * @internal
- * Request a download to user.
- *
- * @param ewkView View.
- * @oaram download Ewk_Download struct to be sent.
- *
- * Emits: "download,request" with an Ewk_Download containing the details of the
- * requested download. The download per se must be handled outside of webkit.
- */
-void ewk_view_download_request(Evas_Object* ewkView, Ewk_Download* download)
-{
- DBG("ewkView=%p", ewkView);
- evas_object_smart_callback_call(ewkView, "download,request", download);
-}
-
-#if ENABLE(NETSCAPE_PLUGIN_API)
-/**
- * @internal
- * Reports the JS window object was cleared.
- *
- * @param ewkView view.
- * @param frame the frame.
- */
-void ewk_view_js_window_object_clear(Evas_Object* ewkView, Evas_Object* frame)
-{
- evas_object_smart_callback_call(ewkView, "js,windowobject,clear", frame);
-}
-#endif
-
-/**
- * @internal
- * Reports the viewport has changed.
- *
- * @param arguments viewport argument.
- *
- * Emits signal: "viewport,changed" with no parameters.
- */
-void ewk_view_viewport_attributes_set(Evas_Object* ewkView, const WebCore::ViewportArguments& arguments)
-{
- EWK_VIEW_SD_GET(ewkView, smartData);
- EWK_VIEW_PRIV_GET(smartData, priv);
-
- priv->viewportArguments = arguments;
- evas_object_smart_callback_call(ewkView, "viewport,changed", 0);
-}
-
-void ewk_view_viewport_attributes_get(const Evas_Object* ewkView, int* width, int* height, float* initScale, float* maxScale, float* minScale, float* devicePixelRatio, Eina_Bool* userScalable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
- WebCore::ViewportAttributes attributes = _ewk_view_viewport_attributes_compute(priv);
-
- if (width)
- *width = attributes.layoutSize.width();
- if (height)
- *height = attributes.layoutSize.height();
- if (initScale)
- *initScale = attributes.initialScale;
- if (maxScale)
- *maxScale = attributes.maximumScale;
- if (minScale)
- *minScale = attributes.minimumScale;
- if (devicePixelRatio)
- *devicePixelRatio = priv->page->deviceScaleFactor();
- if (userScalable)
- *userScalable = static_cast<bool>(attributes.userScalable);
-}
-
-Eina_Bool ewk_view_zoom_range_set(Evas_Object* ewkView, float minScale, float maxScale)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- if (maxScale < minScale) {
- WARN("minScale is larger than maxScale");
- return false;
- }
-
- priv->settings.zoomRange.minScale = minScale;
- priv->settings.zoomRange.maxScale = maxScale;
-
- return true;
-}
-
-float ewk_view_zoom_range_min_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, -1.0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, -1.0);
-
- return priv->settings.zoomRange.minScale;
-}
-
-float ewk_view_zoom_range_max_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, -1.0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, -1.0);
-
- return priv->settings.zoomRange.maxScale;
-}
-
-Eina_Bool ewk_view_user_scalable_set(Evas_Object* ewkView, Eina_Bool userScalable)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- priv->settings.zoomRange.userScalable = userScalable;
-
- return true;
-}
-
-Eina_Bool ewk_view_user_scalable_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- return priv->settings.zoomRange.userScalable;
-}
-
-Eina_Bool ewk_view_device_pixel_ratio_set(Evas_Object* ewkView, float ratio)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- priv->page->setDeviceScaleFactor(ratio);
-
- return true;
-}
-
-float ewk_view_device_pixel_ratio_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, -1.0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, -1.0);
-
- return priv->page->deviceScaleFactor();
-}
-
-void ewk_view_text_direction_set(Evas_Object* ewkView, Ewk_Text_Direction direction)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- // The Editor::setBaseWritingDirection() function checks if we can change
- // the text direction of the selected node and updates its DOM "dir"
- // attribute and its CSS "direction" property.
- // So, we just call the function as Safari does.
- WebCore::Frame& focusedFrame = priv->page->focusController().focusedOrMainFrame();
-
- WebCore::Editor& editor = focusedFrame.editor();
- if (!editor.canEdit())
- return;
-
- switch (direction) {
- case EWK_TEXT_DIRECTION_DEFAULT:
- editor.setBaseWritingDirection(NaturalWritingDirection);
- case EWK_TEXT_DIRECTION_LEFT_TO_RIGHT:
- editor.setBaseWritingDirection(LeftToRightWritingDirection);
- case EWK_TEXT_DIRECTION_RIGHT_TO_LEFT:
- editor.setBaseWritingDirection(RightToLeftWritingDirection);
- }
-
- ASSERT_NOT_REACHED();
-}
-
-void ewk_view_transition_to_commited_for_newpage(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- ewk_view_disable_render(ewkView);
- priv->flags.viewCleared = false;
-}
-
-
-/**
- * @internal
- * Reports that a navigation policy decision should be taken. If @return
- * is true, the navigation request will be accepted, otherwise it will be
- * ignored.
- *
- * @param ewkView View to load
- * @param request Request which contain url to navigate
- * @param navigationType navigation type
- *
- * @return true if the client accepted the navigation request, false otherwise. If the
- * client did not make a decision, we return true by default since the default policy
- * is to accept.
- */
-bool ewk_view_navigation_policy_decision(Evas_Object* ewkView, Ewk_Frame_Resource_Request* request, WebCore::NavigationType navigationType)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->api, false);
-
- if (!smartData->api->navigation_policy_decision)
- return true;
-
- Ewk_Navigation_Type type;
- switch (navigationType) {
- case WebCore::NavigationTypeLinkClicked:
- type = EWK_NAVIGATION_TYPE_LINK_CLICKED;
- break;
- case WebCore::NavigationTypeFormSubmitted:
- type = EWK_NAVIGATION_TYPE_FORM_SUBMITTED;
- break;
- case WebCore::NavigationTypeBackForward:
- type = EWK_NAVIGATION_TYPE_BACK_FORWARD;
- break;
- case WebCore::NavigationTypeReload:
- type = EWK_NAVIGATION_TYPE_RELOAD;
- break;
- case WebCore::NavigationTypeFormResubmitted:
- type = EWK_NAVIGATION_TYPE_FORM_RESUBMITTED;
- break;
- case WebCore::NavigationTypeOther:
- type = EWK_NAVIGATION_TYPE_OTHER;
- break;
- default:
- ASSERT_NOT_REACHED();
- break;
- }
-
- return smartData->api->navigation_policy_decision(smartData, request, type);
-}
-
-Eina_Bool ewk_view_js_object_add(Evas_Object* ewkView, Ewk_JS_Object* object, const char* objectName)
-{
-#if ENABLE(NETSCAPE_PLUGIN_API)
- if (object->view) // object has already been added to another ewk_view
- return false;
- object->name = eina_stringshare_add(objectName);
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- WebCore::JSDOMWindow* window = toJSDOMWindow(&priv->page->mainFrame(), WebCore::mainThreadNormalWorld());
- JSC::JSLockHolder lock(window->globalExec());
- JSC::Bindings::RootObject* root;
- root = priv->page->mainFrame().script().bindingRootObject();
-
- if (!window) {
- ERR("Warning: couldn't get window object");
- return false;
- }
-
- JSC::ExecState* executeState = window->globalExec();
-
- object->view = ewkView;
- JSC::JSObject* runtimeObject = (JSC::JSObject*)JSC::Bindings::CInstance::create((NPObject*)object, root)->createRuntimeObject(executeState);
- JSC::Identifier id = JSC::Identifier(executeState, objectName);
-
- JSC::PutPropertySlot slot(window);
- window->methodTable()->put(window, executeState, id, runtimeObject, slot);
- return true;
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(object);
- UNUSED_PARAM(objectName);
- return false;
-#endif // ENABLE(NETSCAPE_PLUGIN_API)
-}
-
-/**
- * @internal
- * Reports that the contents have resized. The ewk_view calls contents_resize,
- * which can be reimplemented as needed.
- *
- * @param ewkView view.
- * @param width new content width.
- * @param height new content height.
- */
-void ewk_view_contents_size_changed(Evas_Object* ewkView, int width, int height)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api);
- EINA_SAFETY_ON_NULL_RETURN(smartData->api->contents_resize);
-
- if (!smartData->api->contents_resize(smartData, width, height))
- ERR("failed to resize contents to %dx%d", width, height);
-}
-
-/**
- * @internal
- * Gets page size from frameview.
- *
- * @param ewkView view.
- *
- * @return page size, or -1.0 size on failure
- */
-WebCore::FloatRect ewk_view_page_rect_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, WebCore::FloatRect(-1.0, -1.0, -1.0, -1.0));
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, WebCore::FloatRect(-1.0, -1.0, -1.0, -1.0));
-
- return priv->page->mainFrame().view()->frameRect();
-}
-
-#if ENABLE(TOUCH_EVENTS)
-void ewk_view_need_touch_events_set(Evas_Object* ewkView, bool needed)
-{
- EWK_VIEW_SD_GET(ewkView, smartData);
- EWK_VIEW_PRIV_GET(smartData, priv);
-
- priv->flags.needTouchEvents = needed;
-}
-
-bool ewk_view_need_touch_events_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->flags.needTouchEvents;
-}
-#endif
-
-inline static WebCore::Page::ViewMode toViewMode(Ewk_View_Mode viewMode)
-{
- switch (viewMode) {
- case EWK_VIEW_MODE_INVALID:
- return WebCore::Page::ViewModeInvalid;
- case EWK_VIEW_MODE_WINDOWED:
- return WebCore::Page::ViewModeWindowed;
- case EWK_VIEW_MODE_FLOATING:
- return WebCore::Page::ViewModeFloating;
- case EWK_VIEW_MODE_FULLSCREEN:
- return WebCore::Page::ViewModeFullscreen;
- case EWK_VIEW_MODE_MAXIMIZED:
- return WebCore::Page::ViewModeMaximized;
- case EWK_VIEW_MODE_MINIMIZED:
- return WebCore::Page::ViewModeMinimized;
- }
- ASSERT_NOT_REACHED();
-
- return WebCore::Page::ViewModeInvalid;
-}
-
-inline static Ewk_View_Mode toEwkViewMode(WebCore::Page::ViewMode viewMode)
-{
- switch (viewMode) {
- case WebCore::Page::ViewModeInvalid:
- return EWK_VIEW_MODE_INVALID;
- case WebCore::Page::ViewModeWindowed:
- return EWK_VIEW_MODE_WINDOWED;
- case WebCore::Page::ViewModeFloating:
- return EWK_VIEW_MODE_FLOATING;
- case WebCore::Page::ViewModeFullscreen:
- return EWK_VIEW_MODE_FULLSCREEN;
- case WebCore::Page::ViewModeMaximized:
- return EWK_VIEW_MODE_MAXIMIZED;
- case WebCore::Page::ViewModeMinimized:
- return EWK_VIEW_MODE_MINIMIZED;
- }
- ASSERT_NOT_REACHED();
-
- return EWK_VIEW_MODE_INVALID;
-}
-
-Eina_Bool ewk_view_mode_set(Evas_Object* ewkView, Ewk_View_Mode viewMode)
-{
-#if ENABLE(VIEW_MODE_CSS_MEDIA)
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- priv->page->setViewMode(toViewMode(viewMode));
- return true;
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(viewMode);
- return false;
-#endif
-}
-
-Ewk_View_Mode ewk_view_mode_get(const Evas_Object* ewkView)
-{
-#if ENABLE(VIEW_MODE_CSS_MEDIA)
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, EWK_VIEW_MODE_INVALID);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, EWK_VIEW_MODE_INVALID);
-
- return toEwkViewMode(priv->page->viewMode());
-#else
- UNUSED_PARAM(ewkView);
- return EWK_VIEW_MODE_INVALID;
-#endif
-}
-
-Eina_Bool ewk_view_mixed_content_displayed_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->flags.hasDisplayedMixedContent;
-}
-
-Eina_Bool ewk_view_mixed_content_run_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->flags.hasRunMixedContent;
-}
-
-/**
- * @internal
- * Reports the view that editor client selection has changed.
- *
- * @param ewkView View.
- *
- * Emits signal: "editorclientselection,changed" with no parameters.
- */
-void ewk_view_editor_client_selection_changed(Evas_Object* ewkView)
-{
- evas_object_smart_callback_call(ewkView, "editorclient,selection,changed", 0);
-}
-
-/**
- * @internal
- * Reports to the view that editor client's contents were changed.
- *
- * @param ewkView View.
- *
- * Emits signal: "editorclient,contents,changed" with no parameters.
- */
-void ewk_view_editor_client_contents_changed(Evas_Object* ewkView)
-{
- evas_object_smart_callback_call(ewkView, "editorclient,contents,changed", 0);
-}
-
-/**
- * @internal
- * Defines whether the view has displayed mixed content.
- *
- * When a view has displayed mixed content, any of its frames has loaded an HTTPS URI
- * which has itself loaded and displayed a resource (such as an image) from an insecure,
- * that is, non-HTTPS, URI.
- *
- * @param hasDisplayed Do or do not clear the flag from the view.
- *
- * Emits signal: "mixedcontent,displayed" with no parameters when @p hasDisplayed is @c true.
- */
-void ewk_view_mixed_content_displayed_set(Evas_Object* ewkView, bool hasDisplayed)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- priv->flags.hasDisplayedMixedContent = hasDisplayed;
-
- if (hasDisplayed)
- evas_object_smart_callback_call(ewkView, "mixedcontent,displayed", 0);
-}
-
-/**
- * @internal
- * Defines whether the view has run mixed content.
- *
- * When a view has run mixed content, any of its frames has loaded an HTTPS URI
- * which has itself loaded and run a resource (such as a script) from an insecure,
- * that is, non-HTTPS, URI.
- *
- * @param hasRun Do or do not clear the flag from the view.
- *
- * Emits signal: "mixedcontent,run" with no parameters when @p hasRun is @c true.
- */
-void ewk_view_mixed_content_run_set(Evas_Object* ewkView, bool hasRun)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- priv->flags.hasRunMixedContent = hasRun;
-
- if (hasRun)
- evas_object_smart_callback_call(ewkView, "mixedcontent,run", 0);
-}
-
-Eina_Bool ewk_view_visibility_state_set(Evas_Object* ewkView, Ewk_Page_Visibility_State pageVisibilityState, Eina_Bool)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
-
- // WebKit does not curently support the "unloaded" state.
- if (pageVisibilityState == EWK_PAGE_VISIBILITY_STATE_UNLOADED)
- return false;
-
- priv->page->setIsVisible(pageVisibilityState == EWK_PAGE_VISIBILITY_STATE_VISIBLE);
- if (pageVisibilityState == EWK_PAGE_VISIBILITY_STATE_PRERENDER)
- priv->page->setIsPrerender();
-
- return true;
-}
-
-Ewk_Page_Visibility_State ewk_view_visibility_state_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, EWK_PAGE_VISIBILITY_STATE_VISIBLE);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, EWK_PAGE_VISIBILITY_STATE_VISIBLE);
-
-
- switch (priv->page->visibilityState()) {
- case WebCore::PageVisibilityStateVisible:
- return EWK_PAGE_VISIBILITY_STATE_VISIBLE;
- case WebCore::PageVisibilityStateHidden:
- return EWK_PAGE_VISIBILITY_STATE_HIDDEN;
- case WebCore::PageVisibilityStatePrerender:
- return EWK_PAGE_VISIBILITY_STATE_PRERENDER;
- default:
- ASSERT_NOT_REACHED();
- }
-
- return EWK_PAGE_VISIBILITY_STATE_VISIBLE;
-}
-
-Eina_Bool ewk_view_setting_enable_xss_auditor_get(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.enableXSSAuditor;
-}
-
-void ewk_view_setting_enable_xss_auditor_set(Evas_Object* ewkView, Eina_Bool enable)
-{
- EWK_VIEW_SD_GET(ewkView, smartData);
- EWK_VIEW_PRIV_GET(smartData, priv);
- enable = !!enable;
- if (priv->settings.enableXSSAuditor != enable) {
- priv->page->settings().setXSSAuditorEnabled(enable);
- priv->settings.enableXSSAuditor = enable;
- }
-}
-
-Eina_Bool ewk_view_setting_should_display_subtitles_get(const Evas_Object *ewkView)
-{
-#if ENABLE(VIDEO_TRACK)
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.shouldDisplaySubtitles;
-#else
- UNUSED_PARAM(ewkView);
- return false;
-#endif
-}
-
-Eina_Bool ewk_view_setting_should_display_captions_get(const Evas_Object *ewkView)
-{
-#if ENABLE(VIDEO_TRACK)
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.shouldDisplayCaptions;
-#else
- UNUSED_PARAM(ewkView);
- return false;
-#endif
-}
-
-void ewk_view_setting_should_display_captions_set(Evas_Object *ewkView, Eina_Bool enable)
-{
-#if ENABLE(VIDEO_TRACK)
- EWK_VIEW_SD_GET(ewkView, smartData);
- EWK_VIEW_PRIV_GET(smartData, priv);
- enable = !!enable;
- if (priv->settings.shouldDisplayCaptions != enable) {
- priv->page->settings().setShouldDisplayCaptions(enable);
- priv->settings.shouldDisplayCaptions = enable;
- }
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(enable);
-#endif
-}
-
-void ewk_view_setting_should_display_subtitles_set(Evas_Object *ewkView, Eina_Bool enable)
-{
-#if ENABLE(VIDEO_TRACK)
- EWK_VIEW_SD_GET(ewkView, smartData);
- EWK_VIEW_PRIV_GET(smartData, priv);
- enable = !!enable;
- if (priv->settings.shouldDisplaySubtitles != enable) {
- priv->page->settings().setShouldDisplaySubtitles(enable);
- priv->settings.shouldDisplaySubtitles = enable;
- }
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(enable);
-#endif
-}
-
-Eina_Bool ewk_view_setting_should_display_text_descriptions_get(const Evas_Object *ewkView)
-{
-#if ENABLE(VIDEO_TRACK)
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.shouldDisplayTextDescriptions;
-#else
- UNUSED_PARAM(ewkView);
- return false;
-#endif
-}
-
-void ewk_view_setting_should_display_text_descriptions_set(Evas_Object *ewkView, Eina_Bool enable)
-{
-#if ENABLE(VIDEO_TRACK)
- EWK_VIEW_SD_GET(ewkView, smartData);
- EWK_VIEW_PRIV_GET(smartData, priv);
- enable = !!enable;
- if (priv->settings.shouldDisplayTextDescriptions != enable) {
- priv->page->settings().setShouldDisplayTextDescriptions(enable);
- priv->settings.shouldDisplayTextDescriptions = enable;
- }
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(enable);
-#endif
-}
-
-void ewk_view_inspector_show(const Evas_Object* ewkView)
-{
-#if ENABLE(INSPECTOR)
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- priv->page->inspectorController().show();
-#else
- UNUSED_PARAM(ewkView);
-#endif
-}
-
-void ewk_view_inspector_close(const Evas_Object* ewkView)
-{
-#if ENABLE(INSPECTOR)
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- priv->page->inspectorController().close();
-#else
- UNUSED_PARAM(ewkView);
-#endif
-}
-
-Evas_Object* ewk_view_inspector_view_get(const Evas_Object* ewkView)
-{
-#if ENABLE(INSPECTOR)
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
-
- return priv->inspectorView;
-#else
- UNUSED_PARAM(ewkView);
- return 0;
-#endif
-}
-
-void ewk_view_inspector_view_set(Evas_Object* ewkView, Evas_Object* inspectorView)
-{
-#if ENABLE(INSPECTOR)
- EWK_VIEW_SD_GET(ewkView, smartData);
- EWK_VIEW_PRIV_GET(smartData, priv);
-
- priv->inspectorView = inspectorView;
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(inspectorView);
-#endif
-}
-
-void ewk_view_root_graphics_layer_set(Evas_Object* ewkView, WebCore::GraphicsLayer* rootLayer)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- priv->acceleratedCompositingContext->setRootGraphicsLayer(rootLayer);
-}
-
-void ewk_view_mark_for_sync(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
-
- // Mark the image as "dirty" meaning it needs an update next time evas renders.
- // It will call the pixel get callback then.
- evas_object_image_pixels_dirty_set(smartData->image, true);
-}
-
-void ewk_view_force_paint(Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- priv->acceleratedCompositingContext->flushAndRenderLayers();
-}
-
-void ewk_view_cursor_set(Evas_Object* ewkView, const WebCore::Cursor& cursor)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-
- const char* group = cursor.platformCursor();
- if (!group || group == priv->cursorGroup)
- return;
-
- priv->cursorGroup = group;
-
- if (priv->cursorObject)
- evas_object_del(priv->cursorObject);
- priv->cursorObject = edje_object_add(smartData->base.evas);
-
- Ecore_Evas* ecoreEvas = ecore_evas_ecore_evas_get(smartData->base.evas);
- if (!priv->settings.theme || !edje_object_file_set(priv->cursorObject, priv->settings.theme, group)) {
- evas_object_del(priv->cursorObject);
- priv->cursorObject = 0;
-
- ecore_evas_object_cursor_set(ecoreEvas, 0, 0, 0, 0);
-#ifdef HAVE_ECORE_X
- WebCore::applyFallbackCursor(ecoreEvas, group);
-#endif
- } else {
- Evas_Coord width, height;
- edje_object_size_min_get(priv->cursorObject, &width, &height);
- if (width <= 0 || height <= 0)
- edje_object_size_min_calc(priv->cursorObject, &width, &height);
- if (width <= 0 || height <= 0) {
- width = 16;
- height = 16;
- }
- evas_object_resize(priv->cursorObject, width, height);
-
- const char* data;
- int hotspotX = 0;
- data = edje_object_data_get(priv->cursorObject, "hot.x");
- if (data)
- hotspotX = atoi(data);
-
- int hotspotY = 0;
- data = edje_object_data_get(priv->cursorObject, "hot.y");
- if (data)
- hotspotY = atoi(data);
-
- ecore_evas_object_cursor_set(ecoreEvas, priv->cursorObject, EVAS_LAYER_MAX, hotspotX, hotspotY);
- }
-}
-
-Eina_Bool ewk_view_setting_enable_fullscreen_get(const Evas_Object* ewkView)
-{
-#if ENABLE(FULLSCREEN_API)
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- return priv->settings.enableFullscreen;
-#else
- UNUSED_PARAM(ewkView);
- return false;
-#endif
-}
-
-Eina_Bool ewk_view_setting_enable_fullscreen_set(Evas_Object* ewkView, Eina_Bool enable)
-{
-#if ENABLE(FULLSCREEN_API)
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
- enable = !!enable;
- if (priv->settings.enableFullscreen != enable) {
- priv->page->settings().setFullScreenEnabled(enable);
- priv->settings.enableFullscreen = enable;
- }
- return true;
-#else
- UNUSED_PARAM(ewkView);
- UNUSED_PARAM(enable);
- return false;
-#endif
-}
-
-#if ENABLE(FULLSCREEN_API)
-/**
- * @internal
- * Calls fullscreen_enter callback or falls back to default behavior and enables fullscreen mode.
- */
-void ewk_view_fullscreen_enter(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
-
- if (!smartData->api->fullscreen_enter || !smartData->api->fullscreen_enter(smartData)) {
- Ecore_Evas* ecoreEvas = ecore_evas_ecore_evas_get(smartData->base.evas);
- ecore_evas_fullscreen_set(ecoreEvas, true);
- }
-}
-
-/**
- * @internal
- * Calls fullscreen_exit callback or falls back to default behavior and disables fullscreen mode.
- */
-void ewk_view_fullscreen_exit(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
-
- if (!smartData->api->fullscreen_exit || !smartData->api->fullscreen_exit(smartData)) {
- Ecore_Evas* ecoreEvas = ecore_evas_ecore_evas_get(smartData->base.evas);
- ecore_evas_fullscreen_set(ecoreEvas, false);
- }
-}
-#endif
-
-Ewk_Context_Menu* ewk_view_context_menu_get(const Evas_Object* ewkView)
-{
-#if ENABLE(CONTEXT_MENUS)
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
-
- return priv->contextMenu;
-#else
- UNUSED_PARAM(ewkView);
- return 0;
-#endif
-}
-
-Evas_Object* ewk_view_screenshot_contents_get(const Evas_Object* ewkView, const Eina_Rectangle* area)
-{
- if (!area || !area->w || !area->h) {
- ERR("empty area is not allowed");
- return 0;
- }
-
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
-
- Evas* canvas = evas_object_evas_get(ewkView);
- EINA_SAFETY_ON_NULL_RETURN_VAL(canvas, 0);
-
- Evas_Object* screenshotImage = evas_object_image_add(canvas);
- evas_object_image_size_set(screenshotImage, area->w, area->h);
- evas_object_image_fill_set(screenshotImage, 0, 0, area->w, area->h);
- evas_object_resize(screenshotImage, area->w, area->h);
- evas_object_image_colorspace_set(screenshotImage, EVAS_COLORSPACE_ARGB8888);
-
- priv->acceleratedCompositingContext->extractImageData(screenshotImage, WebCore::IntRect(*area));
-
- return screenshotImage;
-}
-
-namespace EWKPrivate {
-
-WebCore::Page* corePage(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- return priv->page.get();
-}
-
-WebCore::NetworkStorageSession* storageSession(const Evas_Object* ewkView)
-{
- EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
- EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, 0);
- return &WebCore::NetworkStorageSession::defaultStorageSession();
-}
-
-} // namespace EWKPrivate
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_viewh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_view.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_view.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_view.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,2482 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2012 Samsung Electronics
- Copyright (C) 2012 Intel Corporation
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file ewk_view.h
- * @brief WebKit main smart object.
- *
- * This object allows the high level access to WebKit-EFL component.
- * It is responsible for managing the main frame and other
- * critical resources.
- *
- * Every ewk_view has at least one frame, called "main frame" and
- * retrieved with ewk_view_frame_main_get(). Direct frame access is
- * often discouraged, it is recommended to use ewk_view functions
- * instead.
- *
- * The following signals (see evas_object_smart_callback_add()) are emitted:
- *
- * - "colorchooser,create", Ewk_Color: a new color chooser should be created.
- * - "colorchooser,willdelete", void: reports that a previously created color
- * chooser will be deleted.
- * - "colorchooser,color,changed", Ewk_Color: the value at the color input widget
- * corresponding to the color chooser has changed.
- * - "download,request", Ewk_Download: reports a download is being requested
- * - "editorclient,contents,changed", void: reports to the view that editor
- * client's contents were changed
- * - "frame,created", Evas_Object*: a new frame is created.
- * - "icon,received", void: main frame received an icon.
- * - "inputmethod,changed", Eina_Bool: reports that input method was changed and
- * it gives a boolean value whether it's enabled or not as an argument.
- * - "inspector,view,close", Evas_Object*: request to close the view for inspector.
- * - "inspector,view,create", void: request to create the new view for inspector.
- * - "js,windowobject,clear", void: Report that the JS window object has been cleared.
- * - "link,hover,in", const char *link[2]: reports mouse is over a link.
- * It gives the url in link[0] and link's title in link[1] as an argument.
- * - "link,hover,out", void: reports mouse moved out from a link.
- * - "load,document,finished", Evas_Object*: a DOM document object in a frame has finished loading.
- * - "load,error", const Ewk_Frame_Load_Error*: reports load failed
- * - "load,finished", const Ewk_Frame_Load_Error*: reports load
- * finished and it gives @c NULL on success or pointer to
- * structure defining the error.
- * - "load,newwindow,show", void: reports that a new window was created and can be shown.
- * and it gives a pointer to structure defining the error as an argument.
- * - "load,progress", double*: load progress is changed (overall value
- * from 0.0 to 1.0, connect to individual frames for fine grained).
- * - "load,provisional", void: view started provisional load.
- * - "load,provisional,failed", Ewk_Frame_Load_Error*: view provisional load failed.
- * - "load,resource,finished", unsigned long*: reports resource load finished and it gives
- * a pointer to its identifier.
- * - "load,resource,failed", Ewk_Frame_Load_Error*: reports resource load failure and it
- * gives a pointer to structure defining the error as an argument.
- * - "load,started", Evas_Object*: frame started loading the document.
- * - "menubar,visible,get", Eina_Bool *: expects a @c EINA_TRUE if menubar is
- * visible; @c EINA_FALSE, otherwise.
- * - "menubar,visible,set", Eina_Bool: sets menubar visibility.
- * - "mixedcontent,displayed", void: any of the containing frames has loaded and displayed mixed content.
- * - "mixedcontent,run", void: any of the containing frames has loaded and run mixed content.
- * - "navigate,with,data", Ewk_View_Navigation_Data*: reports that view did navigation and gives the navigation details.
- * - "perform,client,redirect", Ewk_View_Redirection_Data*: reports that view performed a client redirect and gives the redirection details.
- * - "perform,server,redirect", Ewk_View_Redirection_Data*: reports that view performed a server redirect and gives the redirection details.
- * - "protocolhandler,registration,requested", Ewk_Custom_Handler_Data: add a handler url for the given protocol.
- * - "protocolhandler,isregistered", Ewk_Custom_Handler_Data: query whether the handler is registered or not.
- * - "protocolhandler,unregistration,requested", Ewk_Custom_Handler_Data: remove a handler url for the given protocol.
- * - "onload,event", Evas_Object*: a frame onload event has been received.
- * - "populate,visited,links": tells the client to fill the visited links set.
- * - "ready", void: page is fully loaded.
- * - "resource,request,new", Ewk_Frame_Resource_Request*: reports that
- * there's a new resource request.
- * - "resource,request,willsend", Ewk_Frame_Resource_Messages*: a resource will be requested.
- * and the possible redirect response.
- * - "resource,response,received", Ewk_Frame_Resource_Response*: the network response for a resource.
- * - "scrollbars,visible,get", Eina_Bool *: expects a @c EINA_TRUE if scrollbars
- * are visible; @c EINA_FALSE, otherwise.
- * - "scrollbars,visible,set", Eina_Bool: sets scrollbars visibility.
- * - "statusbar,text,set", const char *: sets statusbar text.
- * - "statusbar,visible,get", Eina_Bool *: expects a @c EINA_TRUE if statusbar is
- * visible; @c EINA_FALSE, otherwise.
- * - "statusbar,visible,set", Eina_Bool: sets statusbar visibility.
- * - "title,changed", Ewk_Text_With_Direction*: title of the main frame was changed.
- * - "toolbars,visible,get", Eina_Bool *: expects a @c EINA_TRUE if toolbar
- * is visible; @c EINA_FALSE, otherwise.
- * - "toolbars,visible,set", Eina_Bool: sets toolbar visibility.
- * - "popup,create", Ewk_Menu: reports that a new menu was created.
- * - "popup,willdeleted", Ewk_Menu: reports that a previously created menu
- * will be deleted.
- * - "restore", Evas_Object *: reports that view should be restored to default conditions
- * and it gives a frame that originated restore as an argument.
- * - "tooltip,text,set", const char*: tooltip was set.
- * - "tooltip,text,unset", void: tooltip was unset.
- * - "uri,changed", const char*: uri of the main frame was changed.
- * - "view,resized", void: view object's size was changed.
- * - "viewport,changed", void: reports that viewport was changed.
- * - "zoom,animated,end", void: requested animated zoom is finished.
- */
-
-#ifndef ewk_view_h
-#define ewk_view_h
-
-#include "ewk_contextmenu.h"
-#include "ewk_file_chooser.h"
-#include "ewk_frame.h"
-#include "ewk_history.h"
-#include "ewk_js.h"
-#include "ewk_window_features.h"
-
-#include <Evas.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/// Creates a type name for @a _Ewk_View_Smart_Data.
-typedef struct _Ewk_View_Smart_Data Ewk_View_Smart_Data;
-
-/// Creates a type name for a Resource Handler Callback
-typedef void* (*Ewk_View_Resource_Handler_Cb)(const char *, size_t *, char **, void *);
-
-/// Creates a type name for @a _Ewk_View_Smart_Class.
-typedef struct _Ewk_View_Smart_Class Ewk_View_Smart_Class;
-
-// Defines the direction of focus change. Keep in sync with
-// WebCore::FocusDirection.
-enum _Ewk_Focus_Direction {
- EWK_FOCUS_DIRECTION_FORWARD = 1,
- EWK_FOCUS_DIRECTION_BACKWARD,
-};
-typedef enum _Ewk_Focus_Direction Ewk_Focus_Direction;
-
-/// Ewk view's class, to be overridden by sub-classes.
-struct _Ewk_View_Smart_Class {
- Evas_Smart_Class sc; /**< All but 'data' is free to be changed. */
- unsigned long version;
-
- Evas_Object *(*window_create)(Ewk_View_Smart_Data *sd, Eina_Bool javascript, const Ewk_Window_Features *window_features); /**< creates a new window, requested by webkit */
- void (*window_close)(Ewk_View_Smart_Data *sd); /**< closes a window */
- Eina_Bool (*contents_resize)(Ewk_View_Smart_Data *sd, int w, int h);
- Eina_Bool (*zoom_set)(Ewk_View_Smart_Data *sd, float zoom, Evas_Coord cx, Evas_Coord cy);
- Eina_Bool (*zoom_weak_set)(Ewk_View_Smart_Data *sd, float zoom, Evas_Coord cx, Evas_Coord cy);
- void (*zoom_weak_smooth_scale_set)(Ewk_View_Smart_Data *sd, Eina_Bool smooth_scale);
- Eina_Bool (*disable_render)(Ewk_View_Smart_Data *sd);
- Eina_Bool (*enable_render)(Ewk_View_Smart_Data *sd);
-
- // event handling:
- // - returns true if handled
- // - if overridden, have to call parent method if desired
- Eina_Bool (*focus_in)(Ewk_View_Smart_Data *sd);
- Eina_Bool (*focus_out)(Ewk_View_Smart_Data *sd);
- Eina_Bool (*fullscreen_enter)(Ewk_View_Smart_Data *sd);
- Eina_Bool (*fullscreen_exit)(Ewk_View_Smart_Data *sd);
- Eina_Bool (*mouse_wheel)(Ewk_View_Smart_Data *sd, const Evas_Event_Mouse_Wheel *ev);
- Eina_Bool (*mouse_down)(Ewk_View_Smart_Data *sd, const Evas_Event_Mouse_Down *ev);
- Eina_Bool (*mouse_up)(Ewk_View_Smart_Data *sd, const Evas_Event_Mouse_Up *ev);
- Eina_Bool (*mouse_move)(Ewk_View_Smart_Data *sd, const Evas_Event_Mouse_Move *ev);
- Eina_Bool (*key_down)(Ewk_View_Smart_Data *sd, const Evas_Event_Key_Down *ev);
- Eina_Bool (*key_up)(Ewk_View_Smart_Data *sd, const Evas_Event_Key_Up *ev);
-
- void (*add_console_message)(Ewk_View_Smart_Data *sd, const char *message, unsigned int lineNumber, const char *sourceID);
- void (*run_javascript_alert)(Ewk_View_Smart_Data *sd, Evas_Object *frame, const char *message);
- Eina_Bool (*run_javascript_confirm)(Ewk_View_Smart_Data *sd, Evas_Object *frame, const char *message);
- Eina_Bool (*run_before_unload_confirm)(Ewk_View_Smart_Data *sd, Evas_Object *frame, const char *message);
- Eina_Bool (*run_javascript_prompt)(Ewk_View_Smart_Data *sd, Evas_Object *frame, const char *message, const char *defaultValue, const char **value);
- Eina_Bool (*should_interrupt_javascript)(Ewk_View_Smart_Data *sd);
- int64_t (*exceeded_application_cache_quota)(Ewk_View_Smart_Data *sd, Ewk_Security_Origin* origin, int64_t defaultOriginQuota, int64_t totalSpaceNeeded);
- uint64_t (*exceeded_database_quota)(Ewk_View_Smart_Data *sd, Evas_Object *frame, const char *databaseName, uint64_t current_size, uint64_t expected_size);
-
- Eina_Bool (*run_open_panel)(Ewk_View_Smart_Data *sd, Evas_Object *frame, Ewk_File_Chooser *file_chooser, Eina_List **selected_filenames);
-
- Eina_Bool (*navigation_policy_decision)(Ewk_View_Smart_Data *sd, Ewk_Frame_Resource_Request *request, Ewk_Navigation_Type navigation_type);
- Eina_Bool (*focus_can_cycle)(Ewk_View_Smart_Data *sd, Ewk_Focus_Direction direction);
-};
-
-/**
- * The version you have to put into the version field
- * in the @a Ewk_View_Smart_Class structure.
- */
-#define EWK_VIEW_SMART_CLASS_VERSION 9UL
-
-/**
- * Initializes a whole @a Ewk_View_Smart_Class structure.
- *
- * @param smart_class_init initializer to use for the "base" field
- * @a Evas_Smart_Class
- *
- * @see EWK_VIEW_SMART_CLASS_INIT_NULL
- * @see EWK_VIEW_SMART_CLASS_INIT_VERSION
- * @see EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION
- */
-#define EWK_VIEW_SMART_CLASS_INIT(smart_class_init) {smart_class_init, EWK_VIEW_SMART_CLASS_VERSION, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
-
-/**
- * Initializes to zero a whole @a Ewk_View_Smart_Class structure.
- *
- * @see EWK_VIEW_SMART_CLASS_INIT_VERSION
- * @see EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION
- * @see EWK_VIEW_SMART_CLASS_INIT
- */
-#define EWK_VIEW_SMART_CLASS_INIT_NULL EWK_VIEW_SMART_CLASS_INIT(EVAS_SMART_CLASS_INIT_NULL)
-
-/**
- * Initializes to zero a whole @a Ewk_View_Smart_Class structure
- * and sets the version.
- *
- * Similar to @a EWK_VIEW_SMART_CLASS_INIT_NULL, but it sets the version field of
- * @a Evas_Smart_Class (base field) to latest @a EVAS_SMART_CLASS_VERSION.
- *
- * @see EWK_VIEW_SMART_CLASS_INIT_NULL
- * @see EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION
- * @see EWK_VIEW_SMART_CLASS_INIT
- */
-#define EWK_VIEW_SMART_CLASS_INIT_VERSION EWK_VIEW_SMART_CLASS_INIT(EVAS_SMART_CLASS_INIT_VERSION)
-
-/**
- * Initializes to zero a whole @a Ewk_View_Smart_Class structure
- * and sets the name and version.
- *
- * Similar to @a EWK_VIEW_SMART_CLASS_INIT_NULL, but it sets the version field of
- * @a Evas_Smart_Class (base field) to latest @a EVAS_SMART_CLASS_VERSION
- * and the name to the specific value.
- *
- * It will keep a reference to the name field as a "const char *", that is,
- * name must be available while the structure is used (hint: static or global!)
- * and it will not be modified.
- *
- * @see EWK_VIEW_SMART_CLASS_INIT_NULL
- * @see EWK_VIEW_SMART_CLASS_INIT_VERSION
- * @see EWK_VIEW_SMART_CLASS_INIT
- */
-#define EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION(name) EWK_VIEW_SMART_CLASS_INIT(EVAS_SMART_CLASS_INIT_NAME_VERSION(name))
-
-/// Defines the input method hints.
-enum _Ewk_Imh {
- EWK_IMH_TELEPHONE = (1 << 0),
- EWK_IMH_NUMBER = (1 << 1),
- EWK_IMH_EMAIL = (1 << 2),
- EWK_IMH_URL = (1 << 3),
- EWK_IMH_PASSWORD = (1 << 4)
-};
-/// Creates a type name for @a _Ewk_Imh.
-typedef enum _Ewk_Imh Ewk_Imh;
-
-/// Creates a type name for @a _Ewk_View_Private_Data.
-typedef struct _Ewk_View_Private_Data Ewk_View_Private_Data;
-
-/// Defines the types of the items for the context menu.
-enum _Ewk_Menu_Item_Type {
- EWK_MENU_SEPARATOR,
- EWK_MENU_GROUP,
- EWK_MENU_OPTION
-};
-/// Creates a type name for @a _Ewk_Menu_Item_Type.
-typedef enum _Ewk_Menu_Item_Type Ewk_Menu_Item_Type;
-
-/// Creates a type name for @a _Ewk_Menu_Item.
-typedef struct _Ewk_Menu_Item Ewk_Menu_Item;
-/// Contains data of each menu item.
-struct _Ewk_Menu_Item {
- const char *text; /**< Text of the item. */
- Ewk_Menu_Item_Type type; /** Type of the item. */
-};
-
-/// Creates a type name for @a _Ewk_Menu.
-typedef struct _Ewk_Menu Ewk_Menu;
-/// Contains Popup menu data.
-struct _Ewk_Menu {
- Eina_List *items; /**< List of items. */
- int x; /**< The horizontal position of Popup menu. */
- int y; /**< The vertical position of Popup menu. */
- int width; /**< Popup menu width. */
- int height; /**< Popup menu height. */
-};
-
-/// Creates a type name for @a _Ewk_Download.
-typedef struct _Ewk_Download Ewk_Download;
-/// Contains Download data.
-struct _Ewk_Download {
- const char *url; /**< URL of resource. */
- const char *suggested_name; /**< suggested name from download attributes */
- /* to be extended */
-};
-
-/// Creates a type name for @a _Ewk_View_Navigation_Data.
-typedef struct _Ewk_View_Navigation_Data Ewk_View_Navigation_Data;
-
-/**
- * @brief Structure containing details about a view navigation.
- *
- * Details of a view navigation. It is used in "navigate,with,data" signal.
- */
-struct _Ewk_View_Navigation_Data {
- const char *url; /**< URL for the history. */
- const char *title; /**< Title of the navigated page. */
- Ewk_Frame_Resource_Request *request; /**< Navigation request. */
- Ewk_Frame_Resource_Response *response; /**< Navigation response. */
- Eina_Bool has_substitute_data; /**< Data substitution flag. */
- const char *client_redirect_source; /**< Client redirect source URL. */
-};
-
-
-/// Creates a type name for @a _Ewk_View_Redirection_Data.
-typedef struct _Ewk_View_Redirection_Data Ewk_View_Redirection_Data;
-
-/**
- * @brief Structure containing details about a view redirection.
- *
- * Details of a client or server redirection. It is used in "perform,client,redirect" and "perform,server,redirect" signals.
- */
-struct _Ewk_View_Redirection_Data {
- const char *source_url; /**< Redirect source URL. */
- const char *destination_url; /**< Redirect destination URL. */
-};
-
-/// Creates a type name for @a _Ewk_Color.
-typedef struct _Ewk_Color Ewk_Color;
-/// Represents a color using the RGBA format.
-struct _Ewk_Color {
- unsigned char r; /**< Red channel. */
- unsigned char g; /**< Green channel. */
- unsigned char b; /**< Blue channel. */
- unsigned char a; /**< Alpha channel. */
-};
-
-/// Defines the handler states.
-enum _Ewk_Custom_Handlers_State {
- EWK_CUSTOM_HANDLERS_NEW,
- EWK_CUSTOM_HANDLERS_REGISTERED,
- EWK_CUSTOM_HANDLERS_DECLINED
-};
-/// Creates a type name for @a _Ewk_Custom_Handlers_State.
-typedef enum _Ewk_Custom_Handlers_State Ewk_Custom_Handlers_State;
-
-/// Creates a type name for @a _Ewk_Custom_Handler_Data.
-typedef struct _Ewk_Custom_Handler_Data Ewk_Custom_Handler_Data;
-/// Contains the target scheme and the url which take care of the target.
-struct _Ewk_Custom_Handler_Data {
- Evas_Object *ewkView; /**< Reference to the view object. */
- const char *scheme; /**< Reference to the scheme that will be handled. (eg. "application/x-soup") */
- const char *base_url; /**< Reference to the resolved url if the url is relative url. (eg. "https://www.example.com/") */
- const char *url; /**< Reference to the url which will handle the given protocol. (eg. "soup?url=%s") */
- const char *title; /**< Reference to the descriptive title of the handler. (eg. "SoupWeb") */
- Ewk_Custom_Handlers_State result; /**< Result of the query that the protocol handler is registered or not. */
-};
-
-/**
- * @brief Contains an internal View data.
- *
- * It is to be considered private by users, but may be extended or
- * changed by sub-classes (that's why it's in the public header file).
- */
-struct _Ewk_View_Smart_Data {
- Evas_Object_Smart_Clipped_Data base;
- const Ewk_View_Smart_Class *api; /**< Reference to casted class instance. */
- Evas_Object *self; /**< Reference to owner object. */
- Evas_Object *main_frame; /**< Reference to main frame object. */
- Evas_Object *image; /**< Reference to evas_object_image for drawing web content */
- Evas_Object *events_rect; /**< The rectangle that receives mouse events. */
- Ewk_View_Private_Data *_priv; /**< Should @b never be accessed, c++ stuff. */
- struct {
- Evas_Coord x, y, w, h;
- } view; /**< Contains the position and size of last used viewport. */
- struct {
- struct {
- float start;
- float end;
- float current; /**< if > 0.0, then doing animated zoom. */
- } zoom;
- } animated_zoom;
- struct {
- unsigned char r, g, b, a;
- } bg_color; /**< Keeps the background color. */
- Eina_Bool zoom_weak_smooth_scale:1;
- struct {
- Eina_Bool any:1;
- Eina_Bool size:1;
- Eina_Bool position:1;
- Eina_Bool frame_rect:1;
- } changed; /**< Keeps what changed since last smart_calculate. */
- struct {
- Evas_Coord x, y;
- float zoom;
- } previousView;
-};
-
-/// Defines the modes of view.
-enum _Ewk_View_Mode {
- EWK_VIEW_MODE_INVALID,
- EWK_VIEW_MODE_WINDOWED,
- EWK_VIEW_MODE_FLOATING,
- EWK_VIEW_MODE_FULLSCREEN,
- EWK_VIEW_MODE_MAXIMIZED,
- EWK_VIEW_MODE_MINIMIZED
-};
-/// Creates a type name for @a _Ewk_View_Mode.
-typedef enum _Ewk_View_Mode Ewk_View_Mode;
-
-/// Defines the font families.
-enum _Ewk_Font_Family {
- EWK_FONT_FAMILY_STANDARD = 0,
- EWK_FONT_FAMILY_CURSIVE,
- EWK_FONT_FAMILY_FANTASY,
- EWK_FONT_FAMILY_MONOSPACE,
- EWK_FONT_FAMILY_SERIF,
- EWK_FONT_FAMILY_SANS_SERIF
-};
-/// Creates a type name for @a _Ewk_Font_Family.
-typedef enum _Ewk_Font_Family Ewk_Font_Family;
-
-/// Contains commands to execute.
-enum _Ewk_Editor_Command {
- EWK_EDITOR_COMMAND_NONE = -1,
- EWK_EDITOR_COMMAND_UNDO = 0,
- EWK_EDITOR_COMMAND_REDO,
- EWK_EDITOR_COMMAND_TOGGLE_BOLD,
- EWK_EDITOR_COMMAND_TOGGLE_ITALIC,
- EWK_EDITOR_COMMAND_TOGGLE_UNDERLINE,
- EWK_EDITOR_COMMAND_TOGGLE_STRIKETHROUGH,
- EWK_EDITOR_COMMAND_TOGGLE_SUBSCRIPT,
- EWK_EDITOR_COMMAND_TOGGLE_SUPERSCRIPT,
- EWK_EDITOR_COMMAND_INDENT,
- EWK_EDITOR_COMMAND_OUTDENT,
- EWK_EDITOR_COMMAND_INSERT_ORDEREDLIST,
- EWK_EDITOR_COMMAND_INSERT_UNORDEREDLIST,
- EWK_EDITOR_COMMAND_INSERT_IMAGE,
- EWK_EDITOR_COMMAND_INSERT_TEXT,
- EWK_EDITOR_COMMAND_INSERT_HTML,
- EWK_EDITOR_COMMAND_INSERT_PARAGRAPH,
- EWK_EDITOR_COMMAND_INSERT_PARAGRAPH_SEPARATOR,
- EWK_EDITOR_COMMAND_INSERT_LINE_SEPARATOR,
- EWK_EDITOR_COMMAND_BACK_COLOR,
- EWK_EDITOR_COMMAND_FORE_COLOR,
- EWK_EDITOR_COMMAND_HILITE_COLOR,
- EWK_EDITOR_COMMAND_FONT_SIZE,
- EWK_EDITOR_COMMAND_ALIGN_CENTER,
- EWK_EDITOR_COMMAND_ALIGN_JUSTIFIED,
- EWK_EDITOR_COMMAND_ALIGN_LEFT,
- EWK_EDITOR_COMMAND_ALIGN_RIGHT,
- EWK_EDITOR_COMMAND_MOVE_TO_NEXT_CHAR,
- EWK_EDITOR_COMMAND_MOVE_TO_PREVIOUS_CHAR,
- EWK_EDITOR_COMMAND_MOVE_TO_NEXT_WORD,
- EWK_EDITOR_COMMAND_MOVE_TO_PREVIOUS_WORD,
- EWK_EDITOR_COMMAND_MOVE_TO_NEXT_LINE,
- EWK_EDITOR_COMMAND_MOVE_TO_PREVIOUS_LINE,
- EWK_EDITOR_COMMAND_MOVE_TO_BEGINNING_OF_LINE,
- EWK_EDITOR_COMMAND_MOVE_TO_END_OF_LINE,
- EWK_EDITOR_COMMAND_MOVE_TO_BEGINNING_OF_PARAGRAPH,
- EWK_EDITOR_COMMAND_MOVE_TO_END_OF_PARAGRAPH,
- EWK_EDITOR_COMMAND_MOVE_TO_BEGINNING_OF_DOCUMENT,
- EWK_EDITOR_COMMAND_MOVE_TO_END_OF_DOCUMENT,
- EWK_EDITOR_COMMAND_SELECT_NONE,
- EWK_EDITOR_COMMAND_SELECT_ALL,
- EWK_EDITOR_COMMAND_SELECT_PARAGRAPH,
- EWK_EDITOR_COMMAND_SELECT_SENTENCE,
- EWK_EDITOR_COMMAND_SELECT_LINE,
- EWK_EDITOR_COMMAND_SELECT_WORD,
- EWK_EDITOR_COMMAND_SELECT_NEXT_CHAR,
- EWK_EDITOR_COMMAND_SELECT_PREVIOUS_CHAR,
- EWK_EDITOR_COMMAND_SELECT_NEXT_WORD,
- EWK_EDITOR_COMMAND_SELECT_PREVIOUS_WORD,
- EWK_EDITOR_COMMAND_SELECT_NEXT_LINE,
- EWK_EDITOR_COMMAND_SELECT_PREVIOUS_LINE,
- EWK_EDITOR_COMMAND_SELECT_START_OF_LINE,
- EWK_EDITOR_COMMAND_SELECT_END_OF_LINE,
- EWK_EDITOR_COMMAND_SELECT_START_OF_PARAGRAPH,
- EWK_EDITOR_COMMAND_SELECT_END_OF_PARAGRAPH,
- EWK_EDITOR_COMMAND_SELECT_START_OF_DOCUMENT,
- EWK_EDITOR_COMMAND_SELECT_END_OF_DOCUMENT,
- EWK_EDITOR_COMMAND_DELETE_WORD_BACKWARD,
- EWK_EDITOR_COMMAND_DELETE_WORD_FORWARD
-};
-
-/// Creates a type name for @a _Ewk_Editor_Command.
-typedef enum _Ewk_Editor_Command Ewk_Editor_Command;
-
-/**
- * Sets the smart class api, enabling view to be inherited.
- *
- * @param api class definition to set, all members with the
- * exception of @a Evas_Smart_Class->data may be overridden, must
- * @b not be @c NULL
- *
- * @note @a Evas_Smart_Class->data is used to implement type checking and
- * is not supposed to be changed/overridden. If you need extra
- * data for your smart class to work, just extend
- * Ewk_View_Smart_Class instead.
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure (probably
- * version mismatch)
- */
-EAPI Eina_Bool ewk_view_smart_set(Ewk_View_Smart_Class *api);
-
-/**
- * Creates a new EFL WebKit View object.
- *
- * View objects are the recommended way to deal with EFL WebKit as it
- * abstracts the complex pieces of the process.
- *
- * Each view is composed by a set of frames. The set has at least one
- * frame, called 'main_frame'. See ewk_view_frame_main_get() and
- * ewk_view_frame_focused_get().
- *
- * @param e canvas object where to create the view object
- *
- * @return view object on success or @c NULL on failure
- *
- * @see ewk_view_uri_set()
- */
-EAPI Evas_Object *ewk_view_add(Evas *e);
-
-/**
- * Sets a fixed layout size to be used, dissociating it from viewport size.
- *
- * Setting a width different than zero enables fixed layout on that
- * size. It's automatically scaled based on zoom, but will not change
- * if viewport changes.
- *
- * Setting both @a w and @a h to zero will disable fixed layout.
- *
- * @param o view object to change fixed layout
- * @param w fixed width to use, this size will be automatically scaled
- * based on zoom level
- * @param h fixed height to use, this size will be automatically scaled
- * based on zoom level
- */
-EAPI void ewk_view_fixed_layout_size_set(Evas_Object *o, Evas_Coord w, Evas_Coord h);
-
-/**
- * Gets fixed layout size.
- *
- * @param o view object to get fixed layout size
- * @param w the pointer to store fixed width, returns @c NULL on failure or if there is no
- * fixed layout in use
- * @param h the pointer to store fixed height, returns @c NULL on failure or if there is no
- * fixed layout in use
- */
-EAPI void ewk_view_fixed_layout_size_get(const Evas_Object *o, Evas_Coord *w, Evas_Coord *h);
-
-/**
- * Sets the theme path that will be used by this view.
- *
- * This also sets the theme on the main frame. As frames inherit theme
- * from their parent, this will have all frames with unset theme to
- * use this one.
- *
- * @param o view object to change theme
- * @param path theme path
- */
-EAPI void ewk_view_theme_set(Evas_Object *o, const char *path);
-
-/**
- * Gets the theme set on this view.
- *
- * This returns the value set by ewk_view_theme_set().
- *
- * @param o view object to get theme path
- *
- * @return the theme path, may be @c NULL if not set
- */
-EAPI const char *ewk_view_theme_get(const Evas_Object *o);
-
-/**
- * Gets the object that represents the main frame.
- *
- * @param o view object to get main frame
- *
- * @return frame smart object or @c NULL if none yet
- */
-EAPI Evas_Object *ewk_view_frame_main_get(const Evas_Object *o);
-
-/**
- * Gets the currently focused frame object.
- *
- * @param o view object to get focused frame
- *
- * @return frame smart object or @c NULL if none yet
- */
-EAPI Evas_Object *ewk_view_frame_focused_get(const Evas_Object *o);
-
-/**
- * Asks the main frame to load the given URI.
- *
- * @param o view object to load @a uri
- * @param uri uniform resource identifier to load
- *
- * @return @c EINA_TRUE on successful request or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_uri_set(Evas_Object *o, const char *uri);
-
-/**
- * Gets the current uri loaded by main frame.
- *
- * It returns a internal string and should not
- * be modified. The string is guaranteed to be stringshared.
- *
- * @param o view object to get current uri.
- *
- * @return current uri on success or @c NULL on failure
- */
-EAPI const char *ewk_view_uri_get(const Evas_Object *o);
-
-/**
- * Gets the current title of the main frame.
- *
- * It returns a internal string and should not
- * be modified. The string is guaranteed to be stringshared.
- *
- * @param o view object to get current title
- *
- * @return current title on success or @c NULL on failure
- */
-EAPI const Ewk_Text_With_Direction *ewk_view_title_get(const Evas_Object *o);
-
-/**
- * Queries if the main frame is editable.
- *
- * @param o view object to query editable state
- *
- * @return @c EINA_TRUE if the main frame is editable, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_editable_get(const Evas_Object *o);
-
-/**
- * Sets if main frame is editable.
- *
- * @param o view object to set editable state
- * @param editable a new state to set
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_editable_set(Evas_Object *o, Eina_Bool editable);
-
-/**
- * Sets the background color and transparency of the view.
- *
- * Just as in Evas, colors are pre-multiplied, so 50% red is
- * (128, 0, 0, 128) and not (255, 0, 0, 128)!
- *
- * @warning Watch out performance issues with transparency! Object
- * will be handled as transparent image by evas even if the
- * webpage specifies a background color. That mean you'll pay
- * a price even if it's not really transparent, thus
- * scrolling/panning and zooming will be likely slower than
- * if transparency is off.
- *
- * @param o view object to change the background color
- * @param r red color component
- * @param g green color component
- * @param b blue color component
- * @param a transparency
- */
-EAPI void ewk_view_bg_color_set(Evas_Object *o, int r, int g, int b, int a);
-
-/**
- * Gets the background color of the view.
- *
- * Just as in Evas, colors are pre-multiplied, so 50% red is
- * (128, 0, 0, 128) and not (255, 0, 0, 128)!
- *
- * @param o view object to get the background color
- * @param r the pointer to store red color component
- * @param g the pointer to store green color component
- * @param b the pointer to store blue color component
- * @param a the pointer to store alpha value
- */
-EAPI void ewk_view_bg_color_get(const Evas_Object *o, int *r, int *g, int *b, int *a);
-
-/**
- * Gets the copy of the selected text.
- *
- * The returned string @b should be freed by eina_stringshare_del() after use.
- *
- * @param o view object to get selected text
- *
- * @return a newly allocated string or @c NULL if nothing is selected or on failure
- */
-EAPI const char *ewk_view_selection_get(const Evas_Object *o);
-
-/**
- * Forwards a request of a new Context Menu to WebCore.
- *
- * @param o view object to forward a request of a new Context Menu
- * @param ev mouse down event data
- *
- * @return @c EINA_TRUE if operation was executed, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_context_menu_forward_event(Evas_Object *o, const Evas_Event_Mouse_Down *ev);
-
-/**
- * Executes editor command.
- *
- * @param o view object to execute command
- * @param command editor command to execute
- * @param value the value to be passed into command
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_editor_command_execute(const Evas_Object *o, const Ewk_Editor_Command command, const char *value);
-
-/**
- * Destroys a previously created color chooser.
- *
- * Before destroying, it informs client that color chooser's data is ready to be
- * destroyed by sending a "colorchooser,willdelete". Then it removes any reference
- * to the color chooser inside webkit. It's safe to call this function either from
- * inside webkit or from browser.
- *
- * @param o view object
- *
- * @return @c EINA_TRUE in case color chooser was successfully destroyed or @c EINA_TRUE in
- * case there wasn't any color chooser to be destroyed
- */
-EAPI Eina_Bool ewk_view_color_chooser_destroy(Evas_Object* o);
-
-/**
- * Changes the selected color.
- *
- * Changes the color selected in the color input widget. The browser should call
- * this when the user chooses a new color. It's likely that ewk_view_color_chooser_destroy
- * will be called afterwards.
- *
- * @param o view object
- * @param r red color component
- * @param g green color component
- * @param b blue color component
- */
-EAPI void ewk_view_color_chooser_color_set(Evas_Object* o, int r, int g, int b);
-
-/**
- * Changes currently selected item.
- *
- * Changes the option selected in select widget. This is called by browser
- * whenever user has chosen a different item. Most likely after calling this, a
- * call to ewk_view_popup_destroy might be made in order to close the popup.
- *
- * @param o view object to change currently selected item
- * @index index a new index to set
- */
-EAPI void ewk_view_popup_selected_set(Evas_Object *o, int index);
-
-/**
- * Destroys a previously created menu.
- *
- * Before destroying, it informs client that menu's data is ready to be
- * destroyed by sending a "popup,willdelete" with a list of menu items. Then it
- * removes any reference to menu inside webkit. It's safe to call this
- * function either from inside webkit or from browser.
- *
- * @param o view object
- *
- * @return @c EINA_TRUE in case menu was successfully destroyed or @c EINA_TRUE in
- * case there wasn't any menu to be destroyed
- */
-EAPI Eina_Bool ewk_view_popup_destroy(Evas_Object *o);
-
-/**
- * Searches the given string in a document.
- *
- * @param o view object where to search the text
- * @param string reference string to search
- * @param case_sensitive if search should be case sensitive or not
- * @param forward if search is from cursor and on or backwards
- * @param wrap if search should wrap at the end
- *
- * @return @c EINA_TRUE if the given string was found, @c EINA_FALSE if not or failure
- */
-EAPI Eina_Bool ewk_view_text_search(const Evas_Object *o, const char *string, Eina_Bool case_sensitive, Eina_Bool forward, Eina_Bool wrap);
-
-/**
- * Marks matches the given string in a document.
- *
- * @param o view object where to search text
- * @param string reference string to match
- * @param case_sensitive if match should be case sensitive or not
- * @param highlight if matches should be highlighted
- * @param limit maximum amount of matches, or zero to unlimited
- *
- * @return number of matched @a string
- */
-EAPI unsigned int ewk_view_text_matches_mark(Evas_Object *o, const char *string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit);
-
-/**
- * Unmarks all marked matches in a document.
- *
- * Reverses the effect of ewk_frame_text_matches_mark().
- *
- * @param o view object where to unmark matches
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_text_matches_unmark_all(Evas_Object *o);
-
-/**
- * Sets if should highlight matches marked with ewk_frame_text_matches_mark().
- *
- * @param o view object where to set if matches are highlighted or not
- * @param highlight @c EINA_TRUE if matches are highlighted, @c EINA_FALSE if not
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_text_matches_highlight_set(Evas_Object *o, Eina_Bool highlight);
-
-/**
- * Gets if should highlight matches marked with ewk_frame_text_matches_mark().
- *
- * @param o view object to query if matches are highlighted or not
- *
- * @return @c EINA_TRUE if matches are highlighted, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_text_matches_highlight_get(const Evas_Object *o);
-
-/**
- * Gets the current load progress of page.
- *
- * The progress estimates from 0.0 to 1.0.
- *
- * @param o view object to get the current progress
- *
- * @return the load progres of page, value from 0.0 to 1.0 on success
- * or -1.0 on failure
- */
-EAPI double ewk_view_load_progress_get(const Evas_Object *o);
-
-/**
- * Asks the main frame to stop loading.
- *
- * @param o view object to stop loading
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise.
- */
-EAPI Eina_Bool ewk_view_stop(Evas_Object *o);
-
-/**
- * Asks the main frame to reload the current document.
- *
- * @param o view object to reload current document
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- *
- * @see ewk_view_reload_full()
- */
-EAPI Eina_Bool ewk_view_reload(Evas_Object *o);
-
-/**
- * Asks the main frame to fully reload the current document, using no caches.
- *
- * @param o view object to reload current document
- *
- * @return @c EINA_TRUE on success o r@c EINA_FALSE otherwise
- *
- * @see ewk_view_reload()
- */
-EAPI Eina_Bool ewk_view_reload_full(Evas_Object *o);
-
-/**
- * Asks the frame to navigate back in the history.
- *
- * @param o view object to navigate back
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- *
- * @see ewk_frame_back()
- */
-EAPI Eina_Bool ewk_view_back(Evas_Object *o);
-
-/**
- * Asks frame to navigate forward in the history.
- *
- * @param o view object to navigate forward
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- *
- * @see ewk_frame_forward()
- */
-EAPI Eina_Bool ewk_view_forward(Evas_Object *o);
-
-/**
- * Navigates back or forward in the history.
- *
- * @param o view object to navigate in the history
- * @param steps if positive navigates that amount forwards, if negative
- * does backwards
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- *
- * @see ewk_frame_navigate()
- */
-EAPI Eina_Bool ewk_view_navigate(Evas_Object *o, int steps);
-
-/**
- * Queries if it's possible to navigate backwards one item in the history.
- *
- * @param o view object to query if backward navigation is possible
- *
- * @return @c EINA_TRUE if it's possible to navigate backward one item in the history, @c EINA_FALSE otherwise
- * @see ewk_view_navigate_possible()
- */
-EAPI Eina_Bool ewk_view_back_possible(Evas_Object *o);
-
-/**
- * Queries if it's possible to navigate forwards one item in the history.
- *
- * @param o view object to query if forward navigation is possible
- *
- * @return @c EINA_TRUE if it's possible to navigate forwards in the history, @c EINA_FALSE otherwise
- *
- * @see ewk_view_navigate_possible()
- */
-EAPI Eina_Bool ewk_view_forward_possible(Evas_Object *o);
-
-/**
- * Queries if it's possible to navigate given @a steps in the history.
- *
- * @param o view object to query if it's possible to navigate @a steps in the history
- * @param steps if positive navigates that amount forwards, if negative
- * does backwards
- *
- * @return @c EINA_TRUE if it's possible to navigate @a steps in the history, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_navigate_possible(Evas_Object *o, int steps);
-
-/**
- * Queries if navigation in the history (back-forward lists) is enabled.
- *
- * @param o view object to query if navigation history is enabled
- *
- * @return @c EINA_TRUE if view keeps history, @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_history_enable_get(const Evas_Object *o);
-
-/**
- * Enables/disables navigation in the history (back-forward lists).
- *
- * @param o view object to enable/disable navigation in the history
- * @param enable @c EINA_TRUE to enable navigation in the history,
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_history_enable_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Gets the history (back-forward list) associated with this view.
- *
- * The returned instance is unique for this view and thus multiple calls
- * to this function with the same view as parameter returns the same
- * handle. This handle is alive while view is alive, thus one
- * might want to listen for EVAS_CALLBACK_DEL on given view
- * (@a o) to know when to stop using returned handle.
- *
- * @param o view object to get navigation history
- *
- * @return the history instance handle associated with this
- * view on succes or @c NULL on failure (including when the history
- * navigation is not enabled with ewk_view_history_enable_set())
- *
- * @see ewk_view_history_enable_set()
- */
-EAPI Ewk_History *ewk_view_history_get(const Evas_Object *o);
-
-/**
- * Adds @a visited_url to the view's visited links cache.
- *
- * This function is to be invoked by the client managing persistent history storage
- * when "populate,visited,links" signal is received.
- *
- * @param o view object to add visited links data.
- * @param visited_url visited url.
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE on failure.
- */
-EAPI Eina_Bool ewk_view_visited_link_add(Evas_Object *o, const char *visited_url);
-
-/**
- * Gets the current page zoom level of the main frame.
- *
- * @param o view object to get the zoom level
- *
- * @return current zoom level in use on success or @c -1.0 on failure
- */
-EAPI float ewk_view_page_zoom_get(const Evas_Object *o);
-
-/**
- * Sets the current page zoom level of the main frame.
- *
- * @param o view object to set the zoom level
- * @param page_zoom_factor a new level to set
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_page_zoom_set(Evas_Object *o, float page_zoom_factor);
-
-/**
- * Gets the current scale factor of the page.
- *
- * @param o view object to get the scale factor
- *
- * @return current scale factor in use on success or @c -1.0 on failure
- */
-EAPI float ewk_view_scale_get(const Evas_Object *o);
-
-/**
- * Scales the current page, centered at the given point.
- *
- * @param o view object to set the zoom level
- * @param scale_factor a new level to set
- * @param cx x of center coordinate
- * @param cy y of center coordinate
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_scale_set(Evas_Object *o, float scale_factor, Evas_Coord cx, Evas_Coord cy);
-
-/**
- * Gets the current text zoom level of the main frame.
- *
- * @param o view object to get the zoom level
- *
- * @return current zoom level in use on success or @c -1.0 on failure
- */
-EAPI float ewk_view_text_zoom_get(const Evas_Object *o);
-
-/**
- * Sets the current text zoom level of the main frame.
- *
- * @param o view object to set the zoom level
- * @param textZoomFactor a new level to set
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_text_zoom_set(Evas_Object *o, float text_zoom_factor);
-
-/**
- * Gets the current zoom level of the main frame.
- *
- * @param o view object to get the zoom level
- *
- * @return current zoom level in use on success or @c -1.0 on failure
- */
-EAPI float ewk_view_zoom_get(const Evas_Object *o);
-
-/**
- * Sets the current zoom level of the main frame, centered at the given point.
- *
- * @param o view object to set the zoom level
- * @param zoom a new level to set
- * @param cx x of center coordinate
- * @param cy y of center coordinate
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_zoom_set(Evas_Object *o, float zoom, Evas_Coord cx, Evas_Coord cy);
-
-/**
- * Queries if the smooth scale is enabled while the weak zoom.
- *
- * @param o view object to query if the smooth scale is enabled while the weak zoom
- *
- * @return @c EINA_TRUE if the smooth scale is enabled while the weak zoom, or
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_zoom_weak_smooth_scale_get(const Evas_Object *o);
-
-/**
- * Enables/disables the smooth scale while the weak zoom.
- *
- * @param o view object to set the smooth scale while the weak zoom
- * @param smooth_scale @c EINA_TRUE to enable the smooth scale
- * @c EINA_FALSE to disable
- */
-EAPI void ewk_view_zoom_weak_smooth_scale_set(Evas_Object *o, Eina_Bool smooth_scale);
-
-/**
- * Sets the current zoom level of backing store, centered at given point.
- *
- * Unlike ewk_view_zoom_set(), this call do not ask WebKit to render
- * at new size, but scale what is already rendered, being much faster
- * but worse quality.
- *
- * Often one should use ewk_view_zoom_animated_set(), it will call the
- * same machinery internally.
- *
- * @note this will set variables used by ewk_view_zoom_animated_set()
- * so sub-classes will not reset internal state on their
- * "calculate" phase. To unset those and enable sub-classes to
- * reset their internal state, call
- * ewk_view_zoom_animated_mark_stop(). Namely, this call will
- * set ewk_view_zoom_animated_mark_start() to actual webkit zoom
- * level, ewk_view_zoom_animated_mark_end() and
- * ewk_view_zoom_animated_mark_current() to given zoom level.
- *
- * @param o view object to set the weak zoom level
- * @param zoom a new level to scale backing store
- * @param cx horizontal center offset, relative to object (w/2 is middle)
- * @param cy vertical center offset, relative to object (h/2 is middle)
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_zoom_weak_set(Evas_Object *o, float zoom, Evas_Coord cx, Evas_Coord cy);
-
-/**
- * Sets start of an internal zoom animation state to the given zoom.
- *
- * This does not modify any actual zoom in WebKit or backing store,
- * just set needed flag so sub-classes knows they should not reset
- * their an internal state.
- *
- * @param o view object to set start of an internal zoom animation
- * @param zoom a new start value
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- *
- * @see ewk_view_zoom_animated_set()
- * @see ewk_view_zoom_weak_set()
- * @see ewk_view_zoom_animated_mark_stop()
- * @see ewk_view_zoom_animated_mark_end()
- * @see ewk_view_zoom_animated_mark_current()
- */
-EAPI Eina_Bool ewk_view_zoom_animated_mark_start(Evas_Object *o, float zoom);
-
-/**
- * Sets end of an internal zoom animation state to given zoom.
- *
- * This does not modify any actual zoom in WebKit or backing store,
- * just set needed flag so sub-classes knows they should not reset
- * their an internal state.
- *
- * @param o view object to set end of an internal zoom animation
- * @param zoom a new end value
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- *
- * @see ewk_view_zoom_animated_set()
- * @see ewk_view_zoom_weak_set()
- * @see ewk_view_zoom_animated_mark_stop()
- * @see ewk_view_zoom_animated_mark_start()
- * @see ewk_view_zoom_animated_mark_current()
- */
-EAPI Eina_Bool ewk_view_zoom_animated_mark_end(Evas_Object *o, float zoom);
-
-/**
- * Sets an internal current zoom animation state to given zoom.
- *
- * This does not modify any actual zoom in WebKit or backing store,
- * just set needed flag so sub-classes knows they should not reset
- * their an internal state.
- *
- * @param o view object to set an internal current zoom animation
- * @param zoom a new current value
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- *
- * @see ewk_view_zoom_animated_set()
- * @see ewk_view_zoom_weak_set()
- * @see ewk_view_zoom_animated_mark_stop()
- * @see ewk_view_zoom_animated_mark_start()
- * @see ewk_view_zoom_animated_mark_end()
- */
-EAPI Eina_Bool ewk_view_zoom_animated_mark_current(Evas_Object *o, float zoom);
-
-/**
- * Unmarks an internal zoom animation state.
- *
- * The start, end and current values of an internal zoom animation are zeroed.
- *
- * @param o view object to unmark an internal zoom animation state
- *
- * @see ewk_view_zoom_animated_mark_start()
- * @see ewk_view_zoom_animated_mark_end()
- * @see ewk_view_zoom_animated_mark_current()
- * @see ewk_view_zoom_weak_set()
- */
-EAPI Eina_Bool ewk_view_zoom_animated_mark_stop(Evas_Object *o);
-
-/**
- * Sets the current zoom level while animating.
- *
- * If the view was already animating to another zoom, it will start
- * from current point to the next provided zoom (@a zoom parameter)
- * and duration (@a duration parameter).
- *
- * This is the recommended way to do transitions from one level to
- * another. However, one may wish to do those from outside, in that
- * case use ewk_view_zoom_weak_set() and later control intermediate
- * states with ewk_view_zoom_animated_mark_current(),
- * ewk_view_zoom_animated_mark_end() and
- * ewk_view_zoom_animated_mark_stop().
- *
- * @param o view object to animate
- * @param zoom final zoom level to use
- * @param duration time in seconds the animation should take.
- * @param cx offset inside object that defines zoom center. 0 is left side
- * @param cy offset inside object that defines zoom center. 0 is top side
- * @return @c EINA_TRUE if animation will be started, @c EINA_FALSE if not
- * because zoom is too small/big
- */
-EAPI Eina_Bool ewk_view_zoom_animated_set(Evas_Object *o, float zoom, float duration, Evas_Coord cx, Evas_Coord cy);
-
-/**
- * Enables (resumes) rendering.
- *
- * @param o view object to enable rendering
- *
- * @return @c EINA_TRUE if rendering was enabled, @c EINA_FALSE
- * otherwise (errors, rendering suspension feature not supported)
- *
- * @see ewk_view_disable_render()
- */
-EAPI Eina_Bool ewk_view_enable_render(const Evas_Object *o);
-
-/**
- * Disables (suspends) rendering.
- *
- * @param o view object to disable rendering
- *
- * @return @c EINA_TRUE if rendering was disabled, @c EINA_FALSE
- * otherwise (errors, rendering suspension not supported)
- */
-EAPI Eina_Bool ewk_view_disable_render(const Evas_Object *o);
-
-/**
- * Gets the input method hints.
- *
- * @param o view object to get the input method hints
- *
- * @see Ewk_Imh
- *
- * @return the input method hints as @a Ewk_Imh bits-field
- */
-EAPI unsigned int ewk_view_imh_get(const Evas_Object *o);
-
-/**
- * Gets the user agent string.
- *
- * @param o view object to get the user agent string
- *
- * @return the user agent string
- */
-EAPI const char *ewk_view_setting_user_agent_get(const Evas_Object *o);
-
-/**
- * Sets the user agent string.
- *
- * @param o view object to set the user agent string
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_user_agent_set(Evas_Object *o, const char *user_agent);
-
-/**
- * Queries if the images are loaded automatically.
- *
- * @param o view object to query if the images are loaded automatically
- *
- * @return @c EINA_TRUE if the images are loaded automatically,
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_auto_load_images_get(const Evas_Object *o);
-
-/**
- * Enables/disables auto loading of the images.
- *
- * @param o view object to set auto loading of the images
- * @param automatic @c EINA_TRUE to enable auto loading of the images,
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_auto_load_images_set(Evas_Object *o, Eina_Bool automatic);
-
-/**
- * Queries if the images are shrinked automatically
- *
- * @param o view object to query if the images are shrinked automatically
- *
- * @return @c EINA_TRUE if the images are shrinked automatically,
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_auto_shrink_images_get(const Evas_Object *o);
-
-/**
- * Enables/disables auto shrinking of the images.
- *
- * @param o view object to set auto shrinking of the images
- * @param automatic @c EINA_TRUE to enable auto shrinking of the images,
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_auto_shrink_images_set(Evas_Object *o, Eina_Bool automatic);
-
-/**
- * Queries if the view can be resized automatically.
- *
- * @param o view object to query if the view can be resized automatically
- *
- * @return @c EINA_TRUE if view can be resized automatically,
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_auto_resize_window_get(const Evas_Object *o);
-
-/**
- * Enables/disables if the view can be resized automatically.
- *
- * @param o view object to set if the view can be resized automatically
- * @param resizable @c EINA_TRUE if view can be resizable automatically,
- * @c EINA_TRUE if not
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_auto_resize_window_set(Evas_Object *o, Eina_Bool resizable);
-
-/**
- * Queries if the scripts can be executed.
- *
- * @param o view object to query if the scripts can be executed
- *
- * @return @c EINA_TRUE if the scripts can be executed
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_scripts_get(const Evas_Object *o);
-
-/**
- * Enables/disables scripts executing.
- *
- * @param o view object to set script executing
- * @param enable @c EINA_TRUE to enable scripts executing
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_scripts_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Queries if the plug-ins are enabled.
- *
- * @param o view object to query if the plug-ins are enabled
- *
- * @return @c EINA_TRUE if the plugins are enabled
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_plugins_get(const Evas_Object *o);
-
-/**
- * Enables/disables the plug-ins.
- *
- * @param o view object to set the plug-ins
- * @param enable @c EINA_TRUE to enable the plug-ins
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_plugins_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Queries if the frame flattening feature is enabled.
- *
- * @param o view object to query if the frame flattening feature is enabled
- *
- * @return @c EINA_TRUE if the frame flattening feature is enabled,
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_frame_flattening_get(const Evas_Object *o);
-
-/**
- * Enables/disables the frame flattening feature.
- *
- * @param o view object to set the frame flattening feature
- * @param enable @c EINA_TRUE to enable the frame flattening feature
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_frame_flattening_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Queries if the scripts can open the new windows.
- *
- * @param o view object to query if the scripts can open the new windows
- *
- * @return @c EINA_TRUE if the scripts can open the new windows
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_scripts_can_open_windows_get(const Evas_Object *o);
-
-/**
- * Enables/disables if the scripts can open the new windows.
- *
- * @param o view object to set if the scripts can open the new windows
- * @param allow @c EINA_TRUE if the scripts can open the new windows
- * @c EINA_FALSE if not
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure (scripts are disabled)
- *
- * @see ewk_view_setting_enable_scripts_set
- */
-EAPI Eina_Bool ewk_view_setting_scripts_can_open_windows_set(Evas_Object *o, Eina_Bool allow);
-
-/**
- * Returns whether scripts can close windows automatically.
- *
- * @param o View whose settings to check.
- *
- * @return @c EINA_TRUE if scripts can close windows, @c EINA_FALSE otherwise.
- */
-EAPI Eina_Bool ewk_view_setting_scripts_can_close_windows_get(const Evas_Object *o);
-
-/**
- * Sets whether scripts are allowed to close windows automatically.
- *
- * @param o View whose settings to change.
- * @param allow @c EINA_TRUE to allow scripts to close windows,
- * @c EINA_FALSE otherwise.
- *
- * @return @c EINA_TRUE if the setting could be changed successfully,
- * @c EINA_FALSE in case an error occurred.
- */
-EAPI Eina_Bool ewk_view_setting_scripts_can_close_windows_set(Evas_Object *o, Eina_Bool allow);
-
-/**
- * Returns whether scripts can access clipboard.
- *
- * @param o View whose settings to check.
- *
- * @return @c EINA_TRUE if scripts can access clipboard, @c EINA_FALSE otherwise.
- */
-EAPI Eina_Bool ewk_view_setting_scripts_can_access_clipboard_get(const Evas_Object *o);
-
-/**
- * Sets whether scripts are allowed to access clipboard.
- *
- * The default value is @c EINA_FALSE. If set to @c EINA_TRUE, document.execCommand()
- * allows cut, copy and paste commands.
- *
- * @param o View whose settings to change.
- * @param allow @c EINA_TRUE to allow scripts access clipboard,
- * @c EINA_FALSE otherwise.
- *
- * @return @c EINA_TRUE if the setting could be changed successfully,
- * @c EINA_FALSE in case an error occurred.
- */
-EAPI Eina_Bool ewk_view_setting_scripts_can_access_clipboard_set(Evas_Object *o, Eina_Bool allow);
-
-/**
- * Queries if HTML elements @c textarea can be resizable.
- *
- * @param o view object to query if the textarea elements can be resizable
- *
- * @return @c EINA_TRUE if the textarea elements can be resizable
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_resizable_textareas_get(const Evas_Object *o);
-
-/**
- * Enables/disables if HTML elements @c textarea can be resizable.
- *
- * @param o view object to set if the textarea elements can be resizable
- * @param enable @c EINA_TRUE if the textarea elements can be resizable
- * @c EINA_FALSE if not
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_resizable_textareas_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Gets the user style sheet.
- *
- * @param o view object to get the user style sheet
- *
- * @return the user style sheet
- */
-EAPI const char *ewk_view_setting_user_stylesheet_get(const Evas_Object *o);
-
-/**
- * Sets the user style sheet.
- *
- * @param o view object to set the user style sheet
- * @param uri uniform resource identifier to user style sheet
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_user_stylesheet_set(Evas_Object *o, const char *uri);
-
-/**
- * Queries if the private browsing feature is enabled.
- *
- * @param o view object to query if the private browsing feature is enabled
- *
- * @return @c EINA_TRUE if the private browsing feature is enabled, or
- * @c EINA_FALSE if not or on failure
- *
- * @see ewk_view_setting_private_browsing_set
- */
-EAPI Eina_Bool ewk_view_setting_private_browsing_get(const Evas_Object *o);
-
-/**
- * Enables/disables the private browsing feature.
- *
- * When this option is set, WebCore will avoid storing any record of browsing
- * activity that may persist on disk or remain displayed when the
- * option is reset.
- *
- * This option does not affect the storage of such information in RAM.
- *
- * The following functions respect this setting:
- * - HTML5/DOM Storage
- * - Icon Database
- * - Console Messages
- * - MemoryCache
- * - Application Cache
- * - Back/Forward Page History
- * - Page Search Results
- * - HTTP Cookies
- * - Plug-ins (that support NPNVprivateModeBool)
- *
- * @param o view object to set the private browsing feature
- * @param enable @c EINA_TRUE to enable the private browsing feature
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_private_browsing_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Returns whether HTML5 application cache support is enabled for this view.
- *
- * The Offline Application Caching APIs are part of HTML5 and allow applications to store data locally that is accessed
- * when the network cannot be reached.
- *
- * Application cache support is enabled by default.
- *
- * @param o view object whose settings to query
- *
- * @return @c EINA_TRUE if the application cache is enabled,
- * @c EINA_FALSE if not or on failure
- *
- * @sa ewk_settings_application_cache_path_set
- */
-EAPI Eina_Bool ewk_view_setting_application_cache_get(const Evas_Object *o);
-
-/**
- * Enables/disables the HTML5 application cache for this view.
- *
- * The Offline Application Caching APIs are part of HTML5 and allow applications to store data locally that is accessed
- * when the network cannot be reached.
- *
- * Application cache support is enabled by default.
- *
- * @param o view object whose settings to change
- * @param enable @c EINA_TRUE to enable the application cache,
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- *
- * @sa ewk_settings_application_cache_path_set
- */
-EAPI Eina_Bool ewk_view_setting_application_cache_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Queries if the caret browsing feature is enabled.
- *
- * @param o view object to query if the caret browsing feature is enabled
- *
- * @return @c EINA_TRUE if the caret browsing feature is enabled,
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_caret_browsing_get(const Evas_Object *o);
-
-/**
- * Enables/disables the caret browsing feature.
- *
- * @param o view object to set caret browsing feature
- * @param enable @c EINA_TRUE to enable the caret browsing feature
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_caret_browsing_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Gets the current encoding.
- *
- * @param o view object to get the current encoding
- *
- * @return @c eina_strinshare containing the current encoding, or
- * @c NULL if it's not set
- */
-EAPI const char *ewk_view_setting_encoding_custom_get(const Evas_Object *o);
-
-/**
- * Sets the encoding and reloads the page.
- *
- * @param o view to set the encoding
- * @param encoding the new encoding to set or @c NULL to restore the default one
- *
- * @return @c EINA_TRUE on success @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_setting_encoding_custom_set(Evas_Object *o, const char *encoding);
-
-/**
- * Gets the default encoding.
- *
- * @param o view object to get the default encoding
- *
- * @return @c eina_strinshare containing the default encoding, or
- * @c NULL if it's not set
- */
-EAPI const char *ewk_view_setting_encoding_default_get(const Evas_Object *o);
-
-/**
- * Sets the default encoding.
- *
- * @param o view to set the default encoding
- * @param encoding the new encoding to set
- *
- * @return @c EINA_TRUE on success @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_setting_encoding_default_set(Evas_Object *o, const char *encoding);
-
-/**
- * Gets the minimum font size.
- *
- * @param o view object to get the minimum font size
- *
- * @return the minimum font size, or @c 0 on failure
- */
-EAPI int ewk_view_setting_font_minimum_size_get(const Evas_Object *o);
-
-/**
- * Sets the minimum font size.
- *
- * @param o view object to set the minimum font size
- * @param size a new minimum font size to set
- *
- * @return @c EINA_TRUE on success @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_setting_font_minimum_size_set(Evas_Object *o, int size);
-
-/**
- * Gets the minimum logical font size.
- *
- * @param o view object to get the minimum logical font size
- *
- * @return the minimum logical font size, or @c 0 on failure
- */
-EAPI int ewk_view_setting_font_minimum_logical_size_get(const Evas_Object *o);
-
-/**
- * Sets the minimum logical font size.
- *
- * @param o view object to set the minimum font size
- * @param size a new minimum logical font size to set
- *
- * @return @c EINA_TRUE on success @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_setting_font_minimum_logical_size_set(Evas_Object *o, int size);
-
-/**
- * Gets the default font size.
- *
- * @param o view object to get the default font size
- *
- * @return the default font size, or @c 0 on failure
- */
-EAPI int ewk_view_setting_font_default_size_get(const Evas_Object *o);
-
-/**
- * Sets the default font size.
- *
- * @param o view object to set the default font size
- * @param size a new default font size to set
- *
- * @return @c EINA_TRUE on success @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_setting_font_default_size_set(Evas_Object *o, int size);
-
-/**
- * Gets the Monospace font size.
- *
- * @param o view object to get the Monospace font size
- *
- * @return the Monospace font size, or @c 0 on failure
- */
-EAPI int ewk_view_setting_font_monospace_size_get(const Evas_Object *o);
-
-/**
- * Sets the Monospace font size.
- *
- * @param o view object to set the Monospace font size
- * @param size a new Monospace font size to set
- *
- * @return @c EINA_TRUE on success @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_setting_font_monospace_size_set(Evas_Object *o, int size);
-
-/**
- * Gets the name of font for the given font family.
- *
- * @param o view object to get name of font the for font family
- * @param font_family the font family as @a Ewk_Font_Family enum to get font name
- *
- * @return the name of font family
- */
-EAPI const char *ewk_view_font_family_name_get(const Evas_Object *o, Ewk_Font_Family font_family);
-
-/**
- * Sets the font for the given family.
- *
- * @param o view object to set font for the given family
- * @param font_family the font family as @a Ewk_Font_Family enum
- * @param name the font name to set
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_font_family_name_set(Evas_Object *o, Ewk_Font_Family font_family, const char *name);
-
-/**
- * Queries if the spatial naviagtion feature is enabled.
- *
- * @param o view object to query if spatial navigation feature is enabled
- *
- * @return @c EINA_TRUE if spatial navigation is enabled,
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_spatial_navigation_get(const Evas_Object *o);
-
-/**
- * Enables/disables the spatial navigation feature.
- *
- * @param o view object to set spatial navigation feature
- * @param enable @c EINA_TRUE to enable the spatial navigation feature,
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_spatial_navigation_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Queries if the local storage feature of HTML5 is enabled.
- *
- * @param o view object to query if the local storage feature is enabled
- *
- * @return @c EINA_TRUE if local storage is enabled,
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_local_storage_get(const Evas_Object *o);
-
-/**
- * Enables/disables the local storage feature of HTML5.
- *
- * Please notice that by default there is no storage path specified for the database.
- * This means that the contents of @c window.localStorage will not be saved to disk and
- * will be lost when the view is removed.
- * To set the path where the storage database will be stored, use
- * ewk_view_setting_local_storage_database_path_set.
- *
- * @param o view object to set if local storage is enabled
- * @param enable @c EINA_TRUE to enable the local storage feature,
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- *
- * @sa ewk_view_setting_local_storage_database_path_set
- */
-EAPI Eina_Bool ewk_view_setting_local_storage_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Returns the path where the HTML5 local storage database is stored on disk.
- *
- * By default, there is no path set, which means changes to @c window.localStorage will not
- * be saved to disk whatsoever.
- *
- * @param o view object to get the database path to the local storage feature
- *
- * @return @c eina_stringshare containing the database path to the local storage feature, or
- * @c NULL if it's not set
- *
- * @sa ewk_view_setting_local_storage_database_path_set
- */
-EAPI const char *ewk_view_setting_local_storage_database_path_get(const Evas_Object *o);
-
-/**
- * Sets the path where the HTML5 local storage database is stored on disk.
- *
- * By default, there is no path set, which means changes to @c window.localStorage will not
- * be saved to disk whatsoever.
- *
- * @param o view object to set the database path to the local storage feature
- * @param path a new database path to the local storage feature
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- *
- * @sa ewk_view_setting_local_storage_set
- */
-EAPI Eina_Bool ewk_view_setting_local_storage_database_path_set(Evas_Object *o, const char *path);
-
-/**
- * Queries if the page cache feature is enabled.
- *
- * @param o view object to query if page cache feature is enabled
- *
- * @return @c EINA_TRUE if page cache is enabled,
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_page_cache_get(const Evas_Object *o);
-
-/**
- * Enables/disables the page cache feature.
- *
- * @param o view object to set page cache feature
- * @param enable @c EINA_TRUE to enable the page cache feature,
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_page_cache_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Queries if the encoding detector is enabled.
- *
- * @param o view object to query if the encoding detector is enabled
- *
- * @return @c EINA_TRUE if the encoding feature is enabled,
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_encoding_detector_get(const Evas_Object *o);
-
-/**
- * Enables/disables the encoding detector.
- *
- * @param o view object to set the encoding detector
- * @param enable @c EINA_TRUE to enable the encoding detector,
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_setting_encoding_detector_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Queries if developer extensions are enabled.
- *
- * Currently, this is used to know whether the Web Inspector is enabled for a
- * given view.
- *
- * @param o view object to query if developer extensions are enabled
- *
- * @return @c EINA_TRUE if developer extensions are enabled, @c EINA_FALSE
- * otherwise
- */
-EAPI Eina_Bool ewk_view_setting_enable_developer_extras_get(const Evas_Object *o);
-
-/**
- * Enables/disables developer extensions.
- *
- * This currently controls whether the Web Inspector should be enabled.
- *
- * @param o view object to set developer extensions
- * @param enable @c EINA_TRUE to enable developer extras, @c EINA_FALSE to
- * disable
- *
- * @return @c EINA_TRUE on success or @EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_developer_extras_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Sets the minimum interval for DOMTimers on current page.
- *
- * @param o view object to set the minimum interval
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_minimum_timer_interval_set(Evas_Object *o, double interval);
-
-/**
- * Gets the minimum interval for DOMTimers on current page.
- *
- * @param o view object to get the minimum interval
- *
- * @return the minimum interval on success or @c -1.0 on failure
- */
-EAPI double ewk_view_setting_minimum_timer_interval_get(const Evas_Object *o);
-
-/**
- * Queries whether WebGL support is enabled.
- *
- * WebGL support is enabled by default.
- *
- * @param o view object to query whether WebGL support is enabled
- *
- * @return @c EINA_TRUE if WebGL support enabled,
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_webgl_get(const Evas_Object *o);
-
-/**
- * Enables/disables WebGL support.
- *
- * WebGL support is enabled by default.
- *
- * @param o view object to set WebGL
- * @param enable @c EINA_TRUE to enable WebGL support,
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_webgl_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Queries if tab key focusing of page elements is enabled.
- *
- * When this setting is enabled, the elements in the page (links and form controls) will be cycled through by pressing the tab key.
- * Tab key focusing of page elements is enabled by default.
- *
- * @param o view object to query if tab key focusing of page elements is enabled
- *
- * @return @c EINA_TRUE if tab key focusing of page elements is enabled, @c EINA_FALSE
- * otherwise
- */
-EAPI Eina_Bool ewk_view_setting_include_links_in_focus_chain_get(const Evas_Object *o);
-
-/**
- * Enables/disables tab key focusing of page elements.
- *
- * When this setting is enabled, the elements in the page (links and form controls) will be cycled through by pressing the tab key.
- * Tab key focusing of page elements is enabled by default.
- *
- * @param o view object to set tab key focusing of page elements
- * @param enable @c EINA_TRUE to enable tab key focusing of page elements, @c EINA_FALSE to
- * disable
- *
- * @return @c EINA_TRUE on success or @EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_include_links_in_focus_chain_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Queries if hyperlink auditing is enabled.
- *
- * Hyperlink auditing is used if a hyperlink created by an @c a or @c area element has a @c ping attribute.
- * Please refer to the hyperlink auditing specification at http://www.whatwg.org/specs/web-apps/current-work/#hyperlink-auditing.
- * Hyperlink auditing is disabled by default.
- *
- * @param o view object to query if hyperlink auditing is enabled
- *
- * @return @c EINA_TRUE if hyperlink auditing is enabled, @c EINA_FALSE
- * otherwise
- */
-EAPI Eina_Bool ewk_view_setting_enable_hyperlink_auditing_get(const Evas_Object *o);
-
-/**
- * Enables/disables hyperlink auditing.
- *
- * Hyperlink auditing is used if a hyperlink created by an @c a or @c area element has a @c ping attribute.
- * Please refer to the hyperlink auditing specification at http://www.whatwg.org/specs/web-apps/current-work/#hyperlink-auditing.
- * Hyperlink auditing is disabled by default.
- *
- * @param o view object to set hyperlink auditing
- * @param enable @c EINA_TRUE to enable hyperlink auditing, @c EINA_FALSE to
- * disable
- *
- * @return @c EINA_TRUE on success or @EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_hyperlink_auditing_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Enables/disables allowing universal access from file URLs.
- *
- * This setting specifies whether locally loaded documents are allowed to access remote urls.
- * By default this setting is enabled.
- *
- * @param o view object to set allowing universal access from file URLs
- * @param enable @c EINA_TRUE to enable universal access from file URLs,
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_allow_universal_access_from_file_urls_set(Evas_Object *o, Eina_Bool flag);
-
-/**
- * Gets if allowing universal access from file URLs is enabled.
- *
- * @param o view object to query if allowing universal access from file URLs is enabled.
- *
- * @return @c EINA_TRUE if allowing universal access from file URLs is enabled, @c EINA_FALSE
- * otherwise
- *
- * @see ewk_view_setting_allow_universal_access_from_file_urls_set()
- */
-EAPI Eina_Bool ewk_view_setting_allow_universal_access_from_file_urls_get(const Evas_Object *o);
-
-/**
- * Enables/disables allowing file access from file URLs.
- *
- * This setting specifies whether locally loaded documents are allowed to access other local urls.
- * By default this setting is enabled.
- *
- * @param o view object to set allowing file access from file URLs
- * @param enable @c EINA_TRUE to enable file access from file URLs,
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_allow_file_access_from_file_urls_set(Evas_Object *o, Eina_Bool flag);
-
-/**
- * Gets if allowing file access from file URLs is enabled.
- *
- * @param o view object to query if allowing file access from file URLs is enabled.
- *
- * @return @c EINA_TRUE if allowing file access from file URLs is enabled, @c EINA_FALSE
- * otherwise
- *
- * @see ewk_view_setting_allow_file_access_from_file_urls_set()
- */
-EAPI Eina_Bool ewk_view_setting_allow_file_access_from_file_urls_get(const Evas_Object *o);
-
-/**
- * Gets the internal data of @a o.
- *
- * This is similar to evas_object_smart_data_get(), but additionally does type checking.
- *
- * @param o view object to get the internal data
- *
- * @return the internal data of @a o, or @c NULL on failure
- */
-EAPI Ewk_View_Smart_Data *ewk_view_smart_data_get(const Evas_Object *o);
-
-/**
- * Process scrolls.
- *
- * @param priv the pointer to the private data of the view to process scrolls
- *
- * @note This is not for general use but just for subclasses that want
- * to define their own backing store.
- */
-EAPI void ewk_view_scrolls_process(Ewk_View_Smart_Data *sd);
-
-/**
- * Gets the attributes of the viewport meta tag.
- *
- * Properties are returned in the respective pointers. Passing @c NULL to any of
- * these pointers will make that property to not be returned.
- *
- * @param o view object to get the viewport attributes
- * @param w the pointer to store the width of the viewport
- * @param h the pointer to store the height of the viewport
- * @param init_scale the pointer to store the initial scale value
- * @param max_scale the pointer to store the maximum scale value
- * @param min_scale the pointer to store the minimum scale value
- * @param device_pixel_ratio the pointer to store the device pixel ratio value
- * @param user_scalable the pointer to store if user can scale viewport
- */
-EAPI void ewk_view_viewport_attributes_get(const Evas_Object *o, int *w, int *h, float *init_scale, float *max_scale, float *min_scale, float *device_pixel_ratio , Eina_Bool *user_scalable);
-
-/**
- * Sets the zoom range.
- *
- * @param o view object to set the zoom range
- * @param min_scale the minimum value of the zoom range
- * @param max_scale the maximum value of the zoom range
- *
- * @return @c EINA_TRUE on success, @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_zoom_range_set(Evas_Object *o, float min_scale, float max_scale);
-
-/**
- * Gets the minimum value of the zoom range.
- *
- * @param o view object to get the minimum value of the zoom range
- *
- * @return the minimum value of the zoom range on success, or
- * @c -1 on failure
- */
-EAPI float ewk_view_zoom_range_min_get(const Evas_Object *o);
-
-/**
- * Gets the maximum value of the zoom range.
- *
- * @param o view object to get the maximum value of the zoom range
- *
- * @return the maximum value of the zoom range on success, or
- * @c -1.0 on failure
- */
-EAPI float ewk_view_zoom_range_max_get(const Evas_Object *o);
-
-/**
- * Enables/disables the zoom.
- *
- * @param o view to set zoom
- * @param user_scalable @c EINA_TRUE to enable zoom, @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_user_scalable_set(Evas_Object *o, Eina_Bool user_scalable);
-
-/**
- * Queries if the zoom is enabled.
- *
- * @param o view to query if zoom is enabled
- *
- * @return @c EINA_TRUE if the zoom is enabled, @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_user_scalable_get(const Evas_Object *o);
-
-/**
- * Queries the ratio between the CSS units and device pixels when the content is unscaled.
- *
- * When designing touch-friendly contents, knowing the approximated target size on a device
- * is important for contents providers in order to get the intented layout and element
- * sizes.
- *
- * As most first generation touch devices had a PPI of approximately 160, this became a
- * de-facto value, when used in conjunction with the viewport meta tag.
- *
- * Devices with a higher PPI learning towards 240 or 320, applies a pre-scaling on all
- * content, of either 1.5 or 2.0, not affecting the CSS scale or pinch zooming.
- *
- * This value can be set using this property and it is exposed to CSS media queries using
- * the -webkit-device-pixel-ratio query.
- *
- * For instance, if you want to load an image without having it upscaled on a web view
- * using a device pixel ratio of 2.0 it can be done by loading an image of say 100x100
- * pixels but showing it at half the size.
- *
- * @media (-webkit-min-device-pixel-ratio: 1.5) {
- * .icon {
- * width: 50px;
- * height: 50px;
- * url: "/images/icon@2x.png"; // This is actually a 100x100 image
- * }
- * }
- *
- * If the above is used on a device with device pixel ratio of 1.5, it will be scaled
- * down but still provide a better looking image.
- *
- * @param o view object to get device pixel ratio
- *
- * @return the ratio between the CSS units and device pixels,
- * or @c -1.0 on failure
- */
-EAPI float ewk_view_device_pixel_ratio_get(const Evas_Object *o);
-
-/**
- * Sets the ratio between the CSS units and device pixels when the content is unscaled.
- *
- * @param o view object to set device pixel ratio
- *
- * @return @c EINA_TRUE if the device pixel ratio was set, @c EINA_FALSE otherwise
- *
- * @see ewk_view_device_pixel_ratio_get()
- */
-EAPI Eina_Bool ewk_view_device_pixel_ratio_set(Evas_Object *o, float ratio);
-
-/**
- * Changes the text direction of the selected input node.
- *
- * @param o view object to set text direction.
- * @param direction text direction.
- */
-EAPI void ewk_view_text_direction_set(Evas_Object *o, Ewk_Text_Direction direction);
-
-/**
- * Sets the view mode.
- *
- * The view-mode media feature describes the mode in which the
- * Web application is being shown as a running application.
- *
- * @param o view object to change the view mode
- * @param view_mode page view mode to set
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE otherwise
- */
-EAPI Eina_Bool ewk_view_mode_set(Evas_Object *o, Ewk_View_Mode view_mode);
-
-/**
- * Gets the view mode.
- *
- * @param o view object to get the view mode
- *
- * @return enum value of @a Ewk_View_Mode that indicates current view mode on success or
- * EWK_VIEW_MODE_INVALID otherwise
- *
- * @see ewk_view_mode_set()
- */
-EAPI Ewk_View_Mode ewk_view_mode_get(const Evas_Object *o);
-
-/**
- * Creates a JS object named @a obj_name as property of the window object. This should be called on a callback connectedto the
- * js,windowobject,clear signal.
- *
- * @param o view.
- * @param obj object that will be added(see: @a ewk_js_object_new).
- * @param obj_name name of the object.
- *
- * @return @c EINA_TRUE if object was added, @c EINA_FALSE if not.
- */
-EAPI Eina_Bool ewk_view_js_object_add(Evas_Object *o, Ewk_JS_Object *obj, const char *obj_name);
-
-/// Defines the page visibility status.
-enum _Ewk_Page_Visibility_State {
- EWK_PAGE_VISIBILITY_STATE_VISIBLE,
- EWK_PAGE_VISIBILITY_STATE_HIDDEN,
- EWK_PAGE_VISIBILITY_STATE_PRERENDER,
- EWK_PAGE_VISIBILITY_STATE_UNLOADED
-};
-/// Creates a type name for @a _Ewk_Page_Visibility_State.
-typedef enum _Ewk_Page_Visibility_State Ewk_Page_Visibility_State;
-
-/**
- * Sets the visibility state of the page.
- *
- * This function let WebKit knows the visibility status of the page.
- * WebKit will save the current status, and fire a "visibilitychange"
- * event which web application can listen. Web application could slow
- * down or stop itself when it gets a "visibilitychange" event and its
- * visibility state is hidden. If its visibility state is visible, then
- * the web application could use more resources.
- *
- * This feature makes that web application could use the resources efficiently,
- * such as power, CPU, and etc.
- *
- * If more detailed description is needed, please see the specification.
- * (http://www.w3.org/TR/page-visibility)
- *
- * @param o view object to set the visibility state.
- * @param page_visible_state the visible state of the page to set.
- * @param initial_state @c EINA_TRUE if this function is called at page initialization time,
- * @c EINA_FALSE otherwise.
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
- */
-EAPI Eina_Bool ewk_view_visibility_state_set(Evas_Object *o, Ewk_Page_Visibility_State page_visible_state, Eina_Bool initial_state);
-
-/**
- * Gets the visibility state of the page.
- *
- * @param o view object
- *
- * @return enum value of @a Ewk_Page_Visibility_State that indicates current visibility status of the page.
- *
- * @see ewk_view_visibility_state_set()
- */
-EAPI Ewk_Page_Visibility_State ewk_view_visibility_state_get(const Evas_Object *o);
-
-/**
- * Returns whether the view has displayed mixed content.
- *
- * When a view has displayed mixed content, any of its frames has loaded an HTTPS URI
- * which has itself loaded and displayed a resource (such as an image) from an insecure,
- * that is, non-HTTPS, URI.
- *
- * The status is reset only when a load event occurs (eg. the page is reloaded or a new page is loaded).
- *
- * When one of the containing frames displays mixed content, the view emits the "mixedcontent,displayed" signal.
- *
- * @param o The view to query.
- *
- * @sa ewk_frame_mixed_content_displayed_get
- */
-EAPI Eina_Bool ewk_view_mixed_content_displayed_get(const Evas_Object *o);
-
-/**
- * Returns whether the view has run mixed content.
- *
- * When a view has run mixed content, any of its frames has loaded an HTTPS URI
- * which has itself loaded and run a resource (such as an image) from an insecure,
- * that is, non-HTTPS, URI.
- *
- * The status is reset only when a load event occurs (eg. the page is reloaded or a new page is loaded).
- *
- * When one of the containing frames runs mixed content, the view emits the "mixedcontent,run" signal.
- *
- * @param o The view to query.
- *
- * @sa ewk_frame_mixed_content_run_get
- */
-EAPI Eina_Bool ewk_view_mixed_content_run_get(const Evas_Object *o);
-
-/**
- * Returns whether XSSAuditor feature is enabled.
- *
- * @param o view object to query whether XSSAuditor feature is enabled.
- *
- * @return @c EINA_TRUE if the XSSAuditor feature is enabled,
- * @c EINA_FALSE if not or on failure.
- */
-EAPI Eina_Bool ewk_view_setting_enable_xss_auditor_get(const Evas_Object *o);
-
-/**
- * Enables/disables the XSSAuditor feature.
- *
- * The XSSAuditor (cross-site scripting protection) feature provides protection
- * from reflected XSS attacks on vulnerable web sites. When XSS is encountered
- * in the page, frame sends a signal "xss,detected" with additional information
- * on whether the entire page was blocked or only injected scripts were removed.
- * This feature is enabled by default.
- *
- * @param o view object to set the XSSAuditor feature.
- * @param enable @c EINA_TRUE to enable the XSSAuditor feature,
- * @c EINA_FALSE to disable.
- */
-EAPI void ewk_view_setting_enable_xss_auditor_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Returns whether video captions display feature is enabled.
- *
- * Video captions display is disabled by default.
- *
- * @param o view object to query whether video captions display feature is enabled.
- *
- * @return @c EINA_TRUE if the video captions display feature is enabled,
- * @c EINA_FALSE if not or on failure.
- */
-EAPI Eina_Bool ewk_view_setting_should_display_captions_get(const Evas_Object *o);
-
-/**
- * Enables/disables the video captions display feature.
- *
- * The video captions display feature is part of track support for HTML5 video.
- *
- * @param o view object to set the video captions display feature.
- * @param enable @c EINA_TRUE to enable the video captions display feature,
- * @c EINA_FALSE to disable.
- */
-EAPI void ewk_view_setting_should_display_captions_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Returns whether video subtitles display feature is enabled.
- *
- * Video subtitles display is disabled by default.
- *
- * @param o view object to query whether video subtitles display feature is enabled.
- *
- * @return @c EINA_TRUE if the video subtitles display feature is enabled,
- * @c EINA_FALSE if not or on failure.
- */
-EAPI Eina_Bool ewk_view_setting_should_display_subtitles_get(const Evas_Object *o);
-
-/**
- * Enables/disables the video subtitles display feature.
- *
- * The video subtitles display feature is part of track support for HTML5 video.
- *
- * @param o view object to set the video subtitles display feature.
- * @param enable @c EINA_TRUE to enable the video subtitles display feature,
- * @c EINA_FALSE to disable.
- */
-EAPI void ewk_view_setting_should_display_subtitles_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Returns whether video text descriptions display feature is enabled.
- *
- * Video text descriptions display is disabled by default.
- *
- * @param o view object to query whether video text descriptions display feature is enabled.
- *
- * @return @c EINA_TRUE if the video text descriptions display feature is enabled,
- * @c EINA_FALSE if not or on failure.
- */
-EAPI Eina_Bool ewk_view_setting_should_display_text_descriptions_get(const Evas_Object *o);
-
-/**
- * Enables/disables the video text descriptions display feature.
- *
- * The video text descriptions display feature is part of track support for HTML5 video.
- *
- * @param o view object to set the video text descriptions display feature.
- * @param enable @c EINA_TRUE to enable the video text descriptions display feature,
- * @c EINA_FALSE to disable.
- */
-EAPI void ewk_view_setting_should_display_text_descriptions_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Show the inspector to debug a web page.
- *
- * The following signals are emiited.
- * "inspector,view,create" and "inspector,view,close"
- * The first one will be called to request the view for inspector on view that will be inspected.
- * This callback should create the view for inspector and set the view with ewk_view_inspector_view_set().
- * The second one will be called to close the view for inspector on view having the inspector after disconnecting frontend
- * This callback should remove the view for inspector.
- *
- * When the view having the inspector is removed,
- * please emit the "inspector,view,destroy" signal on view for inspector.
- *
- * @param o The view to show the inspector.
- *
- * @see ewk_view_inspector_close()
- * @see ewk_view_inspector_view_set()
- */
-EAPI void ewk_view_inspector_show(const Evas_Object *o);
-
-/**
- * Close the inspector view
- *
- * @param o The view to close the inspector.
- *
- * @see ewk_view_inspector_show()
- * @see ewk_view_inspector_view_get()
- */
-EAPI void ewk_view_inspector_close(const Evas_Object *o);
-
-/**
- * Get the view of inspector.
- *
- * @param o The view that is inspected.
- *
- * @return view object on success or @c NULL on failure
- */
-EAPI Evas_Object* ewk_view_inspector_view_get(const Evas_Object *o);
-
-/**
- * Set the view of inspector.
- *
- * @param o The view that is inspected.
- * @param inspector_view The view of inspector.
- */
-EAPI void ewk_view_inspector_view_set(Evas_Object *o, Evas_Object *inspector_view);
-
-/**
- * Enables/disables the fullscreen mode by javascript fullscreen API.
- * The javascript API allows to request full screen mode, for more information see:
- * http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
- *
- * Default value for javascript fullscreen API setting is @c EINA_TRUE.
- *
- * @param o view object to enable javascript fullscreen API
- * @param enable @c EINA_TRUE to enable javascript fullscreen API or
- * @c EINA_FALSE to disable
- *
- * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_fullscreen_set(Evas_Object *o, Eina_Bool enable);
-
-/**
- * Queries if the fullscreen mode is enabled.
- *
- * @param o view object to query whether javascript fullscreen API is enabled
- *
- * @return @c EINA_TRUE if the javascript fullscreen API is enabled
- * @c EINA_FALSE if not or on failure
- */
-EAPI Eina_Bool ewk_view_setting_enable_fullscreen_get(const Evas_Object *o);
-
-/**
- * Gets the context menu object.
- * @param o The view that contains context menu.
- *
- * @return context menu structure on success or @c NULL on failure
- */
-EAPI Ewk_Context_Menu *ewk_view_context_menu_get(const Evas_Object *o);
-
-/**
- * Gets the image object of the specified area of the view.
- *
- * The returned image object @b should be freed after use.
- *
- * @param o view object to be captured
- * @param area The area of the view will be captured.
- *
- * @return newly allocated image object on sucess or @c NULL on failure.
- */
-EAPI Evas_Object *ewk_view_screenshot_contents_get(const Evas_Object *o, const Eina_Rectangle *area);
-
-#ifdef __cplusplus
-}
-#endif
-#endif // ewk_view_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_view_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_view_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_view_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_view_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,154 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2012 Samsung Electronics
- Copyright (C) 2012 Intel Corporation
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_view_private_h
-#define ewk_view_private_h
-
-#include "Frame.h"
-#include "NetworkStorageSession.h"
-#include "Page.h"
-#include "Widget.h"
-#include "ewk_view.h"
-
-namespace WebCore {
-#if ENABLE(INPUT_TYPE_COLOR)
-class Color;
-class ColorChooserClient;
-#endif
-
-class Cursor;
-class GraphicsContext3D;
-class GraphicsLayer;
-class HTMLPlugInElement;
-class IntRect;
-class IntSize;
-class PopupMenuClient;
-}
-
-void ewk_view_cursor_set(Evas_Object* ewkView, const WebCore::Cursor& cursor);
-void ewk_view_ready(Evas_Object* ewkView);
-void ewk_view_input_method_state_set(Evas_Object* ewkView, bool active);
-void ewk_view_title_set(Evas_Object* ewkView, const Ewk_Text_With_Direction* title);
-void ewk_view_uri_changed(Evas_Object* ewkView);
-void ewk_view_load_document_finished(Evas_Object* ewkView, Evas_Object* frame);
-void ewk_view_load_started(Evas_Object* ewkView, Evas_Object* ewkFrame);
-void ewk_view_load_provisional(Evas_Object* ewkView);
-void ewk_view_load_provisional_failed(Evas_Object* ewkView, const Ewk_Frame_Load_Error* error);
-void ewk_view_frame_main_load_started(Evas_Object* ewkView);
-void ewk_view_frame_main_cleared(Evas_Object* ewkView);
-void ewk_view_frame_main_icon_received(Evas_Object* ewkView);
-void ewk_view_load_finished(Evas_Object* ewkView, const Ewk_Frame_Load_Error* error);
-void ewk_view_load_error(Evas_Object* ewkView, const Ewk_Frame_Load_Error* error);
-void ewk_view_load_progress_changed(Evas_Object* ewkView);
-void ewk_view_load_show(Evas_Object* ewkView);
-void ewk_view_onload_event(Evas_Object* ewkView, Evas_Object* frame);
-void ewk_view_restore_state(Evas_Object* ewkView, Evas_Object* frame);
-Evas_Object* ewk_view_window_create(Evas_Object* ewkView, bool javascript, const WebCore::WindowFeatures* coreFeatures);
-void ewk_view_window_close(Evas_Object* ewkView);
-
-void ewk_view_mouse_link_hover_in(Evas_Object* ewkView, void* data);
-void ewk_view_mouse_link_hover_out(Evas_Object* ewkView);
-
-void ewk_view_toolbars_visible_set(Evas_Object* ewkView, bool visible);
-void ewk_view_toolbars_visible_get(Evas_Object* ewkView, bool* visible);
-
-void ewk_view_statusbar_visible_set(Evas_Object* ewkView, bool visible);
-void ewk_view_statusbar_visible_get(Evas_Object* ewkView, bool* visible);
-void ewk_view_statusbar_text_set(Evas_Object* ewkView, const char* text);
-
-void ewk_view_scrollbars_visible_set(Evas_Object* ewkView, bool visible);
-void ewk_view_scrollbars_visible_get(Evas_Object* ewkView, bool* visible);
-
-void ewk_view_menubar_visible_set(Evas_Object* ewkView, bool visible);
-void ewk_view_menubar_visible_get(Evas_Object* ewkView, bool* visible);
-
-void ewk_view_tooltip_text_set(Evas_Object* ewkView, const char* text);
-
-void ewk_view_add_console_message(Evas_Object* ewkView, const char* message, unsigned int lineNumber, const char* sourceID);
-
-void ewk_view_run_javascript_alert(Evas_Object* ewkView, Evas_Object* frame, const char* message);
-bool ewk_view_run_javascript_confirm(Evas_Object* ewkView, Evas_Object* frame, const char* message);
-bool ewk_view_run_before_unload_confirm(Evas_Object* ewkView, Evas_Object* frame, const char* message);
-bool ewk_view_run_javascript_prompt(Evas_Object* ewkView, Evas_Object* frame, const char* message, const char* defaultValue, const char** value);
-bool ewk_view_should_interrupt_javascript(Evas_Object* ewkView);
-int64_t ewk_view_exceeded_application_cache_quota(Evas_Object* ewkView, Ewk_Security_Origin *origin, int64_t defaultOriginQuota, int64_t totalSpaceNeeded);
-uint64_t ewk_view_exceeded_database_quota(Evas_Object* ewkView, Evas_Object* frame, const char* databaseName, uint64_t currentSize, uint64_t expectedSize);
-
-bool ewk_view_run_open_panel(Evas_Object* ewkView, Evas_Object* frame, Ewk_File_Chooser* fileChooser, Eina_List** selectedFilenames);
-
-WebCore::Page* ewk_view_core_page_get(const Evas_Object* ewkView);
-
-void ewk_view_frame_rect_changed(Evas_Object* ewkView);
-
-WTF::PassRefPtr<WebCore::Widget> ewk_view_plugin_create(Evas_Object* ewkView, Evas_Object* frame, const WebCore::IntSize& pluginSize, WebCore::HTMLPlugInElement* element, const WebCore::URL& url, const WTF::Vector<WTF::String>& paramNames, const WTF::Vector<WTF::String>& paramValues, const WTF::String& mimeType, bool loadManually);
-
-#if ENABLE(INPUT_TYPE_COLOR)
-void ewk_view_color_chooser_new(Evas_Object* ewkView, WebCore::ColorChooserClient* client, const WebCore::Color& initialColor);
-void ewk_view_color_chooser_changed(Evas_Object* ewkView, const WebCore::Color& newColor);
-#endif
-
-void ewk_view_popup_new(Evas_Object* ewkView, WebCore::PopupMenuClient* client, int selected, const WebCore::IntRect& rect);
-void ewk_view_viewport_attributes_set(Evas_Object* ewkView, const WebCore::ViewportArguments& arguments);
-
-void ewk_view_download_request(Evas_Object* ewkView, Ewk_Download* download);
-
-void ewk_view_editor_client_contents_changed(Evas_Object* ewkView);
-void ewk_view_editor_client_selection_changed(Evas_Object* ewkView);
-
-bool ewk_view_focus_can_cycle(Evas_Object* ewkView, Ewk_Focus_Direction direction);
-
-#if ENABLE(NETSCAPE_PLUGIN_API)
-void ewk_view_js_window_object_clear(Evas_Object* ewkView, Evas_Object* frame);
-#endif
-
-#if ENABLE(TOUCH_EVENTS)
-void ewk_view_need_touch_events_set(Evas_Object*, bool needed);
-bool ewk_view_need_touch_events_get(const Evas_Object*);
-#endif
-
-void ewk_view_layout_if_needed_recursive(Ewk_View_Private_Data* priv);
-
-bool ewk_view_navigation_policy_decision(Evas_Object* ewkView, Ewk_Frame_Resource_Request* request, WebCore::NavigationType);
-
-void ewk_view_contents_size_changed(Evas_Object* ewkView, Evas_Coord width, Evas_Coord height);
-
-WebCore::FloatRect ewk_view_page_rect_get(const Evas_Object* ewkView);
-
-void ewk_view_mixed_content_displayed_set(Evas_Object* ewkView, bool hasDisplayed);
-void ewk_view_mixed_content_run_set(Evas_Object* ewkView, bool hasRun);
-
-void ewk_view_root_graphics_layer_set(Evas_Object* ewkView, WebCore::GraphicsLayer* rootLayer);
-void ewk_view_mark_for_sync(Evas_Object* ewkView);
-
-void ewk_view_force_paint(Evas_Object* ewkView);
-
-#if ENABLE(FULLSCREEN_API)
-void ewk_view_fullscreen_enter(const Evas_Object* ewkView);
-void ewk_view_fullscreen_exit(const Evas_Object* ewkView);
-#endif
-
-namespace EWKPrivate {
-WebCore::Page *corePage(const Evas_Object *ewkView);
-PlatformPageClient corePageClient(Evas_Object* ewkView);
-WebCore::NetworkStorageSession* storageSession(const Evas_Object* ewkView);
-} // namespace EWKPrivate
-
-#endif // ewk_view_private_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_web_databasecpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_web_database.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_web_database.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_web_database.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,182 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Intel Corporation
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_web_database.h"
-
-#include "DatabaseManager.h"
-#include "SecurityOrigin.h"
-#include "ewk_security_origin.h"
-#include "ewk_security_origin_private.h"
-#include "ewk_web_database_private.h"
-#include <Eina.h>
-#include <wtf/RefPtr.h>
-#include <wtf/text/CString.h>
-#include <wtf/text/WTFString.h>
-
-struct _Ewk_Web_Database {
- WTF::RefPtr<WebCore::SecurityOrigin> securityOrigin;
- WTF::String coreName;
- const char* displayName;
- const char* filename;
- const char* name;
-};
-
-const char* ewk_web_database_display_name_get(Ewk_Web_Database* database)
-{
-#if ENABLE(SQL_DATABASE)
- if (database->displayName)
- return database->displayName;
-
- WebCore::SecurityOrigin* origin = database->securityOrigin.get();
- WebCore::DatabaseDetails details = WebCore::DatabaseManager::manager().detailsForNameAndOrigin(database->name, origin);
- database->displayName = eina_stringshare_add(details.displayName().utf8().data());
-
- return database->displayName;
-#else
- UNUSED_PARAM(database);
- return 0;
-#endif
-}
-
-uint64_t ewk_web_database_expected_size_get(const Ewk_Web_Database* database)
-{
-#if ENABLE(SQL_DATABASE)
- WebCore::SecurityOrigin* origin = database->securityOrigin.get();
- WebCore::DatabaseDetails details = WebCore::DatabaseManager::manager().detailsForNameAndOrigin(database->name, origin);
- return details.expectedUsage();
-#else
- UNUSED_PARAM(database);
- return 0;
-#endif
-}
-
-const char* ewk_web_database_filename_get(Ewk_Web_Database* database)
-{
-#if ENABLE(SQL_DATABASE)
- if (database->filename)
- return database->filename;
-
- WebCore::SecurityOrigin* origin = database->securityOrigin.get();
- WTF::String path = WebCore::DatabaseManager::manager().fullPathForDatabase(origin, database->coreName);
- database->filename = eina_stringshare_add(path.utf8().data());
-
- return database->filename;
-#else
- UNUSED_PARAM(database);
- return 0;
-#endif
-}
-
-const char* ewk_web_database_name_get(Ewk_Web_Database* database)
-{
-#if ENABLE(SQL_DATABASE)
- if (database->name)
- return database->name;
-
- database->name = eina_stringshare_add(database->coreName.utf8().data());
-
- return database->name;
-#else
- UNUSED_PARAM(database);
- return 0;
-#endif
-}
-
-Ewk_Security_Origin* ewk_web_database_security_origin_get(const Ewk_Web_Database* database)
-{
- return ewk_security_origin_new(database->securityOrigin.get());
-}
-
-uint64_t ewk_web_database_size_get(const Ewk_Web_Database* database)
-{
-#if ENABLE(SQL_DATABASE)
- WebCore::SecurityOrigin* origin = database->securityOrigin.get();
- WebCore::DatabaseDetails details = WebCore::DatabaseManager::manager().detailsForNameAndOrigin(database->name, origin);
- return details.currentUsage();
-#else
- UNUSED_PARAM(database);
- return 0;
-#endif
-}
-
-void ewk_web_database_remove(Ewk_Web_Database* database)
-{
-#if ENABLE(SQL_DATABASE)
- WebCore::DatabaseManager::manager().deleteDatabase(database->securityOrigin.get(), database->coreName);
-#else
- UNUSED_PARAM(database);
-#endif
-}
-
-void ewk_web_database_remove_all(void)
-{
-#if ENABLE(SQL_DATABASE)
- WebCore::DatabaseManager::manager().deleteAllDatabases();
-#endif
-}
-
-void ewk_web_database_free(Ewk_Web_Database* database)
-{
-#if ENABLE(SQL_DATABASE)
- eina_stringshare_del(database->displayName);
- eina_stringshare_del(database->filename);
- eina_stringshare_del(database->name);
-
- delete database;
-#else
- UNUSED_PARAM(database);
-#endif
-}
-
-void ewk_web_database_list_free(Eina_List* databaseList)
-{
- void* database;
- EINA_LIST_FREE(databaseList, database)
- ewk_web_database_free(static_cast<Ewk_Web_Database*>(database));
-}
-
-/**
- * @internal
- * Creates a wrapper representing a Web Database.
- *
- * @param coreOrigin WebCore Security Origin object
- * @param coreName Web Database name
- *
- * @return a wrapper for manipulating a Web Database. It should be freed
- * by ewk_web_database_free().
- */
-Ewk_Web_Database* ewk_web_database_new(WebCore::SecurityOrigin* coreOrigin, const WTF::String& coreName)
-{
-#if ENABLE(SQL_DATABASE)
- Ewk_Web_Database* database = new Ewk_Web_Database;
-
- database->securityOrigin = coreOrigin;
- database->coreName = coreName;
- database->displayName = 0;
- database->filename = 0;
- database->name = 0;
-
- return database;
-#else
- UNUSED_PARAM(coreOrigin);
- UNUSED_PARAM(coreName);
- return 0;
-#endif
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_web_databaseh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_web_database.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_web_database.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_web_database.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,136 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Intel Corporation
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file ewk_web_database.h
- * @brief Web Database API.
- *
- * This API provides functions for managing Web Database created for a security
- * origin. WebKit needs to be compiled with Web Database support in order to use
- * this API.
- */
-
-#ifndef ewk_web_database_h
-#define ewk_web_database_h
-
-#include "ewk_security_origin.h"
-
-#include <Evas.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef struct _Ewk_Web_Database Ewk_Web_Database;
-
-/**
- * Returns the user friendly name of the database.
- *
- * It returns a internal string which should not
- * be modified. The string is guaranteed to be stringshared.
- *
- * @param o web database object
- *
- * @return the database name
- */
-EAPI const char *ewk_web_database_display_name_get(Ewk_Web_Database *o);
-
-/**
- * Returns the size of the database expected by the web author.
- *
- * @param o web database object
- *
- * @return expected size
- */
-EAPI uint64_t ewk_web_database_expected_size_get(const Ewk_Web_Database *o);
-
-/**
- * Returns the absolute path to the database file.
- *
- * It returns a internal string which should not
- * be modified. The string is guaranteed to be stringshared.
- *
- * @param o web database object
- *
- * @return the database path
- */
-EAPI const char *ewk_web_database_filename_get(Ewk_Web_Database *o);
-
-/**
- * Returns the name of the database.
- *
- * It returns a internal string which should not
- * be modified. The string is guaranteed to be stringshared.
- *
- * @param o web database object
- *
- * @return the database name
- */
-EAPI const char *ewk_web_database_name_get(Ewk_Web_Database *o);
-
-/**
- * Retrieves the security origin of the database.
- *
- * The returned value should be freed by ewk_security_origin_free().
- *
- * @param o web database object
- *
- * @return the security origin
- */
-EAPI Ewk_Security_Origin *ewk_web_database_security_origin_get(const Ewk_Web_Database *o);
-
-/**
- * Returns the size of the database.
- *
- * @param o web database object
- *
- * @return the current size of the database
- */
-EAPI uint64_t ewk_web_database_size_get(const Ewk_Web_Database *o);
-
-/**
- * Remove the database from the security origin and destroy all data.
- *
- * @param o web database object
- */
-EAPI void ewk_web_database_remove(Ewk_Web_Database *o);
-
-/**
- * Remove all the databases in the current default path.
- */
-EAPI void ewk_web_database_remove_all(void);
-
-/**
- * Release all resources allocated by a web database object.
- *
- * @param o web database object
- */
-EAPI void ewk_web_database_free(Ewk_Web_Database *o);
-
-/**
- * Convenience function for releasing all web database objects from a list.
- *
- * @param database_list list of web database objects to be freed
- */
-EAPI void ewk_web_database_list_free(Eina_List *database_list);
-
-#ifdef __cplusplus
-}
-#endif
-#endif // ewk_web_database_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_web_database_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_web_database_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_web_database_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_web_database_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Intel Corporation
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_web_database_private_h
-#define ewk_web_database_private_h
-
-#include <wtf/text/WTFString.h>
-
-namespace WebCore {
-class SecurityOrigin;
-}
-
-Ewk_Web_Database* ewk_web_database_new(WebCore::SecurityOrigin* coreOrigin, const WTF::String& coreName);
-
-#endif // ewk_web_database_private_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_window_featurescpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_window_features.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_window_features.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_window_features.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,121 +0,0 @@
</span><del>-/*
- Copyright (C) 2010 ProFUSION embedded systems
- Copyright (C) 2010 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ewk_window_features.h"
-
-#include "WindowFeatures.h"
-#include "ewk_private.h"
-#include <Eina.h>
-
-/**
- * \struct _Ewk_Window_Features
- * @brief Contains the window features data.
- */
-struct _Ewk_Window_Features {
- unsigned int __ref;
- WebCore::WindowFeatures* core;
-};
-
-void ewk_window_features_unref(Ewk_Window_Features* windowFeatures)
-{
- EINA_SAFETY_ON_NULL_RETURN(windowFeatures);
- EINA_SAFETY_ON_FALSE_RETURN(windowFeatures->__ref > 0);
-
- if (--windowFeatures->__ref)
- return;
-
- delete windowFeatures->core;
- windowFeatures->core = 0;
- delete windowFeatures;
-}
-
-void ewk_window_features_ref(Ewk_Window_Features* windowFeatures)
-{
- EINA_SAFETY_ON_NULL_RETURN(windowFeatures);
- windowFeatures->__ref++;
-}
-
-void ewk_window_features_bool_property_get(const Ewk_Window_Features* windowFeatures, Eina_Bool* toolbarVisible, Eina_Bool* statusbarVisible, Eina_Bool* scrollbarsVisible, Eina_Bool* menubarVisible, Eina_Bool* locationbarVisible, Eina_Bool* fullScreen)
-{
- EINA_SAFETY_ON_NULL_RETURN(windowFeatures);
- EINA_SAFETY_ON_NULL_RETURN(windowFeatures->core);
-
- if (toolbarVisible)
- *toolbarVisible = windowFeatures->core->toolBarVisible;
-
- if (statusbarVisible)
- *statusbarVisible = windowFeatures->core->statusBarVisible;
-
- if (scrollbarsVisible)
- *scrollbarsVisible = windowFeatures->core->scrollbarsVisible;
-
- if (menubarVisible)
- *menubarVisible = windowFeatures->core->menuBarVisible;
-
- if (locationbarVisible)
- *locationbarVisible = windowFeatures->core->locationBarVisible;
-
- if (fullScreen)
- *fullScreen = windowFeatures->core->fullscreen;
-}
-
-void ewk_window_features_int_property_get(const Ewk_Window_Features* windowFeatures, int* x, int* y, int* width, int* height)
-{
- EINA_SAFETY_ON_NULL_RETURN(windowFeatures);
- EINA_SAFETY_ON_NULL_RETURN(windowFeatures->core);
-
- if (x)
- *x = windowFeatures->core->xSet ? static_cast<int>(windowFeatures->core->x) : -1;
-
- if (y)
- *y = windowFeatures->core->ySet ? static_cast<int>(windowFeatures->core->y) : -1;
-
- if (width)
- *width = windowFeatures->core->widthSet ? static_cast<int>(windowFeatures->core->width) : -1;
-
- if (height)
- *height = windowFeatures->core->heightSet ? static_cast<int>(windowFeatures->core->height) : -1;
-}
-
-/* internal methods ****************************************************/
-
-/**
- * @internal
- *
- * Creates a new Ewk_Window_Features object.
- *
- * @param core if not @c 0 a new WebCore::WindowFeatures is allocated copying core features and
- * it is embedded inside the Ewk_Window_Features whose ref count is initialized, if core is @c 0 a new one is created with the default features.
- * @return a new allocated the Ewk_Window_Features object on sucess or @c 0 on failure
- */
-Ewk_Window_Features* ewk_window_features_new_from_core(const WebCore::WindowFeatures* core)
-{
- Ewk_Window_Features* window_features = new Ewk_Window_Features;
-
- if (core)
- window_features->core = new WebCore::WindowFeatures(*core);
- else
- window_features->core = new WebCore::WindowFeatures();
-
- window_features->__ref = 1;
-
- return window_features;
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_window_featuresh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_window_features.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_window_features.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_window_features.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,94 +0,0 @@
</span><del>-/*
- Copyright (C) 2010 ProFUSION embedded systems
- Copyright (C) 2010 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-/**
- * @file ewk_window_features.h
- * @brief Access to the features of window.
- */
-
-#ifndef ewk_window_features_h
-#define ewk_window_features_h
-
-#include <Eina.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/** Creates a type name for _Ewk_Window_Features. */
-typedef struct _Ewk_Window_Features Ewk_Window_Features;
-
-/**
- * Decreases the referece count of an Ewk_Window_Features, possibly freeing it.
- *
- * When the reference count of the object reaches 0, it is freed.
- *
- * @param window_features the object to decrease reference count
- */
-EAPI void ewk_window_features_unref(Ewk_Window_Features *window_features);
-
-/**
- * Increases the reference count of an Ewk_Window_Features.
- *
- * @param window_features the object to increase reference count
- */
-EAPI void ewk_window_features_ref(Ewk_Window_Features *window_features);
-
-/**
- * Gets boolean properties of an Ewk_Window_Features.
- *
- * Properties are returned in the respective pointers. Passing @c NULL to any of
- * these pointers will cause that property to not be returned.
- *
- * @param window_features the object to get boolean properties
- * @param toolbar_visible the pointer to store if toolbar is visible
- * @param statusbar_visible the pointer to store if statusbar is visible
- * @param scrollbars_visible the pointer to store if scrollbars is visible
- * @param menubar_visible the pointer to store if menubar is visible
- * @param locationbar_visible the pointer to store if locationbar is visible
- * @param fullscreen the pointer to store if fullscreen is enabled
- *
- * @see ewk_window_features_int_property_get
- */
-EAPI void ewk_window_features_bool_property_get(const Ewk_Window_Features *window_features, Eina_Bool *toolbar_visible, Eina_Bool *statusbar_visible, Eina_Bool *scrollbars_visible, Eina_Bool *menubar_visible, Eina_Bool *locationbar_visible, Eina_Bool *fullscreen);
-
-/**
- * Gets int properties of an Ewk_Window_Features.
- *
- * Properties are returned in the respective pointers. Passing @c NULL to any of
- * these pointers will cause that property to not be returned.
- *
- * Make sure to check if the value returned is less than 0 before using it, since in
- * that case it means that property was not set in window_features object.
- *
- * @param window_features the window's features
- * @param x the pointer to store x position
- * @param y the pointer to store y position
- * @param w the pointer to store width
- * @param h the pointer to store height
- *
- * @see ewk_window_features_bool_property_get
- */
-EAPI void ewk_window_features_int_property_get(const Ewk_Window_Features *window_features, int *x, int *y, int *w, int *h);
-
-#ifdef __cplusplus
-}
-#endif
-#endif // ewk_window_features_h
</del></span></pre></div>
<a id="trunkSourceWebKiteflewkewk_window_features_privateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/ewk/ewk_window_features_private.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/ewk/ewk_window_features_private.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/ewk/ewk_window_features_private.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,26 +0,0 @@
</span><del>-/*
- Copyright (C) 2009-2010 ProFUSION embedded systems
- Copyright (C) 2009-2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ewk_window_features_private_h
-#define ewk_window_features_private_h
-
-Ewk_Window_Features* ewk_window_features_new_from_core(const WebCore::WindowFeatures* core);
-
-#endif // ewk_window_features_private_h
</del></span></pre></div>
<a id="trunkSourceWebKitefltestsUnitTestUtilsEWKTestBasecpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestBase.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestBase.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestBase.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,63 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this library; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#include "config.h"
-#include "EWKTestBase.h"
-
-#include "EWKTestEnvironment.h"
-#include <EWebKit.h>
-#include <Ecore.h>
-#include <Edje.h>
-
-extern EWKUnitTests::EWKTestEnvironment* environment;
-
-namespace EWKUnitTests {
-
-EWKTestBase::EWKTestBase()
-{
-}
-
-Evas_Object* EWKTestBase::webView()
-{
- return m_ewkTestView.webView();
-}
-
-void EWKTestBase::SetUp()
-{
- ASSERT_TRUE(m_ewkTestView.init());
-}
-
-void EWKTestBase::onLoadFinished(void* data, Evas_Object* webView, void* eventInfo)
-{
- ecore_main_loop_quit();
-}
-
-void EWKTestBase::waitUntilLoadFinished()
-{
- evas_object_smart_callback_add(webView(), "load,finished", onLoadFinished, 0);
- ecore_main_loop_begin();
- evas_object_smart_callback_del(webView(), "load,finished", onLoadFinished);
-}
-
-void EWKTestBase::loadUrl(const char* url)
-{
- ASSERT_TRUE(ewk_view_uri_set(webView(), url));
- waitUntilLoadFinished();
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebKitefltestsUnitTestUtilsEWKTestBaseh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestBase.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestBase.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestBase.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,45 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this library; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#ifndef EWKTestBase_h
-#define EWKTestBase_h
-
-#include "EWKTestConfig.h"
-#include "EWKTestView.h"
-#include <gtest/gtest.h>
-
-namespace EWKUnitTests {
-
-class EWKTestBase: public ::testing::Test {
-public:
- static void onLoadFinished(void* data, Evas_Object* webView, void* eventInfo);
-
- Evas_Object* webView();
- virtual void SetUp();
-protected:
- EWKTestBase();
-
- void loadUrl(const char* url = Config::defaultTestPage);
- void waitUntilLoadFinished();
-
- EWKTestView m_ewkTestView;
-};
-
-}
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKitefltestsUnitTestUtilsEWKTestConfigh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestConfig.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestConfig.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestConfig.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this library; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#ifndef EWKTestConfig_h
-#define EWKTestConfig_h
-
-namespace EWKUnitTests {
-namespace Config {
-static const int defaultViewWidth = 600;
-static const int defaultViewHeight = 800;
-static const char* const defaultThemePath = DEFAULT_THEME_PATH "/default.edj";
-static const char* const defaultTestPage = "file://" DEFAULT_TEST_PAGE_DIR "/default_test_page.html";
-}
-}
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKitefltestsUnitTestUtilsEWKTestEnvironmentcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestEnvironment.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestEnvironment.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestEnvironment.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,47 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this library; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#include "config.h"
-#include "EWKTestEnvironment.h"
-
-#include <EWebKit.h>
-#include <Ecore.h>
-#include <Edje.h>
-
-namespace EWKUnitTests {
-
-EWKTestEnvironment::EWKTestEnvironment(bool useX11Window)
- : m_useX11Window(useX11Window)
-{
-}
-
-void EWKTestEnvironment::SetUp()
-{
- ASSERT_GT(ewk_init(), 0);
-
- const char* proxyUrl = getenv("http_proxy");
- if (proxyUrl)
- ewk_network_proxy_uri_set(proxyUrl);
-}
-
-void EWKTestEnvironment::TearDown()
-{
- ewk_shutdown();
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebKitefltestsUnitTestUtilsEWKTestEnvironmenth"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestEnvironment.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestEnvironment.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestEnvironment.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,38 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this library; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#ifndef EWKTestEnvironment_h
-#define EWKTestEnvironment_h
-
-#include <gtest/gtest.h>
-
-namespace EWKUnitTests {
-
-class EWKTestEnvironment : public ::testing::Environment {
-public:
- explicit EWKTestEnvironment(bool useX11Window);
-
- virtual void SetUp();
- virtual void TearDown();
-private:
- bool m_useX11Window;
-};
-
-}
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKitefltestsUnitTestUtilsEWKTestViewcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,56 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this library; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#include "config.h"
-#include "EWKTestView.h"
-
-#include <EWebKit.h>
-#include <wtf/RefPtr.h>
-
-namespace EWKUnitTests {
-
-EWKTestView::EWKTestView()
-{
-}
-
-bool EWKTestView::init(int width, int height)
-{
- m_webView = nullptr;
-
- m_ecoreEvas = EflUniquePtr<Ecore_Evas>(ecore_evas_new(0, 0, 0, width, height, 0));
- if (!m_ecoreEvas)
- return false;
-
- ecore_evas_show(m_ecoreEvas.get());
- Evas* evas = ecore_evas_get(m_ecoreEvas.get());
- if (!evas)
- return false;
-
- m_webView = adoptRef(ewk_view_add(evas));
- if (!m_webView)
- return false;
-
- ewk_view_theme_set(m_webView.get(), Config::defaultThemePath);
-
- evas_object_resize(m_webView.get(), width, height);
- evas_object_show(m_webView.get());
- evas_object_focus_set(m_webView.get(), EINA_TRUE);
- return true;
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebKitefltestsUnitTestUtilsEWKTestViewh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.h (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.h        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.h        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,47 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this library; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#ifndef EWKTestView_h
-#define EWKTestView_h
-
-#include "EWKTestConfig.h"
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include <wtf/efl/RefPtrEfl.h>
-#include <wtf/efl/UniquePtrEfl.h>
-
-namespace EWKUnitTests {
-
-class EWKTestView {
-public:
- EWKTestView();
-
- Evas_Object* webView() { return m_webView.get(); }
-
- bool init(int width = Config::defaultViewWidth, int height = Config::defaultViewHeight);
-private:
- EWKTestView(const EWKTestView&);
- EWKTestView& operator=(const EWKTestView&);
-
- EflUniquePtr<Ecore_Evas> m_ecoreEvas;
- RefPtr<Evas_Object> m_webView;
-};
-
-}
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebKitefltestsresourcesdefault_test_pagehtml"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/resources/default_test_page.html (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/resources/default_test_page.html        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/resources/default_test_page.html        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-<HTML>
-<BODY>
-<H2 align="center">EFL Unit Tests</H2>
-<H2 align="center">Default Testing Web Page</H2>
-</BODY>
-</HTML>
</del></span></pre></div>
<a id="trunkSourceWebKiteflteststest_ewk_contextmenucpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/test_ewk_contextmenu.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/test_ewk_contextmenu.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/test_ewk_contextmenu.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,124 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this library; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#include "config.h"
-
-#include "UnitTestUtils/EWKTestBase.h"
-#include "UnitTestUtils/EWKTestConfig.h"
-#include <EWebKit.h>
-#include <Ecore.h>
-#include <wtf/OwnPtr.h>
-#include <wtf/PassOwnPtr.h>
-
-using namespace EWKUnitTests;
-
-/**
- * @brief Checking whether function creates proper menu item.
- *
- * This test creates a menu item and checks if all menu item's attributes are
- * the same as passed to tested function.
- */
-TEST_F(EWKTestBase, ewk_context_menu_item_new)
-{
- loadUrl();
-
- Evas* evas = evas_object_evas_get(webView());
- ASSERT_TRUE(evas);
-
- Evas_Event_Mouse_Down mouseDown;
- mouseDown.button = 3;
- mouseDown.output.x = 0;
- mouseDown.output.y = 0;
- mouseDown.canvas.x = 0;
- mouseDown.canvas.y = 0;
- mouseDown.data = 0;
- mouseDown.modifiers = const_cast<Evas_Modifier*>(evas_key_modifier_get(evas));
- mouseDown.locks = const_cast<Evas_Lock*>(evas_key_lock_get(evas));
- mouseDown.flags = EVAS_BUTTON_NONE;
- mouseDown.timestamp = ecore_loop_time_get();
- mouseDown.event_flags = EVAS_EVENT_FLAG_NONE;
- mouseDown.dev = 0;
-
- ASSERT_TRUE(ewk_view_context_menu_forward_event(webView(), &mouseDown));
-
- Ewk_Context_Menu* contextMenu = ewk_view_context_menu_get(webView());
-
- ASSERT_TRUE(contextMenu);
-
- Ewk_Context_Menu_Item_Type itemType = EWK_ACTION_TYPE;
- Ewk_Context_Menu_Action itemAction = EWK_CONTEXT_MENU_ITEM_CUSTOM_TAG_NO_ACTION;
- const char* itemTitle = "Test Item";
- bool itemChecked = false;
- bool itemEnabled = false;
-
- Ewk_Context_Menu_Item* contextMenuItem = ewk_context_menu_item_new(itemType, itemAction, contextMenu, 0, itemTitle, itemChecked, itemEnabled);
-
- ASSERT_TRUE(contextMenuItem);
-
- EXPECT_EQ(itemType, ewk_context_menu_item_type_get(contextMenuItem));
- EXPECT_EQ(itemAction, ewk_context_menu_item_action_get(contextMenuItem));
- EXPECT_EQ(contextMenu, ewk_context_menu_item_parent_get(contextMenuItem));
- EXPECT_STREQ(itemTitle, ewk_context_menu_item_title_get(contextMenuItem));
- EXPECT_EQ(itemChecked, ewk_context_menu_item_checked_get(contextMenuItem));
- EXPECT_EQ(itemEnabled, ewk_context_menu_item_enabled_get(contextMenuItem));
-
- ewk_context_menu_item_free(contextMenuItem);
-}
-
-/**
- * @brief Checking whether function returns proper parent menu.
- *
- * This test creates a context menus, and checks if created context menu's
- * parent is the same for each of menu items.
- */
-TEST_F(EWKTestBase, ewk_context_menu_item_parent_get)
-{
- loadUrl();
-
- Evas* evas = evas_object_evas_get(webView());
- ASSERT_TRUE(evas);
-
- Evas_Event_Mouse_Down mouseDown;
- mouseDown.button = 3;
- mouseDown.output.x = 0;
- mouseDown.output.y = 0;
- mouseDown.canvas.x = 0;
- mouseDown.canvas.y = 0;
- mouseDown.data = 0;
- mouseDown.modifiers = const_cast<Evas_Modifier*>(evas_key_modifier_get(evas));
- mouseDown.locks = const_cast<Evas_Lock*>(evas_key_lock_get(evas));
- mouseDown.flags = EVAS_BUTTON_NONE;
- mouseDown.timestamp = ecore_loop_time_get();
- mouseDown.event_flags = EVAS_EVENT_FLAG_NONE;
- mouseDown.dev = 0;
-
- ASSERT_TRUE(ewk_view_context_menu_forward_event(webView(), &mouseDown));
-
- Ewk_Context_Menu* contextMenu = ewk_view_context_menu_get(webView());
-
- ASSERT_TRUE(contextMenu);
-
- const Eina_List* contextMenuItems = ewk_context_menu_item_list_get(contextMenu);
-
- ASSERT_TRUE(contextMenuItems);
-
- const Eina_List* listIterator;
- void* data;
- EINA_LIST_FOREACH(contextMenuItems, listIterator, data)
- EXPECT_EQ(contextMenu, ewk_context_menu_item_parent_get(static_cast<Ewk_Context_Menu_Item*>(data)));
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflteststest_ewk_framecpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/test_ewk_frame.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/test_ewk_frame.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/test_ewk_frame.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,66 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Red istributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND ITS CONTRIBUTORS
- * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * HOLDERS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-
-#include "UnitTestUtils/EWKTestBase.h"
-#include "UnitTestUtils/EWKTestConfig.h"
-#include <EWebKit.h>
-
-using namespace EWKUnitTests;
-
-static void initBuffer(char** buffer)
-{
- free(*buffer);
- *buffer = 0;
-}
-
-/**
- * @brief Unit test for ewk_frame_source_get.
- */
-TEST_F(EWKTestBase, ewk_frame_source_get)
-{
- char* buffer = 0;
- ssize_t failed = -1;
-
- // Checking if function works properly without loading url.
- ssize_t read = ewk_frame_source_get(ewk_view_frame_main_get(webView()), &buffer);
- ASSERT_EQ(read, failed);
- initBuffer(&buffer);
-
- // FIXME: BUG 49246 has changed load behavior when malformed url is inputed. Timer operation might be needed to sync with WK2.
- // See https://bugs.webkit.org/show_bug.cgi?id=105620 for more details.
- // Checking if function works properly when loading non-existing url.
- // loadUrl("http://www.abcdefg^^.com");
- // read = ewk_frame_source_get(ewk_view_frame_main_get(webView()), &buffer);
- // ASSERT_EQ(read, failed);
- // initBuffer(&buffer);
-
- // Checking if function works properly when finishing load url.
- loadUrl();
- read = ewk_frame_source_get(ewk_view_frame_main_get(webView()), &buffer);
- ASSERT_GT(read, 0);
- initBuffer(&buffer);
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflteststest_ewk_settingcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/test_ewk_setting.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/test_ewk_setting.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/test_ewk_setting.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,188 +0,0 @@
</span><del>-/*
- * Copyright (C) 2013 Cisco Systems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Red istributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND ITS CONTRIBUTORS
- * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * HOLDERS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-
-#include "UnitTestUtils/EWKTestBase.h"
-#include "UnitTestUtils/EWKTestConfig.h"
-#include <EWebKit.h>
-
-using namespace EWKUnitTests;
-
-/**
- * @brief Unit test for checking set/get of default quota for Web Database databases by ewk settings API.
- */
-TEST_F(EWKTestBase, ewk_settings_web_database_default_quota)
-{
- ASSERT_EQ(1 * 1024 * 1024, ewk_settings_web_database_default_quota_get());
-
- ewk_settings_web_database_default_quota_set(2 * 1024 * 1024);
- ASSERT_EQ(2 * 1024 * 1024, ewk_settings_web_database_default_quota_get());
-
- ewk_settings_web_database_default_quota_set(3 * 1024 * 1024);
- ASSERT_EQ(3 * 1024 * 1024, ewk_settings_web_database_default_quota_get());
-}
-
-/**
- * @brief Unit test for checking set/get of directory path where Web Database databases is stored by ewk settings API.
- */
-TEST_F(EWKTestBase, ewk_settings_web_database_path)
-{
- char* homePath = getenv("HOME");
- char* defaultPath = reinterpret_cast<char*>(malloc(strlen(homePath) + strlen("/.cache/WebKitEfl/Databases") + 1));
-
-#if ENABLE(SQL_DATABASE)
- strncpy(defaultPath, homePath, strlen(homePath) + 1);
- ASSERT_STREQ(strcat(defaultPath, "/.cache/WebKitEfl/Databases"), ewk_settings_web_database_path_get());
-#else
- ASSERT_STREQ(0, ewk_settings_web_database_path_get());
-#endif
- free(defaultPath);
-
- ewk_settings_web_database_path_set("~/data/webkitDB");
-#if ENABLE(SQL_DATABASE)
- ASSERT_STREQ("~/data/webkitDB", ewk_settings_web_database_path_get());
-#else
- ASSERT_STREQ(0, ewk_settings_web_database_path_get());
-#endif
-
- ewk_settings_web_database_path_set("~/tmp/webkit");
-#if ENABLE(SQL_DATABASE)
- ASSERT_STREQ("~/tmp/webkit", ewk_settings_web_database_path_get());
-#else
- ASSERT_STREQ(0, ewk_settings_web_database_path_get());
-#endif
-}
-
-/**
- * @brief Unit test for checking set/get of directory path where the HTML5 local storage indexing database is stored by ewk settings API.
- */
-TEST_F(EWKTestBase, ewk_settings_local_storage_path)
-{
- char* homePath = getenv("HOME");
- char* defaultPath = reinterpret_cast<char*>(malloc(strlen(homePath) + strlen("/.local/share/WebKitEfl/LocalStorage") + 1));
-
- strncpy(defaultPath, homePath, strlen(homePath) + 1);
- ASSERT_STREQ(strcat(defaultPath, "/.local/share/WebKitEfl/LocalStorage"), ewk_settings_local_storage_path_get());
- free(defaultPath);
-
- ewk_settings_local_storage_path_set("~/data/webkitDB");
- ASSERT_STREQ("~/data/webkitDB", ewk_settings_local_storage_path_get());
-
- ewk_settings_local_storage_path_set("~/tmp/webkit");
- ASSERT_STREQ("~/tmp/webkit", ewk_settings_local_storage_path_get());
-}
-
-/**
- * @brief Unit test for checking set/get of directory path where icon database is stored by ewk settings API.
- */
-TEST_F(EWKTestBase, ewk_settings_icon_database_path)
-{
- ASSERT_STREQ(0, ewk_settings_icon_database_path_get());
-
- ASSERT_TRUE(ewk_settings_icon_database_path_set("/tmp"));
- ASSERT_STREQ("/tmp", ewk_settings_icon_database_path_get());
-
- ASSERT_TRUE(ewk_settings_icon_database_path_set(0));
- ASSERT_STREQ(0, ewk_settings_icon_database_path_get());
-}
-
-/**
- * @brief Unit test for checking set/get of path where the HTML5 application cache is stored by ewk settings API.
- */
-TEST_F(EWKTestBase, ewk_settings_application_cache_path)
-{
- char* homePath = getenv("HOME");
- char* defaultPath = reinterpret_cast<char*>(malloc(strlen(homePath) + strlen("/.cache/WebKitEfl/Applications") + 1));
-
- strncpy(defaultPath, homePath, strlen(homePath) + 1);
- ASSERT_STREQ(strcat(defaultPath, "/.cache/WebKitEfl/Applications"), ewk_settings_application_cache_path_get());
- free(defaultPath);
-
- ewk_settings_application_cache_path_set("~/data/webkitApp");
- ASSERT_STREQ("~/data/webkitApp", ewk_settings_application_cache_path_get());
-
- ewk_settings_application_cache_path_set("~/tmp/webkitApp");
- ASSERT_STREQ("~/tmp/webkitApp", ewk_settings_application_cache_path_get());
-}
-
-/**
- * @brief Unit test for checking set/get of maximum size of the application cache for HTML5 Offline Web Applications by ewk settings API.
- */
-TEST_F(EWKTestBase, ewk_settings_application_cache_max_quota)
-{
- ASSERT_EQ(std::numeric_limits<int64_t>::max(), ewk_settings_application_cache_max_quota_get());
-
- ewk_settings_application_cache_max_quota_set(3 * 1024 * 1024);
- ASSERT_EQ(3 * 1024 * 1024, ewk_settings_application_cache_max_quota_get());
-
- ewk_settings_application_cache_max_quota_set(5 * 1024 * 1024);
- ASSERT_EQ(5 * 1024 * 1024, ewk_settings_application_cache_max_quota_get());
-}
-
-/**
- * @brief Unit test for checking set/get of in-memory object cache Enables/Disables status by ewk settings API.
- */
-TEST_F(EWKTestBase, ewk_settings_object_cache_enable)
-{
- ASSERT_TRUE(ewk_settings_object_cache_enable_get());
-
- ewk_settings_object_cache_enable_set(false);
- ASSERT_FALSE(ewk_settings_object_cache_enable_get());
-
- ewk_settings_object_cache_enable_set(true);
- ASSERT_TRUE(ewk_settings_object_cache_enable_get());
-}
-
-/**
- * @brief Unit test for checking set/get of maximum number of pages in the memory page cache by ewk settings API.
- */
-TEST_F(EWKTestBase, ewk_settings_page_cache_capacity)
-{
- ASSERT_EQ(3, ewk_settings_page_cache_capacity_get());
-
- ewk_settings_page_cache_capacity_set(5);
- ASSERT_EQ(5, ewk_settings_page_cache_capacity_get());
-}
-
-/**
- * @brief Unit test for checking set/get of css media type by ewk settings API.
- */
-TEST_F(EWKTestBase, ewk_settings_css_media_type)
-{
- ASSERT_STREQ(0, ewk_settings_css_media_type_get());
-
- ewk_settings_css_media_type_set("handheld");
- ASSERT_STREQ("handheld", ewk_settings_css_media_type_get());
-
- ewk_settings_css_media_type_set("tv");
- ASSERT_STREQ("tv", ewk_settings_css_media_type_get());
-
- ewk_settings_css_media_type_set("screen");
- ASSERT_STREQ("screen", ewk_settings_css_media_type_get());
-
- ewk_settings_css_media_type_set(0);
- ASSERT_STREQ(0, ewk_settings_css_media_type_get());
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflteststest_ewk_viewcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/test_ewk_view.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/test_ewk_view.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/test_ewk_view.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,130 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this library; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#include "config.h"
-
-#include "UnitTestUtils/EWKTestBase.h"
-#include "UnitTestUtils/EWKTestConfig.h"
-#include <EWebKit.h>
-#include <Ecore.h>
-#include <wtf/OwnPtr.h>
-#include <wtf/PassOwnPtr.h>
-
-using namespace EWKUnitTests;
-
-/**
-* @brief Checking whether function properly returns correct value.
-*/
-TEST_F(EWKTestBase, ewk_view_editable_get)
-{
- loadUrl();
- ewk_view_editable_set(webView(), true);
- ASSERT_TRUE(ewk_view_editable_get(webView()));
-}
-
-/**
-* @brief Checking whether function returns correct uri string.
-*/
-TEST_F(EWKTestBase, ewk_view_uri_get)
-{
- loadUrl();
- ASSERT_STREQ(Config::defaultTestPage, ewk_view_uri_get(webView()));
-}
-
-/**
-* @brief Checking whether function properly get/set fullscreen setting value.
-*/
-TEST_F(EWKTestBase, ewk_view_setting_enable_fullscreen)
-{
- loadUrl();
-#if ENABLE(FULLSCREEN_API)
- ASSERT_TRUE(ewk_view_setting_enable_fullscreen_get(webView()));
-
- ASSERT_TRUE(ewk_view_setting_enable_fullscreen_set(webView(), true));
- ASSERT_TRUE(ewk_view_setting_enable_fullscreen_get(webView()));
-
- ASSERT_TRUE(ewk_view_setting_enable_fullscreen_set(webView(), false));
- ASSERT_FALSE(ewk_view_setting_enable_fullscreen_get(webView()));
-#else
- ASSERT_FALSE(ewk_view_setting_enable_fullscreen_get(webView()));
-
- ASSERT_FALSE(ewk_view_setting_enable_fullscreen_set(webView(), true));
- ASSERT_FALSE(ewk_view_setting_enable_fullscreen_get(webView()));
-
- ASSERT_FALSE(ewk_view_setting_enable_fullscreen_set(webView(), false));
- ASSERT_FALSE(ewk_view_setting_enable_fullscreen_get(webView()));
-#endif
-}
-
-/**
- * @brief Checking whether function returns proper context menu structure.
- *
- * This test creates a context menu and checks if context menu structure
- * is not NULL;
- */
-TEST_F(EWKTestBase, ewk_view_context_menu_get)
-{
- loadUrl();
-
- Evas* evas = evas_object_evas_get(webView());
- ASSERT_TRUE(evas);
-
- Evas_Event_Mouse_Down mouseDown;
- mouseDown.button = 3;
- mouseDown.output.x = 0;
- mouseDown.output.y = 0;
- mouseDown.canvas.x = 0;
- mouseDown.canvas.y = 0;
- mouseDown.data = 0;
- mouseDown.modifiers = const_cast<Evas_Modifier*>(evas_key_modifier_get(evas));
- mouseDown.locks = const_cast<Evas_Lock*>(evas_key_lock_get(evas));
- mouseDown.flags = EVAS_BUTTON_NONE;
- mouseDown.timestamp = ecore_loop_time_get();
- mouseDown.event_flags = EVAS_EVENT_FLAG_NONE;
- mouseDown.dev = 0;
-
- ASSERT_TRUE(ewk_view_context_menu_forward_event(webView(), &mouseDown));
-
- ASSERT_TRUE(ewk_view_context_menu_get(webView()));
-}
-
-TEST_F(EWKTestBase, ewk_view_screenshot_contents_get)
-{
- loadUrl();
-
- Evas_Coord width, height;
-
- Eina_Rectangle area;
- area.x = 10;
- area.y = 10;
- area.w = 20;
- area.h = 30;
- Evas_Object* screenshot = ewk_view_screenshot_contents_get(webView(), &area);
- evas_object_geometry_get(screenshot, 0, 0, &width, &height);
- ASSERT_EQ(area.w, width);
- ASSERT_EQ(area.h, height);
- evas_object_del(screenshot);
-
- screenshot = ewk_view_screenshot_contents_get(webView(), 0);
- ASSERT_FALSE(screenshot);
-
- area.w = 0;
- area.h = 0;
- screenshot = ewk_view_screenshot_contents_get(webView(), &area);
- ASSERT_FALSE(screenshot);
-}
</del></span></pre></div>
<a id="trunkSourceWebKiteflteststest_runnercpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/efl/tests/test_runner.cpp (170288 => 170289)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/efl/tests/test_runner.cpp        2014-06-23 12:13:34 UTC (rev 170288)
+++ trunk/Source/WebKit/efl/tests/test_runner.cpp        2014-06-23 13:33:26 UTC (rev 170289)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-/*
- Copyright (C) 2012 Samsung Electronics
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this library; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#include "config.h"
-
-#include "UnitTestUtils/EWKTestBase.h"
-#include "UnitTestUtils/EWKTestEnvironment.h"
-#include <getopt.h>
-#include <gtest/gtest.h>
-
-using namespace EWKUnitTests;
-
-EWKTestEnvironment* environment = 0;
-
-static int parseCustomArguments(int argc, char** argv)
-{
- int useX11Window = 0;
- static const option options[] = {
- {"useX11Window", no_argument, &useX11Window, true},
- {0, 0, 0, 0}
- };
-
- int option;
- while ((option = getopt_long(argc, argv, "", options, 0)) != -1) { }
-
- return useX11Window;
-}
-
-int main(int argc, char** argv)
-{
- int useX11Window = parseCustomArguments(argc, argv);
- environment = new EWKTestEnvironment(useX11Window);
- testing::AddGlobalTestEnvironment(environment);
- ::testing::InitGoogleTest(&argc, argv);
-
- return RUN_ALL_TESTS();
-}
</del></span></pre>
</div>
</div>
</body>
</html>