[EFL] Default.edj should be generated although ENABLE_WEBKIT disabled.
[WebKit-https.git] / Source / WebKit / efl / ChangeLog
1 2012-10-03  Ryuan Choi  <ryuan.choi@samsung.com>
2
3         [EFL] Default.edj should be generated although ENABLE_WEBKIT disabled.
4         https://bugs.webkit.org/show_bug.cgi?id=97753
5
6         Reviewed by Laszlo Gombos.
7
8         default.edj is used in both webkit/efl and webkit2/efl.
9         However, it has been generated only when ENABLE_WEBKIT is enabled.
10
11         This patch separates the script which generates default.edj
12         from source/webkit/platformefl.cmake.
13
14         * DefaultTheme/CMakeLists.txt:
15         Extracted from Source/WebKit/PlatformEfl.cmake and sanitized.
16
17 2012-10-03  Christophe Dumez  <christophe.dumez@intel.com>
18
19         [EFL] Enable use of X11 in DumpRenderTree / WebKitTestRunner
20         https://bugs.webkit.org/show_bug.cgi?id=98231
21
22         Reviewed by Gyuyoung Kim.
23
24         Initialize ecore_x library in ewk_main since it is used by
25         WebKitEFL.
26
27         * ewk/ewk_main.cpp:
28         (ewk_init):
29         (ewk_shutdown):
30
31 2012-10-03  Kangil Han  <kangil.han@samsung.com>
32
33         Fix unused parameter compile warnings.
34         https://bugs.webkit.org/show_bug.cgi?id=98243
35
36         Reviewed by Alexey Proskuryakov.
37
38         Fixed unused parameter compile warning by removing page parameter name and UNUSED_PARAM usage.
39
40         * WebCoreSupport/PlatformStrategiesEfl.cpp:
41         (PlatformStrategiesEfl::getPluginInfo):
42
43 2012-10-03  Jinwoo Song  <jinwoo7.song@samsung.com>
44
45         [EFL] Change the reversed expected and actual parameter in WebKit1 unit tests
46         https://bugs.webkit.org/show_bug.cgi?id=98276
47
48         Reviewed by Laszlo Gombos.
49
50         Expected value should be at first and actual value be followed in ASSERT_STREQ().
51
52         * tests/test_ewk_view.cpp:
53         (TEST_F):
54
55 2012-10-02  Carlos Garcia Campos  <cgarcia@igalia.com>
56
57         [GTK] Add API to get the web view that initiated a custom URI request to WebKit2 GTK+
58         https://bugs.webkit.org/show_bug.cgi?id=97895
59
60         Reviewed by Martin Robinson.
61
62         * WebCoreSupport/FrameNetworkingContextEfl.cpp:
63         (WebCore::FrameNetworkingContextEfl::initiatingPageID): Stub
64         implementation.
65         * WebCoreSupport/FrameNetworkingContextEfl.h:
66         (FrameNetworkingContextEfl): Added.
67
68 2012-10-02  Krzysztof Czech  <k.czech@samsung.com>
69
70         [EFL][UT] Refactoring an implementation of testing framework for wk1.
71         https://bugs.webkit.org/show_bug.cgi?id=94925
72
73         Reviewed by Gyuyoung Kim.
74
75         The reason of changing, was to adjust current implementation to use gtest features
76         related to cleaning (SetUp, TearDown), cleaning code in terms of useless methods
77         and lastly to make framework easier to use.
78
79         * tests/UnitTestUtils/EWKTestBase.cpp:
80         (EWKUnitTests::EWKTestBase::EWKTestBase):
81         (EWKUnitTests::EWKTestBase::webView): Returns current webview.
82         (EWKUnitTests::EWKTestBase::SetUp):
83         Before test is started, SetUp is called.
84         Used this to initialize test view.
85         (EWKUnitTests::EWKTestBase::onLoadFinished):
86         (EWKUnitTests::EWKTestBase::waitUntilLoadFinished): It waits till test page will be properly loaded.
87         (EWKUnitTests::EWKTestBase::loadUrl): Starts loading test page.
88         * tests/UnitTestUtils/EWKTestBase.h:
89         * tests/UnitTestUtils/EWKTestEnvironment.cpp:
90         Used to have global SetUp and TearDown.
91         Global SetUp starts initialization of webkit wherease
92         global TearDown shuts it down. Generally we would like to have
93         only one initialization of webkit while tests are executed.
94         (EWKUnitTests):
95         (EWKUnitTests::EWKTestEnvironment::EWKTestEnvironment):
96         (EWKUnitTests::EWKTestEnvironment::SetUp): Starts initialization of webkit.
97         (EWKUnitTests::EWKTestEnvironment::TearDown): Shuts down of webkit.
98         * tests/UnitTestUtils/EWKTestEnvironment.h:
99         (EWKUnitTests):
100         (EWKTestEnvironment):
101         (EWKUnitTests::EWKTestEnvironment::useX11Window):
102         * tests/UnitTestUtils/EWKTestView.cpp:
103         (EWKUnitTests::EWKTestView::EWKTestView):
104         (EWKUnitTests::EWKTestView::init): Starts initialization of test view.
105         * tests/UnitTestUtils/EWKTestView.h:
106         (EWKTestView):
107         * tests/test_ewk_view.cpp: adjusted current unit tests to new implementation.
108         (TEST_F):
109         * tests/test_runner.cpp: entry point of all tests.
110         (parseCustomArguments):
111         (main):
112
113 2012-10-01  Brady Eidson  <beidson@apple.com>
114
115         Remove the Safari 2 -> Safari 3 icon database import code.
116         https://bugs.webkit.org/show_bug.cgi?id=98113
117
118         Reviewed by Maciej Stachowiak.
119
120         Nuke the performImport() IconDatabaseClient method.
121
122         * WebCoreSupport/IconDatabaseClientEfl.cpp:
123         * WebCoreSupport/IconDatabaseClientEfl.h:
124
125 2012-09-28  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
126
127         Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports
128         https://bugs.webkit.org/show_bug.cgi?id=97547
129
130         Reviewed by Adam Barth.
131
132         Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
133         inside WebCore::FrameLoaderClientEfl::canShowMIMEType().
134
135         * WebCoreSupport/FrameLoaderClientEfl.cpp:
136         (WebCore::FrameLoaderClientEfl::canShowMIMEType):
137
138 2012-09-28  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
139
140         [EFL][DRT] EFL DRT should disable visited links tracking by default
141         https://bugs.webkit.org/show_bug.cgi?id=97881
142
143         Reviewed by Kenneth Rohde Christiansen.
144
145         Added aux DumpRenderTreeSupportEfl::setShouldTrackVisitedLinks() function.
146
147         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
148         (DumpRenderTreeSupportEfl::setShouldTrackVisitedLinks):
149         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
150
151 2012-09-27  Christophe Dumez  <christophe.dumez@intel.com>
152
153         [EFL] No way to exit video fullscreen mode once entered
154         https://bugs.webkit.org/show_bug.cgi?id=97631
155
156         Reviewed by Kenneth Rohde Christiansen.
157
158         Fix default theme so that we have 2 fullscreen buttons, one
159         to enter fullscreen mode and another to exit it.
160
161         New icon by Alexander Shalamov.
162
163         * DefaultTheme/widget/mediacontrol/fullscreenbutton/enterfullscreenbutton.png: Added.
164         * DefaultTheme/widget/mediacontrol/fullscreenbutton/exitfullscreenbutton.png: Added.
165         * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreen_button.edc:
166         * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreenbutton.png: Removed.
167
168 2012-09-26  Jinwoo Song  <jinwoo7.song@samsung.com>
169
170         [EFL] Fix the typo in the ewk_view_fullscreen_exit()
171         https://bugs.webkit.org/show_bug.cgi?id=97635
172
173         Reviewed by Gyuyoung Kim.
174
175         Fix the silly typo in the ewk_view_fullscreen_exit() API.
176
177         * ewk/ewk_view.cpp:
178         (ewk_view_fullscreen_exit):
179
180 2012-09-25  Jinwoo Song  <jinwoo7.song@samsung.com>
181
182         [EFL] Add fullscreen set/get APIs and callbacks
183         https://bugs.webkit.org/show_bug.cgi?id=97421
184
185         Reviewed by Gyuyoung Kim.
186
187         Add setting APIs for JavaScript Fullscreen API and also add two callbacks to ewk_view API,
188         so that UI could customise behavior when fullscreen mode is requested.
189
190         * WebCoreSupport/ChromeClientEfl.cpp:
191         (WebCore::ChromeClientEfl::enterFullScreenForElement):
192         (WebCore::ChromeClientEfl::exitFullScreenForElement):
193         * ewk/ewk_view.cpp:
194         (_Ewk_View_Private_Data):
195         (_ewk_view_priv_new):
196         (ewk_view_setting_enable_fullscreen_get):
197         (ewk_view_setting_enable_fullscreen_set):
198         (ewk_view_fullscreen_enter):
199         (ewk_view_fullscreen_exit):
200         * ewk/ewk_view.h:
201         * ewk/ewk_view_private.h:
202         * tests/test_ewk_view.cpp:
203         (ewkViewEnableFullscreenCb):
204         (TEST):
205
206 2012-09-25  Beth Dakin  <bdakin@apple.com>
207
208         https://bugs.webkit.org/show_bug.cgi?id=95397
209         Need to merge didFirstVisuallyNonEmptyLayout and 
210         didNewFirstVisuallyNonEmptyLayout
211         -and corresponding-
212         <rdar://problem/10791680>
213
214         Reviewed by Sam Weinig.
215
216         Remove dispatchDidFirstLayout, 
217         dispatchDidFirstVisuallyNonEmptyLayout, and 
218         dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality 
219         is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
220         * WebCoreSupport/FrameLoaderClientEfl.cpp:
221         (WebCore::FrameLoaderClientEfl::dispatchDidLayout):
222         * WebCoreSupport/FrameLoaderClientEfl.h:
223         (FrameLoaderClientEfl):
224
225         It is now necessary to opt into getting any of the 
226         "layout milestone" notifications.
227         * ewk/ewk_view.cpp:
228         (_ewk_view_priv_new):
229
230 2012-09-24  Dominik Röttsches  <dominik.rottsches@intel.com>
231
232         [EFL][DRT] Enable Regions support
233         https://bugs.webkit.org/show_bug.cgi?id=83897
234
235         Reviewed by Kenneth Rohde Christiansen.
236
237         Activating CSS regions by default for EWK views.
238
239         * ewk/ewk_view.cpp: Switch CSS regions on by default.
240         (_ewk_view_priv_new):
241
242 2012-09-23  Byungwoo Lee  <bw80.lee@gmail.com>
243
244         Fix build warnings : -Wunused-parameter, -Wparentheses, -Wuninitialized.
245         https://bugs.webkit.org/show_bug.cgi?id=97306
246
247         Reviewed by Benjamin Poulain.
248
249         Fix build warning about -Wunused-parameter on FrameLoaderClientEfl.cpp
250         by using ASSERT_UNUSED() macro.
251         Fix build warning aboug -Wparentheses on ewk_frame.cpp by adding
252         additional brace for the assign statement.
253
254         * WebCoreSupport/FrameLoaderClientEfl.cpp:
255         (WebCore::FrameLoaderClientEfl::dispatchDidChangeIcons):
256         * ewk/ewk_frame.cpp:
257         (ewk_frame_resources_location_get):
258
259 2012-09-21  Christophe Dumez  <christophe.dumez@intel.com>
260
261         [EFL] EventSender should mimic CTRL+o emacs shortcut
262         https://bugs.webkit.org/show_bug.cgi?id=97224
263
264         Reviewed by Kenneth Rohde Christiansen.
265
266         Fix bad use of temporary object causing wrong editing
267         callback dumping.
268
269         * WebCoreSupport/EditorClientEfl.cpp:
270         (WebCore::EditorClientEfl::shouldInsertText):
271
272 2012-09-20  Jinwoo Song  <jinwoo7.song@samsung.com>
273
274         [EFL] Change the log macro names to be more consistent with EINA LOG
275         https://bugs.webkit.org/show_bug.cgi?id=97158
276
277         Reviewed by Kenneth Rohde Christiansen.
278
279         Some log macro names in WebKit1 are inconsistent with EINA LOG names
280         such as WRN/INF not WARN/INFO.
281
282           #define WRN(...) EINA_LOG_DOM_WARN(_ewk_log_dom, __VA_ARGS__)
283           #define INF(...) EINA_LOG_DOM_INFO(_ewk_log_dom, __VA_ARGS__)
284
285         This patch changes the such names to be consistent with EINA LOG's names.
286
287         * ewk/ewk_frame.cpp:
288         (_ewk_frame_smart_resize):
289         (ewk_frame_source_get):
290         (ewk_frame_uri_changed):
291         * ewk/ewk_main.cpp:
292         (_ewk_init_body):
293         * ewk/ewk_private.h:
294         * ewk/ewk_tiled_backing_store.cpp:
295         (_ewk_tiled_backing_store_render):
296         (_ewk_tiled_backing_store_recalc_renderers):
297         (_ewk_tiled_backing_store_smart_calculate_offset_force):
298         (_ewk_tiled_backing_store_smart_calculate_offset):
299         (ewk_tiled_backing_store_pre_render_relative_radius):
300         * ewk/ewk_tiled_matrix.cpp:
301         (ewk_tile_matrix_free):
302         (ewk_tile_matrix_tile_exact_get):
303         (_ewk_tile_matrix_slicer_setup):
304         * ewk/ewk_view.cpp:
305         (_ewk_view_smart_add_console_message):
306         (_ewk_view_smart_run_javascript_alert):
307         (_ewk_view_smart_run_javascript_confirm):
308         (_ewk_view_smart_should_interrupt_javascript):
309         (_ewk_view_smart_run_javascript_prompt):
310         (_ewk_view_smart_pre_render_region):
311         (_ewk_view_smart_pre_render_relative_radius):
312         (_ewk_view_smart_pre_render_start):
313         (_ewk_view_smart_pre_render_cancel):
314         (_ewk_view_smart_disable_render):
315         (_ewk_view_smart_enable_render):
316         (ewk_view_bg_color_set):
317         (ewk_view_zoom_set):
318         (ewk_view_zoom_weak_set):
319         (ewk_view_zoom_animated_set):
320         (ewk_view_statusbar_text_set):
321         (ewk_view_exceeded_application_cache_quota):
322         (ewk_view_exceeded_database_quota):
323         (ewk_view_scroll):
324         (ewk_view_popup_new):
325         (ewk_view_popup_destroy):
326         (ewk_view_popup_selected_set):
327         (ewk_view_color_chooser_new):
328         (ewk_view_color_chooser_destroy):
329         (ewk_view_color_chooser_color_set):
330         (ewk_view_color_chooser_changed):
331         (ewk_view_zoom_range_set):
332         * ewk/ewk_view_private.h:
333
334 2012-09-19  Jinwoo Song  <jinwoo7.song@samsung.com>
335
336         Fix unused parameter compile warnings in WebKit/WebKit2
337         https://bugs.webkit.org/show_bug.cgi?id=96742
338
339         Reviewed by Gyuyoung Kim.
340
341         Fix unused parameter compile warning messages(-Wunused-parameter) in WebKit during EFL build.
342         WebCore's warning messages were fixed in r128570.
343  
344         * WebCoreSupport/ChromeClientEfl.cpp:
345         (WebCore::ChromeClientEfl::createWindow):
346         (WebCore::ChromeClientEfl::mouseDidMoveOverElement):
347         (WebCore::ChromeClientEfl::print):
348         (WebCore::ChromeClientEfl::reachedMaxAppCacheSize):
349         (WebCore::ChromeClientEfl::invalidateContents):
350         (WebCore::ChromeClientEfl::invalidateRootView):
351         (WebCore::ChromeClientEfl::invalidateContentsAndRootView):
352         * WebCoreSupport/EditorClientEfl.cpp:
353         (WebCore::EditorClientEfl::handleInputMethodKeydown):
354         (WebCore::EditorClientEfl::getGuessesForWord):
355         * WebCoreSupport/FrameLoaderClientEfl.cpp:
356         (WebCore::FrameLoaderClientEfl::dispatchDidReceiveAuthenticationChallenge):
357         (WebCore::FrameLoaderClientEfl::dispatchDidCancelAuthenticationChallenge):
358         (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
359         (WebCore::FrameLoaderClientEfl::createFrame):
360         (WebCore::FrameLoaderClientEfl::createJavaAppletWidget):
361         (WebCore::FrameLoaderClientEfl::shouldStopLoadingForHistoryItem):
362         (WebCore::FrameLoaderClientEfl::canShowMIMETypeAsHTML):
363         (WebCore::FrameLoaderClientEfl::setTitle):
364         (WebCore::FrameLoaderClientEfl::dispatchDidReceiveContentLength):
365         (WebCore::FrameLoaderClientEfl::dispatchDidLoadResourceFromMemoryCache):
366         (WebCore::FrameLoaderClientEfl::setMainDocumentError):
367         * WebCoreSupport/FullscreenVideoControllerEfl.cpp:
368         (FullscreenVideoController::showHud):
369         (FullscreenVideoController::setVolume):
370         (FullscreenVideoController::setCurrentTime):
371         * WebCoreSupport/InspectorClientEfl.cpp:
372         (WebCore::notifyWebInspectorDestroy):
373         (WebCore::InspectorFrontendSettingsEfl::getProperty):
374         (WebCore::InspectorFrontendSettingsEfl::setProperty):
375         * WebCoreSupport/PlatformStrategiesEfl.cpp:
376         (PlatformStrategiesEfl::getPluginInfo):
377         * ewk/ewk_auth_soup.cpp:
378         (ewk_auth_soup_dialog_class_init):
379         (ewk_auth_soup_dialog_init):
380         (ewk_auth_soup_dialog_session_feature_init):
381         (session_authenticate):
382         * ewk/ewk_file_chooser.cpp:
383         (ewk_file_chooser_allows_directory_upload_get):
384         * ewk/ewk_frame.cpp:
385         (ewk_frame_feed_focus_out):
386         (ewk_frame_view_state_save):
387         (ewk_frame_plugin_create):
388         * ewk/ewk_js.cpp:
389         (ewk_js_object_new):
390         (ewk_js_object_free):
391         (ewk_js_object_view_get):
392         (ewk_js_object_properties_get):
393         (ewk_js_object_name_get):
394         (ewk_js_object_invoke):
395         (ewk_js_object_type_get):
396         (ewk_js_object_type_set):
397         (ewk_js_variant_free):
398         (ewk_js_variant_array_free):
399         * ewk/ewk_tiled_model.cpp:
400         (tile_account):
401         (_ewk_tile_account_allocated):
402         (_ewk_tile_account_freed):
403         * ewk/ewk_view.cpp:
404         (_ewk_view_smart_add_console_message):
405         (_ewk_view_smart_run_javascript_alert):
406         (_ewk_view_smart_run_javascript_confirm):
407         (_ewk_view_smart_should_interrupt_javascript):
408         (_ewk_view_smart_run_javascript_prompt):
409         (_ewk_view_smart_move):
410         (_ewk_view_smart_contents_resize):
411         (_ewk_view_editor_command_string_get):
412         (ewk_view_popup_new):
413         (ewk_view_js_object_add):
414         (ewk_view_accelerated_compositing_object_create):
415         (ewk_view_accelerated_compositing_context_get):
416         (ewk_view_setting_web_audio_get):
417         (ewk_view_setting_web_audio_set):
418         * ewk/ewk_view_single.cpp:
419         (_ewk_view_single_smart_bg_color_set):
420         * ewk/ewk_view_tiled.cpp:
421         (_ewk_view_tiled_updates_process_pre):
422         (_ewk_view_tiled_contents_size_changed_cb):
423         (_ewk_view_tiled_smart_bg_color_set):
424
425 2012-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
426
427         Unreviewed, rolling out r128995.
428         http://trac.webkit.org/changeset/128995
429         https://bugs.webkit.org/show_bug.cgi?id=97114
430
431         Causes the api tests to segfault. (Requested by rakuco on
432         #webkit).
433
434         * tests/UnitTestUtils/EWKTestBase.cpp:
435         (EWKUnitTests::EWKTestBase::init):
436         (EWKUnitTests::EWKTestBase::shutdownAll):
437         (EWKUnitTests::EWKTestBase::startTest):
438         (EWKUnitTests::EWKTestBase::endTest):
439         (EWKUnitTests::EWKTestBase::createTest):
440         (EWKUnitTests):
441         (EWKUnitTests::EWKTestBase::runTest):
442         * tests/UnitTestUtils/EWKTestBase.h:
443         (EWKUnitTests):
444         (EWKTestBase):
445         * tests/UnitTestUtils/EWKTestView.cpp:
446         (EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas):
447         (EWKUnitTests::EWKTestEcoreEvas::evas):
448         (EWKUnitTests):
449         (EWKUnitTests::EWKTestEcoreEvas::show):
450         (EWKUnitTests::EWKTestView::EWKTestView):
451         (EWKUnitTests::EWKTestView::init):
452         (EWKUnitTests::EWKTestView::show):
453         (EWKUnitTests::EWKTestView::mainFrame):
454         (EWKUnitTests::EWKTestView::evas):
455         (EWKUnitTests::EWKTestView::bindEvents):
456         * tests/UnitTestUtils/EWKTestView.h:
457         (EWKTestEcoreEvas):
458         (EWKUnitTests):
459         (EWKTestView):
460         * tests/test_ewk_view.cpp:
461         (ewkViewEditableGetCb):
462         (TEST):
463         (ewkViewUriGetCb):
464         * tests/test_runner.cpp:
465         (main):
466
467 2012-09-19  Krzysztof Czech  <k.czech@samsung.com>
468
469         [EFL][UT] Refactoring an implementation of testing framework for wk1.
470         https://bugs.webkit.org/show_bug.cgi?id=94925
471
472         Reviewed by Gyuyoung Kim.
473
474         The reason of changing, was to adjust current implementation to use gtest features
475         related to cleaning (SetUp, TearDown), cleaning code in terms of useless methods
476         and lastly to make framework easier to use.
477
478         * tests/UnitTestUtils/EWKTestBase.cpp:
479         (EWKUnitTests::EWKTestBase::EWKTestBase): Added to initialize test view.
480         (EWKUnitTests::EWKTestBase::webView): Returns current webview.
481         (EWKUnitTests::EWKTestBase::SetUp):
482         Before test is started, SetUp is called.
483         Used this to initialize efl and test view.
484         (EWKUnitTests::EWKTestBase::TearDown):
485         TearDown is called as soon as test is completed.
486         Used this to properly shutdown efl and clean test view.
487         (EWKUnitTests::EWKTestBase::onLoadFinished):
488         (EWKUnitTests::EWKTestBase::waitUntilLoadFinished): It waits till test page will be properly loaded.
489         (EWKUnitTests::EWKTestBase::loadUrl): Starts loading test page.
490         * tests/UnitTestUtils/EWKTestBase.h:
491         * tests/UnitTestUtils/EWKTestView.cpp:
492         (EWKUnitTests::EWKTestView::EWKTestView):
493         (EWKUnitTests::EWKTestView::init): Initialize test view.
494         * tests/UnitTestUtils/EWKTestView.h:
495         (EWKTestView):
496         * tests/test_ewk_view.cpp:
497         (TEST_F):
498         * tests/test_runner.cpp:
499         (main):
500
501 2012-09-19  Christophe Dumez  <christophe.dumez@intel.com>
502
503         [EFL] EFL's DRT does not support overriding 'WebKitCSSRegionsEnabled' preference
504         https://bugs.webkit.org/show_bug.cgi?id=97100
505
506         Reviewed by Gyuyoung Kim.
507
508         Add DumpRenderTree support method to set the
509         'WebKitCSSRegionsEnabled' preference.
510
511         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
512         (DumpRenderTreeSupportEfl::setCSSRegionsEnabled):
513         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
514
515 2012-09-13  Kenneth Rohde Christiansen  <kenneth@webkit.org>
516
517         Evas_Object* is a ref'ed structure, so tread it as such
518         https://bugs.webkit.org/show_bug.cgi?id=96659
519
520         Reviewed by Adam Barth.
521
522         Replace OwnPtr<Evas_Object> with RefPtr.
523
524         * tests/UnitTestUtils/EWKTestView.cpp:
525         (EWKUnitTests::EWKTestView::init):
526         * tests/UnitTestUtils/EWKTestView.h:
527         (EWKTestView):
528
529 2012-09-14  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
530
531         Unreviewed, rolling out r128507.
532         http://trac.webkit.org/changeset/128507
533         https://bugs.webkit.org/show_bug.cgi?id=96659
534
535         Revert. r128507 makes too many crashes in EFL layout test bots.
536
537         * tests/UnitTestUtils/EWKTestView.cpp:
538         (EWKUnitTests::EWKTestView::init):
539         * tests/UnitTestUtils/EWKTestView.h:
540         (EWKTestView):
541
542 2012-09-13  Christophe Dumez  <christophe.dumez@intel.com>
543
544         [EFL] Remove a lot of C'ism from Ewk_Tiled_Matrix
545         https://bugs.webkit.org/show_bug.cgi?id=96638
546
547         Reviewed by Gyuyoung Kim.
548
549         Remove a lot of C'ism from Ewk_Tiled_Matrix and
550         fix the code so that it follows coding style.
551
552         * ewk/ewk_tiled_matrix.cpp:
553         (_Ewk_Tile_Matrix):
554         (ewk_tile_matrix_entry_get):
555         (_ewk_tile_matrix_cell_free):
556         (_ewk_tile_matrix_tile_free):
557         (ewk_tile_matrix_zoom_level_set):
558         (ewk_tile_matrix_entry_new):
559         (ewk_tile_matrix_invalidate):
560         (ewk_tile_matrix_free):
561         (ewk_tile_matrix_resize):
562         (ewk_tile_matrix_size_get):
563         (ewk_tile_matrix_unused_cache_get):
564         (ewk_tile_matrix_tile_exact_get):
565         (ewk_tile_matrix_tile_exact_exists):
566         (ewk_tile_matrix_tile_new):
567         (ewk_tile_matrix_tile_put):
568         (ewk_tile_matrix_tile_updates_clear):
569         (_ewk_tile_matrix_slicer_setup):
570         (ewk_tile_matrix_update):
571         (ewk_tile_matrix_updates_process):
572         (ewk_tile_matrix_updates_clear):
573         (ewk_tile_matrix_dbg):
574         (ewk_tile_matrix_freeze):
575         (ewk_tile_matrix_thaw):
576         * ewk/ewk_tiled_matrix_private.h:
577
578 2012-09-13  Kenneth Rohde Christiansen  <kenneth@webkit.org>
579
580         Evas_Object* is a ref'ed structure, so tread it as such
581         https://bugs.webkit.org/show_bug.cgi?id=96659
582
583         Reviewed by Adam Barth.
584
585         Replace OwnPtr<Evas_Object> with RefPtr.
586
587         * tests/UnitTestUtils/EWKTestView.cpp:
588         (EWKUnitTests::EWKTestView::init):
589         * tests/UnitTestUtils/EWKTestView.h:
590         (EWKTestView):
591
592 2012-09-13  Christophe Dumez  <christophe.dumez@intel.com>
593
594         [EFL] Remove a lot of C'ism from Ewk_Tiled_Backing_Store
595         https://bugs.webkit.org/show_bug.cgi?id=96631
596
597         Reviewed by Kenneth Rohde Christiansen.
598
599         Remove a lot of C'ism from Ewk_Tiled_Backing_Store and
600         fix coding style.
601
602         * ewk/ewk_tiled_backing_store.cpp:
603         (_Ewk_Tiled_Backing_Store_Item):
604         (_Ewk_Tiled_Backing_Store_Data):
605         (_ewk_tiled_backing_store_updates_process):
606         (_ewk_tiled_backing_store_flush):
607         (_ewk_tiled_backing_store_tile_new):
608         (_ewk_tiled_backing_store_item_resize):
609         (_ewk_tiled_backing_store_tile_associate):
610         (_ewk_tiled_backing_store_tile_dissociate):
611         (_ewk_tiled_backing_store_tile_dissociate_all):
612         (_ewk_tiled_backing_store_pre_render_request_add):
613         (_ewk_tiled_backing_store_pre_render_request_del):
614         (_ewk_tiled_backing_store_pre_render_request_first):
615         (_ewk_tiled_backing_store_pre_render_request_clear):
616         (_ewk_tiled_backing_store_pre_render_request_process_single):
617         (_ewk_tiled_backing_store_item_process_idler_start):
618         (_ewk_tiled_backing_store_disable_render):
619         (_ewk_tiled_backing_store_enable_render):
620         (_ewk_tiled_backing_store_item_fill):
621         (_ewk_tiled_backing_store_item_add):
622         (_ewk_tiled_backing_store_item_smooth_scale_set):
623         (_ewk_tiled_backing_store_changed):
624         (_ewk_tiled_backing_store_view_cols_end_del):
625         (_ewk_tiled_backing_store_view_cols_end_add):
626         (_ewk_tiled_backing_store_view_row_del):
627         (_ewk_tiled_backing_store_view_rows_range_del):
628         (_ewk_tiled_backing_store_view_rows_all_del):
629         (_ewk_tiled_backing_store_smart_member_del):
630         (_ewk_tiled_backing_store_smart_member_add):
631         (_ewk_tiled_backing_store_mem_dbg):
632         (_ewk_tiled_backing_store_sig_usr):
633         (_ewk_tiled_backing_store_smart_add):
634         (_ewk_tiled_backing_store_smart_del):
635         (_ewk_tiled_backing_store_smart_show):
636         (_ewk_tiled_backing_store_smart_hide):
637         (_ewk_tiled_backing_store_recalc_renderers):
638         (_ewk_tiled_backing_store_smart_calculate_size):
639         (_ewk_tiled_backing_store_view_dbg):
640         (_ewk_tiled_backing_store_view_wrap_up):
641         (_ewk_tiled_backing_store_view_wrap_down):
642         (_ewk_tiled_backing_store_view_wrap_left):
643         (_ewk_tiled_backing_store_view_wrap_right):
644         (_ewk_tiled_backing_store_view_refill):
645         (_ewk_tiled_backing_store_view_pos_apply):
646         (_ewk_tiled_backing_store_smart_calculate_offset_force):
647         (_ewk_tiled_backing_store_smart_calculate_offset):
648         (_ewk_tiled_backing_store_smart_calculate_pos):
649         (_ewk_tiled_backing_store_fill_renderers):
650         (_ewk_tiled_backing_store_smart_calculate):
651         (ewk_tiled_backing_store_render_cb_set):
652         (ewk_tiled_backing_store_tile_unused_cache_get):
653         (_ewk_tiled_backing_store_scroll_full_offset_set_internal):
654         (ewk_tiled_backing_store_scroll_full_offset_set):
655         (ewk_tiled_backing_store_scroll_full_offset_add):
656         (_ewk_tiled_backing_store_zoom_set_internal):
657         (ewk_tiled_backing_store_zoom_set):
658         (ewk_tiled_backing_store_zoom_weak_set):
659         (ewk_tiled_backing_store_fix_offsets):
660         (ewk_tiled_backing_store_zoom_weak_smooth_scale_set):
661         (ewk_tiled_backing_store_alpha_set):
662         (ewk_tiled_backing_store_update):
663         (ewk_tiled_backing_store_updates_process_pre_set):
664         (ewk_tiled_backing_store_updates_process_post_set):
665         (ewk_tiled_backing_store_disabled_update_set):
666         (ewk_tiled_backing_store_flush):
667         (ewk_tiled_backing_store_pre_render_tile_add):
668         (ewk_tiled_backing_store_pre_render_spiral_queue):
669         (ewk_tiled_backing_store_pre_render_region):
670         (ewk_tiled_backing_store_pre_render_relative_radius):
671         (ewk_tiled_backing_store_pre_render_cancel):
672         (ewk_tiled_backing_store_disable_render):
673         (ewk_tiled_backing_store_enable_render):
674         * ewk/ewk_tiled_backing_store_private.h:
675         (_Ewk_Tile_Stats):
676         (_Ewk_Tile):
677         * ewk/ewk_view_tiled.cpp:
678         (_ewk_view_tiled_render_cb):
679         (_ewk_view_tiled_smart_backing_store_add):
680
681 2012-09-13  Kenneth Rohde Christiansen  <kenneth@webkit.org>
682
683         [EFL][DRT] Implement LayoutTestController::layerTreeAsText
684         https://bugs.webkit.org/show_bug.cgi?id=82294
685
686         Reviewed by Gyuyoung Kim.
687
688         Add a support method for getting layerTreeAsText.
689
690         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
691         (DumpRenderTreeSupportEfl::layerTreeAsText):
692         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
693
694 2012-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
695
696         Unreviewed, rolling out r127876.
697         http://trac.webkit.org/changeset/127876
698         https://bugs.webkit.org/show_bug.cgi?id=96600
699
700         mouse click doesn't work for spin button if spin button in
701         iframe (Requested by yosin on #webkit).
702
703         * ewk/ewk_frame.cpp:
704         (ewk_frame_hit_test_new):
705
706 2012-09-12  KyungTae Kim  <ktf.kim@samsung.com>
707
708         [EFL] Support download attribute feature
709         https://bugs.webkit.org/show_bug.cgi?id=96462
710
711         Reviewed by Gyuyoung Kim.
712
713         Add suggested_name field on _Ewk_Download and set it on startDownload
714         to get suggested name passed as a download attribute.
715
716         * WebCoreSupport/FrameLoaderClientEfl.cpp:
717         (WebCore::FrameLoaderClientEfl::download):
718         (WebCore::FrameLoaderClientEfl::startDownload):
719         * ewk/ewk_view.h:
720
721 2012-09-10  Christophe Dumez  <christophe.dumez@intel.com>
722
723         [EFL] Create a toggle button for closed captions
724         https://bugs.webkit.org/show_bug.cgi?id=96259
725
726         Reviewed by Kenneth Rohde Christiansen.
727
728         Add closed caption toggling button to default WebKitEFL
729         theme.
730
731         * DefaultTheme/default.edc:
732         * DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption.png: Added.
733         * DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption_disabled.png: Added.
734         * DefaultTheme/widget/mediacontrol/togglecaptionsbutton/toggle_captions_button.edc: Added.
735
736 2012-09-09  Emil A Eklund  <eae@chromium.org>
737
738         Rename Node::getRect/getPixelSnappedRect and remove ContainerNode::getRect
739         https://bugs.webkit.org/show_bug.cgi?id=81413
740
741         Reviewed by David Hyatt.
742
743         Update ewk_frame to call pixelSnappedBoundingBox.
744
745         * ewk/ewk_frame.cpp:
746         (ewk_frame_focused_element_geometry_get):
747
748 2012-09-07  Benjamin Poulain  <bpoulain@apple.com>
749
750         Rename the ustring() accessor to string()
751         https://bugs.webkit.org/show_bug.cgi?id=95919
752
753         Reviewed by Geoffrey Garen.
754
755         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
756         (DumpRenderTreeSupportEfl::sendWebIntentResponse):
757         (DumpRenderTreeSupportEfl::deliverWebIntent):
758         Aslo update the code from the UString->String conversion through StringImpl.
759
760 2012-09-07  Christophe Dumez  <christophe.dumez@intel.com>
761
762         [EFL] Use same default minimum logical font size in DRT and WTR
763         https://bugs.webkit.org/show_bug.cgi?id=96116
764
765         Reviewed by Martin Robinson.
766
767         Add DRT helper function to set the minimum logical
768         font size setting.
769
770         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
771         (DumpRenderTreeSupportEfl::setMinimumLogicalFontSize):
772         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
773
774 2012-09-07  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
775
776         Simplify hitTestResultAtPoint and nodesFromRect APIs
777         https://bugs.webkit.org/show_bug.cgi?id=95720
778
779         Reviewed by Antonio Gomes.
780
781         Update calls to new API.
782
783         * ewk/ewk_frame.cpp:
784         (ewk_frame_hit_test_new):
785
786 2012-09-07  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
787
788         Unreviewed, rolling out r127839.
789         http://trac.webkit.org/changeset/127839
790         https://bugs.webkit.org/show_bug.cgi?id=90603
791
792         This patch was landed with wrong implementation and policy.
793
794         * WebCoreSupport/NotificationPresenterClientEfl.cpp:
795         (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
796         (WebCore::NotificationPresenterClientEfl::requestPermission):
797         (WebCore::NotificationPresenterClientEfl::checkPermission):
798         (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
799         * WebCoreSupport/NotificationPresenterClientEfl.h:
800         (NotificationPresenterClientEfl):
801         * ewk/ewk_view.cpp:
802         (_ewk_view_priv_new):
803         * ewk/ewk_view.h:
804         * ewk/ewk_view_private.h:
805
806 2012-09-07  Kihong Kwon  <kihong.kwon@samsung.com>
807
808         [EFL] Support the permission function of the Web Notification.
809         https://bugs.webkit.org/show_bug.cgi?id=90603
810
811         Reviewed by Gyuyoung Kim.
812
813         Implement permission related functions of Web Notifications.
814         checkPermission for Notification.permissionLevel().
815         requestPermission for Notification.requestPermission().
816         In addition, if the application(like a browser) has permitted domains already,
817         it can be cached using ewk_view_notification_permissions_store.
818
819         * WebCoreSupport/NotificationPresenterClientEfl.cpp:
820         (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
821         (WebCore::NotificationPresenterClientEfl::requestPermission):
822         (WebCore::NotificationPresenterClientEfl::checkPermission):
823         (WebCore::NotificationPresenterClientEfl::addToPermissionCache):
824         (WebCore):
825         (WebCore::NotificationPresenterClientEfl::setPermission):
826         * WebCoreSupport/NotificationPresenterClientEfl.h:
827         (WebCore):
828         (NotificationPresenterClientEfl):
829         (WebCore::NotificationPresenterClientEfl::requestPermission):
830         (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
831         * ewk/ewk_view.cpp:
832         (_ewk_view_priv_new):
833         (ewk_view_notification_permission_store):
834         (ewk_view_notification_permissions_set):
835         (ewk_view_notification_permission_request):
836         * ewk/ewk_view.h:
837         * ewk/ewk_view_private.h:
838
839 2012-09-05  Sam Weinig  <sam@webkit.org>
840
841         Part 2 of removing PlatformString.h, remove PlatformString.h
842         https://bugs.webkit.org/show_bug.cgi?id=95931
843
844         Reviewed by Adam Barth.
845
846         Remove PlatformString.h
847
848         * WebCoreSupport/ChromeClientEfl.cpp:
849         * WebCoreSupport/InspectorClientEfl.cpp:
850
851 2012-09-06  Kangil Han  <kangil.han@samsung.com>
852
853         [EFL] Remove unnecessary logic in ewk_frame_source_get.
854         https://bugs.webkit.org/show_bug.cgi?id=95828
855
856         Reviewed by Kenneth Rohde Christiansen.
857
858         Removed unnecessary logic that checks if <html> tag exists in document.
859         WebKit automatically fill out <html></html> tags if they are not existed.
860
861         * ewk/ewk_frame.cpp:
862         (ewk_frame_source_get):
863
864 2012-09-05  Kangil Han  <kangil.han@samsung.com>
865
866         [EFL] Remove '+=' usage in String
867         https://bugs.webkit.org/show_bug.cgi?id=95808
868
869         Reviewed by Benjamin Poulain.
870
871         Replaced use of String operator '+=' with StringBuilder.append*() in order to adopt efficient String concatenation.
872
873         * ewk/ewk_frame.cpp:
874         (ewk_frame_source_get): Removed unnecessary strlen usage.
875
876 2012-09-05  Kaustubh Atrawalkar  <kaustubh@motorola.com>
877
878         [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
879         https://bugs.webkit.org/show_bug.cgi?id=92735
880
881         Reviewed by Hajime Morita.
882
883         Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
884
885         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
886         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
887
888 2012-09-04  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
889
890         [EFL] Context menu restore. 
891         https://bugs.webkit.org/show_bug.cgi?id=74179
892
893         Reviewed by Gyuyoung Kim.
894
895         Adds context menu support for EFL port using non-CROSS_PLATFORM_CONTEXT_MENUS
896         approach, the same as used in WebKit2.
897
898         * WebCoreSupport/ContextMenuClientEfl.cpp: Added.
899         (WebCore):
900         (WebCore::ContextMenuClientEfl::contextMenuDestroyed):
901         (WebCore::ContextMenuClientEfl::getCustomMenuFromDefaultItems):
902         (WebCore::ContextMenuClientEfl::contextMenuItemSelected):
903         (WebCore::ContextMenuClientEfl::downloadURL):
904         (WebCore::ContextMenuClientEfl::lookUpInDictionary):
905         (WebCore::ContextMenuClientEfl::speak):
906         (WebCore::ContextMenuClientEfl::isSpeaking):
907         (WebCore::ContextMenuClientEfl::stopSpeaking):
908         (WebCore::ContextMenuClientEfl::searchWithGoogle):
909         * WebCoreSupport/ContextMenuClientEfl.h: Added.
910         (WebCore):
911         (ContextMenuClientEfl):
912         * ewk/ewk_contextmenu.cpp: Removed ewk_context_menu_customize implementation.
913         (ewk_context_menu_destroy): Added freeing context menu. 
914         (ewk_context_menu_new): Added filling ewk_contextmenu list.
915         (ewk_context_menu_item_append):
916         * ewk/ewk_contextmenu_private.h: Removed ewk_context_menu_customize and changed ewk_context_menu_new definition.
917         * ewk/ewk_view.cpp:
918         (_Ewk_View_Private_Data):
919         (_ewk_view_priv_new):
920         (_ewk_view_priv_del):
921         (ewk_view_context_menu_forward_event):
922
923 2012-09-04  Ryuan Choi  <ryuan.choi@samsung.com>
924
925         [EFL] Drop default theme concept
926         https://bugs.webkit.org/show_bug.cgi?id=94778
927
928         Reviewed by Gyuyoung Kim.
929
930         * ewk/ewk_view.h:
931         Updated doxygen document not to mention default theme.
932
933 2012-09-03  Jinwoo Song  <jinwoo7.song@samsung.com>
934
935         [EFL] Fix e_dbus_shutdown() error when exiting the Minibrowser
936         https://bugs.webkit.org/show_bug.cgi?id=95636
937
938         Reviewed by Gyuyoung Kim.
939
940         Invoke stopUpdating() in the destructor of BatteryClinetEfl()
941         to call e_ukit_shutdown() and e_dbus_shutdown() if and when 
942         stopUpdating() has not been called explicitly.
943
944         * WebCoreSupport/BatteryClientEfl.cpp:
945         (BatteryClientEfl::~BatteryClientEfl):
946         * WebCoreSupport/BatteryClientEfl.h:
947         (BatteryClientEfl):
948
949 2012-09-03  Jinwoo Song  <jinwoo7.song@samsung.com>
950
951         [EFL] Use WebKitVersion.h to get version information
952         https://bugs.webkit.org/show_bug.cgi?id=95669
953
954         Reviewed by Gyuyoung Kim.
955
956         Use WEBKIT_MAJOR_VERSION and WEBKIT_MINOR_VERSION 
957         in the WebKitVersion.h
958
959         Relocate the StorageTracker.h to keep the sorted order.
960
961         * ewk/ewk_settings.cpp:
962         (ewk_settings_default_user_agent_get):
963
964 2012-09-01  Jinwoo Song  <jinwoo7.song@samsung.com>
965
966         [EFL] Refactoring the DumpRenderTreeSupportEfl
967         https://bugs.webkit.org/show_bug.cgi?id=95544
968
969         Reviewed by Gyuyoung Kim.
970
971         There are lots of repeated codes for getting the WebCore::Frame 
972         and WebCore::Page. To reduce these duplications, simple macros
973         are added.
974
975         No new tests, just refactoring.
976
977         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
978         (DumpRenderTreeSupportEfl::activeAnimationsCount):
979         (DumpRenderTreeSupportEfl::callShouldCloseOnWebView):
980         (DumpRenderTreeSupportEfl::clearFrameName):
981         (DumpRenderTreeSupportEfl::clearOpener):
982         (DumpRenderTreeSupportEfl::elementDoesAutoCompleteForElementWithId):
983         (DumpRenderTreeSupportEfl::frameChildren):
984         (DumpRenderTreeSupportEfl::frameParent):
985         (DumpRenderTreeSupportEfl::layoutFrame):
986         (DumpRenderTreeSupportEfl::numberOfPages):
987         (DumpRenderTreeSupportEfl::pageSizeAndMarginsInPixels):
988         (DumpRenderTreeSupportEfl::pageProperty):
989         (DumpRenderTreeSupportEfl::pauseAnimation):
990         (DumpRenderTreeSupportEfl::pauseTransition):
991         (DumpRenderTreeSupportEfl::pendingUnloadEventCount):
992         (DumpRenderTreeSupportEfl::renderTreeDump):
993         (DumpRenderTreeSupportEfl::responseMimeType):
994         (DumpRenderTreeSupportEfl::selectionRectangle):
995         (DumpRenderTreeSupportEfl::suitableDRTFrameName):
996         (DumpRenderTreeSupportEfl::setDefersLoading):
997         (DumpRenderTreeSupportEfl::setLoadsSiteIconsIgnoringImageLoadingSetting):
998         (DumpRenderTreeSupportEfl::addUserScript):
999         (DumpRenderTreeSupportEfl::clearUserScripts):
1000         (DumpRenderTreeSupportEfl::addUserStyleSheet):
1001         (DumpRenderTreeSupportEfl::clearUserStyleSheets):
1002         (DumpRenderTreeSupportEfl::executeCoreCommandByName):
1003         (DumpRenderTreeSupportEfl::findString):
1004         (DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled):
1005         (DumpRenderTreeSupportEfl::isCommandEnabled):
1006         (DumpRenderTreeSupportEfl::setSmartInsertDeleteEnabled):
1007         (DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled):
1008         (DumpRenderTreeSupportEfl::evaluateInWebInspector):
1009         (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
1010         (DumpRenderTreeSupportEfl::globalContextRefForFrame):
1011         (DumpRenderTreeSupportEfl::setInteractiveFormValidationEnabled):
1012         (DumpRenderTreeSupportEfl::setValidationMessageTimerMagnification):
1013         (DumpRenderTreeSupportEfl::setAuthorAndUserStylesEnabled):
1014         (DumpRenderTreeSupportEfl::setComposition):
1015         (DumpRenderTreeSupportEfl::hasComposition):
1016         (DumpRenderTreeSupportEfl::compositionRange):
1017         (DumpRenderTreeSupportEfl::confirmComposition):
1018         (DumpRenderTreeSupportEfl::firstRectForCharacterRange):
1019         (DumpRenderTreeSupportEfl::selectedRange):
1020
1021 2012-08-31  Christophe Dumez  <christophe.dumez@intel.com>
1022
1023         [EFL] Add proper support for navigator.onLine and associated events
1024         https://bugs.webkit.org/show_bug.cgi?id=95532
1025
1026         Reviewed by Kenneth Rohde Christiansen.
1027
1028         Remove ewk_network_state_notifier_online_set() API since
1029         the EFL port no longer relies on the client application to
1030         provide it with the online state.
1031
1032         * ewk/ewk_network.cpp:
1033         * ewk/ewk_network.h:
1034
1035 2012-08-31  Jinwoo Song  <jinwoo7.song@samsung.com>
1036
1037         [EFL] Simplify FrameLoaderClinetEfl by adding a private method.
1038         https://bugs.webkit.org/show_bug.cgi?id=95444
1039
1040         Reviewed by Gyuyoung Kim.
1041
1042         In the FrameLoaderClientEfl, the codes which checks that 
1043         if current frame is main frame are frequently used.
1044         This patch adds a private method and replaces those codes 
1045         with the method to simplify.
1046
1047         * WebCoreSupport/FrameLoaderClientEfl.cpp:
1048         (WebCore::FrameLoaderClientEfl::dispatchDidChangeLocationWithinPage):
1049         (WebCore::FrameLoaderClientEfl::dispatchDidReceiveIcon):
1050         (WebCore::FrameLoaderClientEfl::dispatchDidStartProvisionalLoad):
1051         (WebCore::FrameLoaderClientEfl::dispatchDidReceiveTitle):
1052         (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
1053         (WebCore::FrameLoaderClientEfl::dispatchDidFailProvisionalLoad):
1054         (WebCore::FrameLoaderClientEfl::transitionToCommittedForNewPage):
1055         * WebCoreSupport/FrameLoaderClientEfl.h:
1056         (WebCore::FrameLoaderClientEfl::isLoadingMainFrame):
1057
1058 2012-08-30  Benjamin Poulain  <bpoulain@apple.com>
1059
1060         Replace JSC::UString by WTF::String
1061         https://bugs.webkit.org/show_bug.cgi?id=95271
1062
1063         Reviewed by Geoffrey Garen.
1064
1065         Replace UString by String.
1066
1067         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1068         (DumpRenderTreeSupportEfl::sendWebIntentResponse):
1069         * ewk/ewk_frame.cpp:
1070         (ewk_frame_script_execute):
1071
1072 2012-08-29  Kamil Blank  <k.blank@samsung.com>
1073
1074         [EFL] Add setting API for allow universal/file access from file URLs.
1075         https://bugs.webkit.org/show_bug.cgi?id=83121
1076
1077         Reviewed by Eric Seidel.
1078
1079         Make it possible to enable allow universal/file access from file URLs.
1080         Default value for both settings is true.
1081
1082         * ewk/ewk_view.cpp:
1083         (_Ewk_View_Private_Data):
1084         (_ewk_view_priv_new):
1085         (ewk_view_setting_allow_universal_access_from_file_urls_set): Function sets if locally loaded documents
1086         are allowed to access remote urls.
1087         (ewk_view_setting_allow_universal_access_from_file_urls_get):
1088         (ewk_view_setting_allow_file_access_from_file_urls_set): Function sets if locally loaded documents
1089         are allowed to access other local urls.
1090         (ewk_view_setting_allow_file_access_from_file_urls_get):
1091         * ewk/ewk_view.h:
1092
1093 2012-08-29  Ryuan Choi  <ryuan.choi@samsung.com>
1094
1095         [EFL] Add *explicit* keyword to constructors in WebCoreSupport
1096         https://bugs.webkit.org/show_bug.cgi?id=95307
1097
1098         Reviewed by Kentaro Hara.
1099
1100         Added explicit keyword in constructors in order to avoid implicit type conversion.
1101
1102         * WebCoreSupport/ColorChooserEfl.h:
1103         (ColorChooserEfl):
1104         * WebCoreSupport/PopupMenuEfl.h:
1105         (PopupMenuEfl):
1106         * WebCoreSupport/SearchPopupMenuEfl.h:
1107         (SearchPopupMenuEfl):
1108
1109 2012-08-29  Ryuan Choi  <ryuan.choi@samsung.com>
1110
1111         [EFL] Move several files to remove webkit1 dependency from WebCore.
1112         https://bugs.webkit.org/show_bug.cgi?id=95264
1113
1114         Reviewed by Gyuyoung Kim.
1115
1116         ColorChooserEfl.cpp, PopupMenuEfl.cpp and SearchPopupMenuEfl.cpp are WebKit1/Efl
1117         specific files and they can not be shared with WebKit2/Efl.
1118
1119         In order to remove WebKit dependency from WebCore, this patch moves them
1120         to WebKit/efl/WebCoreSupport.
1121
1122         * WebCoreSupport/ColorChooserEfl.cpp: Renamed from Source/WebCore/platform/efl/ColorChooserEfl.cpp.
1123         (WebCore):
1124         (WebCore::ColorChooserEfl::ColorChooserEfl):
1125         (WebCore::ColorChooserEfl::~ColorChooserEfl):
1126         (WebCore::ColorChooserEfl::setSelectedColor):
1127         (WebCore::ColorChooserEfl::endChooser):
1128         * WebCoreSupport/ColorChooserEfl.h: Renamed from Source/WebCore/platform/efl/ColorChooserEfl.h.
1129         (WebCore):
1130         (ColorChooserEfl):
1131         * WebCoreSupport/PopupMenuEfl.cpp: Renamed from Source/WebCore/platform/efl/PopupMenuEfl.cpp.
1132         (WebCore):
1133         (WebCore::PopupMenuEfl::PopupMenuEfl):
1134         (WebCore::PopupMenuEfl::~PopupMenuEfl):
1135         (WebCore::PopupMenuEfl::show):
1136         (WebCore::PopupMenuEfl::hide):
1137         (WebCore::PopupMenuEfl::updateFromElement):
1138         (WebCore::PopupMenuEfl::disconnectClient):
1139         * WebCoreSupport/PopupMenuEfl.h: Renamed from Source/WebCore/platform/efl/PopupMenuEfl.h.
1140         (WebCore):
1141         (PopupMenuEfl):
1142         (WebCore::PopupMenuEfl::client):
1143         * WebCoreSupport/SearchPopupMenuEfl.cpp: Renamed from Source/WebCore/platform/efl/SearchPopupMenuEfl.cpp.
1144         (WebCore):
1145         (WebCore::SearchPopupMenuEfl::SearchPopupMenuEfl):
1146         (WebCore::SearchPopupMenuEfl::popupMenu):
1147         (WebCore::SearchPopupMenuEfl::saveRecentSearches):
1148         (WebCore::SearchPopupMenuEfl::loadRecentSearches):
1149         (WebCore::SearchPopupMenuEfl::enabled):
1150         * WebCoreSupport/SearchPopupMenuEfl.h: Renamed from Source/WebCore/platform/efl/SearchPopupMenuEfl.h.
1151         (WebCore):
1152         (SearchPopupMenuEfl):
1153
1154 2012-08-28  Seokju Kwon  <seokju.kwon@samsung.com>
1155
1156         [EFL] Add support for localization to the Web Inspector
1157         https://bugs.webkit.org/show_bug.cgi?id=92961
1158
1159         Reviewed by Gyuyoung Kim.
1160
1161         Implement InspectorFrontendClientEfl::localizedStringsURL()
1162         to return the URL of the localizedStrings.js.
1163
1164         * WebCoreSupport/InspectorClientEfl.cpp:
1165         (WebCore::InspectorClientEfl::openInspectorFrontend):
1166         (WebCore::InspectorClientEfl::inspectorFilesPath):
1167         (WebCore::InspectorFrontendClientEfl::localizedStringsURL):
1168
1169 2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1170
1171         Unreviewed, rolling out r126914.
1172         http://trac.webkit.org/changeset/126914
1173         https://bugs.webkit.org/show_bug.cgi?id=95239
1174
1175         it breaks everything and fixes nothing (Requested by pizlo on
1176         #webkit).
1177
1178         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1179         (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
1180         * WebCoreSupport/PlatformStrategiesEfl.cpp:
1181         (PlatformStrategiesEfl::getPluginInfo):
1182         * ewk/ewk_intent.cpp:
1183         (ewk_intent_extra_get):
1184
1185 2012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1186
1187         Rename first/second to key/value in HashMap iterators
1188         https://bugs.webkit.org/show_bug.cgi?id=82784
1189
1190         Reviewed by Eric Seidel.
1191
1192         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1193         (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
1194         * WebCoreSupport/PlatformStrategiesEfl.cpp:
1195         (PlatformStrategiesEfl::getPluginInfo):
1196         * ewk/ewk_intent.cpp:
1197         (ewk_intent_extra_get):
1198
1199 2012-08-28  Christophe Dumez  <christophe.dumez@intel.com>
1200
1201         [EFL] WebKit EFL updates view on HTTP 204 response
1202         https://bugs.webkit.org/show_bug.cgi?id=95199
1203
1204         Reviewed by Kenneth Rohde Christiansen.
1205
1206         Ignore HTTP responses which have status code equal
1207         to 204 (No Content).
1208
1209         * WebCoreSupport/FrameLoaderClientEfl.cpp:
1210         (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse):
1211
1212 2012-08-28  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1213
1214         [EFL] Rename knob images to thumb on the default theme
1215         https://bugs.webkit.org/show_bug.cgi?id=95186
1216
1217         Reviewed by Kenneth Rohde Christiansen.
1218
1219         WebKit reefers to these handles as thumb instead of knob. Let's make
1220         it coherent on EFL.
1221
1222         * DefaultTheme/widget/slider/slider.edc:
1223         * DefaultTheme/widget/slider/slider_thumb_h.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_h.png.
1224         * DefaultTheme/widget/slider/slider_thumb_press_h.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_h.png.
1225         * DefaultTheme/widget/slider/slider_thumb_press_v.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_v.png.
1226         * DefaultTheme/widget/slider/slider_thumb_v.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_v.png.
1227
1228 2012-08-28  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1229
1230         [EFL] Range input ignores padding
1231         https://bugs.webkit.org/show_bug.cgi?id=94595
1232
1233         Reviewed by Kenneth Rohde Christiansen.
1234
1235         Updated default theme to paint the slider thumb in a different step.
1236         This was done by splitting the thumb into a separated group.
1237
1238         * DefaultTheme/widget/slider/slider.edc:
1239
1240 2012-08-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1241
1242         Unreviewed, rolling out r126836.
1243         http://trac.webkit.org/changeset/126836
1244         https://bugs.webkit.org/show_bug.cgi?id=95163
1245
1246         Broke all Apple ports, EFL, and Qt. (Requested by tkent on
1247         #webkit).
1248
1249         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1250         (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
1251         * WebCoreSupport/PlatformStrategiesEfl.cpp:
1252         (PlatformStrategiesEfl::getPluginInfo):
1253         * ewk/ewk_intent.cpp:
1254         (ewk_intent_extra_get):
1255
1256 2012-08-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1257
1258         Rename first/second to key/value in HashMap iterators
1259         https://bugs.webkit.org/show_bug.cgi?id=82784
1260
1261         Reviewed by Eric Seidel.
1262
1263         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1264         (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
1265         * WebCoreSupport/PlatformStrategiesEfl.cpp:
1266         (PlatformStrategiesEfl::getPluginInfo):
1267         * ewk/ewk_intent.cpp:
1268         (ewk_intent_extra_get):
1269
1270 2012-08-27  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
1271
1272         Rename RegisterProtocolHandler API to NavigatorContentUtils
1273         https://bugs.webkit.org/show_bug.cgi?id=94920
1274
1275         Reviewed by Adam Barth.
1276
1277         Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
1278         RegisterProtocolHandlerClientEfl is renamed to NavigatorContentUtilsClientEfl.
1279
1280         * WebCoreSupport/NavigatorContentUtilsClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp.
1281         (WebCore):
1282         (WebCore::customHandlerDataCreate):
1283         (WebCore::customHandlerDataDelete):
1284         (WebCore::NavigatorContentUtilsClientEfl::create):
1285         (WebCore::NavigatorContentUtilsClientEfl::NavigatorContentUtilsClientEfl):
1286         (WebCore::NavigatorContentUtilsClientEfl::registerProtocolHandler):
1287         (WebCore::NavigatorContentUtilsClientEfl::isProtocolHandlerRegistered):
1288         (WebCore::NavigatorContentUtilsClientEfl::unregisterProtocolHandler):
1289         * WebCoreSupport/NavigatorContentUtilsClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/RegisterProtocolHandlerClientEfl.h.
1290         (NavigatorContentUtilsClientEfl):
1291         (WebCore::NavigatorContentUtilsClientEfl::~NavigatorContentUtilsClientEfl):
1292         * ewk/ewk_custom_handler.cpp:
1293         * ewk/ewk_custom_handler_private.h:
1294         * ewk/ewk_view.cpp:
1295         (_Ewk_View_Private_Data):
1296         (_ewk_view_priv_new):
1297
1298 2012-08-23  Ryuan Choi  <ryuan.choi@samsung.com>
1299
1300         [EFL] Remove ewk_tile_matrix_tile_update.
1301         https://bugs.webkit.org/show_bug.cgi?id=63437
1302
1303         Reviewed by Gyuyoung Kim.
1304
1305         * ewk/ewk_tiled_matrix.cpp:
1306         Removed ewk_tile_matrix_tile_update and ewk_tile_matrix_tile_update_full
1307         which are dead code.
1308         * ewk/ewk_tiled_matrix_private.h: Ditto.
1309
1310 2012-08-21  Kihong Kwon  <kihong.kwon@samsung.com>
1311
1312         [EFL][GTK][BlackBerry] Fix build error in the DeviceOrientationClient
1313         https://bugs.webkit.org/show_bug.cgi?id=94586
1314
1315         Reviewed by Kentaro Hara.
1316
1317         Fix build error in the DeviceOrientationClientEfl.cpp.
1318         It is occured because DeviceOrientation is changed to DeviceOrientationData in the WebCore.
1319
1320         * WebCoreSupport/DeviceOrientationClientEfl.cpp:
1321         (WebCore::DeviceOrientationClientEfl::lastOrientation):
1322
1323 2012-08-20  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1324
1325         Regression(r124945): Build is broken when touch events is disabled
1326         https://bugs.webkit.org/show_bug.cgi?id=94466
1327
1328         Reviewed by Kenneth Rohde Christiansen.
1329
1330         Added missing guards around touch events code.
1331
1332         * ewk/ewk_touch_event.cpp:
1333         * ewk/ewk_touch_event_private.h:
1334
1335 2012-08-17  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1336
1337         [EFL] Change font family/script on layout tests causes flakiness
1338         https://bugs.webkit.org/show_bug.cgi?id=94327
1339
1340         Reviewed by Kenneth Rohde Christiansen.
1341
1342         Always set the font on WebCore even if the font family is the same. It
1343         has to be done because the script value might have also changed.
1344         Settings::set*FontFamily() has an implicit UScriptCode
1345         parameter that will set the script back to the defaults.
1346
1347         * ewk/ewk_view.cpp:
1348         (ewk_view_font_family_name_set):
1349
1350 2012-08-14  Adam Barth  <abarth@webkit.org>
1351
1352         Delete Frame::domWindow() and Frame::existingDOMWindow()
1353         https://bugs.webkit.org/show_bug.cgi?id=93990
1354
1355         Reviewed by Eric Seidel.
1356
1357         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1358         (DumpRenderTreeSupportEfl::pendingUnloadEventCount):
1359         * ewk/ewk_frame.cpp:
1360         (ewk_frame_intent_deliver):
1361
1362 2012-08-13  Tom Sepez  <tsepez@chromium.org>
1363
1364         [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
1365         https://bugs.webkit.org/show_bug.cgi?id=93283
1366
1367         Reviewed by Eric Seidel.
1368
1369         Change the client redirectDataToPlugin method(s) to expect the possibility of
1370         a NULL argument, keeping existing behaviour otherwise.
1371
1372         * WebCoreSupport/FrameLoaderClientEfl.cpp:
1373         (WebCore::FrameLoaderClientEfl::redirectDataToPlugin):
1374
1375 2012-08-12  Krzysztof Czech  <k.czech@samsung.com>
1376
1377         [EFL][UT] Delete shutdown method.
1378         https://bugs.webkit.org/show_bug.cgi?id=90785
1379
1380         Reviewed by Eric Seidel.
1381
1382         EWKTestBase class already has a shutdownAll method that can be used instead of shutdown.
1383
1384         * tests/UnitTestUtils/EWKTestBase.cpp:
1385         * tests/UnitTestUtils/EWKTestBase.h:
1386         (EWKTestBase):
1387
1388 2012-08-09  Carlos Garcia Campos  <cgarcia@igalia.com>
1389
1390         Handle SSL errors for SOUP
1391         https://bugs.webkit.org/show_bug.cgi?id=90267
1392
1393         Reviewed by Martin Robinson.
1394
1395         Ignore SSL errors by default for compatibility.
1396
1397         * ewk/ewk_main.cpp:
1398         (_ewk_init_body):
1399
1400 2012-08-07  Ryuan Choi  <ryuan.choi@samsung.com>
1401
1402         [EFL] Remove PlatformTouchEventEfl and PlatformTouchPointEfl
1403         https://bugs.webkit.org/show_bug.cgi?id=93270
1404
1405         Reviewed by Eric Seidel.
1406
1407         * ewk/ewk_frame.cpp:
1408         (ewk_frame_feed_touch_event):
1409         * ewk/ewk_touch_event.cpp: Added.
1410         (WebKitPlatformTouchPoint):
1411         (WebKitPlatformTouchPoint::WebKitPlatformTouchPoint):
1412         Added to initialize members of PlatformTouchPoint.
1413         (WebKitPlatformTouchEvent):
1414         (WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
1415         Added to initialize members of PlatformTouchEvent.
1416         (EWKPrivate):
1417         (EWKPrivate::platformTouchEvent):
1418         Converted Ewk_Touch_Event to PlatformTouchEvent.
1419         * ewk/ewk_touch_event_private.h: 
1420         (EWKPrivate):
1421
1422 2012-08-07  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
1423
1424         CUSTOM_SCHEME_HANDLER flag should depend on REGISTER_PROTOCOL_HANDLER
1425         https://bugs.webkit.org/show_bug.cgi?id=93081
1426
1427         Reviewed by Adam Barth.
1428
1429         CUSTOM_SCHEME_HANDLER #if guards are enclosed in the REGISTER_PROTOCOL_HANDLER guards.
1430
1431         * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp:
1432         (WebCore::RegisterProtocolHandlerClientEfl::registerProtocolHandler):
1433         * WebCoreSupport/RegisterProtocolHandlerClientEfl.h:
1434         * ewk/ewk_custom_handler.cpp:
1435         (ewk_custom_handler_register_protocol_handler):
1436         * ewk/ewk_custom_handler_private.h:
1437         * ewk/ewk_view.cpp:
1438         (_ewk_view_priv_new):
1439
1440 2012-08-06  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
1441
1442         [EFL] [GTK] Register Protocol Handler Client is never deleted
1443         https://bugs.webkit.org/show_bug.cgi?id=92745
1444
1445         Reviewed by Gustavo Noronha Silva.
1446
1447         Added usage of OwnPtr to manage register protocol handler client pointer.
1448
1449         * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp:
1450         (WebCore::RegisterProtocolHandlerClientEfl::create): Factory function returning smart pointer.
1451         (WebCore):
1452         * WebCoreSupport/RegisterProtocolHandlerClientEfl.h:
1453         (RegisterProtocolHandlerClientEfl):
1454         * ewk/ewk_view.cpp:
1455         (_Ewk_View_Private_Data):
1456         (_ewk_view_priv_new):
1457
1458 2012-08-01  Ryuan Choi  <ryuan.choi@samsung.com>
1459
1460         [EFL][Regression] Build break with NETSCAPE_PLUGIN_API after r123604
1461         https://bugs.webkit.org/show_bug.cgi?id=92937
1462
1463         Unreviewed build fix.
1464
1465         r123604 replaced strdup to eina_stringshare, but related codes are not
1466         changed properly.
1467         This patch changes remained code to use eina_stringshare.
1468
1469         * ewk/ewk_js.cpp:
1470         (ewk_js_variant_to_npvariant):
1471         (ewk_js_property_free):
1472         (ewk_js_npvariant_to_variant):
1473         (ewk_js_variant_free):
1474         (ewk_js_variant_array_free):
1475         * ewk/ewk_js.h:
1476
1477 2012-07-29  YoungTaeck Song  <youngtaeck.song@samsung.com>
1478
1479         [WK2][EFL] TILED_BACKING_STORE support on Efl WebKit2
1480         https://bugs.webkit.org/show_bug.cgi?id=91582
1481
1482         Reviewed by Noam Rosenthal.
1483
1484         Add a dummy function for fixing building error when enabling TILED_BACKING_STORE.
1485
1486         * WebCoreSupport/ChromeClientEfl.cpp:
1487         (WebCore):
1488         (WebCore::ChromeClientEfl::delegatedScrollRequested):
1489         * WebCoreSupport/ChromeClientEfl.h:
1490         (ChromeClientEfl):
1491
1492 2012-07-27  Christophe Dumez  <christophe.dumez@intel.com>
1493
1494         [EFL] Regression(r123858): Default navigation policy decision was switched to "reject"
1495         https://bugs.webkit.org/show_bug.cgi?id=92507
1496
1497         Reviewed by Kentaro Hara.
1498
1499         After r92466, the default navigation policy is to reject the request if the
1500         client does not make a decision explicitly. The default policy should be
1501         to accept. This broke ewk_view unit tests.
1502
1503         * ewk/ewk_view.cpp:
1504         (ewk_view_navigation_policy_decision):
1505
1506 2012-07-27  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1507
1508         [EFL] Fix wrong return value in EWK_VIEW_XXX macro.
1509         https://bugs.webkit.org/show_bug.cgi?id=92466
1510
1511         Reviewed by Simon Hausmann.
1512
1513         There are wrong return values in EWK_VIEW_XXX macros. The wrong return values
1514         should be fixed. In addition, API description is also modified according to returned
1515         value change.
1516
1517         * ewk/ewk_view.cpp:
1518         (ewk_view_setting_minimum_timer_interval_get):
1519         (ewk_view_navigation_policy_decision):
1520         (ewk_view_page_rect_get):
1521         (ewk_view_setting_enable_xss_auditor_get):
1522         * ewk/ewk_view.h:
1523
1524 2012-07-27  Kihong Kwon  <kihong.kwon@samsung.com>
1525
1526         [EFL] Change prototype of run_open_panel
1527         https://bugs.webkit.org/show_bug.cgi?id=91956
1528
1529         Reviewed by Kentaro Hara.
1530
1531         In order to support all of the file chooser attributes,
1532         change the types of parameters in run_open_panel method.
1533         i.e., change "Eina_Bool allows_multiple_files, Eina_List *accept_types"
1534         to "Ewk_File_Chooser *file_chooser"
1535         In addition, Efl can support the capture attribute for HTML media capture.
1536
1537         * WebCoreSupport/ChromeClientEfl.cpp:
1538         (WebCore::ChromeClientEfl::runOpenPanel):
1539         * ewk/ewk_view.cpp:
1540         (ewk_view_run_open_panel):
1541         * ewk/ewk_view.h:
1542         * ewk/ewk_view_private.h:
1543
1544 2012-07-26  Seokju Kwon  <seokju.kwon@samsung.com>
1545
1546         [EFL] Highlight the element under mouse on web inspector
1547         https://bugs.webkit.org/show_bug.cgi?id=91592
1548
1549         Reviewed by Kentaro Hara.
1550
1551         Implement highlighting the nodes when using the web inspector.
1552
1553         * WebCoreSupport/InspectorClientEfl.cpp:
1554         (WebCore::InspectorClientEfl::highlight):
1555         (WebCore::InspectorClientEfl::hideHighlight):
1556         (WebCore::InspectorClientEfl::invalidateView):
1557         (WebCore):
1558         * WebCoreSupport/InspectorClientEfl.h:
1559         (InspectorClientEfl):
1560         * ewk/ewk_paint_context.cpp:
1561         (ewk_paint_context_paint_contents):
1562
1563 2012-07-26  Christophe Dumez  <christophe.dumez@intel.com>
1564
1565         [EFL][WK2] Implement Network Information provider
1566         https://bugs.webkit.org/show_bug.cgi?id=92343
1567
1568         Reviewed by Kenneth Rohde Christiansen.
1569
1570         Make NetworkInfoClientEfl use NetworkInfoProviderEfl
1571         from WebCore to avoid code duplication with WebKit2.
1572
1573         * WebCoreSupport/NetworkInfoClientEfl.cpp:
1574         (WebCore::NetworkInfoClientEfl::startUpdating):
1575         (WebCore::NetworkInfoClientEfl::stopUpdating):
1576         (WebCore::NetworkInfoClientEfl::bandwidth):
1577         (WebCore::NetworkInfoClientEfl::metered):
1578         (WebCore):
1579         * WebCoreSupport/NetworkInfoClientEfl.h:
1580         (WebCore):
1581         (NetworkInfoClientEfl):
1582
1583 2012-07-26  Zoltan Nyul  <zoltan.nyul@intel.com>
1584
1585         [EFL] EFL port should use XDG paths
1586         https://bugs.webkit.org/show_bug.cgi?id=91719
1587
1588         Reviewed by Kenneth Rohde Christiansen.
1589
1590         Using xdg paths instead of home/.webkit directory for application
1591         cache, web-database and local-storage.
1592
1593         * ewk/ewk_main.cpp:
1594         (_ewk_init_body):
1595
1596 2012-07-26  Kaustubh Atrawalkar  <kaustubh@motorola.com>
1597
1598         [DRT] LTC:: pageNumberForElementById() could be moved to Internals
1599         https://bugs.webkit.org/show_bug.cgi?id=92091
1600
1601         Reviewed by Adam Barth.
1602
1603         Move the pageNumberForElementById from LayoutTestCotroller to Internals and
1604         remove the old platform specific implementations as it exclusively tests WebCore functionality.
1605
1606         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1607
1608 2012-07-25  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1609
1610         [EFL] Use eina_stringshare_add instead of strdup.
1611         https://bugs.webkit.org/show_bug.cgi?id=92072
1612
1613         Reviewed by Kentaro Hara.
1614
1615         Eina of EFL libraries supports a string functionality that replaces strdup. So, EFL port needs
1616         to replace strdup with eina_stringshare_add function.
1617
1618         In addition, some API descriptions need to be modified according to ewk APIs's parameter and
1619         return type change.
1620
1621         * WebCoreSupport/ChromeClientEfl.cpp:
1622         (WebCore::ChromeClientEfl::runJavaScriptPrompt):
1623         * ewk/ewk_cookies.cpp:
1624         (ewk_cookies_get_all):
1625         (ewk_cookies_cookie_free):
1626         * ewk/ewk_cookies.h:
1627         * ewk/ewk_frame.cpp:
1628         (ewk_frame_script_execute):
1629         (ewk_frame_selection_get):
1630         (ewk_frame_resources_location_get):
1631         (ewk_frame_plain_text_get):
1632         * ewk/ewk_frame.h:
1633         * ewk/ewk_intent.cpp:
1634         (ewk_intent_suggestions_get):
1635         (ewk_intent_extra_get):
1636         (ewk_intent_extra_names_get):
1637         * ewk/ewk_intent.h:
1638         * ewk/ewk_js.cpp:
1639         (ewk_js_variant_to_npvariant):
1640         (ewk_js_object_new):
1641         * ewk/ewk_view.cpp:
1642         (_ewk_view_smart_run_javascript_prompt):
1643         (ewk_view_selection_get):
1644         (ewk_view_run_javascript_prompt):
1645         (ewk_view_run_open_panel):
1646         * ewk/ewk_view.h:
1647         * ewk/ewk_view_private.h:
1648
1649 2012-07-25  Kihong Kwon  <kihong.kwon@samsung.com>
1650
1651         [EFL] Add File Chooser API
1652         https://bugs.webkit.org/show_bug.cgi?id=91957
1653
1654         Reviewed by Hajime Morita.
1655
1656         Add APIs for file chooser. These APIs allow an application(like a browser) queries informations
1657         about multiple files allowed, directory upload allowed, accept mimetypes list,
1658         accept file extentions list, selected files list and capture to support HTML media capture.
1659
1660         * ewk/EWebKit.h:
1661         * ewk/ewk_file_chooser.cpp: Added.
1662         (_Ewk_File_Chooser):
1663         (ewk_file_chooser_allows_multiple_files_get):
1664         (ewk_file_chooser_allows_directory_upload_get):
1665         (ewk_file_chooser_accept_mimetypes_get):
1666         (ewk_file_chooser_accept_file_extentions_get):
1667         (ewk_file_chooser_selected_files_get):
1668         (ewk_file_chooser_capture_get):
1669         (ewk_file_chooser_new):
1670         (ewk_file_chooser_free):
1671         * ewk/ewk_file_chooser.h: Added.
1672         * ewk/ewk_file_chooser_private.h: Added.
1673         (WebCore):
1674
1675 2012-07-23  Pierre Rossi  <pierre.rossi@gmail.com>
1676
1677         Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
1678         https://bugs.webkit.org/show_bug.cgi?id=91006
1679
1680         Reviewed by Ryosuke Niwa.
1681
1682         Removed numTouchEventHandlersChanged stub.
1683
1684         * WebCoreSupport/ChromeClientEfl.h:
1685
1686 2012-07-22  Kent Tamura  <tkent@chromium.org>
1687
1688         Rename ENABLE_METER_TAG and ENABLE_PROGRESS_TAG to ENABLE_METER_ELEMENT and ENABLE_PROGRESS_ELEMENT respectively
1689         https://bugs.webkit.org/show_bug.cgi?id=91941
1690
1691         Reviewed by Kentaro Hara.
1692
1693         A flag name for an elmement should be ENABLE_*_ELEMENT.
1694
1695         * DefaultTheme/default.edc:
1696
1697 2012-07-20  Kihong Kwon  <kihong.kwon@samsung.com>
1698
1699         [EFL] Remove unused headers from ewk_security_origin
1700         https://bugs.webkit.org/show_bug.cgi?id=91914
1701
1702         Reviewed by Noam Rosenthal.
1703
1704         There are some unused header in the ewk_security_origin.h/cpp
1705         We need to remove them.
1706
1707         * ewk/ewk_security_origin.cpp:
1708         * ewk/ewk_security_origin.h:
1709
1710 2012-07-20  Christophe Dumez  <christophe.dumez@intel.com>
1711
1712         [EFL] Proxy configuration should honor the no_proxy environment variable
1713         https://bugs.webkit.org/show_bug.cgi?id=91747
1714
1715         Reviewed by Kenneth Rohde Christiansen.
1716
1717         Use the new custom proxy resolver from WebCore in
1718         WebKit1-EFL's ewk_network_proxy_uri_set() / get(),
1719         instead of the less flexible SOUP_SESSION_PROXY_URI
1720         SoupSession property.
1721
1722         * ewk/ewk_network.cpp:
1723         (ewk_network_proxy_uri_set):
1724         (ewk_network_proxy_uri_get):
1725
1726 2012-07-20  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1727
1728         [EFL] Fix build when protocol handler and custom scheme is disabled
1729         https://bugs.webkit.org/show_bug.cgi?id=91840
1730
1731         Reviewed by Kenneth Rohde Christiansen.
1732
1733         Fixed namespace closing bracket positioning.
1734
1735         * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp:
1736         (WebCore):
1737
1738 2012-07-20  Kihong Kwon  <kihong.kwon@samsung.com>
1739
1740         [EFL] Check parameters of ewk APIs in ewk_security_origin
1741         https://bugs.webkit.org/show_bug.cgi?id=91833
1742
1743         Reviewed by Kentaro Hara.
1744
1745         For preventing crash, check parameters of ewk APIs in the ewk_security_origin.cpp.
1746
1747         * ewk/ewk_security_origin.cpp:
1748         (ewk_security_origin_port_get):
1749         (ewk_security_origin_web_database_usage_get):
1750         (ewk_security_origin_web_database_quota_get):
1751         (ewk_security_origin_web_database_quota_set):
1752         (ewk_security_origin_application_cache_quota_set):
1753         (ewk_security_origin_application_cache_clear):
1754         (ewk_security_origin_web_database_get_all):
1755         (ewk_security_origin_free):
1756         * ewk/ewk_security_origin.h:
1757
1758 2012-07-19  Kihong Kwon  <kihong.kwon@samsung.com>
1759
1760         [EFL] Enable interactive form validation
1761         https://bugs.webkit.org/show_bug.cgi?id=91711
1762
1763         Reviewed by Ryosuke Niwa.
1764
1765         Enable interactive form validation on the Efl.
1766         This makes we can validate data at form elements.
1767         In addition, it is already enabled in the DRT.
1768
1769         * ewk/ewk_view.cpp:
1770         (_ewk_view_priv_new):
1771
1772 2012-07-18  Christophe Dumez  <christophe.dumez@intel.com>
1773
1774         [EFL] Add central error management to EFL port
1775         https://bugs.webkit.org/show_bug.cgi?id=91598
1776
1777         Reviewed by Kenneth Rohde Christiansen.
1778
1779         Make use of ErrorsEfl header from WebCore in
1780         EFL's FrameLoaderClient now that we have
1781         a central place for errors.
1782
1783         * WebCoreSupport/FrameLoaderClientEfl.cpp:
1784         (WebCore::FrameLoaderClientEfl::cancelledError):
1785         (WebCore::FrameLoaderClientEfl::blockedError):
1786         (WebCore::FrameLoaderClientEfl::cannotShowURLError):
1787         (WebCore::FrameLoaderClientEfl::interruptedForPolicyChangeError):
1788         (WebCore::FrameLoaderClientEfl::cannotShowMIMETypeError):
1789         (WebCore::FrameLoaderClientEfl::fileDoesNotExistError):
1790         (WebCore::FrameLoaderClientEfl::pluginWillHandleLoadError):
1791         (WebCore::FrameLoaderClientEfl::shouldFallBack):
1792
1793 2012-07-18  Seokju Kwon  <seokju.kwon@samsung.com>
1794
1795         [EFL][DRT] Add support for Web Inspector in WebKit-EFL DRT
1796         https://bugs.webkit.org/show_bug.cgi?id=87935
1797
1798         Reviewed by Andreas Kling.
1799
1800         Add implementation of DumpRenderTreeSupportEfl::evaluateInWebInspector().
1801         Some scripts for test should be evaluated in frontend.
1802
1803         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1804         (DumpRenderTreeSupportEfl::evaluateInWebInspector):
1805         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
1806
1807 2012-07-17  Christophe Dumez  <christophe.dumez@intel.com>
1808
1809         [EFL] Replace 0 by NULL in public headers documentation
1810         https://bugs.webkit.org/show_bug.cgi?id=91470
1811
1812         Reviewed by Dirk Pranke.
1813
1814         Use NULL instead of 0 for pointer types in public
1815         C headers.
1816
1817         * ewk/ewk_contextmenu.h:
1818         * ewk/ewk_cookies.h:
1819         * ewk/ewk_frame.h:
1820         * ewk/ewk_intent.h:
1821         * ewk/ewk_intent_request.h:
1822         * ewk/ewk_network.h:
1823         * ewk/ewk_security_origin.h:
1824         * ewk/ewk_settings.h:
1825         * ewk/ewk_view.h:
1826         * ewk/ewk_window_features.h:
1827
1828 2012-07-17  Vivek Galatage  <vivekgalatage@gmail.com>
1829
1830         Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
1831         https://bugs.webkit.org/show_bug.cgi?id=91196
1832
1833         Reviewed by Pavel Feldman.
1834
1835         Refactoring InspectorClients. InspectorClient::openInspectorFrontend
1836         now returning the InspectorFrontendChannel.
1837
1838         * WebCoreSupport/InspectorClientEfl.cpp:
1839         (WebCore::InspectorClientEfl::openInspectorFrontend):
1840         * WebCoreSupport/InspectorClientEfl.h:
1841         (InspectorClientEfl):
1842
1843 2012-07-17  Ryuan Choi  <ryuan.choi@samsung.com>
1844
1845         [EFL] Move codes related to theme setting from Widget to RenderTheme
1846         https://bugs.webkit.org/show_bug.cgi?id=89842
1847
1848         Reviewed by Kenneth Rohde Christiansen.
1849
1850         * ewk/ewk_frame.cpp:
1851         (ewk_frame_view_create_for_view): Removed codes which set theme in FrameView.
1852         * ewk/ewk_view.cpp:
1853         (ewk_view_theme_set): Called RenderThemeEfl::setThemePath instead of setting theme in FrameView.
1854
1855 2012-07-16  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1856
1857         Add RegisterProtocolHandlerClient to the Modules/protocolhandler
1858         https://bugs.webkit.org/show_bug.cgi?id=90940
1859
1860         Reviewed by Hajime Morita.
1861
1862         As a step to let protocol handler be moved to the modules, RegisterProtocolHandlerClient needs
1863         to be added to the Modules/protocolhandler. Because ChromeClient has some virtual functions for
1864         protocol handlers, virtual functions should be moved to RegisterProtocolHandlerClient
1865
1866         In order to support this, RegisterProtocolHandlerClientEfl class is added and ewk_view registers
1867         RegisterProtocolHandlerClientEfl. In addition, existing concrete functions in ChromeClientEfl are moved
1868         to RegisterProtocolHandlerClientEfl.
1869
1870         * WebCoreSupport/ChromeClientEfl.cpp:
1871         (WebCore):
1872         * WebCoreSupport/ChromeClientEfl.h:
1873         * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp: Added.
1874         (WebCore):
1875         (WebCore::customHandlerDataCreate):
1876         (WebCore::customHandlerDataDelete):
1877         (WebCore::RegisterProtocolHandlerClientEfl::RegisterProtocolHandlerClientEfl):
1878         (WebCore::RegisterProtocolHandlerClientEfl::registerProtocolHandler):
1879         (WebCore::RegisterProtocolHandlerClientEfl::isProtocolHandlerRegistered):
1880         (WebCore::RegisterProtocolHandlerClientEfl::unregisterProtocolHandler):
1881         * WebCoreSupport/RegisterProtocolHandlerClientEfl.h: Added.
1882         (RegisterProtocolHandlerClientEfl):
1883         (WebCore::RegisterProtocolHandlerClientEfl::~RegisterProtocolHandlerClientEfl):
1884         * ewk/ewk_view.cpp:
1885         (_ewk_view_priv_new):
1886
1887 2012-07-16  Kihong Kwon  <kihong.kwon@samsung.com>
1888
1889         Remove setController from BatteryClient
1890         https://bugs.webkit.org/show_bug.cgi?id=90944
1891
1892         Reviewed by Adam Barth.
1893
1894         BatteryClient doesn't need to keep m_controller,
1895         because BatteryController can be accessed using BatteryController::from().
1896         Remove m_controller and Add ewk view evas object to BatteryClientEfl.
1897         And change all m_controller to BatteryController::from.
1898
1899         * WebCoreSupport/BatteryClientEfl.cpp:
1900         (BatteryClientEfl::BatteryClientEfl):
1901         (BatteryClientEfl::didChangeBatteryStatus):
1902         * WebCoreSupport/BatteryClientEfl.h:
1903         (BatteryClientEfl):
1904         * ewk/ewk_view.cpp:
1905         (_ewk_view_priv_new):
1906
1907 2012-07-15  Kihong Kwon  <kihong.kwon@samsung.com>
1908
1909         [EFL] Add a API for getting security origin string
1910         https://bugs.webkit.org/show_bug.cgi?id=90936
1911
1912         Reviewed by Ryosuke Niwa.
1913
1914         Support to change from Ewk_Security_Origin to string on the API level.
1915         Add ewk_security_origin_string_get for getting security origin string.
1916
1917         * ewk/ewk_security_origin.cpp:
1918         (_Ewk_Security_Origin):
1919         (ewk_security_origin_string_get):
1920         (ewk_security_origin_free):
1921         (ewk_security_origin_new):
1922         * ewk/ewk_security_origin.h:
1923
1924 2012-07-15  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1925
1926         [EFL] Move files guarded by #ifdef to existing file list.
1927         https://bugs.webkit.org/show_bug.cgi?id=91336
1928
1929         Reviewed by Ryosuke Niwa.
1930
1931         Some EFL files are already guared by #ifdef. So, cmake files doesn't need to guard
1932         them again. In addition, some files are missing #ifdef guard its header files. 
1933
1934         * WebCoreSupport/DeviceMotionClientEfl.h:
1935         * WebCoreSupport/InspectorClientEfl.h:
1936         * WebCoreSupport/NetworkInfoClientEfl.h:
1937         * WebCoreSupport/VibrationClientEfl.h:
1938
1939 2012-07-13  Kihong Kwon  <kihong.kwon@samsung.com>
1940
1941         [EFL] Add const to the parameter of getters in ewk_security_origin
1942         https://bugs.webkit.org/show_bug.cgi?id=90954
1943
1944         Reviewed by Kentaro Hara.
1945
1946         Move initialization of strings for protocol and host to the ewk_security_origin_new method,
1947         which allows to add const qualifier for ewk_security_origin_protocol_get and ewk_security_origin_host_get.
1948         In addition, add null checks to the getters.
1949
1950         * ewk/ewk_security_origin.cpp:
1951         (ewk_security_origin_protocol_get):
1952         (ewk_security_origin_host_get):
1953         (ewk_security_origin_new):
1954         * ewk/ewk_security_origin.h:
1955
1956 2012-07-13  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1957
1958         [EFL] Add *explicit* keyword to constructor which has a parameter
1959         https://bugs.webkit.org/show_bug.cgi?id=91207
1960
1961         Reviewed by Zoltan Herczeg.
1962
1963         Add *explicit* keyword to contructor which has a parameter in order to avoid implicit type conversion.
1964
1965         * WebCoreSupport/EditorClientEfl.h:
1966         (EditorClientEfl):
1967         * WebCoreSupport/InspectorClientEfl.h:
1968         (InspectorClientEfl):
1969         * WebCoreSupport/PageClientEfl.h:
1970         (PageClientEfl):
1971         * WebCoreSupport/VibrationClientEfl.h:
1972         (VibrationClientEfl):
1973
1974 2012-07-10  Adam Barth  <abarth@webkit.org>
1975
1976         LayoutTestController.dumpConfigurationForViewport should move to Internals
1977         https://bugs.webkit.org/show_bug.cgi?id=45652
1978
1979         Reviewed by Eric Seidel.
1980
1981         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1982         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
1983
1984 2012-07-09  Christophe Dumez  <christophe.dumez@intel.com>
1985
1986         [EFL] Battery status code needs refactoring to be reused in WebKit2
1987         https://bugs.webkit.org/show_bug.cgi?id=90760
1988
1989         Reviewed by Hajime Morita.
1990
1991         Add BatteryClientEfl to WebKit, which uses BatteryProviderEfl from
1992         WebCore internally.
1993
1994         * WebCoreSupport/BatteryClientEfl.cpp: Added.
1995         (BatteryClientEfl::BatteryClientEfl):
1996         (BatteryClientEfl::setController):
1997         (BatteryClientEfl::startUpdating):
1998         (BatteryClientEfl::stopUpdating):
1999         (BatteryClientEfl::batteryControllerDestroyed):
2000         (BatteryClientEfl::didChangeBatteryStatus):
2001         * WebCoreSupport/BatteryClientEfl.h: Renamed from Source/WebCore/platform/efl/BatteryClientEfl.h.
2002         (WebCore):
2003         (BatteryClientEfl):
2004         (BatteryClientEfl::~BatteryClientEfl):
2005         * ewk/ewk_view.cpp:
2006         (_ewk_view_priv_new):
2007
2008 2012-07-09  Adam Klein  <adamk@chromium.org>
2009
2010         Rename WebCore::WebKitMutationObserver to WebCore::MutationObserver
2011         https://bugs.webkit.org/show_bug.cgi?id=90810
2012
2013         Reviewed by Ojan Vafai.
2014
2015         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2016         (DumpRenderTreeSupportEfl::deliverAllMutationsIfNecessary):
2017
2018 2012-07-09  Krzysztof Czech  <k.czech@samsung.com>
2019
2020         [EFL] Simplify runTest function by defining default arguments.
2021         https://bugs.webkit.org/show_bug.cgi?id=90525
2022
2023         Reviewed by Chang Shu.
2024
2025         Default arguments will simplify macro RUN_TEST.
2026         Function will only have one mandatory argument, callback test function.
2027         Added static modifiers to callback functions.
2028
2029         * tests/UnitTestUtils/EWKTestBase.h:
2030         (EWKTestBase):
2031         * tests/test_ewk_view.cpp:
2032         (ewkViewEditableGetCb):
2033         (TEST):
2034         (ewkViewUriGetCb):
2035
2036 2012-07-08  Christophe Dumez  <christophe.dumez@intel.com>
2037
2038         [EFL] REGRESSION (r122035): fullscreen/exit-full-screen-iframe.html is crashing
2039         https://bugs.webkit.org/show_bug.cgi?id=90735
2040
2041         Reviewed by Antonio Gomes.
2042
2043         Keep a reference to the Element passed to enterFullScreenForElement() so
2044         that we can reuse it later in exitFullScreenForElement(). This is needed
2045         because the Element passed to exitFullScreenForElement() may be null.
2046         This fixes the crash for the fullscreen/exit-full-screen-iframe.html
2047         test introduced in r122035.
2048
2049         * WebCoreSupport/ChromeClientEfl.cpp:
2050         (WebCore::ChromeClientEfl::enterFullScreenForElement):
2051         (WebCore::ChromeClientEfl::exitFullScreenForElement):
2052         * WebCoreSupport/ChromeClientEfl.h:
2053         (ChromeClientEfl):
2054
2055 2012-07-07  Jinwoo Song  <jinwoo7.song@samsung.com>
2056
2057         [EFL] Fix build break when Accelerated Compositing is on.
2058         https://bugs.webkit.org/show_bug.cgi?id=90718
2059
2060         Unreviewed build fix.
2061
2062         ewk_view_accelerated_compositing_XXX APIs are in ewk_view_private.h
2063
2064         * WebCoreSupport/PageClientEfl.cpp:
2065         (PageClientEfl::createEvasObjectForAcceleratedCompositing):
2066         (PageClientEfl::acceleratedCompositingContext):
2067         * WebCoreSupport/PageClientEfl.h:
2068         (PageClientEfl):
2069
2070 2012-07-06  Seokju Kwon  <seokju.kwon@samsung.com>
2071
2072         [EFL] Add Web Inspector to WebKit-EFL
2073         https://bugs.webkit.org/show_bug.cgi?id=83865
2074
2075         Reviewed by Pavel Feldman.
2076
2077         EFL port implementation for Web Inspector.
2078         Implementation of InspectorClientEfl and InspectorFrontendClientEfl
2079         for using the Web Inspector in WebKit-EFL with new EWK APIs.
2080
2081         * WebCoreSupport/InspectorClientEfl.cpp:
2082         (WebCore::notifyWebInspectorDestroy):
2083         (WebCore):
2084         (InspectorFrontendSettingsEfl):
2085         (WebCore::InspectorFrontendSettingsEfl::getProperty):
2086         (WebCore::InspectorFrontendSettingsEfl::setProperty):
2087         (WebCore::InspectorClientEfl::InspectorClientEfl):
2088         (WebCore::InspectorClientEfl::~InspectorClientEfl):
2089         (WebCore::InspectorClientEfl::inspectorDestroyed):
2090         (WebCore::InspectorClientEfl::openInspectorFrontend):
2091         (WebCore::InspectorClientEfl::closeInspectorFrontend):
2092         (WebCore::InspectorClientEfl::bringFrontendToFront):
2093         (WebCore::InspectorClientEfl::sendMessageToFrontend):
2094         (WebCore::InspectorClientEfl::releaseFrontendPage):
2095         (WebCore::InspectorClientEfl::inspectorFilesPath):
2096         (WebCore::InspectorFrontendClientEfl::InspectorFrontendClientEfl):
2097         (WebCore::InspectorFrontendClientEfl::~InspectorFrontendClientEfl):
2098         (WebCore::InspectorFrontendClientEfl::localizedStringsURL):
2099         (WebCore::InspectorFrontendClientEfl::hiddenPanels):
2100         (WebCore::InspectorFrontendClientEfl::bringToFront):
2101         (WebCore::InspectorFrontendClientEfl::closeWindow):
2102         (WebCore::InspectorFrontendClientEfl::inspectedURLChanged):
2103         (WebCore::InspectorFrontendClientEfl::attachWindow):
2104         (WebCore::InspectorFrontendClientEfl::detachWindow):
2105         (WebCore::InspectorFrontendClientEfl::setAttachedWindowHeight):
2106         (WebCore::InspectorFrontendClientEfl::destroyInspectorWindow):
2107         * WebCoreSupport/InspectorClientEfl.h:
2108         (WebCore):
2109         (InspectorClientEfl):
2110         (InspectorFrontendClientEfl):
2111         (WebCore::InspectorFrontendClientEfl::disconnectInspectorClient):
2112         * ewk/ewk_view.cpp:
2113         (_Ewk_View_Private_Data):
2114         (_ewk_view_priv_new):
2115         (ewk_view_web_inspector_show):
2116         (ewk_view_web_inspector_close):
2117         (ewk_view_web_inspector_view_get):
2118         (ewk_view_web_inspector_view_set):
2119         * ewk/ewk_view.h:
2120
2121 2012-07-05  Kihong Kwon  <kihong.kwon@samsung.com>
2122
2123         [EFL] Change class name from NotificationClientEfl to NotificationPresenterClientEfl.
2124         https://bugs.webkit.org/show_bug.cgi?id=90542
2125
2126         Reviewed by Kenneth Rohde Christiansen.
2127
2128         Change class name from NotificationClientEfl to NotificationPresenterClientEfl
2129         to be in line with other ports.(qt, chromium, blackberry)
2130
2131         * WebCoreSupport/ChromeClientEfl.cpp:
2132         * WebCoreSupport/NotificationPresenterClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.cpp.
2133         (WebCore):
2134         (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
2135         (WebCore::NotificationPresenterClientEfl::~NotificationPresenterClientEfl):
2136         (WebCore::NotificationPresenterClientEfl::show):
2137         (WebCore::NotificationPresenterClientEfl::cancel):
2138         (WebCore::NotificationPresenterClientEfl::notificationObjectDestroyed):
2139         (WebCore::NotificationPresenterClientEfl::notificationControllerDestroyed):
2140         (WebCore::NotificationPresenterClientEfl::requestPermission):
2141         (WebCore::NotificationPresenterClientEfl::checkPermission):
2142         (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
2143         * WebCoreSupport/NotificationPresenterClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.h.
2144         (WebCore):
2145         (NotificationPresenterClientEfl):
2146
2147 2012-07-02  Benjamin Poulain  <bpoulain@apple.com>
2148
2149         Do not do any logging initialization when logging is disabled
2150         https://bugs.webkit.org/show_bug.cgi?id=90228
2151
2152         Reviewed by Simon Fraser.
2153
2154         * ewk/ewk_main.cpp:
2155         (_ewk_init_body):
2156
2157 2012-07-02  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2158
2159         [EFL] Rename NotificationPresenterEfl with NotificationClientEfl
2160         https://bugs.webkit.org/show_bug.cgi?id=90370
2161
2162         Reviewed by Csaba Osztrogonác.
2163
2164         Bug 80488 renamed NotificationPresenter with NotificationClient. So, EFL port needs to adjust it as well.
2165
2166         * WebCoreSupport/ChromeClientEfl.cpp:
2167         * WebCoreSupport/NotificationClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp.
2168         (WebCore):
2169         (WebCore::NotificationClientEfl::NotificationClientEfl):
2170         (WebCore::NotificationClientEfl::~NotificationClientEfl):
2171         (WebCore::NotificationClientEfl::show):
2172         (WebCore::NotificationClientEfl::cancel):
2173         (WebCore::NotificationClientEfl::notificationObjectDestroyed):
2174         (WebCore::NotificationClientEfl::notificationControllerDestroyed):
2175         (WebCore::NotificationClientEfl::requestPermission):
2176         (WebCore::NotificationClientEfl::checkPermission):
2177         (WebCore::NotificationClientEfl::cancelRequestsForPermission):
2178         * WebCoreSupport/NotificationClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h.
2179         (WebCore):
2180         (NotificationClientEfl):
2181
2182 2012-06-29  Krzysztof Czech  <k.czech@samsung.com>, Tomasz Morawski <t.morawski@samsung.com>
2183
2184         [EFL] Implementation of testing framework and unit tests for WebKit-EFL port.
2185         https://bugs.webkit.org/show_bug.cgi?id=68509
2186
2187         Reviewed by Chang Shu.
2188
2189         Testing framework is based on gtest library. Gtest library is part of the WebKit project. Framework is devided into base part and view part.
2190         Base part takes care of efl initialization, defines test macros and prepares test to run. View part is a context of each test.
2191
2192         * tests/UnitTestUtils/EWKTestBase.cpp: Added.
2193         (EWKUnitTests):
2194         (EWKUnitTests::EWKTestBase::init):
2195         (EWKUnitTests::EWKTestBase::shutdown):
2196         (EWKUnitTests::EWKTestBase::shutdownAll):
2197         (EWKUnitTests::EWKTestBase::startTest):
2198         (EWKUnitTests::EWKTestBase::endTest):
2199         (EWKUnitTests::EWKTestBase::createTest):
2200         (EWKUnitTests::EWKTestBase::runTest):
2201         * tests/UnitTestUtils/EWKTestBase.h: Added.
2202         (EWKUnitTests):
2203         (EWKTestBase):
2204         * tests/UnitTestUtils/EWKTestConfig.h: Added.
2205         (Config):
2206         * tests/UnitTestUtils/EWKTestView.cpp: Added.
2207         (EWKUnitTests):
2208         (EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas):
2209         (EWKUnitTests::EWKTestEcoreEvas::evas):
2210         (EWKUnitTests::EWKTestEcoreEvas::show):
2211         (EWKUnitTests::EWKTestView::EWKTestView):
2212         (EWKUnitTests::EWKTestView::init):
2213         (EWKUnitTests::EWKTestView::show):
2214         (EWKUnitTests::EWKTestView::mainFrame):
2215         (EWKUnitTests::EWKTestView::evas):
2216         (EWKUnitTests::EWKTestView::bindEvents):
2217         * tests/UnitTestUtils/EWKTestView.h: Added.
2218         (EWKUnitTests):
2219         (EWKTestEcoreEvas):
2220         (EWKTestView):
2221         (EWKUnitTests::EWKTestView::webView):
2222         * tests/resources/default_test_page.html: Added.
2223         * tests/test_ewk_view.cpp: Added.
2224         (ewkViewEditableGetCb):
2225         (TEST):
2226         (ewkViewUriGetCb):
2227         * tests/test_runner.cpp: Added.
2228         (parseCustomArguments):
2229         (main):
2230
2231 2012-06-29  Konrad Piascik  <kpiascik@rim.com>
2232
2233         Don't hardcode target dpi of 160 (it should be 96 on desktop)
2234         https://bugs.webkit.org/show_bug.cgi?id=88114
2235
2236         Reviewed by Adam Barth.
2237
2238         Updated the call to computeViewportAttributes.
2239
2240         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2241         (DumpRenderTreeSupportEfl::dumpConfigurationForViewport):
2242         * ewk/ewk_view.cpp:
2243         (_ewk_view_viewport_attributes_compute):
2244
2245 2012-06-27  Sheriff Bot  <webkit.review.bot@gmail.com>
2246
2247         Unreviewed, rolling out r121398.
2248         http://trac.webkit.org/changeset/121398
2249         https://bugs.webkit.org/show_bug.cgi?id=90136
2250
2251         broke efl build (Requested by ryuan on #webkit).
2252
2253         * tests/UnitTestUtils/EWKTestBase.cpp: Removed.
2254         * tests/UnitTestUtils/EWKTestBase.h: Removed.
2255         * tests/UnitTestUtils/EWKTestConfig.h: Removed.
2256         * tests/UnitTestUtils/EWKTestView.cpp: Removed.
2257         * tests/UnitTestUtils/EWKTestView.h: Removed.
2258         * tests/resources/default_test_page.html: Removed.
2259         * tests/test_ewk_view.cpp: Removed.
2260         * tests/test_runner.cpp: Removed.
2261
2262 2012-06-27  Krzysztof Czech  <k.czech@samsung.com>
2263
2264         [EFL] Implementation of testing framework and unit tests for WebKit-EFL port.
2265         https://bugs.webkit.org/show_bug.cgi?id=68509
2266
2267         Reviewed by Chang Shu.
2268
2269         Testing framework is based on gtest library. Gtest library is part of the WebKit project. Framework is devided into base part and view part.
2270         Base part takes care of efl initialization, defines test macros and prepares test to run. View part is a context of each test.
2271
2272         * tests/UnitTestUtils/EWKTestBase.cpp: Added.
2273         (EWKUnitTests):
2274         (EWKUnitTests::EWKTestBase::init):
2275         (EWKUnitTests::EWKTestBase::shutdown):
2276         (EWKUnitTests::EWKTestBase::shutdownAll):
2277         (EWKUnitTests::EWKTestBase::startTest):
2278         (EWKUnitTests::EWKTestBase::endTest):
2279         (EWKUnitTests::EWKTestBase::createTest):
2280         (EWKUnitTests::EWKTestBase::runTest):
2281         * tests/UnitTestUtils/EWKTestBase.h: Added.
2282         (EWKUnitTests):
2283         (EWKTestBase):
2284         * tests/UnitTestUtils/EWKTestConfig.h: Added.
2285         (Config):
2286         * tests/UnitTestUtils/EWKTestView.cpp: Added.
2287         (EWKUnitTests):
2288         (EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas):
2289         (EWKUnitTests::EWKTestEcoreEvas::evas):
2290         (EWKUnitTests::EWKTestEcoreEvas::show):
2291         (EWKUnitTests::EWKTestView::EWKTestView):
2292         (EWKUnitTests::EWKTestView::init):
2293         (EWKUnitTests::EWKTestView::show):
2294         (EWKUnitTests::EWKTestView::mainFrame):
2295         (EWKUnitTests::EWKTestView::evas):
2296         (EWKUnitTests::EWKTestView::bindEvents):
2297         * tests/UnitTestUtils/EWKTestView.h: Added.
2298         (EWKUnitTests):
2299         (EWKTestEcoreEvas):
2300         (EWKTestView):
2301         (EWKUnitTests::EWKTestView::webView):
2302         * tests/resources/default_test_page.html: Added.
2303         * tests/test_ewk_view.cpp: Added.
2304         (ewkViewEditableGetCb):
2305         (TEST):
2306         (ewkViewUriGetCb):
2307         * tests/test_runner.cpp: Added.
2308         (parseCustomArguments):
2309         (main):
2310
2311 2012-06-25  Mark Hahnenberg  <mhahnenberg@apple.com>
2312
2313         JSLock should be per-JSGlobalData
2314         https://bugs.webkit.org/show_bug.cgi?id=89123
2315
2316         Reviewed by Geoffrey Garen.
2317
2318         Changed all sites that used JSLock to instead use the new JSLockHolder
2319         and pass in the correct JS context that the code is about to interact with that 
2320         needs protection. Also added a couple JSLocks to places that didn't already 
2321         have it that needed it.
2322
2323         * ewk/ewk_frame.cpp:
2324         (ewk_frame_script_execute):
2325         * ewk/ewk_view.cpp:
2326         (ewk_view_js_object_add):
2327
2328 2012-06-26  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2329
2330         Change return type in bandwidth attribute of network information API
2331         https://bugs.webkit.org/show_bug.cgi?id=89959
2332
2333         Reviewed by Adam Barth.
2334
2335         According to network information API spec, bandwidth attribute should return double type.
2336         But, existing implementation has used *long* and *unsigned int* types.
2337
2338         * WebCoreSupport/NetworkInfoClientEfl.cpp:
2339         (WebCore::NetworkInfoClientEfl::bandwidth):
2340         * WebCoreSupport/NetworkInfoClientEfl.h:
2341         (NetworkInfoClientEfl):
2342
2343 2012-06-25  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2344
2345         [EFL] Implement Network Information API
2346         https://bugs.webkit.org/show_bug.cgi?id=87067
2347
2348         Reviewed by Kenneth Rohde Christiansen.
2349
2350         Implement NetworkInfoClientEfl.cpp using eeze library. However, this patch only
2351         supports this feature on ethernet interface.
2352
2353         * WebCoreSupport/NetworkInfoClientEfl.cpp:
2354         (WebCore):
2355         (WebCore::NetworkInfoClientEfl::NetworkInfoClientEfl):
2356         (WebCore::NetworkInfoClientEfl::startUpdating):
2357         (WebCore::NetworkInfoClientEfl::stopUpdating):
2358         (WebCore::NetworkInfoClientEfl::bandwidth):
2359         (WebCore::NetworkInfoClientEfl::metered):
2360         * WebCoreSupport/NetworkInfoClientEfl.h:
2361         (NetworkInfoClientEfl):
2362
2363 2012-06-23  Sheriff Bot  <webkit.review.bot@gmail.com>
2364
2365         Unreviewed, rolling out r121058.
2366         http://trac.webkit.org/changeset/121058
2367         https://bugs.webkit.org/show_bug.cgi?id=89809
2368
2369         Patch causes plugins tests to crash in GTK debug builds
2370         (Requested by zdobersek on #webkit).
2371
2372         * ewk/ewk_frame.cpp:
2373         (ewk_frame_script_execute):
2374         * ewk/ewk_view.cpp:
2375         (ewk_view_js_object_add):
2376
2377 2012-06-22  Ryuan Choi  <ryuan.choi@samsung.com>
2378
2379         [EFL][WK2] Support keyboard event
2380         https://bugs.webkit.org/show_bug.cgi?id=89268
2381
2382         Reviewed by Chang Shu.
2383
2384         Extract keyDownCommandsMap and keyPressCommandsMap to share WebKit1/Efl and WebKit2/Efl.
2385
2386         * WebCoreSupport/EditorClientEfl.cpp:
2387         (WebCore::EditorClientEfl::interpretKeyEvent):
2388
2389 2012-06-20  Mark Hahnenberg  <mhahnenberg@apple.com>
2390
2391         JSLock should be per-JSGlobalData
2392         https://bugs.webkit.org/show_bug.cgi?id=89123
2393
2394         Reviewed by Gavin Barraclough.
2395
2396         Changed all sites that used JSLock to instead use the new JSLockHolder
2397         and pass in the correct JS context that the code is about to interact with that 
2398         needs protection.
2399
2400         * ewk/ewk_frame.cpp:
2401         (ewk_frame_script_execute):
2402         * ewk/ewk_view.cpp:
2403         (ewk_view_js_object_add):
2404
2405 2012-06-22  Amy Ousterhout  <aousterh@chromium.org>
2406
2407         Renamed DeviceOrientation to DeviceOrientationData
2408         https://bugs.webkit.org/show_bug.cgi?id=88663
2409
2410         Reviewed by Steve Block.
2411
2412         Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
2413         This change makes DeviceOrientationData consistent with DeviceMotionData.
2414         
2415         * WebCoreSupport/DeviceOrientationClientEfl.h:
2416         (DeviceOrientationClientEfl):
2417
2418 2012-06-19  Sergio Villar Senin  <svillar@igalia.com>
2419
2420         Calling nativeImageForCurrentFrame() causes assertion failure: m_verifier.isSafeToUse()
2421         https://bugs.webkit.org/show_bug.cgi?id=67582
2422
2423         Reviewed by David Levin.
2424
2425         Use synchronousNativeIconForPageURL() to retrieve favicons.
2426
2427         * ewk/ewk_history.cpp:
2428         (ewk_history_item_icon_surface_get):
2429         (ewk_history_item_icon_object_add):
2430         * ewk/ewk_settings.cpp:
2431         (ewk_settings_icon_database_icon_surface_get):
2432         (ewk_settings_icon_database_icon_object_add):
2433
2434 2012-06-19  Christophe Dumez  <christophe.dumez@intel.com>
2435
2436         [EFL] EFL's LayoutTestController does not support setTextDirection
2437         https://bugs.webkit.org/show_bug.cgi?id=87481
2438
2439         Reviewed by Hajime Morita.
2440
2441         Add new Ewk_View method to set the text direction, by calling
2442         Editor::setBaseWritingDirection() internally, as Mac and Chromium
2443         ports do.
2444
2445         * WebCoreSupport/AssertMatchingEnums.cpp:
2446         * ewk/ewk_view.cpp:
2447         (ewk_view_text_direction_set):
2448         * ewk/ewk_view.h:
2449
2450 2012-06-15  Christophe Dumez  <christophe.dumez@intel.com>
2451
2452         [EFL] EFL's LayoutTestController does not support titleTextDirection
2453         https://bugs.webkit.org/show_bug.cgi?id=86475
2454
2455         Reviewed by Hajime Morita.
2456
2457         Emit the "title,changed" signal even if the title direction has
2458         changed but not its text.
2459
2460         * ewk/ewk_frame.cpp:
2461         (ewk_frame_title_set):
2462
2463 2012-06-14  Ryuan Choi  <ryuan.choi@samsung.com>
2464
2465         [EFL] Move cursor related code from WidgetEfl to ewk_view and EflScreenUtilities.
2466         https://bugs.webkit.org/show_bug.cgi?id=88803
2467
2468         Reviewed by Chang Shu.
2469
2470         Because WebProcess can not control cursor,
2471         setCursor should be passed to ChromeClient like other ports.
2472
2473         * WebCoreSupport/ChromeClientEfl.cpp:
2474         (WebCore::ChromeClientEfl::setCursor):
2475         * ewk/ewk_view.cpp:
2476         (_Ewk_View_Private_Data):
2477         (_ewk_view_priv_new): Check whether ecore_x can be used.
2478         (_ewk_view_priv_del):
2479         (_ewk_view_smart_add):
2480         Change order of initialization to use base structure in _ewk_view_priv_new.
2481         (ewk_view_cursor_set): Moved from Widget::applyCursor.
2482         * ewk/ewk_view_private.h:
2483         (WebCore):
2484
2485 2012-06-14  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
2486
2487         [EFL] [DRT] Implement setDomainRelaxationForbiddenForURLScheme in EFL DRT
2488         https://bugs.webkit.org/show_bug.cgi?id=84577
2489
2490         Reviewed by Ryosuke Niwa.
2491
2492         Add missing implementation setDomainRelaxationForbiddenForURLScheme to
2493         EFL's DumpRenderTreeSupport to allow disabling domain relaxation.
2494
2495         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2496         (DumpRenderTreeSupportEfl::setDomainRelaxationForbiddenForURLScheme):
2497         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
2498
2499 2012-06-13  Amy Ousterhout  <aousterh@chromium.org>
2500
2501         Rename currentDeviceMotion to lastMotion in DeviceMotionClient
2502         https://bugs.webkit.org/show_bug.cgi?id=88854
2503
2504         Reviewed by Adam Barth.
2505
2506         Rename the function currentDeviceMotion to lastMotion in DeviceMotionClient.
2507         This makes it consistent with the similar function lastOrientation in DeviceOrientationClient.
2508
2509         * WebCoreSupport/DeviceMotionClientEfl.cpp:
2510         (WebCore::DeviceMotionClientEfl::lastMotion):
2511         * WebCoreSupport/DeviceMotionClientEfl.h:
2512         (DeviceMotionClientEfl):
2513
2514 2012-06-12  Christophe Dumez  <christophe.dumez@intel.com>
2515
2516         [EFL] Enable SHADOW_DOM flag
2517         https://bugs.webkit.org/show_bug.cgi?id=87732
2518
2519         Reviewed by Kentaro Hara.
2520
2521         Add Ewk setting to toggle Shadow DOM support at runtime.
2522
2523         * ewk/ewk_settings.cpp:
2524         (ewk_settings_shadow_dom_enable_get):
2525         (ewk_settings_shadow_dom_enable_set):
2526         * ewk/ewk_settings.h:
2527
2528 2012-06-11  Kaustubh Atrawalkar  <kaustubh@motorola.com>
2529
2530         [DRT] LTC:: counterValueForElementById() could be moved to Internals.
2531         https://bugs.webkit.org/show_bug.cgi?id=84406
2532
2533         Reviewed by Hajime Morita.
2534
2535         Move the counterValueForElementById from LayoutTestCotroller to Internals and
2536         remove the old platform specific implementations as it exclusively tests WebCore functionality.
2537
2538         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2539
2540 2012-06-05  Adam Barth  <abarth@webkit.org>
2541
2542         Remove support for target-densitydpi in the viewport meta tag
2543         https://bugs.webkit.org/show_bug.cgi?id=88047
2544
2545         Reviewed by Kenneth Rohde Christiansen.
2546
2547         * ewk/ewk_view.cpp:
2548         (_ewk_view_priv_new):
2549
2550 2012-06-05  Dongwoo Im  <dw.im@samsung.com>
2551
2552         Add 'isProtocolHandlerRegistered' and 'unregisterProtocolHandler'.
2553         https://bugs.webkit.org/show_bug.cgi?id=73176
2554
2555         Reviewed by Adam Barth.
2556
2557         Two more APIs are added in Custom Scheme Handler specification.
2558         http://dev.w3.org/html5/spec/Overview.html#custom-handlers
2559         One is 'isProtocolHandlerRegistered' to query whether the specific URL
2560         is registered or not.
2561         The other is 'unregisterProtocolHandler' to remove the registered URL.
2562
2563         * WebCoreSupport/ChromeClientEfl.cpp:
2564         (WebCore::customHandlerDataCreate):
2565         (WebCore::customHandlerDataDelete):
2566         (WebCore::ChromeClientEfl::registerProtocolHandler):
2567         (WebCore):
2568         (WebCore::ChromeClientEfl::isProtocolHandlerRegistered): Query if the handler is registered.
2569         (WebCore::ChromeClientEfl::unregisterProtocolHandler): Unregister the registered handler.
2570         * WebCoreSupport/ChromeClientEfl.h:
2571         (ChromeClientEfl):
2572         * ewk/ewk_custom_handler.cpp:
2573         (ewk_custom_handler_is_protocol_handler_registered): Query if the handler is registered.
2574         (ewk_custom_handler_unregister_protocol_handler): Unregister the registered handler.
2575         * ewk/ewk_custom_handler_private.h: Adds private function.
2576         * ewk/ewk_view.h: Adds enumeration.
2577
2578 2012-06-04  Tomasz Morawski  <t.morawski@samsung.com>
2579
2580         [EFL] Refactor ewk_view_context_paint code.
2581         https://bugs.webkit.org/show_bug.cgi?id=85588
2582
2583         Reviewed by Hajime Morita.
2584
2585         The main purpose of this change is reduce size of ewk_view.h/cpp files and make use of ewk_view_context_paint
2586         object by ewk_view_single and ewk_view_tiled instead of direct operations on cairo.
2587         The code is more objective and looks very simple now.
2588         Remove ewk_view_context_paint code from ewk_view h/cpp file and move it to separate new ewk_context_paint file.
2589         The ewk_view_context_paint has been renamed to ewk_context_paint and it is not binded to view on creation time.
2590
2591         * ewk/ewk_paint_context.cpp: Added.
2592         Functions renamed and moved from ewk_view to ewk_paint_context file.
2593         (ewk_paint_context_new):
2594         (ewk_paint_context_from_image_new): New function.
2595         (ewk_paint_context_from_image_data_new): New function.
2596         (ewk_paint_context_free):
2597         (ewk_paint_context_save):
2598         (ewk_paint_context_restore):
2599         (ewk_paint_context_clip):
2600         (ewk_paint_context_scale):
2601         (ewk_paint_context_translate):
2602         (ewk_paint_context_paint): Added FrameView parameter.
2603         (ewk_paint_context_paint_contents): Added FrameView parameter.
2604         * ewk/ewk_paint_context_private.h: Added.
2605         (_Ewk_Paint_Context):
2606         * ewk/ewk_private.h: Functions ewk_view_paint and ewk_view_paint_contents moved from ewk_view.h.
2607         * ewk/ewk_tiled_backing_store.h: Removed unused include.
2608         * ewk/ewk_view.cpp: Moved all function releated to paint context object to new ewk_paint_context file.
2609         (_Ewk_View_Private_Data):
2610         (ewk_view_paint): Changed function according change in ewk_paint_context_paint function.
2611         (ewk_view_paint_contents): Changed function according change in ewk_paint_context_paint_contents function.
2612         * ewk/ewk_view.h: Removed all paint context functions and ewk_view_paint, ewk_view_paint_contents function from
2613         public API.
2614         * ewk/ewk_view_single.cpp:
2615         (_ewk_view_single_smart_repaints_process):
2616         Refactor of _ewk_view_single_smart_repaints_process function.
2617         Removed goto statements.
2618         Removed variables declaration from function beginning.
2619         * ewk/ewk_view_tiled.cpp:
2620         (_ewk_view_tiled_render_cb): Make use of ewk_paint_context object instead of direction operation on cairo.
2621         Looks simpler and more objective.
2622
2623 2012-06-03  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2624
2625         Add ewk_custom_handler_private.h for ewk_custom_handler.cpp
2626         https://bugs.webkit.org/show_bug.cgi?id=88163
2627
2628         Reviewed by Ryosuke Niwa.
2629
2630         EFL WK1 decided to divide up ewk_private.h into each file's XXX_private.h file
2631         in order to maintain internal functions more easily. Bug 73176 is adding new
2632         internal functions to ewk_custom_hanlder.cpp. So, ewk_custom_handler.cpp needs
2633         to have _private.h file as well.
2634
2635         * WebCoreSupport/ChromeClientEfl.cpp:
2636         * ewk/ewk_custom_handler.cpp:
2637         * ewk/ewk_custom_handler_private.h: Added.
2638         * ewk/ewk_view_private.h:
2639
2640 2012-06-01  Christophe Dumez  <christophe.dumez@intel.com>
2641
2642         [EFL] EFL port does not enable WEB_INTENTS_TAG flag
2643         https://bugs.webkit.org/show_bug.cgi?id=86866
2644
2645         Reviewed by Adam Barth.
2646
2647         Implement registerIntentService() in EFL's FrameLoaderClient.
2648         Emit a "intent,service,register" signal on the frame when a new Web
2649         Intent service registers.
2650
2651         * WebCoreSupport/FrameLoaderClientEfl.cpp:
2652         (WebCore):
2653         (WebCore::FrameLoaderClientEfl::registerIntentService):
2654         * WebCoreSupport/FrameLoaderClientEfl.h:
2655         (FrameLoaderClientEfl):
2656         * ewk/ewk_frame.cpp:
2657         (ewk_frame_intent_service_register):
2658         * ewk/ewk_frame.h:
2659         * ewk/ewk_frame_private.h:
2660
2661 2012-06-01  Christophe Dumez  <christophe.dumez@intel.com>
2662
2663         [EFL] ewk_intent_data_get() is not needed and can be removed
2664         https://bugs.webkit.org/show_bug.cgi?id=88072
2665
2666         Reviewed by Adam Barth.
2667
2668         Remove ewk_intent_data_get() method from Ewk_Intent. Intent data is
2669         serialized and does not need to be publicly exposed. The browser only
2670         needs action and type to match with services.
2671
2672         * ewk/ewk_intent.cpp:
2673         (_Ewk_Intent):
2674         (ewk_intent_action_get):
2675         (ewk_intent_type_get):
2676         (ewk_intent_service_get):
2677         (ewk_intent_free):
2678         * ewk/ewk_intent.h:
2679
2680 2012-06-01  Christophe Dumez  <christophe.dumez@intel.com>
2681
2682         [EFL] EFL's LayoutTestController needs to implement deliverWebIntent
2683         https://bugs.webkit.org/show_bug.cgi?id=86865
2684
2685         Reviewed by Adam Barth.
2686
2687         Add method on Ewk_Frame to deliver an intent.
2688         Add helper function to DumpRenderTreeSupportEfl to deliver a Web
2689         Intent.
2690
2691         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2692         (DumpRenderTreeSupportEfl::deliverWebIntent):
2693         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
2694         * ewk/ewk_frame.cpp:
2695         (ewk_frame_intent_deliver):
2696         * ewk/ewk_frame.h:
2697
2698 2012-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
2699
2700         Unreviewed, rolling out r119228.
2701         http://trac.webkit.org/changeset/119228
2702         https://bugs.webkit.org/show_bug.cgi?id=88098
2703
2704         Caused the EFL debug bot to crash. (Requested by rakuco on
2705         #webkit).
2706
2707         * ewk/ewk_main.cpp:
2708         (ewk_init):
2709
2710 2012-06-01  Christophe Dumez  <christophe.dumez@intel.com>
2711
2712         [EFL] [DRT] editing/execCommand/paste-and-match-style-event.html crashes
2713         https://bugs.webkit.org/show_bug.cgi?id=86961
2714
2715         Reviewed by Csaba Osztrogonác.
2716
2717         Call ecore_x_init() in ewk_init() to initialize the ecore_x library.
2718         This avoids crashing upong calling WebCore::systemBeep() which uses
2719         ecore_x_bell() internally.
2720
2721         * ewk/ewk_main.cpp:
2722         (ewk_init):
2723
2724 2012-06-01  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2725
2726         [EFL] New signals in ewk_view to enable global history delegate functionality
2727         https://bugs.webkit.org/show_bug.cgi?id=86343
2728
2729         Reviewed by Kenneth Rohde Christiansen.
2730
2731         Global history delegate is an interface for WebKit clients to manage their own global history store.
2732         The new ewk_view signals do the following:
2733         1) report that a navigation happened within the view and give the navigation details.
2734         2) report that view performed a client redirect and give source and destination uris.
2735         3) report that view performed a server redirect and give source and destination uris.
2736
2737         * WebCoreSupport/FrameLoaderClientEfl.cpp:
2738         (WebCore::FrameLoaderClientEfl::updateGlobalHistoryRedirectLinks): implementation added.
2739         (WebCore::FrameLoaderClientEfl::updateGlobalHistory): implementation added.
2740         * ewk/ewk_view.h: Added new signals and data types.
2741
2742 2012-06-01  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
2743
2744         [EFL] Implement PlatformStrategies
2745         https://bugs.webkit.org/show_bug.cgi?id=86946
2746
2747         Reviewed by Carlos Garcia Campos.                 
2748
2749         Enable PLATFORM_STRATEGIES for EFL platform.
2750
2751         * WebCoreSupport/PlatformStrategiesEfl.cpp: Added, code was moved
2752         from platform/PluginDataEfl.
2753         (PlatformStrategiesEfl::initialize): Initialize platform strategies.
2754         (PlatformStrategiesEfl::PlatformStrategiesEfl):
2755         (PlatformStrategiesEfl::createCookiesStrategy): Return this.
2756         (PlatformStrategiesEfl::createPluginStrategy): Ditto.
2757         (PlatformStrategiesEfl::createVisitedLinkStrategy): Ditto.
2758         (PlatformStrategiesEfl::createPasteboardStrategy): Return 0, since
2759         PasteboardStrategy is only used by mac code for now.
2760         (PlatformStrategiesEfl::notifyCookiesChanged): 
2761         (PlatformStrategiesEfl::refreshPlugins): Refresh the plugin
2762         database. Code executes only when NETSCAPE_PLUGIN_API is ON.
2763         (PlatformStrategiesEfl::getPluginInfo): Initialize plugins and
2764         populate the given vector with plugins information. Code executes
2765         only when NETSCAPE_PLUGIN_API is ON.
2766         (PlatformStrategiesEfl::isLinkVisited): Return whether the given
2767         hash is a visited link of the page group.
2768         (PlatformStrategiesEfl::addVisitedLink): Add the given hash to the
2769         page group visited links.
2770         * WebCoreSupport/PlatformStrategiesEfl.h: Added.
2771         (PlatformStrategiesEfl):
2772         * ewk/ewk_main.cpp: Initialize PlatformStrategiesEfl.
2773         (_ewk_init_body):
2774
2775 2012-05-31  Alexander Shalamov  <alexander.shalamov@intel.com>
2776
2777         [EFL] <input type="number"> is not a spinbutton
2778         https://bugs.webkit.org/show_bug.cgi?id=86846
2779
2780         Reviewed by Kenneth Rohde Christiansen.
2781
2782         Implemented spinner widget.
2783
2784         * DefaultTheme/default.edc:
2785         * DefaultTheme/widget/spinner/sp_bg.png: Added.
2786         * DefaultTheme/widget/spinner/sp_down_default.png: Added.
2787         * DefaultTheme/widget/spinner/sp_down_hover.png: Added.
2788         * DefaultTheme/widget/spinner/sp_down_pressed.png: Added.
2789         * DefaultTheme/widget/spinner/sp_up_default.png: Added.
2790         * DefaultTheme/widget/spinner/sp_up_hover.png: Added.
2791         * DefaultTheme/widget/spinner/sp_up_pressed.png: Added.
2792         * DefaultTheme/widget/spinner/spinner.edc: Added.
2793
2794 2012-05-31  Hajime Morrita  <morrita@chromium.org>
2795
2796         REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
2797         https://bugs.webkit.org/show_bug.cgi?id=86859
2798
2799         Reviewed by Ryosuke Niwa.
2800
2801         * WebCoreSupport/EditorClientEfl.h:
2802         (WebCore::EditorClientEfl::requestCheckingOfString):
2803
2804 2012-05-31  Jussi Kukkonen  <jussi.kukkonen@intel.com>
2805
2806         [EFL][DRT] LayoutTestController does not implement clearApplicationCacheForOrigin
2807         https://bugs.webkit.org/show_bug.cgi?id=86195
2808
2809         Reviewed by Gustavo Noronha Silva.
2810
2811         add new function to clear security origin application cache,
2812         and a function to create a security origin from url string.
2813         Reindent the header to match new longer return signature.
2814
2815         * ewk/ewk_security_origin.cpp:
2816         (ewk_security_origin_application_cache_clear):
2817         (ewk_security_origin_new_from_string):
2818         * ewk/ewk_security_origin.h:
2819
2820 2012-05-30  Christophe Dumez  <christophe.dumez@intel.com>
2821
2822         [EFL] EFL's DRT should print the number of MessagePorts for new each new intent
2823         https://bugs.webkit.org/show_bug.cgi?id=86841
2824
2825         Reviewed by Adam Barth.
2826
2827         Add EWKPrivate method to retrieve the internal WebCore object for a Ewk_Intent.
2828         Add helper function to DumpRenderTreeSupportEfl that returns the MessagePorts 
2829         for a Ewk_Intent object so that the DRT can print information about them.
2830
2831         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2832         (DumpRenderTreeSupportEfl::intentMessagePorts):
2833         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
2834         (WebCore):
2835         * ewk/ewk_intent.cpp:
2836         (EWKPrivate):
2837         (EWKPrivate::coreIntent):
2838         * ewk/ewk_intent_private.h:
2839         (EWKPrivate):
2840
2841 2012-05-30  Christophe Dumez  <christophe.dumez@intel.com>
2842
2843         [EFL] Ewk_Intent_Request's postResult/postFailure should take serialized script values in argument
2844         https://bugs.webkit.org/show_bug.cgi?id=87829
2845
2846         Reviewed by Adam Barth.
2847
2848         Ewk_Intent_Request's postResult/postFailure methods now take
2849         SerializedScriptValues in argument instead of strings. The client can
2850         now post results of any type, not just strings, which is according to
2851         spec. Those methods are now moved to private header and a helper
2852         function was added to DumpRenderTreeSupportEfl so that the DRT can
2853         still send intent results.
2854
2855         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2856         (DumpRenderTreeSupportEfl::sendWebIntentResponse):
2857         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
2858         * ewk/ewk_intent_private.h:
2859         (WebCore):
2860         * ewk/ewk_intent_request.cpp:
2861         (ewk_intent_request_result_post):
2862         (ewk_intent_request_failure_post):
2863         * ewk/ewk_intent_request.h:
2864
2865 2012-05-29  Christophe Dumez  <christophe.dumez@intel.com>
2866
2867         [EFL] Compilation warning in DumpRenderTreeView.cpp
2868         https://bugs.webkit.org/show_bug.cgi?id=87636
2869
2870         Reviewed by Filip Pizlo.
2871
2872         Fix return type of exceeded_application_cache_quota callback, it
2873         should be int64_t, not uint64_t.
2874
2875         * ewk/ewk_view.h:
2876
2877 2012-05-25  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
2878
2879         WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
2880         https://bugs.webkit.org/show_bug.cgi?id=42328
2881
2882         Reviewed by Eric Seidel.
2883
2884         Removed unneeded setJavaScriptProfilingEnabled function from DRT after its
2885         move to windows.internals.settings.
2886
2887         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2888         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
2889
2890 2012-05-25  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2891
2892         [EFL] API for PageGroup visited links hash populating
2893         https://bugs.webkit.org/show_bug.cgi?id=86370
2894
2895         Reviewed by Kenneth Rohde Christiansen.
2896
2897         Added "populate,visited,links" ewk_view signal that tells to the client managing
2898         persistent history storage to fill the visited links cache.
2899         Added API for the PageGroup visited links hash populating.
2900
2901         * WebCoreSupport/ChromeClientEfl.cpp:
2902         (WebCore::ChromeClientEfl::populateVisitedLinks): Implementation added (sends notification).
2903         (WebCore):
2904         * WebCoreSupport/ChromeClientEfl.h:
2905         (ChromeClientEfl):
2906         * ewk/ewk_view.cpp:
2907         (_Ewk_View_Private_Data):
2908         (ewk_view_visited_link_add): PageGroup visited links hash populating.
2909         * ewk/ewk_view.h:
2910
2911 2012-05-24  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2912
2913         [EFL][DRT] LayoutTestController's setCacheModel() implementation
2914         https://bugs.webkit.org/show_bug.cgi?id=86840
2915
2916         Reviewed by Csaba Osztrogonác.
2917
2918         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2919         (DumpRenderTreeSupportEfl::setDeadDecodedDataDeletionInterval): Aux wrapper function for DRT.
2920         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
2921
2922 2012-05-24  Christophe Dumez  <christophe.dumez@intel.com>
2923
2924         [EFL] EFL's LayoutTestController needs to implement sendWebIntentResponse
2925         https://bugs.webkit.org/show_bug.cgi?id=86867
2926
2927         Reviewed by Adam Barth.
2928
2929         ewk_intent_request_failure_post() should call
2930         WebCore::IntentRequest::postFailure(), not
2931         WebCore::IntentRequest::postResult().
2932
2933         * ewk/ewk_intent_request.cpp:
2934         (ewk_intent_request_failure_post):
2935
2936 2012-05-24  Christophe Dumez  <christophe.dumez@intel.com>
2937
2938         [EFL] The EFL port has no support for title directionality
2939         https://bugs.webkit.org/show_bug.cgi?id=86462
2940
2941         Reviewed by Gustavo Noronha Silva.
2942
2943         Define a new Ewk_Text_With_Direction type to store the direction of
2944         the text along with the text itself. This is needed to support text
2945         directionality in EFL port.
2946
2947         Use the new Ewk_Text_With_Direction type for the frame title. Updated
2948         "title,changed" signal, title getter/setter and Ewk_Hit_Test struct.
2949
2950         * WebCoreSupport/FrameLoaderClientEfl.cpp:
2951         (WebCore::FrameLoaderClientEfl::dispatchDidReceiveTitle):
2952         * ewk/ewk_frame.cpp:
2953         (Ewk_Frame_Smart_Data):
2954         (_ewk_frame_smart_del):
2955         (ewk_frame_title_get):
2956         (ewk_frame_hit_test_free):
2957         (ewk_frame_hit_test_new):
2958         (ewk_frame_title_set):
2959         * ewk/ewk_frame.h:
2960         * ewk/ewk_frame_private.h:
2961         * ewk/ewk_view.cpp:
2962         (_Ewk_View_Private_Data):
2963         (ewk_view_title_get):
2964         (ewk_view_title_set):
2965         * ewk/ewk_view.h:
2966         * ewk/ewk_view_private.h:
2967
2968 2012-05-23  Christophe Dumez  <christophe.dumez@intel.com>
2969
2970         [EFL] EFL's DRT does not print didFailProvisionalLoadWithError messages
2971         https://bugs.webkit.org/show_bug.cgi?id=85956
2972
2973         Reviewed by Gustavo Noronha Silva.
2974
2975         Add new "load,provisional,failed" signal on the frame and the view to
2976         complement the "load,provisional" one.
2977
2978         * WebCoreSupport/FrameLoaderClientEfl.cpp:
2979         (WebCore::FrameLoaderClientEfl::dispatchDidFailProvisionalLoad):
2980         * ewk/ewk_frame.cpp:
2981         (ewk_frame_load_provisional_failed):
2982         * ewk/ewk_frame.h:
2983         * ewk/ewk_frame_private.h:
2984         * ewk/ewk_view.cpp:
2985         (ewk_view_load_provisional_failed):
2986         * ewk/ewk_view.h:
2987         * ewk/ewk_view_private.h:
2988
2989 2012-05-23  Christophe Dumez  <christophe.dumez@intel.com>
2990
2991         [EFL] EFL's DRT needs to call Settings::setValidationMessageTimerMagnification(-1)
2992         https://bugs.webkit.org/show_bug.cgi?id=86366
2993
2994         Reviewed by Antonio Gomes.
2995
2996         Add helper function to DumpRenderTreeSupportEfl to set the validation
2997         message timer magnification.
2998
2999         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3000         (DumpRenderTreeSupportEfl::setValidationMessageTimerMagnification):
3001         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
3002
3003 2012-05-22  Dongwoo Im  <dw.im@samsung.com>
3004
3005         [EFL] Implements the registerProtocolHandler method and option.
3006         https://bugs.webkit.org/show_bug.cgi?id=73638
3007
3008         Reviewed by Andreas Kling.
3009
3010         The registerProtocolHandler() method allows Web sites to register themselves
3011         as possible handlers for particular schemes.
3012
3013         http://dev.w3.org/html5/spec/Overview.html#dom-navigator-registerprotocolhandler
3014
3015         * WebCoreSupport/ChromeClientEfl.cpp: Adds a new function.
3016         (WebCore):
3017         (WebCore::customHandlersDataCreate): Creates and fills the data object.
3018         (WebCore::customHandlersDataDelete): Deletes the data object.
3019         (WebCore::ChromeClientEfl::registerProtocolHandler): Registers a protocol and the handler of it.
3020         * WebCoreSupport/ChromeClientEfl.h: Adds a prototype.
3021         (ChromeClientEfl):
3022         * ewk/ewk_custom_handlers.cpp: Added.
3023         (ewk_custom_handlers_register_protocol_handler):
3024         * ewk/ewk_view.h: Adds Data structure.
3025         * ewk/ewk_view_private.h: Adds private function.
3026
3027 2012-05-22  Kangil Han  <kangil.han@samsung.com>
3028
3029         [EFL][DRT] Implement touch event
3030         https://bugs.webkit.org/show_bug.cgi?id=86720
3031
3032         Reviewed by Hajime Morita.
3033
3034         Currently EFL DRT doesn't support touch event.
3035         Therefore, this patch enabled it and implemented some eventSender function callbacks.
3036
3037         * ewebkit.pc.in:
3038         * ewk/ewk_frame.cpp:
3039         (ewk_frame_feed_touch_event):
3040         * ewk/ewk_frame.h:
3041
3042 2012-05-22  Christophe Dumez  <christophe.dumez@intel.com>
3043
3044         [EFL] EFL's DRT needs to print information about received Web Intents
3045         https://bugs.webkit.org/show_bug.cgi?id=86864
3046
3047         Reviewed by Adam Barth.
3048
3049         * ewk/ewk_intent.cpp:
3050         (ewk_intent_suggestions_get): Add function to retrieve suggested
3051         service URLs for an intent.
3052         (ewk_intent_extra_names_get): Add function to retrieve names of
3053         extra metadata for an intent.
3054         (ewk_intent_new): Correctly initialize Ewk_Intent members to avoid
3055         crashes.
3056         (ewk_intent_free): Unref shared strings.
3057         * ewk/ewk_intent.h:
3058
3059 2012-05-22  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
3060
3061         [EFL] Add support to enable/disable DOM paste 
3062         https://bugs.webkit.org/show_bug.cgi?id=85040
3063
3064         Reviewed by Gustavo Noronha Silva.
3065
3066         Add support to enable/disable DOM paste setting so that document.execCommand()
3067         allows paste command when this setting is enabled. Also, update documentation
3068         for scripts_can_access_clipboard setting in ewk_view.
3069
3070         * ewk/ewk_view.cpp:
3071         (_ewk_view_priv_new):
3072         (ewk_view_setting_scripts_can_access_clipboard_set):
3073         * ewk/ewk_view.h:
3074
3075 2012-05-21  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3076
3077         [EFL] Clients should be able to set page cache capacity.
3078         https://bugs.webkit.org/show_bug.cgi?id=86960
3079
3080         Reviewed by Csaba Osztrogonác.
3081
3082         Exported memory page cache capacity getter and setter functions.
3083         Those will be used both by clients and DRT Layout Test Controller.
3084
3085         * ewk/ewk_settings.cpp:
3086         (ewk_settings_page_cache_capacity_get):
3087         (ewk_settings_page_cache_capacity_set):
3088         * ewk/ewk_settings.h:
3089
3090 2012-05-21  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3091
3092         Move setEditingBehavior() from layoutTestController to window.internals
3093         https://bugs.webkit.org/show_bug.cgi?id=42689
3094
3095         Reviewed by Hajime Morita and Kenneth Rohde Christiansen.
3096
3097         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3098         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
3099
3100 2012-05-21  Christophe Dumez  <christophe.dumez@intel.com>
3101
3102         [EFL] Minor style fixes in web intents code are needed
3103         https://bugs.webkit.org/show_bug.cgi?id=86986
3104
3105         Reviewed by Adam Barth.
3106
3107         * ewk/EWebKit.h: Add new intent headers.
3108         * ewk/ewk_frame.h: Add missing underscores to EwkIntentRequest type.
3109
3110 2012-05-20  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3111
3112         [EFL] ewk_view navigation_policy_decision() input parameters should be extended
3113         https://bugs.webkit.org/show_bug.cgi?id=85048
3114
3115         Reviewed by Antonio Gomes.
3116
3117         Introduced new enum Ewk_Navigation_Type cloning WebCore::NavigationType.
3118         Extended ewk_view navigation_policy_decision() input parameters with new
3119         navigationType parameter. This paramater gives more data for making a
3120         navigation policy decision and also provides dumping necessary for many Layout
3121         testcases.
3122
3123         * WebCoreSupport/AssertMatchingEnums.cpp:
3124         * WebCoreSupport/FrameLoaderClientEfl.cpp:
3125         (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
3126         * ewk/ewk_frame.h:
3127         * ewk/ewk_view_private.h:
3128         * ewk/ewk_view.cpp:
3129         (_Ewk_View_Private_Data):
3130         (ewk_view_navigation_policy_decision):
3131         * ewk/ewk_view.h:
3132
3133 2012-05-18  Raphael Kubo da Costa  <rakuco@webkit.org>
3134
3135         [EFL][DRT] Make it possible to enable CSS Grid Layout.
3136         https://bugs.webkit.org/show_bug.cgi?id=86921
3137
3138         Reviewed by Tony Chang.
3139
3140         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3141         (DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled):
3142         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
3143
3144 2012-05-18  Christophe Dumez  <christophe.dumez@intel.com>
3145
3146         [EFL] Web Intents code is not compiling
3147         https://bugs.webkit.org/show_bug.cgi?id=85364
3148
3149         Reviewed by Adam Barth.
3150
3151         * WebCoreSupport/FrameLoaderClientEfl.cpp: Add missing header include.
3152         * ewk/ewk_intent_private.h: Ditto.
3153         * ewk/ewk_intent_request.cpp:
3154         (ewk_intent_request_new): Do not PassRefPtr after it becomes 0.
3155
3156 2012-05-18  Christophe Dumez  <christophe.dumez@intel.com>
3157
3158         [EFL] Default values for ewk_view video tracks settings should be documented
3159         https://bugs.webkit.org/show_bug.cgi?id=85169
3160
3161         Reviewed by Antonio Gomes.
3162
3163         Document default values for video tracks settings in ewk_view.
3164
3165         * ewk/ewk_view.h:
3166
3167 2012-05-18  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3168
3169         [EFL] Text input events are emitted for nodes that do not allow editing.
3170         https://bugs.webkit.org/show_bug.cgi?id=86836
3171
3172         Reviewed by Kenneth Rohde Christiansen.
3173
3174         Text input events are not anymore emitted for nodes that do not allow editing.
3175         This can be checked with fast/events/key-events-in-input-button.html test output.
3176
3177         * WebCoreSupport/EditorClientEfl.cpp:
3178         (WebCore::EditorClientEfl::handleEditingKeyboardEvent): Returns false if the node cannot edit.
3179
3180 2012-05-18  MORITA Hajime  <morrita@google.com>
3181
3182         https://bugs.webkit.org/show_bug.cgi?id=85515
3183         Stale frame in WebCore::SpellChecker::didCheckSucceeded
3184
3185         Reviewed by Ryosuke Niwa.
3186
3187         * WebCoreSupport/EditorClientEfl.h:
3188         (WebCore::EditorClientEfl::frameWillDetachPage):
3189
3190 2012-05-18  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
3191
3192         [EFL] DRT needs an implementation of layoutTestController.setSerializeHTTPLoads
3193         https://bugs.webkit.org/show_bug.cgi?id=86101
3194
3195         Reviewed by Ryosuke Niwa.
3196
3197         Add missing implementation setSerializeHTTPLoads to EFL's
3198         DumpRenderTreeSupport to allow testing resource load order.
3199
3200         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3201         (DumpRenderTreeSupportEfl::setSerializeHTTPLoads):
3202         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
3203
3204 2012-05-18  Christophe Dumez  <christophe.dumez@intel.com>
3205
3206         [EFL] appcache tests are flaky
3207         https://bugs.webkit.org/show_bug.cgi?id=86619
3208
3209         Reviewed by Ryosuke Niwa.
3210
3211         No longer set the application cache path in ewk_main since the 
3212         path can only be set once and this prevents DRT (or apps) to set
3213         it. Update the ewk_settings documentation to reflect these 
3214         changes.
3215
3216         * ewk/ewk_main.cpp:
3217         (_ewk_init_body):
3218         * ewk/ewk_settings.h:
3219
3220 2012-05-18  Christophe Dumez  <christophe.dumez@intel.com>
3221
3222         [EFL] Add simple implementation of Web Intents
3223         https://bugs.webkit.org/show_bug.cgi?id=86354
3224
3225         Reviewed by Eric Seidel.
3226
3227         Add new EFL wrappers for WebCore's Intent and IntentRequest.
3228         Implement dispatchIntent() in EFL's FrameLoaderClient and emit a new
3229         "intent,new" signal on the frame to notify clients of new intent
3230         requests.
3231
3232         * WebCoreSupport/FrameLoaderClientEfl.cpp:
3233         (WebCore):
3234         (WebCore::FrameLoaderClientEfl::dispatchIntent):
3235         * WebCoreSupport/FrameLoaderClientEfl.h:
3236         (FrameLoaderClientEfl):
3237         * ewk/ewk_frame.cpp:
3238         (ewk_frame_intent_new):
3239         * ewk/ewk_frame.h:
3240         * ewk/ewk_frame_private.h:
3241         * ewk/ewk_intent.cpp: Added.
3242         (_Ewk_Intent):
3243         (ewk_intent_action_get):
3244         (ewk_intent_type_get):
3245         (ewk_intent_data_get):
3246         (ewk_intent_service_get):
3247         (ewk_intent_extra_get):
3248         (ewk_intent_new):
3249         (ewk_intent_free):
3250         * ewk/ewk_intent.h: Added.
3251         * ewk/ewk_intent_private.h: Added.
3252         (WebCore):
3253         * ewk/ewk_intent_request.cpp: Added.
3254         (_Ewk_Intent_Request):
3255         (ewk_intent_request_ref):
3256         (ewk_intent_request_unref):
3257         (ewk_intent_request_intent_get):
3258         (ewk_intent_request_result_post):
3259         (ewk_intent_request_failure_post):
3260         (ewk_intent_request_new):
3261         * ewk/ewk_intent_request.h: Added.
3262
3263 2012-05-17  Raphael Kubo da Costa  <rakuco@webkit.org>
3264
3265         [EFL][DRT] Call resetInternalsObject() after each test.
3266         https://bugs.webkit.org/show_bug.cgi?id=86793
3267
3268         Reviewed by Antonio Gomes.
3269
3270         We need to reset the internals object's settings after running
3271         each test so that there are no interferences between each test's
3272         results.
3273
3274         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3275         (DumpRenderTreeSupportEfl::globalContextRefForFrame):
3276         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
3277
3278 2012-05-17  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
3279
3280         Memory leak in NetworkInfoClient
3281         https://bugs.webkit.org/show_bug.cgi?id=86603
3282
3283         Reviewed by Adam Barth.
3284
3285         Fix a memory leak in NetworkInfoClient by using OwnPtr and making
3286         the client to be owned by the View.
3287
3288         * ewk/ewk_view.cpp:
3289         (_Ewk_View_Private_Data):
3290         (_ewk_view_priv_new):
3291
3292 2012-05-17  Hironori Bono  <hbono@chromium.org>
3293
3294         [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
3295         https://bugs.webkit.org/show_bug.cgi?id=86591
3296
3297         Reviewed by Ryosuke Niwa.
3298
3299         This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
3300         function to remove platform-specific code from Editor::respondToChangedSelection
3301         function.
3302
3303         No new tests, no change in behavior.
3304
3305         * WebCoreSupport/EditorClientEfl.cpp:
3306         (WebCore::EditorClientEfl::shouldEraseMarkersAfterChangeSelection):
3307         (WebCore):
3308         * WebCoreSupport/EditorClientEfl.h:
3309         (EditorClientEfl):
3310
3311 2012-05-17  Thiago Marcos P. Santos  <thiago.santos@intel.com>
3312
3313         [EFL] Add API for Web Database handling
3314         https://bugs.webkit.org/show_bug.cgi?id=85178
3315
3316         Reviewed by Antonio Gomes.
3317
3318         Add API for Web Database. This API will allow a browser
3319         to query information about size, name, filename and remove
3320         databases based on the origin. It will be also possible to
3321         list all databases for a given origin.
3322
3323         * ewk/EWebKit.h:
3324         * ewk/ewk_security_origin.cpp:
3325         (ewk_security_origin_web_database_get_all):
3326         * ewk/ewk_security_origin.h:
3327         * ewk/ewk_settings.cpp:
3328         * ewk/ewk_settings.h:
3329         * ewk/ewk_web_database.cpp: Added.
3330         (_Ewk_Web_Database):
3331         (ewk_web_database_display_name_get):
3332         (ewk_web_database_expected_size_get):
3333         (ewk_web_database_filename_get):
3334         (ewk_web_database_name_get):
3335         (ewk_web_database_security_origin_get):
3336         (ewk_web_database_size_get):
3337         (ewk_web_database_remove):
3338         (ewk_web_database_remove_all):
3339         (ewk_web_database_free):
3340         (ewk_web_database_list_free):
3341         (ewk_web_database_new):
3342         * ewk/ewk_web_database.h: Added.
3343         * ewk/ewk_web_database_private.h: Copied from Source/WebKit/efl/ewk/EWebKit.h.
3344         (WebCore):
3345
3346 2012-05-17  Mariusz Grzegorczyk  <mariusz.g@samsung.com>
3347
3348         [EFL] [DRT] EFL's DumpRenderTree should support LayoutTestController's dumpEditingCallbacks()
3349         https://bugs.webkit.org/show_bug.cgi?id=84835
3350
3351         Reviewed by Eric Seidel.
3352
3353         * WebCoreSupport/EditorClientEfl.cpp: Call appropriate callbacks for editing actions.
3354         (WebCore::EditorClientEfl::shouldDeleteRange):
3355         (WebCore::EditorClientEfl::shouldBeginEditing):
3356         (WebCore::EditorClientEfl::shouldEndEditing):
3357         (WebCore::EditorClientEfl::shouldInsertText):
3358         (WebCore::EditorClientEfl::shouldChangeSelectedRange):
3359         (WebCore::EditorClientEfl::shouldApplyStyle):
3360         (WebCore::EditorClientEfl::didBeginEditing):
3361         (WebCore::EditorClientEfl::didEndEditing):
3362         (WebCore::EditorClientEfl::shouldInsertNode):
3363         * WebCoreSupport/EditorClientEfl.h: Add structures needed by editing callbacks.
3364         (Ewk_Should_Insert_Node_Event):
3365         (Ewk_Should_Insert_Text_Event):
3366         (Ewk_Should_Change_Selected_Range_Event):
3367         (Ewk_Should_Apply_Style_Event):
3368
3369 2012-05-17  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
3370
3371         [EFL] Do not check NULL pointer allocated by new.
3372         https://bugs.webkit.org/show_bug.cgi?id=86610
3373
3374         Reviewed by Ryosuke Niwa.
3375
3376         WebKit-Efl doesn't check pointers that are initialized by new.
3377         Those checks are not needed because new operator doesn't return NULL.
3378         Only an overloaded version of new returns NULL pointer.
3379
3380         * ewk/ewk_tiled_matrix.cpp:
3381         (ewk_tile_matrix_entry_new):
3382         * ewk/ewk_view.cpp:
3383         (_ewk_view_core_frame_new):
3384
3385 2012-05-17  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3386
3387         [EFL] fast/frames/frame-crash-with-page-cache.html is crashing
3388         https://bugs.webkit.org/show_bug.cgi?id=85879
3389
3390         Reviewed by Noam Rosenthal.
3391
3392         _ewk_frame_smart_del() is considering now that the frame can be present in cache.
3393         loader()->detachFromParent() is only applied for the main frame.
3394         loader()->cancelAndClear() is not used anymore.
3395
3396         * ewk/ewk_frame.cpp:
3397         (_ewk_frame_smart_del):
3398
3399 2012-05-16  Tomasz Morawski  <t.morawski@samsung.com>
3400
3401         [EFL] Restore accidentally changed copyrights.
3402         https://bugs.webkit.org/show_bug.cgi?id=86471
3403
3404         Reviewed by Antonio Gomes.
3405
3406         Restore accidentally changed copyrights.
3407
3408         * ewk/ewk_js_private.h:
3409         * ewk/ewk_security_origin_private.h:
3410         * ewk/ewk_view_private.h:
3411
3412 2012-05-16  Kihong Kwon  <kihong.kwon@samsung.com>
3413
3414         [EFL] Support for Battery Status API on the WebKit-Efl
3415         https://bugs.webkit.org/show_bug.cgi?id=83254
3416
3417         Reviewed by Chang Shu.
3418
3419         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).
3420
3421         * WebCoreSupport/BatteryClientEfl.cpp:
3422         (WebCore::BatteryClientEfl::BatteryClientEfl):
3423         (WebCore::BatteryClientEfl::startUpdating):
3424         (WebCore::BatteryClientEfl::stopUpdating):
3425         (WebCore::BatteryClientEfl::setBatteryStatus):
3426         (WebCore):
3427         (WebCore::BatteryClientEfl::timerFired):
3428         (WebCore::BatteryClientEfl::getBatteryStatus):
3429         (WebCore::BatteryClientEfl::setBatteryClient):
3430         * WebCoreSupport/BatteryClientEfl.h:
3431         (WebCore::BatteryClientEfl::batteryStatus):
3432         (BatteryClientEfl):
3433
3434 2012-05-16  Thiago Marcos P. Santos  <thiago.santos@intel.com>
3435
3436         [EFL] Fix uninitialized struct member added by r117258
3437         https://bugs.webkit.org/show_bug.cgi?id=86611
3438
3439         Reviewed by Gustavo Noronha Silva.
3440
3441         When adding a new member to _Ewk_View_Smart_Class,
3442         EWK_VIEW_SMART_CLASS_VERSION needs to be updated.
3443
3444         * ewk/ewk_view.h:
3445
3446 2012-05-16  Christophe Dumez  <christophe.dumez@intel.com>
3447
3448         [EFL] EFL's LayoutTestController does not implement setApplicationCacheOriginQuota
3449         https://bugs.webkit.org/show_bug.cgi?id=85585
3450
3451         Reviewed by Gustavo Noronha Silva.
3452
3453         Add new function to Ewk_Security_Origin to set the application cache
3454         quota. Implement reachedApplicationCacheOriginQuota in
3455         ChromeClientEfl. Add function to the Ewk_View to report that the
3456         application cache quota was reached.
3457
3458         * WebCoreSupport/ChromeClientEfl.cpp:
3459         (WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota):
3460         * ewk/ewk_security_origin.cpp:
3461         (ewk_security_origin_application_cache_quota_set):
3462         * ewk/ewk_security_origin.h:
3463         * ewk/ewk_view.cpp:
3464         (_Ewk_View_Private_Data):
3465         (ewk_view_exceeded_application_cache_quota):
3466         * ewk/ewk_view.h:
3467         * ewk/ewk_view_private.h:
3468
3469 2012-05-16  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3470
3471         [EFL] EFL's LayoutTestController  evaluateScriptInIsolatedWorld implementation
3472         https://bugs.webkit.org/show_bug.cgi?id=83776
3473
3474         Reviewed by Tor Arne Vestbø.
3475
3476         Added helper new function implementing JS script evaluation in an isolated world.
3477         Worlds are cached by their id.
3478
3479         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3480         (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
3481         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
3482
3483 2012-05-16  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
3484
3485         [EFL] Add new commands for Ewk_Editor_Command.
3486         https://bugs.webkit.org/show_bug.cgi?id=74921
3487
3488         Reviewed by Hajime Morita.
3489
3490         Add new commands for Ewk_Editor_Command enum and introduce new table to keep
3491         enum and string values in sync.
3492
3493         * ewk/ewk_view.cpp: Added a table with EditorCommand struct elements.
3494         (EditorCommand): Added structure consisting of enum and string value.
3495         (_Ewk_View_Private_Data):
3496         (_ewk_view_editor_command_string_get): Added.
3497         (ewk_view_editor_command_execute):
3498         * ewk/ewk_view.h: Ewk_Editor_Command enum extended.
3499
3500 2012-05-15  Kihong Kwon  <kihong.kwon@samsung.com>
3501
3502         [EFL] Enable Fullscreen API
3503         https://bugs.webkit.org/show_bug.cgi?id=85870
3504
3505         Reviewed by Antonio Gomes.
3506
3507         * WebCoreSupport/ChromeClientEfl.cpp:
3508         (WebCore::ChromeClientEfl::supportsFullScreenForElement):
3509         Add check routine if the full screen is enabled by page setting.
3510         * ewk/ewk_view.cpp:
3511         (_Ewk_View_Private_Data):
3512         (_ewk_view_priv_new):
3513         Add full screen setting to be true.
3514
3515 2012-05-15  Tomasz Morawski  <t.morawski@samsung.com>
3516
3517         [EFL] Split ewk_private.h file to multiple private files.
3518         https://bugs.webkit.org/show_bug.cgi?id=84572
3519
3520         Reviewed by Antonio Gomes.
3521
3522         Split ewk_private file to multiple private files.
3523         Delete ewk_logging.h and ewk_tiled_private.h files and removed tiled_backing_store logging domain.
3524
3525         * WebCoreSupport/ChromeClientEfl.cpp:
3526         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3527         * WebCoreSupport/EditorClientEfl.cpp:
3528         * WebCoreSupport/FrameLoaderClientEfl.cpp:
3529         * ewk/ewk_auth.cpp:
3530         * ewk/ewk_auth_soup.cpp:
3531         (detach):
3532         * ewk/ewk_auth_soup_private.h: Renamed from Source/WebKit/efl/ewk/ewk_auth_soup.h.
3533         * ewk/ewk_contextmenu_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h.
3534         (WebCore):
3535         * ewk/ewk_frame.cpp:
3536         * ewk/ewk_frame_private.h: Added.
3537         (WebCore):
3538         (EWKPrivate):