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