fcc102fb3c49193b4813bcc3e3e02edef31c436b
[WebKit-https.git] / Source / WebKit / efl / ChangeLog
1 2013-03-15  Nate Chapin  <japhet@chromium.org>
2
3         Hide MainResourceLoader from the outside world
4         https://bugs.webkit.org/show_bug.cgi?id=109971
5
6         Reviewed by Adam Barth.
7
8         * WebCoreSupport/FrameLoaderClientEfl.cpp:
9         (WebCore::FrameLoaderClientEfl::convertMainResourceLoadToDownload):
10         * WebCoreSupport/FrameLoaderClientEfl.h:
11         (FrameLoaderClientEfl):
12
13 2013-03-15  Abhishek Arya  <inferno@chromium.org>
14
15         Replace static_casts with to* helper functions.
16         https://bugs.webkit.org/show_bug.cgi?id=112401
17
18         Reviewed by Stephen Chenney.
19
20         to* helper functions are preferred over static_cast calls since they
21         help to catch bad casts easily on the testing infrastructure.
22
23         * WebCoreSupport/FrameLoaderClientEfl.cpp:
24         (WebCore::FrameLoaderClientEfl::redirectDataToPlugin):
25
26 2013-03-14  Manuel Rego Casasnovas  <rego@igalia.com>
27
28         Add selectTrailingWhitespaceEnabled setting to WebCore::Page
29         https://bugs.webkit.org/show_bug.cgi?id=109404
30
31         Reviewed by Tony Chang.
32
33         Use new settings for smartInsertDeleteEnabled and
34         selectTrailingWhitespaceEnabled.
35
36         Remove code related to DRT as it is not needed anymore.
37
38         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
39         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
40         * WebCoreSupport/EditorClientEfl.cpp:
41         (WebCore::EditorClientEfl::smartInsertDeleteEnabled):
42         (WebCore::EditorClientEfl::isSelectTrailingWhitespaceEnabled):
43         (WebCore::EditorClientEfl::EditorClientEfl):
44         * WebCoreSupport/EditorClientEfl.h:
45         (EditorClientEfl):
46
47 2013-03-14  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
48
49         [EFL] Use CROSS_PLATFORM_CONTEXT_MENU
50         https://bugs.webkit.org/show_bug.cgi?id=111877
51
52         Reviewed by Caio Marcelo de Oliveira Filho.
53
54         Adjust ContextMenuClient to use the CROSS_PLATFORM_CONTEXT_MENUS USE flag
55         by implementing customizeMenu() instead of getCustomMenuFromDefaultItems()
56         and by calling coreMenu->items() instead of coreMenu->platformDescription().
57
58         * WebCoreSupport/ContextMenuClientEfl.cpp:
59         (WebCore::ContextMenuClientEfl::customizeMenu):
60         * WebCoreSupport/ContextMenuClientEfl.h:
61         (ContextMenuClientEfl):
62         * ewk/ewk_contextmenu.cpp:
63         (ewk_context_menu_new):
64
65 2013-03-14  Jonathan Liu  <net147@gmail.com>
66
67         Fix detection of Intel Mac OS X platform on Intel Mac 64-bit
68         https://bugs.webkit.org/show_bug.cgi?id=112312
69
70         Reviewed by Simon Hausmann.
71
72         * ewk/ewk_settings.cpp:
73         (_ewk_settings_webkit_os_version_get):
74
75 2013-03-13  Pavel Feldman  <pfeldman@chromium.org>
76
77         Web Inspector: get rid of hiddenPanels filter
78         https://bugs.webkit.org/show_bug.cgi?id=112252
79
80         Reviewed by Vsevolod Vlasov.
81
82         * WebCoreSupport/InspectorClientEfl.cpp:
83         * WebCoreSupport/InspectorClientEfl.h:
84         (InspectorFrontendClientEfl):
85
86 2013-03-06  Krzysztof Czech  <k.czech@samsung.com>
87
88         [EFL] Missing implementation of AccessibilityControllerEfl and AccessibilityUIElementEfl files
89         https://bugs.webkit.org/show_bug.cgi?id=110584
90
91         Reviewed by Gyuyoung Kim.
92
93         Adds support for help text in DumpRenderTree.
94
95         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
96         (DumpRenderTreeSupportEfl::accessibilityHelpText):
97         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
98
99 2013-03-06  Benjamin Poulain  <benjamin@webkit.org>
100
101         WebKitTestRunner needs layoutTestController.elementDoesAutoCompleteForElementWithId
102         https://bugs.webkit.org/show_bug.cgi?id=42696
103
104         Reviewed by Andreas Kling.
105
106         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
107         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
108
109 2013-03-05  Geoffrey Garen  <ggaren@apple.com>
110
111         Removed some dead code in the page cache
112         https://bugs.webkit.org/show_bug.cgi?id=111525
113
114         Reviewed by Alexey Proskuryakov.
115
116         Page cache autorelease doesn't exist anymore, so there's no need to keep
117         around these olds hacks.
118
119         * ewk/ewk_settings.cpp:
120         (ewk_settings_memory_cache_clear):
121
122 2013-03-03  Adam Barth  <abarth@webkit.org>
123
124         Unreviewed attempted build fix. Adds back some includes removed in
125         http://trac.webkit.org/changeset/144565.
126
127         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
128         * ewk/ewk_frame.cpp:
129
130 2013-03-03  Adam Barth  <abarth@webkit.org>
131
132         Unreviewed rollout of http://trac.webkit.org/r144530
133         As described in https://bugs.webkit.org/show_bug.cgi?id=111167 and
134         https://bugs.webkit.org/show_bug.cgi?id=111035, this patch caused a
135         large number of ASSERTs in chromium-win.
136
137         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
138         * ewk/ewk_frame.cpp:
139
140 2013-03-02  Benjamin Poulain  <bpoulain@apple.com>
141
142         Move computedStyleIncludingVisitedInfo from TestRunner to Internals
143         https://bugs.webkit.org/show_bug.cgi?id=109772
144
145         Reviewed by Andreas Kling.
146
147         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
148         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
149
150 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
151
152         Reduce amount of rebuilding when touching networking headers
153         https://bugs.webkit.org/show_bug.cgi?id=111035
154
155         Reviewed by Eric Seidel.
156
157         Adding includes that are now necessary because WebCore headers don't have them
158         any more.
159
160         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
161         * ewk/ewk_frame.cpp:
162
163 2013-03-01  Jason Anderssen  <janderssen@gmail.com>
164
165         Move markerTextForListItem from TestRunner to Internals
166         https://bugs.webkit.org/show_bug.cgi?id=110939
167
168         Reviewed by Benjamin Poulain.
169
170         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
171         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
172
173 2013-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
174
175         Unreviewed, rolling out r144422 and r144424.
176         http://trac.webkit.org/changeset/144422
177         http://trac.webkit.org/changeset/144424
178         https://bugs.webkit.org/show_bug.cgi?id=111167
179
180         Caused over 20 tests to fail assertion on Chromium Win port as
181         ASSERTION FAILED: m_platformRequestUpdated (Requested by
182         toyoshim on #webkit).
183
184         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
185         * ewk/ewk_frame.cpp:
186
187 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
188
189         Reduce amount of rebuilding when touching networking headers
190         https://bugs.webkit.org/show_bug.cgi?id=111035
191
192         Reviewed by Eric Seidel.
193
194         Adding includes that are now necessary because WebCore headers don't have them
195         any more.
196
197         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
198         * ewk/ewk_frame.cpp:
199
200 2013-02-28  Seokju Kwon  <seokju.kwon@gmail.com>
201
202         [EFL] Focus problem in inspector/extensions/extensions-panel.html
203         https://bugs.webkit.org/show_bug.cgi?id=97077
204
205         Reviewed by Laszlo Gombos.
206
207         * WebCoreSupport/InspectorClientEfl.cpp:
208         (WebCore::InspectorFrontendClientEfl::bringToFront): Set focus on inspectorView.
209
210 2013-02-23  Jason Anderssen  <janderssen@gmail.com>
211
212         Move setAutofilled from TestRunner to WebCore
213         https://bugs.webkit.org/show_bug.cgi?id=110521
214
215         Reviewed by Benjamin Poulain.
216
217         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
218         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
219
220 2013-02-22  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
221
222         [EFL] Use EINA_LOG instead of fprintf 
223         https://bugs.webkit.org/show_bug.cgi?id=110313
224
225         Reviewed by Laszlo Gombos.
226
227         Replace fprintf with EINA_LOG.
228
229         * ewk/ewk_frame.cpp:
230         (_ewk_frame_debug):
231
232 2013-02-19  Tony Chang  <tony@chromium.org>
233
234         Convert 3 settings to use Settings.in
235         https://bugs.webkit.org/show_bug.cgi?id=109875
236
237         Reviewed by Ryosuke Niwa.
238
239         * ewk/ewk_view.cpp:
240         (_ewk_view_priv_new): Rename isDOMPasteAllowed to DOMPasteAllowed.
241
242 2013-02-18  Simon Fraser  <simon.fraser@apple.com>
243
244         Clean up the boolean argument to visibleContentRect
245         https://bugs.webkit.org/show_bug.cgi?id=110167
246
247         Reviewed by Simon Fraser.
248
249         Replace the boolean argument to visibleContentRect() with
250         an enum.
251
252         * ewk/ewk_frame.cpp:
253         (ewk_frame_visible_content_geometry_get):
254
255 2013-02-18  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
256
257         [EFL] Fix build when CONTEXT_MENUS flag is turned off
258         https://bugs.webkit.org/show_bug.cgi?id=109924
259
260         Reviewed by Gyuyoung Kim.
261
262         * WebCoreSupport/ContextMenuClientEfl.cpp:
263         * WebCoreSupport/ContextMenuClientEfl.h:
264         * ewk/ewk_view.cpp:
265         (_Ewk_View_Private_Data):
266         (_ewk_view_priv_new):
267         (_ewk_view_priv_del):
268         (ewk_view_context_menu_get):
269
270 2013-02-18  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
271
272         [WK2][EFL] Unified text checker implementation
273         https://bugs.webkit.org/show_bug.cgi?id=107682
274
275         Reviewed by Anders Carlsson.
276
277         Add an empty checkTextOfParagraph implementation for WK1-EFL
278         to do not break build when WTF_USE_UNIFIED_TEXT_CHECKING
279         is enabled.
280
281         * WebCoreSupport/EditorClientEfl.h:
282         (EditorClientEfl):
283         (WebCore::EditorClientEfl::checkTextOfParagraph):
284
285 2013-02-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
286
287         Simplify hitTestResultAtPoint and nodesFromRect APIs
288         https://bugs.webkit.org/show_bug.cgi?id=95720
289
290         Reviewed by Julien Chaffraix.
291
292         Update calls to new API.
293
294         * ewk/ewk_frame.cpp:
295         (ewk_frame_hit_test_new):
296
297 2013-02-13  Allan Sandfeld Jensen  <allan.jensen@digia.com>
298
299         [Qt] window.open passes height and width parameters even if not defined in a page
300         https://bugs.webkit.org/show_bug.cgi?id=107705
301
302         Reviewed by Kenneth Rohde Christiansen.
303
304         Do not resize window when default size is requested.
305
306         * WebCoreSupport/ChromeClientEfl.cpp:
307         (WebCore::ChromeClientEfl::setWindowRect):
308
309 2013-02-12  Huang Dongsung  <luxtella@company100.net>
310
311         [TexMap] Apply frames-per-second debug counter to WK1.
312         https://bugs.webkit.org/show_bug.cgi?id=109540
313
314         Reviewed by Noam Rosenthal.
315
316         Make AcceleratedCompositingContextEfl use TextureMapperFPSCounter.
317
318         * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
319         (WebCore::AcceleratedCompositingContext::renderLayers):
320         * WebCoreSupport/AcceleratedCompositingContextEfl.h:
321         (AcceleratedCompositingContext):
322
323 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
324
325         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
326         https://bugs.webkit.org/show_bug.cgi?id=109534
327
328         Reviewed by Anders Carlsson.
329
330         * WebCoreSupport/EditorClientEfl.cpp:
331         (WebCore):
332         * WebCoreSupport/EditorClientEfl.h:
333         (EditorClientEfl):
334
335 2013-02-08  Benjamin Poulain  <bpoulain@apple.com>
336
337         Move workerThreadCount from TestRunner to WebCore Internals
338         https://bugs.webkit.org/show_bug.cgi?id=109239
339
340         Reviewed by Darin Adler.
341
342         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
343         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
344
345 2013-02-07  Benjamin Poulain  <bpoulain@apple.com>
346
347         Move pauseAnimation/pauseTransition from TestRunner to Internals
348         https://bugs.webkit.org/show_bug.cgi?id=109107
349
350         Reviewed by Anders Carlsson.
351
352         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
353         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
354
355 2013-02-04  Benjamin Poulain  <bpoulain@apple.com>
356
357         Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
358         https://bugs.webkit.org/show_bug.cgi?id=108741
359
360         Reviewed by Tony Chang.
361
362         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
363         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
364
365 2013-02-04  Balazs Kelemen  <kbalazs@webkit.org>
366
367         [Soup] Wrap SoupSession by NetworkStorageSession
368         https://bugs.webkit.org/show_bug.cgi?id=108615
369
370         Reviewed by Alexey Proskuryakov.
371
372         Changed to hold the SoupSession pointer in a NetworkStorageSession
373         so we can pass it to WebCore. _Ewk_View_Private_Data has to be
374         changed for that reason.
375
376         * WebCoreSupport/FrameNetworkingContextEfl.cpp:
377         (WebCore::FrameNetworkingContextEfl::storageSession):
378         * WebCoreSupport/FrameNetworkingContextEfl.h:
379         (FrameNetworkingContextEfl):
380         * ewk/ewk_view.cpp:
381         (_Ewk_View_Private_Data):
382         (_ewk_view_priv_new):
383         (ewk_view_soup_session_get):
384         (ewk_view_soup_session_set):
385         (EWKPrivate::storageSession):
386         (EWKPrivate):
387         * ewk/ewk_view_private.h:
388         (EWKPrivate):
389
390 2013-02-03  KwangYong Choi  <ky0.choi@samsung.com>
391
392         Fix build warning after r141473
393         https://bugs.webkit.org/show_bug.cgi?id=108782
394
395         Reviewed by Kentaro Hara.
396
397         Fix -Wunused-parameter build warning.
398
399         * WebCoreSupport/EditorClientEfl.cpp:
400         (WebCore::EditorClientEfl::getClientPasteboardDataForRange):
401
402 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
403
404         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
405         https://bugs.webkit.org/show_bug.cgi?id=107737
406
407         Reviewed by Ryosuke Niwa.
408
409         * WebCoreSupport/EditorClientEfl.cpp:
410         (WebCore::EditorClientEfl::respondToChangedSelection):
411             Adding a call to the newly refactored method.
412
413 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
414
415         Unreviewed, rolling out r141479.
416         http://trac.webkit.org/changeset/141479
417         https://bugs.webkit.org/show_bug.cgi?id=108564
418
419         breaks chromium test (Requested by morrita on #webkit).
420
421         * WebCoreSupport/EditorClientEfl.cpp:
422         (WebCore::EditorClientEfl::respondToChangedSelection):
423
424 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
425
426         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
427         https://bugs.webkit.org/show_bug.cgi?id=107737
428
429         Reviewed by Ryosuke Niwa.
430
431         * WebCoreSupport/EditorClientEfl.cpp:
432         (WebCore::EditorClientEfl::respondToChangedSelection):
433             Adding a call to the newly refactored method.
434
435 2013-01-31  Enrica Casucci  <enrica@apple.com>
436
437         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
438         https://bugs.webkit.org/show_bug.cgi?id=108396.
439         <rdar://problem/12920461>
440
441         Reviewed by Alexey Proskuryakov.
442
443         Adds stub implementation for WebKit of the new EditorClient methods.
444
445         * WebCoreSupport/EditorClientEfl.cpp:
446         (WebCore::EditorClientEfl::willWriteSelectionToPasteboard):
447         (WebCore::EditorClientEfl::getClientPasteboardDataForRange):
448         * WebCoreSupport/EditorClientEfl.h:
449
450 2013-01-31  Christophe Dumez  <dchris@gmail.com>
451
452         [EFL] Disable Web Intents
453         https://bugs.webkit.org/show_bug.cgi?id=108457
454
455         Reviewed by Alexey Proskuryakov.
456
457         Remove code related to Web Intents from EFL
458         WebKit.
459
460         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
461         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
462         * WebCoreSupport/FrameLoaderClientEfl.cpp:
463         * WebCoreSupport/FrameLoaderClientEfl.h:
464         (FrameLoaderClientEfl):
465         * ewk/EWebKit.h:
466         * ewk/ewk_frame.cpp:
467         * ewk/ewk_frame.h:
468         * ewk/ewk_frame_private.h:
469         * ewk/ewk_intent.cpp: Removed.
470         * ewk/ewk_intent.h: Removed.
471         * ewk/ewk_intent_private.h: Removed.
472         * ewk/ewk_intent_request.cpp: Removed.
473         * ewk/ewk_intent_request.h: Removed.
474
475 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
476
477         Unreviewed, rolling out r141110.
478         http://trac.webkit.org/changeset/141110
479         https://bugs.webkit.org/show_bug.cgi?id=108349
480
481         This patch broke WK2-EFL unit tests (Requested by grzegorz on
482         #webkit).
483
484         * WebCoreSupport/EditorClientEfl.h:
485
486 2013-01-30  Huang Dongsung  <luxtella@company100.net>
487
488         [TexMap] Remove GraphicsLayer in TextureMapperLayer.
489         https://bugs.webkit.org/show_bug.cgi?id=107073
490
491         Reviewed by Noam Rosenthal.
492
493         Include GraphicsLayerTextureMapper.h to use toTextureMapperLayer().
494
495         * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
496
497 2013-01-29  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
498
499         [EFL] Unified text checker implementation.
500         https://bugs.webkit.org/show_bug.cgi?id=107682
501
502         Reviewed by Anders Carlsson.
503
504         Add an empty checkTextOfParagraph implementation for WK1-EFL
505         to do not break build when WTF_USE_UNIFIED_TEXT_CHECKING
506         is enabled.
507
508         * WebCoreSupport/EditorClientEfl.h:
509         (EditorClientEfl):
510         (WebCore::EditorClientEfl::checkTextOfParagraph):
511
512 2013-01-28  Huang Dongsung  <luxtella@company100.net>
513
514         [TexMap] Enable debug borders and repaint counter via Settings.
515         https://bugs.webkit.org/show_bug.cgi?id=107198
516
517         Reviewed by Benjamin Poulain.
518
519         If WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS is set to 1, set
520         showDebugBorders and showRepaintCounter in Settings to true.
521
522         * ewk/ewk_view.cpp:
523         (_ewk_view_priv_new):
524
525 2013-01-22  Anders Carlsson  <andersca@apple.com>
526
527         Use a platforom strategy for local storage
528         https://bugs.webkit.org/show_bug.cgi?id=107600
529
530         Reviewed by Andreas Kling.
531
532         Update for new storage strategy.
533
534         * WebCoreSupport/PlatformStrategiesEfl.cpp:
535         (PlatformStrategiesEfl::createStorageStrategy):
536         * WebCoreSupport/PlatformStrategiesEfl.h:
537         (PlatformStrategiesEfl):
538
539 2013-01-22  Krzysztof Czech  <k.czech@samsung.com>
540
541         [EFL] Adds Accessibility support to wk1.
542         https://bugs.webkit.org/show_bug.cgi?id=107440
543
544         Reviewed by Gyuyoung Kim.
545
546         Adds possibility of focusing and retrieving accessible object.
547
548         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
549         (DumpRenderTreeSupportEfl::rootAccessibleElement):
550         (DumpRenderTreeSupportEfl::focusedAccessibleElement):
551         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
552
553 2013-01-15  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
554
555         Unreviewed. Fix build break by r139796.
556
557         * ewk/ewk_frame.cpp:
558         (ewk_frame_text_matches_mark):
559
560 2013-01-13  KwangYong Choi  <ky0.choi@samsung.com>
561
562         [EFL] Unreviewed build fix after r139541
563         https://bugs.webkit.org/show_bug.cgi?id=106749
564
565         undefined reference to `JSC::JSCell::methodTable() const'
566
567         * ewk/ewk_js.cpp:
568         * ewk/ewk_view.cpp:
569
570 2013-01-11  Filip Pizlo  <fpizlo@apple.com>
571
572         JITThunks should not compile only because of luck
573         https://bugs.webkit.org/show_bug.cgi?id=105696
574
575         Rubber stamped by Sam Weinig.
576
577         * ewk/EWebKit.h:
578         * ewk/ewk_main.cpp:
579
580 2013-01-11  KwangYong Choi  <ky0.choi@samsung.com>
581
582         [EFL] Fix unused parameter build error
583         https://bugs.webkit.org/show_bug.cgi?id=106639
584
585         Reviewed by Kentaro Hara.
586
587         Use UNUSED_PARAM macro to fix build error.
588
589         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
590         (DumpRenderTreeSupportEfl::intentMessagePorts):
591         * ewk/ewk_contextmenu.cpp:
592         (ewk_context_menu_destroy):
593         (ewk_context_menu_item_select):
594         * ewk/ewk_file_chooser.cpp:
595         (ewk_file_chooser_capture_get):
596         * ewk/ewk_frame.cpp:
597         (ewk_frame_feed_touch_event):
598         * ewk/ewk_intent.cpp:
599         (ewk_intent_action_get):
600         (ewk_intent_type_get):
601         (ewk_intent_service_get):
602         (ewk_intent_suggestions_get):
603         (ewk_intent_extra_get):
604         (ewk_intent_extra_names_get):
605         * ewk/ewk_intent_request.cpp:
606         (ewk_intent_request_ref):
607         (ewk_intent_request_unref):
608         (ewk_intent_request_intent_get):
609         * ewk/ewk_security_origin.cpp:
610         (ewk_security_origin_web_database_usage_get):
611         (ewk_security_origin_web_database_quota_get):
612         * ewk/ewk_settings.cpp:
613         (ewk_settings_shadow_dom_enable_set):
614         * ewk/ewk_view.cpp:
615         (ewk_view_context_menu_forward_event):
616         (ewk_view_setting_should_display_subtitles_get):
617         (ewk_view_setting_should_display_captions_get):
618         (ewk_view_setting_should_display_captions_set):
619         (ewk_view_setting_should_display_subtitles_set):
620         (ewk_view_setting_should_display_text_descriptions_get):
621         (ewk_view_setting_should_display_text_descriptions_set):
622
623 2013-01-10  Christophe Dumez  <christophe.dumez@intel.com>
624
625         [EFL] Add gstreamer 1.0.5 to jhbuild
626         https://bugs.webkit.org/show_bug.cgi?id=106178
627
628         Reviewed by Laszlo Gombos.
629
630         Fix compilation error when using gstreamer 1.0.
631
632         * WebCoreSupport/FullscreenVideoControllerEfl.cpp:
633         * WebCoreSupport/FullscreenVideoControllerEfl.h:
634
635 2013-01-08  Mark Lam  <mark.lam@apple.com>
636
637         Removed the need for the ProposedDatabase mechanism.
638         https://bugs.webkit.org/show_bug.cgi?id=106292.
639
640         Reviewed by Sam Weinig.
641
642         * WebCoreSupport/ChromeClientEfl.cpp:
643         (WebCore::ChromeClientEfl::exceededDatabaseQuota):
644         * WebCoreSupport/ChromeClientEfl.h:
645         (ChromeClientEfl):
646
647 2013-01-07  Mike West  <mkwst@chromium.org>
648
649         Make the IFRAME_SEAMLESS flag runtime-enabled.
650         https://bugs.webkit.org/show_bug.cgi?id=106213
651
652         Reviewed by Ojan Vafai.
653
654         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
655         (DumpRenderTreeSupportEfl::setSeamlessIFramesEnabled):
656         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
657         * ewk/ewk_view.cpp:
658         (_ewk_view_priv_new):
659             Add a toggle for seamless IFrames to EFL's DRTSuport.
660
661 2013-01-04  Adam Klein  <adamk@chromium.org>
662
663         Remove ENABLE_MUTATION_OBSERVERS #define
664         https://bugs.webkit.org/show_bug.cgi?id=105459
665
666         Reviewed by Ryosuke Niwa.
667
668         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
669         (DumpRenderTreeSupportEfl::deliverAllMutationsIfNecessary):
670
671 2012-12-23  Alexey Proskuryakov  <ap@apple.com>
672
673         <rdar://problem/12808377> Network process should respect cookie accept policy
674         https://bugs.webkit.org/show_bug.cgi?id=105684
675
676         Reviewed by Sam Weinig.
677
678         * WebCoreSupport/PlatformStrategiesEfl.cpp:
679         * WebCoreSupport/PlatformStrategiesEfl.h:
680         CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
681
682 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
683
684         Add a separate class for networking related storage
685         https://bugs.webkit.org/show_bug.cgi?id=105676
686
687         Reviewed by Sam Weinig.
688
689         * WebCoreSupport/PlatformStrategiesEfl.cpp:
690         (PlatformStrategiesEfl::cookiesForDOM):
691         (PlatformStrategiesEfl::setCookiesFromDOM):
692         (PlatformStrategiesEfl::cookiesEnabled):
693         (PlatformStrategiesEfl::cookieRequestHeaderFieldValue):
694         (PlatformStrategiesEfl::getRawCookies):
695         (PlatformStrategiesEfl::deleteCookie):
696         * WebCoreSupport/PlatformStrategiesEfl.h:
697         Cookie functions now take a NetworkStorageSession, not a NetworkingContext.
698
699 2012-12-21  Seokju Kwon  <seokju.kwon@gmail.com>
700
701         [EFL] Add guard around ContextMenuItemTagInspectElement
702         https://bugs.webkit.org/show_bug.cgi?id=105267
703
704         Reviewed by Ryosuke Niwa.
705
706         Need INSPECTOR guard for using ContextMenuItemTagInspectElement.
707
708         * WebCoreSupport/AssertMatchingEnums.cpp:
709
710 2012-12-21  Kangil Han  <kangil.han@samsung.com>
711
712         [EFL][WK1] Obsolete a case in test_ewk_frame api test to not make bot sick
713         https://bugs.webkit.org/show_bug.cgi?id=105142
714
715         Reviewed by Gyuyoung Kim.
716
717         BUG 49246 has changed load behavior on malformed url input.
718         That is why test_ewk_frame api test is timed out.
719         To not make bot sick, this patch comments out that test case at a moment.
720
721         * tests/test_ewk_frame.cpp:
722         (TEST_F):
723
724 2012-12-20  Ryuan Choi  <ryuan.choi@samsung.com>
725
726         [EFL] Build break with latest EFL libraries.
727         https://bugs.webkit.org/show_bug.cgi?id=104827
728
729         Reviewed by Laszlo Gombos.
730
731         * WebCoreSupport/ChromeClientEfl.h: Removed unnecessary declaration.
732         * WebCoreSupport/DumpRenderTreeSupportEfl.h: Ditto.
733         * WebCoreSupport/EditorClientEfl.h: Ditto.
734         * WebCoreSupport/FrameNetworkingContextEfl.h: Ditto.
735         * WebCoreSupport/PageClientEfl.h: Ditto.
736
737 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
738
739         Remove unnecessary functions from CookiesStrategy
740         https://bugs.webkit.org/show_bug.cgi?id=105369
741
742         Reviewed by Brady Eidson.
743
744         * WebCoreSupport/PlatformStrategiesEfl.cpp:
745         * WebCoreSupport/PlatformStrategiesEfl.h:
746
747 2012-12-16  Seokju Kwon  <seokju.kwon@gmail.com>
748
749         Fix unused parameter compile warnings
750         https://bugs.webkit.org/show_bug.cgi?id=105089
751
752         Reviewed by Kentaro Hara.
753
754         Use UNUSED_PARAM macro to fix build warning -Wunused-parameter.
755
756         * ewk/ewk_view.cpp:
757         (ewk_view_inspector_show):
758         (ewk_view_inspector_close):
759         (ewk_view_inspector_view_get):
760         (ewk_view_inspector_view_set):
761
762 2012-12-15  Anders Carlsson  <andersca@apple.com>
763
764         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
765         https://bugs.webkit.org/show_bug.cgi?id=105122
766
767         Reviewed by Andreas Kling.
768
769         Update for WebCore changes.
770
771         * WebCoreSupport/FrameLoaderClientEfl.cpp:
772         (WebCore::FrameLoaderClientEfl::convertMainResourceLoadToDownload):
773         * WebCoreSupport/FrameLoaderClientEfl.h:
774         (FrameLoaderClientEfl):
775
776 2012-12-15  Mark Lam  <mark.lam@apple.com>
777
778         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
779         https://bugs.webkit.org/show_bug.cgi?id=104934.
780
781         Not reviewed.
782
783         Merged from r137767. Previously reviewed by Sam Weinig.
784
785         * WebCoreSupport/PlatformStrategiesEfl.cpp:
786         (PlatformStrategiesEfl::createDatabaseStrategy):
787         * WebCoreSupport/PlatformStrategiesEfl.h:
788         (PlatformStrategiesEfl):
789
790 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
791
792         Unreviewed, rolling out r137767.
793         http://trac.webkit.org/changeset/137767
794         https://bugs.webkit.org/show_bug.cgi?id=105062
795
796         Broke Mac builds. (Requested by mlam on #webkit).
797
798         * WebCoreSupport/PlatformStrategiesEfl.cpp:
799         * WebCoreSupport/PlatformStrategiesEfl.h:
800         (PlatformStrategiesEfl):
801
802 2012-12-14  Mark Lam  <mark.lam@apple.com>
803
804         Introducing the DatabaseStrategy and database servers.
805         https://bugs.webkit.org/show_bug.cgi?id=104934.
806
807         Reviewed by Sam Weinig.
808
809         The database server is currently a placeholder that does nothing.
810
811         * WebCoreSupport/PlatformStrategiesEfl.cpp:
812         (PlatformStrategiesEfl::createDatabaseStrategy):
813         * WebCoreSupport/PlatformStrategiesEfl.h:
814         (PlatformStrategiesEfl):
815
816 2012-12-13  Seokju Kwon  <seokju.kwon@gmail.com>
817
818         Fix unused parameter compile warnings
819         https://bugs.webkit.org/show_bug.cgi?id=104907
820
821         Reviewed by Kentaro Hara.
822
823         Use UNUSED_PARAM macro to fix build warning -Wunused-parameter
824         when ENABLE_INSPECTOR is disabled.
825
826         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
827         (DumpRenderTreeSupportEfl::evaluateInWebInspector):
828
829 2012-12-13  Jussi Kukkonen  <jussi.kukkonen@intel.com>
830
831         [EFL][GTK] Don't call deprecated g_type_init when glib => 2.35
832         https://bugs.webkit.org/show_bug.cgi?id=103209
833
834         Reviewed by Kenneth Rohde Christiansen.
835
836         g_type_init() is deprecated from 2.35.0 onwards. Don't call it
837         in that case to avoid warnings and/or build failure.
838
839         * ewk/ewk_main.cpp:
840         (_ewk_init_body):
841
842 2012-12-13  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
843
844         Regression(r137568): Broke layout test on EFL WK1
845         https://bugs.webkit.org/show_bug.cgi?id=104895
846
847         Reviewed by Kenneth Rohde Christiansen.
848
849         Fix layout test crash after r137568 because ewk_view.cpp has kept unused networkInfoClient member variable
850         using OwnPtr. The r137568 lets NetworkInfoClientEfl destroy by WebCore::NetworkInfoController.
851
852         * ewk/ewk_view.cpp:
853         (_Ewk_View_Private_Data):
854         (_ewk_view_priv_new):
855
856 2012-12-12  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
857
858         NetworkInfoController needs to support destructor
859         https://bugs.webkit.org/show_bug.cgi?id=104642
860
861         Reviewed by Kentaro Hara.
862
863         Though NetworkInfoController can be referenced by each port in order to update network status change,
864         there is no virtual interface to destroy it. Beside each port client also needs to be destroyed when
865         controller is destroyed.
866
867         * WebCoreSupport/NetworkInfoClientEfl.cpp:
868         (WebCore::NetworkInfoClientEfl::networkInfoControllerDestroyed):
869         (WebCore):
870         * WebCoreSupport/NetworkInfoClientEfl.h:
871         (NetworkInfoClientEfl):
872
873 2012-12-12  Seokju Kwon  <seokju.kwon@gmail.com>
874
875         [EFL] Refactor duplicate code into EflInspectorUtilities
876         https://bugs.webkit.org/show_bug.cgi?id=104329
877
878         Reviewed by Kenneth Rohde Christiansen.
879
880         Remove duplicated work to get the resource path for inspector.
881         And use WebCore::inspectorResourcePath().
882
883         * WebCoreSupport/InspectorClientEfl.cpp:
884         (WebCore::InspectorClientEfl::inspectorFilesPath):
885
886 2012-12-12  Mark Lam  <mark.lam@apple.com>
887
888         Encapsulate externally used webdatabase APIs in DatabaseManager.
889         https://bugs.webkit.org/show_bug.cgi?id=104741.
890
891         Reviewed by Sam Weinig.
892
893         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
894         and DatabaseContext directly. This is to prepare for upcoming webkit2
895         refactoring.
896
897         * WebCoreSupport/ChromeClientEfl.cpp:
898         (WebCore::ChromeClientEfl::exceededDatabaseQuota):
899         * ewk/ewk_security_origin.cpp:
900         (ewk_security_origin_web_database_usage_get):
901         (ewk_security_origin_web_database_quota_get):
902         (ewk_security_origin_web_database_quota_set):
903         (ewk_security_origin_web_database_get_all):
904         * ewk/ewk_settings.cpp:
905         (ewk_settings_web_database_path_set):
906         * ewk/ewk_web_database.cpp:
907         (ewk_web_database_display_name_get):
908         (ewk_web_database_expected_size_get):
909         (ewk_web_database_filename_get):
910         (ewk_web_database_size_get):
911         (ewk_web_database_remove):
912         (ewk_web_database_remove_all):
913
914 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
915
916         Make LOG() work in WebProcess and NetworkProcess
917         https://bugs.webkit.org/show_bug.cgi?id=104718
918
919         Reviewed by Tim Horton.
920
921         * ewk/ewk_main.cpp: Include InitializeLogging.h
922
923 2012-12-11  Kihong Kwon  <kihong.kwon@samsung.com>
924
925         Vibration API: IDL type doesn't match implementation type
926         https://bugs.webkit.org/show_bug.cgi?id=103899
927
928         Reviewed by Kentaro Hara.
929
930         According to WebIDL, "unsigned long" corresponds to "unsigned" in the platform.
931         Therefore unsigned long need to be changed to unsigned for the Vibration API.
932         - Change a parameter type of vibrate function from unsigned long to unsigned.
933
934         * WebCoreSupport/VibrationClientEfl.cpp:
935         (WebCore::VibrationClientEfl::vibrate):
936         * WebCoreSupport/VibrationClientEfl.h:
937         (VibrationClientEfl):
938
939 2012-12-11  Seokju Kwon  <seokju.kwon@gmail.com>
940
941         [EFL] Remove unused headers
942         https://bugs.webkit.org/show_bug.cgi?id=104661
943
944         Reviewed by Ryosuke Niwa.
945
946         Header inclusion cleanup.
947         Remove "NotImplemented.h".
948
949         * WebCoreSupport/PopupMenuEfl.cpp:
950         * ewk/ewk_intent.cpp:
951
952 2012-12-11  Mike West  <mkwst@chromium.org>
953
954         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
955         https://bugs.webkit.org/show_bug.cgi?id=66371
956
957         Reviewed by Pavel Feldman.
958
959         Drops WebCore::MessageType from the addMessageToConsole method.
960
961         * WebCoreSupport/ChromeClientEfl.cpp:
962         (WebCore::ChromeClientEfl::addMessageToConsole):
963         * WebCoreSupport/ChromeClientEfl.h:
964         (ChromeClientEfl):
965
966 2012-12-05  Halton Huo  <halton.huo@intel.com>
967
968         [CMake] Unify coding style for CMake files
969         https://bugs.webkit.org/show_bug.cgi?id=103605
970
971         Reviewed by Laszlo Gombos.
972
973         Update cmake files(.cmake, CMakeLists.txt) with following style rules:
974         1. Indentation
975         1.1 Use spaces, not tabs.
976         1.2 Four spaces as indent.
977         2. Spacing
978         2.1 Place one space between control statements and their parentheses.
979             For eg, if (), else (), elseif (), endif (), foreach (),
980             endforeach (), while (), endwhile (), break ().
981         2.2 Do not place spaces between function and macro statements and
982             their parentheses. For eg, macro(), endmacro(), function(),
983             endfunction().
984         2.3 Do not place spaces between a command or function or macro and its
985             parentheses, or between a parenthesis and its content. For eg,
986             message("testing") not message( "testing") or message ("testing" )
987         2.4 No space at line ending.
988         3. Lowercase when call commands macros and functions. For eg,
989            add_executable() not ADD_EXECUTABLE(), set() not SET().
990
991         * DefaultTheme/CMakeLists.txt:
992
993 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
994
995         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
996         https://bugs.webkit.org/show_bug.cgi?id=101192
997
998         Reviewed by Hajime Morita.
999
1000         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
1001
1002         Tests: No new tests because there is no functional change.
1003
1004         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1005         (DumpRenderTreeSupportEfl::setCSSRegionsEnabled):
1006         * ewk/ewk_view.cpp:
1007         (_ewk_view_priv_new):
1008
1009 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
1010
1011         [WK2] Forward cookie jar calls to NetworkProcess
1012         https://bugs.webkit.org/show_bug.cgi?id=103457
1013
1014         Reviewed by Darin Adler.
1015
1016         * WebCoreSupport/PlatformStrategiesEfl.cpp:
1017         (PlatformStrategiesEfl::cookiesForDOM):
1018         (PlatformStrategiesEfl::setCookiesFromDOM):
1019         (PlatformStrategiesEfl::cookiesEnabled):
1020         (PlatformStrategiesEfl::cookieRequestHeaderFieldValue):
1021         (PlatformStrategiesEfl::getRawCookies):
1022         (PlatformStrategiesEfl::deleteCookie):
1023         (PlatformStrategiesEfl::getHostnamesWithCookies):
1024         (PlatformStrategiesEfl::deleteCookiesForHostname):
1025         (PlatformStrategiesEfl::deleteAllCookies):
1026
1027 2012-11-29  Ryuan Choi  <ryuan.choi@samsung.com>
1028
1029         [EFL] Broken rendering occurs when scrolling in ewk_view_single.
1030         https://bugs.webkit.org/show_bug.cgi?id=77325
1031
1032         Reviewed by Gyuyoung Kim.
1033
1034         After r104687, broken rendering occurs when scrolling contents.
1035         It's because scrollWidth can be smaller than width of image buffer.
1036
1037         This patch fixes it and renames parameter to avoid confusion.
1038
1039         * ewk/ewk_view_single.cpp:
1040         (_ewk_view_screen_move):
1041         (_ewk_view_single_scroll_process_single):
1042
1043 2012-11-28  Ryuan Choi  <ryuan.choi@gmail.com>
1044
1045         [EFL] Generate big_button_theme.edj
1046         https://bugs.webkit.org/show_bug.cgi?id=103511
1047
1048         Reviewed by Gyuyoung Kim.
1049
1050         big_button_theme.edj, binary file which is used for test, should be generated.
1051
1052         * DefaultTheme/CMakeLists.txt:
1053         Introduced macro and new target to share files of default theme instead
1054         of adding many files for big_button_theme.
1055         * DefaultTheme/widget/button/button.edc:
1056         Implemented for big_button_theme.
1057
1058 2012-11-28  Ryuan Choi  <ryuan.choi@gmail.com>
1059
1060         [EFL] Refactor theme to choose whether to support foreground color of selection
1061         https://bugs.webkit.org/show_bug.cgi?id=102037
1062
1063         Reviewed by Kenneth Rohde Christiansen.
1064
1065         * DefaultTheme/default.edc:
1066         Refactored color classes from active/inactive to foreground/background.
1067
1068 2012-11-27  James Simonsen  <simonjam@chromium.org>
1069
1070         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1071         https://bugs.webkit.org/show_bug.cgi?id=102151
1072
1073         Reviewed by Adam Barth.
1074
1075         * ewk/ewk_frame.cpp:
1076         (_ewk_frame_contents_set_internal):
1077
1078 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1079
1080         Unreviewed, rolling out r135786.
1081         http://trac.webkit.org/changeset/135786
1082         https://bugs.webkit.org/show_bug.cgi?id=103379
1083
1084         It made 3 plugin tests timeout on several platforms (Requested
1085         by Ossy on #webkit).
1086
1087         * ewk/ewk_frame.cpp:
1088         (ewk_frame_uri_set):
1089         (_ewk_frame_contents_set_internal):
1090
1091 2012-11-26  James Simonsen  <simonjam@chromium.org>
1092
1093         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1094         https://bugs.webkit.org/show_bug.cgi?id=102151
1095
1096         Reviewed by Adam Barth.
1097
1098         * ewk/ewk_frame.cpp:
1099         (_ewk_frame_contents_set_internal):
1100
1101 2012-11-24  Viatcheslav Ostapenko  <v.ostapenko@samsung.com>
1102
1103         [EFL] Layout test comes to crash on WK1
1104         https://bugs.webkit.org/show_bug.cgi?id=103170
1105
1106         Reviewed by Kenneth Rohde Christiansen.
1107
1108         Switch off accelerated compositing for WK1 because GraphicsContext3D is
1109         missing direct rendering implementation that is required for EFL WK1.
1110
1111         * ewk/ewk_view.cpp:
1112         (_ewk_view_priv_new):
1113
1114 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
1115
1116         Disambiguate innerNodeFramePoint and mainFramePoint 
1117         https://bugs.webkit.org/show_bug.cgi?id=98139
1118
1119         Reviewed by Julien Chaffraix.
1120
1121         * ewk/ewk_frame.cpp:
1122         (ewk_frame_hit_test_new):
1123
1124 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
1125
1126         Unreviewed, rolling out r135295.
1127         http://trac.webkit.org/changeset/135295
1128         https://bugs.webkit.org/show_bug.cgi?id=102834
1129
1130         This patch causes assertion to some layout tests on chromium
1131         (Requested by jianli on #webkit).
1132
1133         * ewk/ewk_frame.cpp:
1134         (ewk_frame_uri_set):
1135         (_ewk_frame_contents_set_internal):
1136
1137 2012-11-20  James Simonsen  <simonjam@chromium.org>
1138
1139         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1140         https://bugs.webkit.org/show_bug.cgi?id=102151
1141
1142         Reviewed by Adam Barth.
1143
1144         * ewk/ewk_frame.cpp:
1145         (_ewk_frame_contents_set_internal):
1146
1147 2012-11-19  Tony Chang  <tony@chromium.org>
1148
1149         Remove 'is' prefix from WebSettings::isWebSecurityEnabled and WebSettings::isSpatialNavigationEnabled
1150         https://bugs.webkit.org/show_bug.cgi?id=102548
1151
1152         Reviewed by Adam Barth.
1153
1154         Rename call to WebCore::Settings.
1155
1156         * ewk/ewk_view.cpp:
1157         (_ewk_view_priv_new):
1158
1159 2012-11-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1160
1161         Unreviewed, rolling out r134694.
1162         http://trac.webkit.org/changeset/134694
1163         https://bugs.webkit.org/show_bug.cgi?id=102481
1164
1165         it made API test crash on EFL port (Requested by gyuyoung on
1166         #webkit).
1167
1168         * DefaultTheme/default.edc:
1169
1170 2012-11-15  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1171
1172         Rename member vars in ViewportArgument to match css-device-adapt
1173         https://bugs.webkit.org/show_bug.cgi?id=102355
1174
1175         Reviewed by Gyuyoung Kim.
1176
1177         * ewk/ewk_view.cpp:
1178         (_ewk_view_priv_new): Update to reflect name change.
1179
1180 2012-11-15  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1181
1182         Unreviewed. Fix build break when using --no-tiled-backing-store option.
1183
1184         * ewk/ewk_frame_private.h:
1185         (WebCore):
1186
1187 2012-11-14  Ryuan Choi  <ryuan.choi@gmail.com>
1188
1189         [EFL] Port tiled backing store
1190         https://bugs.webkit.org/show_bug.cgi?id=71352
1191
1192         Reviewed by Gyuyoung Kim.
1193
1194         Added ewk_view_setting_tiled_backing_store_enabled_{get|set} to give possibility
1195         to use WebCore's tiled backing store in WebKit/Efl port. This makes WebKit/Efl
1196         compliant with WebKit's generic solution of tiled backing store.
1197
1198         * WebCoreSupport/ChromeClientEfl.cpp:
1199         (WebCore::ChromeClientEfl::invalidateRootView):
1200         (WebCore):
1201         (WebCore::ChromeClientEfl::visibleRectForTiledBackingStore):
1202         * WebCoreSupport/ChromeClientEfl.h:
1203         (ChromeClientEfl):
1204         * ewk/ewk_frame_private.h:
1205         Declared missing classes which used in this file.
1206         * ewk/ewk_paint_context.cpp:
1207         (ewk_paint_context_paint): Implemented to paint tiled backing store
1208         * ewk/ewk_view.cpp:
1209         (ewk_view_setting_tiled_backing_store_enabled_set):
1210         Added API to enable/disable the WebCore's tiled backing store.
1211         (ewk_view_setting_tiled_backing_store_enabled_get):
1212         Added API to query if the WebCore's tiled backing store is enabled.
1213         (ewk_view_tiled_backing_store_invalidate):
1214         * ewk/ewk_view.h:
1215         * ewk/ewk_view_private.h:
1216         * ewk/ewk_view_single.cpp:
1217         (_ewk_view_single_smart_repaints_process):
1218         Implemented to update visible area of tiled backing store.
1219         * tests/test_ewk_view.cpp: Added test case of ewk_view_setting_tiled_backing_store.
1220         (TEST_F):
1221
1222 2012-11-14  Ryuan Choi  <ryuan.choi@gmail.com>
1223
1224         [EFL] Refactor theme to choose whether to support foreground color of selection
1225         https://bugs.webkit.org/show_bug.cgi?id=102037
1226
1227         Reviewed by Gyuyoung Kim.
1228
1229         * DefaultTheme/default.edc:
1230         Refactored color classes from active/inactive to foreground/background.
1231
1232 2012-11-12  KyungTae Kim  <ktf.kim@samsung.com>
1233
1234         [EFL] In ewk_tiled_backing_store_pre_render_region, the 'slicer' may be uninitialized
1235         https://bugs.webkit.org/show_bug.cgi?id=102038
1236
1237         Reviewed by Gyuyoung Kim.
1238
1239         To fix build warning -Wuninitialized,
1240         initialize the 'slicer' in ewk_tiled_backing_store_pre_render_region.
1241
1242         * ewk/ewk_tiled_backing_store.cpp:
1243         (ewk_tiled_backing_store_pre_render_region):
1244
1245 2012-11-09  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
1246
1247         [EFL][DRT] Force a repaint before tracking repaint rects.
1248         https://bugs.webkit.org/show_bug.cgi?id=101743
1249
1250         Reviewed by Kenneth Rohde Christiansen.
1251
1252         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1253         (DumpRenderTreeSupportEfl::forceLayout): Added.
1254         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
1255
1256 2012-11-07  Emil A Eklund  <eae@chromium.org>
1257
1258         Unreviewed EFL build fix.
1259
1260         * ewk/ewk_view.cpp:
1261
1262 2012-11-01  Seonae Kim  <sunaeluv.kim@samsung.com>
1263
1264         [EFL][DRT] Support Geolocation
1265         https://bugs.webkit.org/show_bug.cgi?id=97427
1266
1267         Reviewed by Gyuyoung Kim. 
1268
1269         Implement methods to use GeolocationClientMock in DumpRenderTree.
1270         This client attaches to the page whenever a view is created.
1271
1272         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1273         (DumpRenderTreeSupportEfl::attachClientToPage):
1274         (DumpRenderTreeSupportEfl::resetGeolocationClientMock):
1275         (DumpRenderTreeSupportEfl::setMockGeolocationPermission):
1276         (DumpRenderTreeSupportEfl::setMockGeolocationPosition):
1277         (DumpRenderTreeSupportEfl::setMockGeolocationPositionUnavailableError):
1278         (DumpRenderTreeSupportEfl::numberOfPendingGeolocationPermissionRequests):
1279         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
1280
1281 2012-10-31  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
1282
1283         [EFL][DRT] EventSender requires contextClick implementation
1284         https://bugs.webkit.org/show_bug.cgi?id=86091
1285
1286         Reviewed by Gyuyoung Kim.
1287
1288         Add a pointer to parent menu in Ewk_Context_Menu_Item and a getter
1289         function to allow selecting a context menu item without having
1290         parent menu pointer in DumpRenderTree EventSender.
1291         Three unit tests added due ewk API changes.
1292
1293         * ewk/ewk_contextmenu.cpp:
1294         (_Ewk_Context_Menu_Item):
1295         (ewk_context_menu_item_new):
1296         (ewk_context_menu_item_parent_get):
1297         (ewk_context_menu_item_append):
1298         * ewk/ewk_contextmenu.h:
1299         * ewk/ewk_view.cpp:
1300         (ewk_view_context_menu_get):
1301         * ewk/ewk_view.h:
1302         * tests/test_ewk_contextmenu.cpp: Added.
1303         (TEST_F):
1304         * tests/test_ewk_view.cpp:
1305         (TEST_F):
1306
1307 2012-10-30  Seokju Kwon  <seokju.kwon@samsung.com>
1308
1309         [EFL] Fix failure to highlight nodes on web inspector
1310         https://bugs.webkit.org/show_bug.cgi?id=100303
1311
1312         Reviewed by Gyuyoung Kim.
1313
1314         It is not working to highlight nodes on web inspector
1315         when using 'Single Backing Store'.
1316         Add code for drawing it if there is the highlighted node.
1317
1318         * ewk/ewk_view_single.cpp:
1319         (_ewk_view_single_smart_repaints_process):
1320
1321 2012-10-30  Jinwoo Song  <jinwoo7.song@samsung.com>
1322
1323         [EFL] Refactor tooltip callback signal in WebKit1
1324         https://bugs.webkit.org/show_bug.cgi?id=100571
1325
1326         Reviewed by Gyuyoung Kim.
1327
1328         Separate tooltip callback signal into 'tooltip,text,set'
1329         and 'tooltip,text,unset' to be consistent with WebKit2.
1330
1331         * ewk/ewk_view.cpp:
1332         (ewk_view_tooltip_text_set):
1333         * ewk/ewk_view.h:
1334
1335 2012-10-26  Hyowon Kim  <hw1008.kim@samsung.com>
1336
1337         [Texmap][EFL] Implementation of AC related functions in ChromeClientEfl and ewkView.
1338         https://bugs.webkit.org/show_bug.cgi?id=82315
1339
1340         Reviewed by Kenneth Rohde Christiansen.
1341
1342         This patch implements accelerated-compositing-related functions
1343         to enter accelerated-compositing mode and sync layers 
1344         in ChromeClientEfl and ewkView.
1345
1346         * WebCoreSupport/ChromeClientEfl.cpp:
1347         (WebCore::ChromeClientEfl::attachRootGraphicsLayer):
1348         (WebCore::ChromeClientEfl::setNeedsOneShotDrawingSynchronization):
1349         (WebCore::ChromeClientEfl::scheduleCompositingLayerFlush):
1350         (WebCore::ChromeClientEfl::allowedCompositingTriggers):
1351         * ewk/ewk_view.cpp:
1352         (_Ewk_View_Private_Data):
1353         (_ewk_view_priv_new):
1354         (_ewk_view_priv_del):
1355         (_ewk_view_accelerated_compositing_cb):
1356         Sync and render layers.
1357         (_ewk_view_accelerated_compositing_context_create_if_needed):
1358         Create a new AcceleratedCompositingContext.
1359         (ewk_view_accelerated_compositing_object_create):
1360         Create a new evas_image_object act as render target surface.
1361         (ewk_view_accelerated_compositing_context_get):
1362         Return the GraphicsContext3D for accelerated compositing. 
1363         (ewk_view_root_graphics_layer_set):
1364         Set the root layer to AcceleratedCompositingContext.
1365         (ewk_view_mark_for_sync):
1366         Mark the evas_image_object for accelerated compositing as dirty to make it update.
1367         * ewk/ewk_view_private.h:
1368         (WebCore):
1369
1370 2012-10-24  Brady Eidson  <beidson@apple.com>
1371
1372         Add a strategy for loader customization.
1373         https://bugs.webkit.org/show_bug.cgi?id=100278
1374
1375         Reviewed by Alexey Proskuryakov.
1376
1377         * WebCoreSupport/PlatformStrategiesEfl.cpp:
1378         (PlatformStrategiesEfl::createLoaderStrategy):
1379         * WebCoreSupport/PlatformStrategiesEfl.h:
1380         (PlatformStrategiesEfl):
1381
1382 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
1383
1384         Add a strategy for shared workers
1385         https://bugs.webkit.org/show_bug.cgi?id=100165
1386
1387         Reviewed by Brady Eidson.
1388
1389         * WebCoreSupport/PlatformStrategiesEfl.cpp:
1390         (PlatformStrategiesEfl::createPasteboardStrategy):
1391         (PlatformStrategiesEfl::createSharedWorkerStrategy):
1392         (PlatformStrategiesEfl::createVisitedLinkStrategy):
1393         * WebCoreSupport/PlatformStrategiesEfl.h:
1394
1395 2012-10-23  Hyowon Kim  <hw1008.kim@samsung.com>
1396
1397         [Texmap][EFL] Add AcceleratedCompositingContextEfl to the build system.
1398         https://bugs.webkit.org/show_bug.cgi?id=88630
1399
1400         Reviewed by Gyuyoung Kim.
1401
1402         * WebCoreSupport/AcceleratedCompositingContextEfl.cpp: Modify the #include file.
1403
1404 2012-10-23  Andras Becsi  <andras.becsi@digia.com>
1405
1406         Remove devicePixelRatio from ViewportAttributes
1407         https://bugs.webkit.org/show_bug.cgi?id=99845
1408
1409         Reviewed by Adam Barth.
1410
1411         * ewk/ewk_view.cpp:
1412         (_ewk_view_viewport_attributes_compute):
1413         Pass the device pixel ratio as a function argument.
1414
1415 2012-10-22  Ryuan Choi  <ryuan.choi@gmail.com>
1416
1417         [EFL] pc files should use DATA_INSTALL_DIR for datadir
1418         https://bugs.webkit.org/show_bug.cgi?id=99961
1419
1420         Reviewed by Gyuyoung Kim.
1421
1422         * ewebkit.pc.in: Used DATA_INSTALL_DIR instead of hardcoded `shared/XXX`
1423
1424 2012-10-22  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
1425
1426         [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
1427         https://bugs.webkit.org/show_bug.cgi?id=98514
1428
1429         Reviewed by Kenneth Rohde Christiansen.
1430
1431         * ewk/ewk_frame.cpp:
1432         (ewk_frame_view_create_for_view):
1433
1434 2012-10-21  Seokju Kwon  <seokju.kwon@samsung.com>
1435
1436         [EFL] Fix failure to access the inspector resources
1437         https://bugs.webkit.org/show_bug.cgi?id=99816
1438
1439         Reviewed by Gyuyoung Kim.
1440
1441         access() returns -1, if path has a file protocol like "file://".
1442         And I have removed it from the first argument of access().
1443         If not, inspectorBaseURL() or inspectorFilesPath() always returns WEB_INSPECTOR_DIR.
1444         Then all layout test related to inspector can fail after installing webkit package.
1445
1446         * WebCoreSupport/InspectorClientEfl.cpp:
1447         (WebCore::InspectorClientEfl::inspectorFilesPath):
1448
1449 2012-10-20  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
1450
1451         [EFL][DRT] Implement tracking and painting repaint rectangles.
1452         https://bugs.webkit.org/show_bug.cgi?id=99838
1453
1454         Reviewed by Gyuyoung Kim.
1455
1456         Add the required DumpRenderTreeSupport plumbing functions to
1457         interact with FrameView and track/obtain repaint rectangles for
1458         DumpRenderTree.
1459
1460         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1461         (DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled):
1462         (DumpRenderTreeSupportEfl::setTracksRepaints):
1463         (DumpRenderTreeSupportEfl::resetTrackedRepaints):
1464         (DumpRenderTreeSupportEfl::isTrackingRepaints):
1465         (DumpRenderTreeSupportEfl::trackedRepaintRects):
1466         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
1467
1468 2012-10-18  Kangil Han  <kangil.han@samsung.com>
1469
1470         [EFL] Add unit test for ewk_frame_source_get.
1471         https://bugs.webkit.org/show_bug.cgi?id=95984
1472
1473         Reviewed by Gyuyoung Kim.
1474
1475         Add three unit test cases to verify ewk_frame_source_get function.
1476         Additionally, insert code to check if uri exists in order to return error since view itself has blank html.
1477
1478         * ewk/ewk_frame.cpp:
1479         (ewk_frame_source_get):
1480         * tests/test_ewk_frame.cpp: Added.
1481         (initBuffer):
1482         (TEST_F):
1483
1484 2012-10-17  Byungwoo Lee  <bw80.lee@samsung.com>
1485
1486         Fix build warnings : -Wunused-parameter, -Wunused-variable
1487         https://bugs.webkit.org/show_bug.cgi?id=99539
1488
1489         Reviewed by Kentaro Hara.
1490
1491         Fix build warnings about unused parameter or unused variable when
1492         WTF_USE_TILED_BACKING_STORE option is enabled.
1493
1494         * WebCoreSupport/ChromeClientEfl.cpp:
1495         (WebCore::ChromeClientEfl::attachRootGraphicsLayer):
1496         (WebCore::ChromeClientEfl::delegatedScrollRequested):
1497
1498 2012-10-17  Byungwoo Lee  <bw80.lee@samsung.com>
1499
1500         [EFL] Add background color to the checkbox theme.
1501         https://bugs.webkit.org/show_bug.cgi?id=98788
1502
1503         Reviewed by Gyuyoung Kim.
1504
1505         Background color is added to the checkbox theme for identifying
1506         checkbox status easily.
1507
1508         Checkbox theme uses images which has transparent background, and the
1509         theme itself doesn't have the background color.
1510
1511         When the background of checkbox is black, checked/unchecked status
1512         cannot be distinguished because check mark color is black.
1513
1514         And it is hard to identify whether the checkbox is disabled or not,
1515         because there is no background color in the checkbox theme.
1516
1517         Instead of adding background color to the edc script, background
1518         images are added because the shape of the check box can be various.
1519
1520         * DefaultTheme/widget/check/check.edc:
1521         * DefaultTheme/widget/check/img_check_bg_enabled.png: Added.
1522         * DefaultTheme/widget/check/img_check_bg_disabled.png: Added.
1523
1524 2012-10-17  Byungwoo Lee  <bw80.lee@samsung.com>
1525
1526         [EFL] Add background color to the radio button theme.
1527         https://bugs.webkit.org/show_bug.cgi?id=98852
1528
1529         Reviewed by Gyuyoung Kim.
1530
1531         Background color is added to the radio button theme for identifying
1532         radio button status easily.
1533
1534         Radio button theme uses images which has transparent background.
1535
1536         When the background of radio button is black, checked/unchecked status
1537         cannot be distinguished because check mark color is black.
1538
1539         And it is hard to identify whether the radio button is disabled or not,
1540         because there is no background color in the radio button theme.
1541
1542         * DefaultTheme/widget/radio/img_radio_bg_disabled.png: Added.
1543         * DefaultTheme/widget/radio/img_radio_bg_enabled.png: Added.
1544         * DefaultTheme/widget/radio/radio.edc:
1545
1546 2012-10-15  Christophe Dumez  <christophe.dumez@intel.com>
1547
1548         [EFL][WK2] Implement Favicons API
1549         https://bugs.webkit.org/show_bug.cgi?id=99087
1550
1551         Reviewed by Kenneth Rohde Christiansen.
1552
1553         Remove ewk_util now that its code has been moved
1554         to CairoUtilitiesEfl in WebCore.
1555
1556         * ewk/ewk_history.cpp:
1557         (ewk_history_item_icon_object_add):
1558         * ewk/ewk_settings.cpp:
1559         (ewk_settings_icon_database_icon_object_get):
1560
1561 2012-10-15  Dongwoo Joshua Im  <dw.im@samsung.com>
1562
1563         [EFL] Set the basepath of the File System API.
1564         https://bugs.webkit.org/show_bug.cgi?id=98344
1565
1566         Reviewed by Gyuyoung Kim.
1567
1568         Set the basepath of the File System API using the internal setter function.
1569
1570         * ewk/ewk_main.cpp:
1571         (_ewk_init_body): Call the setter function with the default path.
1572         * ewk/ewk_settings.cpp:
1573         (ewk_settings_file_system_path_set): Set the given path as the base path of the file system.
1574         * ewk/ewk_settings_private.h: Add ewk_settings_file_system_path_set.
1575
1576 2012-10-14  Sam Weinig  <sam@webkit.org>
1577
1578         Make UserScript and UserStyleSheet value objects that are copyable
1579         https://bugs.webkit.org/show_bug.cgi?id=99275
1580
1581         Reviewed by Tim Horton.
1582
1583         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1584         (DumpRenderTreeSupportEfl::addUserScript):
1585         (DumpRenderTreeSupportEfl::addUserStyleSheet):
1586         Update for new PageGroup function signatures.
1587
1588 2012-10-11  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1589
1590         [EFL] Remove "web" word in web inspector
1591         https://bugs.webkit.org/show_bug.cgi?id=98724
1592
1593         Reviewed by Laszlo Gombos.
1594
1595         *web* word is redundant in web inspector. Beside r130494 and r130479 removed *web* from EFL WK2.
1596
1597         * WebCoreSupport/InspectorClientEfl.cpp:
1598         (WebCore::notifyInspectorDestroy):
1599         (WebCore::InspectorClientEfl::openInspectorFrontend):
1600         (WebCore::InspectorFrontendClientEfl::InspectorFrontendClientEfl):
1601         (WebCore::InspectorFrontendClientEfl::~InspectorFrontendClientEfl):
1602         * ewk/ewk_view.cpp:
1603         (ewk_view_inspector_show):
1604         (ewk_view_inspector_close):
1605         (ewk_view_inspector_view_get):
1606         (ewk_view_inspector_view_set):
1607         * ewk/ewk_view.h:
1608
1609 2012-10-10  Jon Lee  <jonlee@apple.com>
1610
1611         [WK2] Activate plugins when user clicks on snapshot
1612         https://bugs.webkit.org/show_bug.cgi?id=98328
1613         <rdar://problem/12426681>
1614
1615         Reviewed by Brady Eidson.
1616
1617         * WebCoreSupport/FrameLoaderClientEfl.h:
1618         (WebCore::FrameLoaderClientEfl::recreatePlugin): Stub implementation of recreatePlugin().
1619
1620 2012-10-10  Ryuan Choi  <ryuan.choi@samsung.com>
1621
1622         [EFL] Use ewk_view_paint instead of ewk_view_paint_contents in ewk_view_single.
1623         https://bugs.webkit.org/show_bug.cgi?id=98716
1624
1625         Reviewed by Kenneth Rohde Christiansen.
1626
1627         ewk_view_paint is the wrapper of ScrollView::paint and
1628         ewk_view_paint_contents is the wrapper of FrameView::paintContents.
1629
1630         Because FrameView::paintContents just draw contents,
1631         ewk_view_single should use ewk_view_paint instead of ewk_view_paint_contents
1632         like other ports.
1633
1634         * ewk/ewk_view.cpp:
1635         (ewk_view_paint):
1636         Moved updateLayoutAndStyleIfNeededRecursive to share ewk_view_paint.
1637         * ewk/ewk_view_single.cpp:
1638         (_ewk_view_single_smart_repaints_process):
1639         Modified to call ewk_view_paint.
1640
1641 2012-10-10  Jaehun Lim  <ljaehun.lim@samsung.com>
1642
1643         [EFL] Use Evas function instead of memcpy
1644         https://bugs.webkit.org/show_bug.cgi?id=98483
1645
1646         Reviewed by Gyuyoung Kim.
1647
1648         Evas supports evas_object_image_data_copy_set() to copy raw image data.
1649         Change memcpy() with evas_object_image_data_copy_set().
1650
1651         Spell out variable names and refactor variable declaration statements.
1652
1653         No new tests, no functionality was changed.
1654
1655         * ewk/ewk_util.cpp:
1656         (ewk_util_image_from_cairo_surface_add):
1657
1658 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1659
1660         Rename first/second to key/value in HashMap iterators
1661         https://bugs.webkit.org/show_bug.cgi?id=82784
1662
1663         Reviewed by Eric Seidel.
1664
1665         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1666         (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
1667         * WebCoreSupport/PlatformStrategiesEfl.cpp:
1668         (PlatformStrategiesEfl::getPluginInfo):
1669         * ewk/ewk_intent.cpp:
1670         (ewk_intent_extra_get):
1671
1672 2012-10-05  Christophe Dumez  <christophe.dumez@intel.com>
1673
1674         [EFL] Fix window resizing / moving in WK1 and WKTR
1675         https://bugs.webkit.org/show_bug.cgi?id=98486
1676
1677         Reviewed by Gyuyoung Kim.
1678
1679         Fix ChromeClientEfl::windowRect() code to use
1680         ecore_evas_request_geometry_get() instead of
1681         evas_object_geometry_get() and therefore avoid
1682         returning incorrect values when the engine has
1683         not processed a call to ecore_evas_move_resize()
1684         yet. This fixes a couple of layout tests.
1685
1686         The code was also refactored a bit for
1687         consistency with the WebKit2 EFL implementation.
1688
1689         * WebCoreSupport/ChromeClientEfl.cpp:
1690         (WebCore::ChromeClientEfl::windowRect):
1691         (WebCore::ChromeClientEfl::setWindowRect):
1692
1693 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1694
1695         Final part of "sync" to "flush" renaming
1696         https://bugs.webkit.org/show_bug.cgi?id=98430
1697
1698         Reviewed by Tim Horton.
1699
1700         Change method names on GraphicsLayer and GraphicsLayerClient that
1701         refer to "sync" to use the term "flush" instead, to be consistent
1702         with the rest of the code.
1703
1704         * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
1705         (WebCore::AcceleratedCompositingContext::syncLayersNow):
1706         (WebCore::AcceleratedCompositingContext::attachRootGraphicsLayer):
1707
1708 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1709
1710         Standardize on "flush" terminology for compositing layer flushing/syncing
1711         https://bugs.webkit.org/show_bug.cgi?id=98321
1712
1713         Reviewed by Simon Fraser.
1714
1715         Rename compositing-related methods that refer to "syncing" to instead
1716         refer to "flushing".
1717
1718         * WebCoreSupport/ChromeClientEfl.cpp:
1719         (WebCore::ChromeClientEfl::scheduleCompositingLayerFlush):
1720         * WebCoreSupport/ChromeClientEfl.h:
1721         (ChromeClientEfl):
1722
1723 2012-10-04  Christophe Dumez  <christophe.dumez@intel.com>
1724
1725         [EFL] webintents/web-intents-failure.html is failing
1726         https://bugs.webkit.org/show_bug.cgi?id=98349
1727
1728         Reviewed by Gyuyoung Kim.
1729
1730         After r130344, OpaqueJSString().string() returns
1731         an empty string instead of a null one. Therefore,
1732         we need to update the check in
1733         DumpRenderTreeSupportEfl::sendWebIntentResponse().
1734
1735         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1736         (DumpRenderTreeSupportEfl::sendWebIntentResponse):
1737
1738 2012-10-04  Christophe Dumez  <christophe.dumez@intel.com>
1739
1740         Regression(r130363): Broke unit tests
1741         https://bugs.webkit.org/show_bug.cgi?id=98341
1742
1743         Reviewed by Gyuyoung Kim.
1744
1745         Fix WebKitEFL unit tests to use X11 as
1746         well.
1747
1748         * tests/UnitTestUtils/EWKTestBase.cpp:
1749         (EWKUnitTests::EWKTestBase::SetUp):
1750         * tests/UnitTestUtils/EWKTestEnvironment.h:
1751         (EWKTestEnvironment):
1752         * tests/UnitTestUtils/EWKTestView.cpp:
1753         (EWKUnitTests::EWKTestView::init):
1754         * tests/UnitTestUtils/EWKTestView.h:
1755         (EWKTestView):
1756
1757 2012-10-03  Ryuan Choi  <ryuan.choi@samsung.com>
1758
1759         [EFL] Default.edj should be generated although ENABLE_WEBKIT disabled.
1760         https://bugs.webkit.org/show_bug.cgi?id=97753
1761
1762         Reviewed by Laszlo Gombos.
1763
1764         default.edj is used in both webkit/efl and webkit2/efl.
1765         However, it has been generated only when ENABLE_WEBKIT is enabled.
1766
1767         This patch separates the script which generates default.edj
1768         from source/webkit/platformefl.cmake.
1769
1770         * DefaultTheme/CMakeLists.txt:
1771         Extracted from Source/WebKit/PlatformEfl.cmake and sanitized.
1772
1773 2012-10-03  Christophe Dumez  <christophe.dumez@intel.com>
1774
1775         [EFL] Enable use of X11 in DumpRenderTree / WebKitTestRunner
1776         https://bugs.webkit.org/show_bug.cgi?id=98231
1777
1778         Reviewed by Gyuyoung Kim.
1779
1780         Initialize ecore_x library in ewk_main since it is used by
1781         WebKitEFL.
1782
1783         * ewk/ewk_main.cpp:
1784         (ewk_init):
1785         (ewk_shutdown):
1786
1787 2012-10-03  Kangil Han  <kangil.han@samsung.com>
1788
1789         Fix unused parameter compile warnings.
1790         https://bugs.webkit.org/show_bug.cgi?id=98243
1791
1792         Reviewed by Alexey Proskuryakov.
1793
1794         Fixed unused parameter compile warning by removing page parameter name and UNUSED_PARAM usage.
1795
1796         * WebCoreSupport/PlatformStrategiesEfl.cpp:
1797         (PlatformStrategiesEfl::getPluginInfo):
1798
1799 2012-10-03  Jinwoo Song  <jinwoo7.song@samsung.com>
1800
1801         [EFL] Change the reversed expected and actual parameter in WebKit1 unit tests
1802         https://bugs.webkit.org/show_bug.cgi?id=98276
1803
1804         Reviewed by Laszlo Gombos.
1805
1806         Expected value should be at first and actual value be followed in ASSERT_STREQ().
1807
1808         * tests/test_ewk_view.cpp:
1809         (TEST_F):
1810
1811 2012-10-02  Carlos Garcia Campos  <cgarcia@igalia.com>
1812
1813         [GTK] Add API to get the web view that initiated a custom URI request to WebKit2 GTK+
1814         https://bugs.webkit.org/show_bug.cgi?id=97895
1815
1816         Reviewed by Martin Robinson.
1817
1818         * WebCoreSupport/FrameNetworkingContextEfl.cpp:
1819         (WebCore::FrameNetworkingContextEfl::initiatingPageID): Stub
1820         implementation.
1821         * WebCoreSupport/FrameNetworkingContextEfl.h:
1822         (FrameNetworkingContextEfl): Added.
1823
1824 2012-10-02  Krzysztof Czech  <k.czech@samsung.com>
1825
1826         [EFL][UT] Refactoring an implementation of testing framework for wk1.
1827         https://bugs.webkit.org/show_bug.cgi?id=94925
1828
1829         Reviewed by Gyuyoung Kim.
1830
1831         The reason of changing, was to adjust current implementation to use gtest features
1832         related to cleaning (SetUp, TearDown), cleaning code in terms of useless methods
1833         and lastly to make framework easier to use.
1834
1835         * tests/UnitTestUtils/EWKTestBase.cpp:
1836         (EWKUnitTests::EWKTestBase::EWKTestBase):
1837         (EWKUnitTests::EWKTestBase::webView): Returns current webview.
1838         (EWKUnitTests::EWKTestBase::SetUp):
1839         Before test is started, SetUp is called.
1840         Used this to initialize test view.
1841         (EWKUnitTests::EWKTestBase::onLoadFinished):
1842         (EWKUnitTests::EWKTestBase::waitUntilLoadFinished): It waits till test page will be properly loaded.
1843         (EWKUnitTests::EWKTestBase::loadUrl): Starts loading test page.
1844         * tests/UnitTestUtils/EWKTestBase.h:
1845         * tests/UnitTestUtils/EWKTestEnvironment.cpp:
1846         Used to have global SetUp and TearDown.
1847         Global SetUp starts initialization of webkit wherease
1848         global TearDown shuts it down. Generally we would like to have
1849         only one initialization of webkit while tests are executed.
1850         (EWKUnitTests):
1851         (EWKUnitTests::EWKTestEnvironment::EWKTestEnvironment):
1852         (EWKUnitTests::EWKTestEnvironment::SetUp): Starts initialization of webkit.
1853         (EWKUnitTests::EWKTestEnvironment::TearDown): Shuts down of webkit.
1854         * tests/UnitTestUtils/EWKTestEnvironment.h:
1855         (EWKUnitTests):
1856         (EWKTestEnvironment):
1857         (EWKUnitTests::EWKTestEnvironment::useX11Window):
1858         * tests/UnitTestUtils/EWKTestView.cpp:
1859         (EWKUnitTests::EWKTestView::EWKTestView):
1860         (EWKUnitTests::EWKTestView::init): Starts initialization of test view.
1861         * tests/UnitTestUtils/EWKTestView.h:
1862         (EWKTestView):
1863         * tests/test_ewk_view.cpp: adjusted current unit tests to new implementation.
1864         (TEST_F):
1865         * tests/test_runner.cpp: entry point of all tests.
1866         (parseCustomArguments):
1867         (main):
1868
1869 2012-10-01  Brady Eidson  <beidson@apple.com>
1870
1871         Remove the Safari 2 -> Safari 3 icon database import code.
1872         https://bugs.webkit.org/show_bug.cgi?id=98113
1873
1874         Reviewed by Maciej Stachowiak.
1875
1876         Nuke the performImport() IconDatabaseClient method.
1877
1878         * WebCoreSupport/IconDatabaseClientEfl.cpp:
1879         * WebCoreSupport/IconDatabaseClientEfl.h:
1880
1881 2012-09-28  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
1882
1883         Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports
1884         https://bugs.webkit.org/show_bug.cgi?id=97547
1885
1886         Reviewed by Adam Barth.
1887
1888         Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
1889         inside WebCore::FrameLoaderClientEfl::canShowMIMEType().
1890
1891         * WebCoreSupport/FrameLoaderClientEfl.cpp:
1892         (WebCore::FrameLoaderClientEfl::canShowMIMEType):
1893
1894 2012-09-28  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
1895
1896         [EFL][DRT] EFL DRT should disable visited links tracking by default
1897         https://bugs.webkit.org/show_bug.cgi?id=97881
1898
1899         Reviewed by Kenneth Rohde Christiansen.
1900
1901         Added aux DumpRenderTreeSupportEfl::setShouldTrackVisitedLinks() function.
1902
1903         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
1904         (DumpRenderTreeSupportEfl::setShouldTrackVisitedLinks):
1905         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
1906
1907 2012-09-27  Christophe Dumez  <christophe.dumez@intel.com>
1908
1909         [EFL] No way to exit video fullscreen mode once entered
1910         https://bugs.webkit.org/show_bug.cgi?id=97631
1911
1912         Reviewed by Kenneth Rohde Christiansen.
1913
1914         Fix default theme so that we have 2 fullscreen buttons, one
1915         to enter fullscreen mode and another to exit it.
1916
1917         New icon by Alexander Shalamov.
1918
1919         * DefaultTheme/widget/mediacontrol/fullscreenbutton/enterfullscreenbutton.png: Added.
1920         * DefaultTheme/widget/mediacontrol/fullscreenbutton/exitfullscreenbutton.png: Added.
1921         * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreen_button.edc:
1922         * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreenbutton.png: Removed.
1923
1924 2012-09-26  Jinwoo Song  <jinwoo7.song@samsung.com>
1925
1926         [EFL] Fix the typo in the ewk_view_fullscreen_exit()
1927         https://bugs.webkit.org/show_bug.cgi?id=97635
1928
1929         Reviewed by Gyuyoung Kim.
1930
1931         Fix the silly typo in the ewk_view_fullscreen_exit() API.
1932
1933         * ewk/ewk_view.cpp:
1934         (ewk_view_fullscreen_exit):
1935
1936 2012-09-25  Jinwoo Song  <jinwoo7.song@samsung.com>
1937
1938         [EFL] Add fullscreen set/get APIs and callbacks
1939         https://bugs.webkit.org/show_bug.cgi?id=97421
1940
1941         Reviewed by Gyuyoung Kim.
1942
1943         Add setting APIs for JavaScript Fullscreen API and also add two callbacks to ewk_view API,
1944         so that UI could customise behavior when fullscreen mode is requested.
1945
1946         * WebCoreSupport/ChromeClientEfl.cpp:
1947         (WebCore::ChromeClientEfl::enterFullScreenForElement):
1948         (WebCore::ChromeClientEfl::exitFullScreenForElement):
1949         * ewk/ewk_view.cpp:
1950         (_Ewk_View_Private_Data):
1951         (_ewk_view_priv_new):
1952         (ewk_view_setting_enable_fullscreen_get):
1953         (ewk_view_setting_enable_fullscreen_set):
1954         (ewk_view_fullscreen_enter):
1955         (ewk_view_fullscreen_exit):
1956         * ewk/ewk_view.h:
1957         * ewk/ewk_view_private.h:
1958         * tests/test_ewk_view.cpp:
1959         (ewkViewEnableFullscreenCb):
1960         (TEST):
1961
1962 2012-09-25  Beth Dakin  <bdakin@apple.com>
1963
1964         https://bugs.webkit.org/show_bug.cgi?id=95397
1965         Need to merge didFirstVisuallyNonEmptyLayout and 
1966         didNewFirstVisuallyNonEmptyLayout
1967         -and corresponding-
1968         <rdar://problem/10791680>
1969
1970         Reviewed by Sam Weinig.
1971
1972         Remove dispatchDidFirstLayout, 
1973         dispatchDidFirstVisuallyNonEmptyLayout, and 
1974         dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality 
1975         is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
1976         * WebCoreSupport/FrameLoaderClientEfl.cpp:
1977         (WebCore::FrameLoaderClientEfl::dispatchDidLayout):
1978         * WebCoreSupport/FrameLoaderClientEfl.h:
1979         (FrameLoaderClientEfl):
1980
1981         It is now necessary to opt into getting any of the 
1982         "layout milestone" notifications.
1983         * ewk/ewk_view.cpp:
1984         (_ewk_view_priv_new):
1985
1986 2012-09-24  Dominik Röttsches  <dominik.rottsches@intel.com>
1987
1988         [EFL][DRT] Enable Regions support
1989         https://bugs.webkit.org/show_bug.cgi?id=83897
1990
1991         Reviewed by Kenneth Rohde Christiansen.
1992
1993         Activating CSS regions by default for EWK views.
1994
1995         * ewk/ewk_view.cpp: Switch CSS regions on by default.
1996         (_ewk_view_priv_new):
1997
1998 2012-09-23  Byungwoo Lee  <bw80.lee@gmail.com>
1999
2000         Fix build warnings : -Wunused-parameter, -Wparentheses, -Wuninitialized.
2001         https://bugs.webkit.org/show_bug.cgi?id=97306
2002
2003         Reviewed by Benjamin Poulain.
2004
2005         Fix build warning about -Wunused-parameter on FrameLoaderClientEfl.cpp
2006         by using ASSERT_UNUSED() macro.
2007         Fix build warning aboug -Wparentheses on ewk_frame.cpp by adding
2008         additional brace for the assign statement.
2009
2010         * WebCoreSupport/FrameLoaderClientEfl.cpp:
2011         (WebCore::FrameLoaderClientEfl::dispatchDidChangeIcons):
2012         * ewk/ewk_frame.cpp:
2013         (ewk_frame_resources_location_get):
2014
2015 2012-09-21  Christophe Dumez  <christophe.dumez@intel.com>
2016
2017         [EFL] EventSender should mimic CTRL+o emacs shortcut
2018         https://bugs.webkit.org/show_bug.cgi?id=97224
2019
2020         Reviewed by Kenneth Rohde Christiansen.
2021
2022         Fix bad use of temporary object causing wrong editing
2023         callback dumping.
2024
2025         * WebCoreSupport/EditorClientEfl.cpp:
2026         (WebCore::EditorClientEfl::shouldInsertText):
2027
2028 2012-09-20  Jinwoo Song  <jinwoo7.song@samsung.com>
2029
2030         [EFL] Change the log macro names to be more consistent with EINA LOG
2031         https://bugs.webkit.org/show_bug.cgi?id=97158
2032
2033         Reviewed by Kenneth Rohde Christiansen.
2034
2035         Some log macro names in WebKit1 are inconsistent with EINA LOG names
2036         such as WRN/INF not WARN/INFO.
2037
2038           #define WRN(...) EINA_LOG_DOM_WARN(_ewk_log_dom, __VA_ARGS__)
2039           #define INF(...) EINA_LOG_DOM_INFO(_ewk_log_dom, __VA_ARGS__)
2040
2041         This patch changes the such names to be consistent with EINA LOG's names.
2042
2043         * ewk/ewk_frame.cpp:
2044         (_ewk_frame_smart_resize):
2045         (ewk_frame_source_get):
2046         (ewk_frame_uri_changed):
2047         * ewk/ewk_main.cpp:
2048         (_ewk_init_body):
2049         * ewk/ewk_private.h:
2050         * ewk/ewk_tiled_backing_store.cpp:
2051         (_ewk_tiled_backing_store_render):
2052         (_ewk_tiled_backing_store_recalc_renderers):
2053         (_ewk_tiled_backing_store_smart_calculate_offset_force):
2054         (_ewk_tiled_backing_store_smart_calculate_offset):
2055         (ewk_tiled_backing_store_pre_render_relative_radius):
2056         * ewk/ewk_tiled_matrix.cpp:
2057         (ewk_tile_matrix_free):
2058         (ewk_tile_matrix_tile_exact_get):
2059         (_ewk_tile_matrix_slicer_setup):
2060         * ewk/ewk_view.cpp:
2061         (_ewk_view_smart_add_console_message):
2062         (_ewk_view_smart_run_javascript_alert):
2063         (_ewk_view_smart_run_javascript_confirm):
2064         (_ewk_view_smart_should_interrupt_javascript):
2065         (_ewk_view_smart_run_javascript_prompt):
2066         (_ewk_view_smart_pre_render_region):
2067         (_ewk_view_smart_pre_render_relative_radius):
2068         (_ewk_view_smart_pre_render_start):
2069         (_ewk_view_smart_pre_render_cancel):
2070         (_ewk_view_smart_disable_render):
2071         (_ewk_view_smart_enable_render):
2072         (ewk_view_bg_color_set):
2073         (ewk_view_zoom_set):
2074         (ewk_view_zoom_weak_set):
2075         (ewk_view_zoom_animated_set):
2076         (ewk_view_statusbar_text_set):
2077         (ewk_view_exceeded_application_cache_quota):
2078         (ewk_view_exceeded_database_quota):
2079         (ewk_view_scroll):
2080         (ewk_view_popup_new):
2081         (ewk_view_popup_destroy):
2082         (ewk_view_popup_selected_set):
2083         (ewk_view_color_chooser_new):
2084         (ewk_view_color_chooser_destroy):
2085         (ewk_view_color_chooser_color_set):
2086         (ewk_view_color_chooser_changed):
2087         (ewk_view_zoom_range_set):
2088         * ewk/ewk_view_private.h:
2089
2090 2012-09-19  Jinwoo Song  <jinwoo7.song@samsung.com>
2091
2092         Fix unused parameter compile warnings in WebKit/WebKit2
2093         https://bugs.webkit.org/show_bug.cgi?id=96742
2094
2095         Reviewed by Gyuyoung Kim.
2096
2097         Fix unused parameter compile warning messages(-Wunused-parameter) in WebKit during EFL build.
2098         WebCore's warning messages were fixed in r128570.
2099  
2100         * WebCoreSupport/ChromeClientEfl.cpp:
2101         (WebCore::ChromeClientEfl::createWindow):
2102         (WebCore::ChromeClientEfl::mouseDidMoveOverElement):
2103         (WebCore::ChromeClientEfl::print):
2104         (WebCore::ChromeClientEfl::reachedMaxAppCacheSize):
2105         (WebCore::ChromeClientEfl::invalidateContents):
2106         (WebCore::ChromeClientEfl::invalidateRootView):
2107         (WebCore::ChromeClientEfl::invalidateContentsAndRootView):
2108         * WebCoreSupport/EditorClientEfl.cpp:
2109         (WebCore::EditorClientEfl::handleInputMethodKeydown):
2110         (WebCore::EditorClientEfl::getGuessesForWord):
2111         * WebCoreSupport/FrameLoaderClientEfl.cpp:
2112         (WebCore::FrameLoaderClientEfl::dispatchDidReceiveAuthenticationChallenge):
2113         (WebCore::FrameLoaderClientEfl::dispatchDidCancelAuthenticationChallenge):
2114         (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
2115         (WebCore::FrameLoaderClientEfl::createFrame):
2116         (WebCore::FrameLoaderClientEfl::createJavaAppletWidget):
2117         (WebCore::FrameLoaderClientEfl::shouldStopLoadingForHistoryItem):
2118         (WebCore::FrameLoaderClientEfl::canShowMIMETypeAsHTML):
2119         (WebCore::FrameLoaderClientEfl::setTitle):
2120         (WebCore::FrameLoaderClientEfl::dispatchDidReceiveContentLength):
2121         (WebCore::FrameLoaderClientEfl::dispatchDidLoadResourceFromMemoryCache):
2122         (WebCore::FrameLoaderClientEfl::setMainDocumentError):
2123         * WebCoreSupport/FullscreenVideoControllerEfl.cpp:
2124         (FullscreenVideoController::showHud):
2125         (FullscreenVideoController::setVolume):
2126         (FullscreenVideoController::setCurrentTime):
2127         * WebCoreSupport/InspectorClientEfl.cpp:
2128         (WebCore::notifyWebInspectorDestroy):
2129         (WebCore::InspectorFrontendSettingsEfl::getProperty):
2130         (WebCore::InspectorFrontendSettingsEfl::setProperty):
2131         * WebCoreSupport/PlatformStrategiesEfl.cpp:
2132         (PlatformStrategiesEfl::getPluginInfo):
2133         * ewk/ewk_auth_soup.cpp:
2134         (ewk_auth_soup_dialog_class_init):
2135         (ewk_auth_soup_dialog_init):
2136         (ewk_auth_soup_dialog_session_feature_init):
2137         (session_authenticate):
2138         * ewk/ewk_file_chooser.cpp:
2139         (ewk_file_chooser_allows_directory_upload_get):
2140         * ewk/ewk_frame.cpp:
2141         (ewk_frame_feed_focus_out):
2142         (ewk_frame_view_state_save):
2143         (ewk_frame_plugin_create):
2144         * ewk/ewk_js.cpp:
2145         (ewk_js_object_new):
2146         (ewk_js_object_free):
2147         (ewk_js_object_view_get):
2148         (ewk_js_object_properties_get):
2149         (ewk_js_object_name_get):
2150         (ewk_js_object_invoke):
2151         (ewk_js_object_type_get):
2152         (ewk_js_object_type_set):
2153         (ewk_js_variant_free):
2154         (ewk_js_variant_array_free):
2155         * ewk/ewk_tiled_model.cpp:
2156         (tile_account):
2157         (_ewk_tile_account_allocated):
2158         (_ewk_tile_account_freed):
2159         * ewk/ewk_view.cpp:
2160         (_ewk_view_smart_add_console_message):
2161         (_ewk_view_smart_run_javascript_alert):
2162         (_ewk_view_smart_run_javascript_confirm):
2163         (_ewk_view_smart_should_interrupt_javascript):
2164         (_ewk_view_smart_run_javascript_prompt):
2165         (_ewk_view_smart_move):
2166         (_ewk_view_smart_contents_resize):
2167         (_ewk_view_editor_command_string_get):
2168         (ewk_view_popup_new):
2169         (ewk_view_js_object_add):
2170         (ewk_view_accelerated_compositing_object_create):
2171         (ewk_view_accelerated_compositing_context_get):
2172         (ewk_view_setting_web_audio_get):
2173         (ewk_view_setting_web_audio_set):
2174         * ewk/ewk_view_single.cpp:
2175         (_ewk_view_single_smart_bg_color_set):
2176         * ewk/ewk_view_tiled.cpp:
2177         (_ewk_view_tiled_updates_process_pre):
2178         (_ewk_view_tiled_contents_size_changed_cb):
2179         (_ewk_view_tiled_smart_bg_color_set):
2180
2181 2012-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2182
2183         Unreviewed, rolling out r128995.
2184         http://trac.webkit.org/changeset/128995
2185         https://bugs.webkit.org/show_bug.cgi?id=97114
2186
2187         Causes the api tests to segfault. (Requested by rakuco on
2188         #webkit).
2189
2190         * tests/UnitTestUtils/EWKTestBase.cpp:
2191         (EWKUnitTests::EWKTestBase::init):
2192         (EWKUnitTests::EWKTestBase::shutdownAll):
2193         (EWKUnitTests::EWKTestBase::startTest):
2194         (EWKUnitTests::EWKTestBase::endTest):
2195         (EWKUnitTests::EWKTestBase::createTest):
2196         (EWKUnitTests):
2197         (EWKUnitTests::EWKTestBase::runTest):
2198         * tests/UnitTestUtils/EWKTestBase.h:
2199         (EWKUnitTests):
2200         (EWKTestBase):
2201         * tests/UnitTestUtils/EWKTestView.cpp:
2202         (EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas):
2203         (EWKUnitTests::EWKTestEcoreEvas::evas):
2204         (EWKUnitTests):
2205         (EWKUnitTests::EWKTestEcoreEvas::show):
2206         (EWKUnitTests::EWKTestView::EWKTestView):
2207         (EWKUnitTests::EWKTestView::init):
2208         (EWKUnitTests::EWKTestView::show):
2209         (EWKUnitTests::EWKTestView::mainFrame):
2210         (EWKUnitTests::EWKTestView::evas):
2211         (EWKUnitTests::EWKTestView::bindEvents):
2212         * tests/UnitTestUtils/EWKTestView.h:
2213         (EWKTestEcoreEvas):
2214         (EWKUnitTests):
2215         (EWKTestView):
2216         * tests/test_ewk_view.cpp:
2217         (ewkViewEditableGetCb):
2218         (TEST):
2219         (ewkViewUriGetCb):
2220         * tests/test_runner.cpp:
2221         (main):
2222
2223 2012-09-19  Krzysztof Czech  <k.czech@samsung.com>
2224
2225         [EFL][UT] Refactoring an implementation of testing framework for wk1.
2226         https://bugs.webkit.org/show_bug.cgi?id=94925
2227
2228         Reviewed by Gyuyoung Kim.
2229
2230         The reason of changing, was to adjust current implementation to use gtest features
2231         related to cleaning (SetUp, TearDown), cleaning code in terms of useless methods
2232         and lastly to make framework easier to use.
2233
2234         * tests/UnitTestUtils/EWKTestBase.cpp:
2235         (EWKUnitTests::EWKTestBase::EWKTestBase): Added to initialize test view.
2236         (EWKUnitTests::EWKTestBase::webView): Returns current webview.
2237         (EWKUnitTests::EWKTestBase::SetUp):
2238         Before test is started, SetUp is called.
2239         Used this to initialize efl and test view.
2240         (EWKUnitTests::EWKTestBase::TearDown):
2241         TearDown is called as soon as test is completed.
2242         Used this to properly shutdown efl and clean test view.
2243         (EWKUnitTests::EWKTestBase::onLoadFinished):
2244         (EWKUnitTests::EWKTestBase::waitUntilLoadFinished): It waits till test page will be properly loaded.
2245         (EWKUnitTests::EWKTestBase::loadUrl): Starts loading test page.
2246         * tests/UnitTestUtils/EWKTestBase.h:
2247         * tests/UnitTestUtils/EWKTestView.cpp:
2248         (EWKUnitTests::EWKTestView::EWKTestView):
2249         (EWKUnitTests::EWKTestView::init): Initialize test view.
2250         * tests/UnitTestUtils/EWKTestView.h:
2251         (EWKTestView):
2252         * tests/test_ewk_view.cpp:
2253         (TEST_F):
2254         * tests/test_runner.cpp:
2255         (main):
2256
2257 2012-09-19  Christophe Dumez  <christophe.dumez@intel.com>
2258
2259         [EFL] EFL's DRT does not support overriding 'WebKitCSSRegionsEnabled' preference
2260         https://bugs.webkit.org/show_bug.cgi?id=97100
2261
2262         Reviewed by Gyuyoung Kim.
2263
2264         Add DumpRenderTree support method to set the
2265         'WebKitCSSRegionsEnabled' preference.
2266
2267         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2268         (DumpRenderTreeSupportEfl::setCSSRegionsEnabled):
2269         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
2270
2271 2012-09-13  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2272
2273         Evas_Object* is a ref'ed structure, so tread it as such
2274         https://bugs.webkit.org/show_bug.cgi?id=96659
2275
2276         Reviewed by Adam Barth.
2277
2278         Replace OwnPtr<Evas_Object> with RefPtr.
2279
2280         * tests/UnitTestUtils/EWKTestView.cpp:
2281         (EWKUnitTests::EWKTestView::init):
2282         * tests/UnitTestUtils/EWKTestView.h:
2283         (EWKTestView):
2284
2285 2012-09-14  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2286
2287         Unreviewed, rolling out r128507.
2288         http://trac.webkit.org/changeset/128507
2289         https://bugs.webkit.org/show_bug.cgi?id=96659
2290
2291         Revert. r128507 makes too many crashes in EFL layout test bots.
2292
2293         * tests/UnitTestUtils/EWKTestView.cpp:
2294         (EWKUnitTests::EWKTestView::init):
2295         * tests/UnitTestUtils/EWKTestView.h:
2296         (EWKTestView):
2297
2298 2012-09-13  Christophe Dumez  <christophe.dumez@intel.com>
2299
2300         [EFL] Remove a lot of C'ism from Ewk_Tiled_Matrix
2301         https://bugs.webkit.org/show_bug.cgi?id=96638
2302
2303         Reviewed by Gyuyoung Kim.
2304
2305         Remove a lot of C'ism from Ewk_Tiled_Matrix and
2306         fix the code so that it follows coding style.
2307
2308         * ewk/ewk_tiled_matrix.cpp:
2309         (_Ewk_Tile_Matrix):
2310         (ewk_tile_matrix_entry_get):
2311         (_ewk_tile_matrix_cell_free):
2312         (_ewk_tile_matrix_tile_free):
2313         (ewk_tile_matrix_zoom_level_set):
2314         (ewk_tile_matrix_entry_new):
2315         (ewk_tile_matrix_invalidate):
2316         (ewk_tile_matrix_free):
2317         (ewk_tile_matrix_resize):
2318         (ewk_tile_matrix_size_get):
2319         (ewk_tile_matrix_unused_cache_get):
2320         (ewk_tile_matrix_tile_exact_get):
2321         (ewk_tile_matrix_tile_exact_exists):
2322         (ewk_tile_matrix_tile_new):
2323         (ewk_tile_matrix_tile_put):
2324         (ewk_tile_matrix_tile_updates_clear):
2325         (_ewk_tile_matrix_slicer_setup):
2326         (ewk_tile_matrix_update):
2327         (ewk_tile_matrix_updates_process):
2328         (ewk_tile_matrix_updates_clear):
2329         (ewk_tile_matrix_dbg):
2330         (ewk_tile_matrix_freeze):
2331         (ewk_tile_matrix_thaw):
2332         * ewk/ewk_tiled_matrix_private.h:
2333
2334 2012-09-13  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2335
2336         Evas_Object* is a ref'ed structure, so tread it as such
2337         https://bugs.webkit.org/show_bug.cgi?id=96659
2338
2339         Reviewed by Adam Barth.
2340
2341         Replace OwnPtr<Evas_Object> with RefPtr.
2342
2343         * tests/UnitTestUtils/EWKTestView.cpp:
2344         (EWKUnitTests::EWKTestView::init):
2345         * tests/UnitTestUtils/EWKTestView.h:
2346         (EWKTestView):
2347
2348 2012-09-13  Christophe Dumez  <christophe.dumez@intel.com>
2349
2350         [EFL] Remove a lot of C'ism from Ewk_Tiled_Backing_Store
2351         https://bugs.webkit.org/show_bug.cgi?id=96631
2352
2353         Reviewed by Kenneth Rohde Christiansen.
2354
2355         Remove a lot of C'ism from Ewk_Tiled_Backing_Store and
2356         fix coding style.
2357
2358         * ewk/ewk_tiled_backing_store.cpp:
2359         (_Ewk_Tiled_Backing_Store_Item):
2360         (_Ewk_Tiled_Backing_Store_Data):
2361         (_ewk_tiled_backing_store_updates_process):
2362         (_ewk_tiled_backing_store_flush):
2363         (_ewk_tiled_backing_store_tile_new):
2364         (_ewk_tiled_backing_store_item_resize):
2365         (_ewk_tiled_backing_store_tile_associate):
2366         (_ewk_tiled_backing_store_tile_dissociate):
2367         (_ewk_tiled_backing_store_tile_dissociate_all):
2368         (_ewk_tiled_backing_store_pre_render_request_add):
2369         (_ewk_tiled_backing_store_pre_render_request_del):
2370         (_ewk_tiled_backing_store_pre_render_request_first):
2371         (_ewk_tiled_backing_store_pre_render_request_clear):
2372         (_ewk_tiled_backing_store_pre_render_request_process_single):
2373         (_ewk_tiled_backing_store_item_process_idler_start):
2374         (_ewk_tiled_backing_store_disable_render):
2375         (_ewk_tiled_backing_store_enable_render):
2376         (_ewk_tiled_backing_store_item_fill):
2377         (_ewk_tiled_backing_store_item_add):
2378         (_ewk_tiled_backing_store_item_smooth_scale_set):
2379         (_ewk_tiled_backing_store_changed):
2380         (_ewk_tiled_backing_store_view_cols_end_del):
2381         (_ewk_tiled_backing_store_view_cols_end_add):
2382         (_ewk_tiled_backing_store_view_row_del):
2383         (_ewk_tiled_backing_store_view_rows_range_del):
2384         (_ewk_tiled_backing_store_view_rows_all_del):
2385         (_ewk_tiled_backing_store_smart_member_del):
2386         (_ewk_tiled_backing_store_smart_member_add):
2387         (_ewk_tiled_backing_store_mem_dbg):
2388         (_ewk_tiled_backing_store_sig_usr):
2389         (_ewk_tiled_backing_store_smart_add):
2390         (_ewk_tiled_backing_store_smart_del):
2391         (_ewk_tiled_backing_store_smart_show):
2392         (_ewk_tiled_backing_store_smart_hide):
2393         (_ewk_tiled_backing_store_recalc_renderers):
2394         (_ewk_tiled_backing_store_smart_calculate_size):
2395         (_ewk_tiled_backing_store_view_dbg):
2396         (_ewk_tiled_backing_store_view_wrap_up):
2397         (_ewk_tiled_backing_store_view_wrap_down):
2398         (_ewk_tiled_backing_store_view_wrap_left):
2399         (_ewk_tiled_backing_store_view_wrap_right):
2400         (_ewk_tiled_backing_store_view_refill):
2401         (_ewk_tiled_backing_store_view_pos_apply):
2402         (_ewk_tiled_backing_store_smart_calculate_offset_force):
2403         (_ewk_tiled_backing_store_smart_calculate_offset):
2404         (_ewk_tiled_backing_store_smart_calculate_pos):
2405         (_ewk_tiled_backing_store_fill_renderers):
2406         (_ewk_tiled_backing_store_smart_calculate):
2407         (ewk_tiled_backing_store_render_cb_set):
2408         (ewk_tiled_backing_store_tile_unused_cache_get):
2409         (_ewk_tiled_backing_store_scroll_full_offset_set_internal):
2410         (ewk_tiled_backing_store_scroll_full_offset_set):
2411         (ewk_tiled_backing_store_scroll_full_offset_add):
2412         (_ewk_tiled_backing_store_zoom_set_internal):
2413         (ewk_tiled_backing_store_zoom_set):
2414         (ewk_tiled_backing_store_zoom_weak_set):
2415         (ewk_tiled_backing_store_fix_offsets):
2416         (ewk_tiled_backing_store_zoom_weak_smooth_scale_set):
2417         (ewk_tiled_backing_store_alpha_set):
2418         (ewk_tiled_backing_store_update):
2419         (ewk_tiled_backing_store_updates_process_pre_set):
2420         (ewk_tiled_backing_store_updates_process_post_set):
2421         (ewk_tiled_backing_store_disabled_update_set):
2422         (ewk_tiled_backing_store_flush):
2423         (ewk_tiled_backing_store_pre_render_tile_add):
2424         (ewk_tiled_backing_store_pre_render_spiral_queue):
2425         (ewk_tiled_backing_store_pre_render_region):
2426         (ewk_tiled_backing_store_pre_render_relative_radius):
2427         (ewk_tiled_backing_store_pre_render_cancel):
2428         (ewk_tiled_backing_store_disable_render):
2429         (ewk_tiled_backing_store_enable_render):
2430         * ewk/ewk_tiled_backing_store_private.h:
2431         (_Ewk_Tile_Stats):
2432         (_Ewk_Tile):
2433         * ewk/ewk_view_tiled.cpp:
2434         (_ewk_view_tiled_render_cb):
2435         (_ewk_view_tiled_smart_backing_store_add):
2436
2437 2012-09-13  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2438
2439         [EFL][DRT] Implement LayoutTestController::layerTreeAsText
2440         https://bugs.webkit.org/show_bug.cgi?id=82294
2441
2442         Reviewed by Gyuyoung Kim.
2443
2444         Add a support method for getting layerTreeAsText.
2445
2446         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2447         (DumpRenderTreeSupportEfl::layerTreeAsText):
2448         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
2449
2450 2012-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2451
2452         Unreviewed, rolling out r127876.
2453         http://trac.webkit.org/changeset/127876
2454         https://bugs.webkit.org/show_bug.cgi?id=96600
2455
2456         mouse click doesn't work for spin button if spin button in
2457         iframe (Requested by yosin on #webkit).
2458
2459         * ewk/ewk_frame.cpp:
2460         (ewk_frame_hit_test_new):
2461
2462 2012-09-12  KyungTae Kim  <ktf.kim@samsung.com>
2463
2464         [EFL] Support download attribute feature
2465         https://bugs.webkit.org/show_bug.cgi?id=96462
2466
2467         Reviewed by Gyuyoung Kim.
2468
2469         Add suggested_name field on _Ewk_Download and set it on startDownload
2470         to get suggested name passed as a download attribute.
2471
2472         * WebCoreSupport/FrameLoaderClientEfl.cpp:
2473         (WebCore::FrameLoaderClientEfl::download):
2474         (WebCore::FrameLoaderClientEfl::startDownload):
2475         * ewk/ewk_view.h:
2476
2477 2012-09-10  Christophe Dumez  <christophe.dumez@intel.com>
2478
2479         [EFL] Create a toggle button for closed captions
2480         https://bugs.webkit.org/show_bug.cgi?id=96259
2481
2482         Reviewed by Kenneth Rohde Christiansen.
2483
2484         Add closed caption toggling button to default WebKitEFL
2485         theme.
2486
2487         * DefaultTheme/default.edc:
2488         * DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption.png: Added.
2489         * DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption_disabled.png: Added.
2490         * DefaultTheme/widget/mediacontrol/togglecaptionsbutton/toggle_captions_button.edc: Added.
2491
2492 2012-09-09  Emil A Eklund  <eae@chromium.org>
2493
2494         Rename Node::getRect/getPixelSnappedRect and remove ContainerNode::getRect
2495         https://bugs.webkit.org/show_bug.cgi?id=81413
2496
2497         Reviewed by David Hyatt.
2498
2499         Update ewk_frame to call pixelSnappedBoundingBox.
2500
2501         * ewk/ewk_frame.cpp:
2502         (ewk_frame_focused_element_geometry_get):
2503
2504 2012-09-07  Benjamin Poulain  <bpoulain@apple.com>
2505
2506         Rename the ustring() accessor to string()
2507         https://bugs.webkit.org/show_bug.cgi?id=95919
2508
2509         Reviewed by Geoffrey Garen.
2510
2511         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2512         (DumpRenderTreeSupportEfl::sendWebIntentResponse):
2513         (DumpRenderTreeSupportEfl::deliverWebIntent):
2514         Aslo update the code from the UString->String conversion through StringImpl.
2515
2516 2012-09-07  Christophe Dumez  <christophe.dumez@intel.com>
2517
2518         [EFL] Use same default minimum logical font size in DRT and WTR
2519         https://bugs.webkit.org/show_bug.cgi?id=96116
2520
2521         Reviewed by Martin Robinson.
2522
2523         Add DRT helper function to set the minimum logical
2524         font size setting.
2525
2526         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2527         (DumpRenderTreeSupportEfl::setMinimumLogicalFontSize):
2528         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
2529
2530 2012-09-07  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
2531
2532         Simplify hitTestResultAtPoint and nodesFromRect APIs
2533         https://bugs.webkit.org/show_bug.cgi?id=95720
2534
2535         Reviewed by Antonio Gomes.
2536
2537         Update calls to new API.
2538
2539         * ewk/ewk_frame.cpp:
2540         (ewk_frame_hit_test_new):
2541
2542 2012-09-07  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2543
2544         Unreviewed, rolling out r127839.
2545         http://trac.webkit.org/changeset/127839
2546         https://bugs.webkit.org/show_bug.cgi?id=90603
2547
2548         This patch was landed with wrong implementation and policy.
2549
2550         * WebCoreSupport/NotificationPresenterClientEfl.cpp:
2551         (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
2552         (WebCore::NotificationPresenterClientEfl::requestPermission):
2553         (WebCore::NotificationPresenterClientEfl::checkPermission):
2554         (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
2555         * WebCoreSupport/NotificationPresenterClientEfl.h:
2556         (NotificationPresenterClientEfl):
2557         * ewk/ewk_view.cpp:
2558         (_ewk_view_priv_new):
2559         * ewk/ewk_view.h:
2560         * ewk/ewk_view_private.h:
2561
2562 2012-09-07  Kihong Kwon  <kihong.kwon@samsung.com>
2563
2564         [EFL] Support the permission function of the Web Notification.
2565         https://bugs.webkit.org/show_bug.cgi?id=90603
2566
2567         Reviewed by Gyuyoung Kim.
2568
2569         Implement permission related functions of Web Notifications.
2570         checkPermission for Notification.permissionLevel().
2571         requestPermission for Notification.requestPermission().
2572         In addition, if the application(like a browser) has permitted domains already,
2573         it can be cached using ewk_view_notification_permissions_store.
2574
2575         * WebCoreSupport/NotificationPresenterClientEfl.cpp:
2576         (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
2577         (WebCore::NotificationPresenterClientEfl::requestPermission):
2578         (WebCore::NotificationPresenterClientEfl::checkPermission):
2579         (WebCore::NotificationPresenterClientEfl::addToPermissionCache):
2580         (WebCore):
2581         (WebCore::NotificationPresenterClientEfl::setPermission):
2582         * WebCoreSupport/NotificationPresenterClientEfl.h:
2583         (WebCore):
2584         (NotificationPresenterClientEfl):
2585         (WebCore::NotificationPresenterClientEfl::requestPermission):
2586         (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
2587         * ewk/ewk_view.cpp:
2588         (_ewk_view_priv_new):
2589         (ewk_view_notification_permission_store):
2590         (ewk_view_notification_permissions_set):
2591         (ewk_view_notification_permission_request):
2592         * ewk/ewk_view.h:
2593         * ewk/ewk_view_private.h:
2594
2595 2012-09-05  Sam Weinig  <sam@webkit.org>
2596
2597         Part 2 of removing PlatformString.h, remove PlatformString.h
2598         https://bugs.webkit.org/show_bug.cgi?id=95931
2599
2600         Reviewed by Adam Barth.
2601
2602         Remove PlatformString.h
2603
2604         * WebCoreSupport/ChromeClientEfl.cpp:
2605         * WebCoreSupport/InspectorClientEfl.cpp:
2606
2607 2012-09-06  Kangil Han  <kangil.han@samsung.com>
2608
2609         [EFL] Remove unnecessary logic in ewk_frame_source_get.
2610         https://bugs.webkit.org/show_bug.cgi?id=95828
2611
2612         Reviewed by Kenneth Rohde Christiansen.
2613
2614         Removed unnecessary logic that checks if <html> tag exists in document.
2615         WebKit automatically fill out <html></html> tags if they are not existed.
2616
2617         * ewk/ewk_frame.cpp:
2618         (ewk_frame_source_get):
2619
2620 2012-09-05  Kangil Han  <kangil.han@samsung.com>
2621
2622         [EFL] Remove '+=' usage in String
2623         https://bugs.webkit.org/show_bug.cgi?id=95808
2624
2625         Reviewed by Benjamin Poulain.
2626
2627         Replaced use of String operator '+=' with StringBuilder.append*() in order to adopt efficient String concatenation.
2628
2629         * ewk/ewk_frame.cpp:
2630         (ewk_frame_source_get): Removed unnecessary strlen usage.
2631
2632 2012-09-05  Kaustubh Atrawalkar  <kaustubh@motorola.com>
2633
2634         [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
2635         https://bugs.webkit.org/show_bug.cgi?id=92735
2636
2637         Reviewed by Hajime Morita.
2638
2639         Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
2640
2641         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2642         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
2643
2644 2012-09-04  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
2645
2646         [EFL] Context menu restore. 
2647         https://bugs.webkit.org/show_bug.cgi?id=74179
2648
2649         Reviewed by Gyuyoung Kim.
2650
2651         Adds context menu support for EFL port using non-CROSS_PLATFORM_CONTEXT_MENUS
2652         approach, the same as used in WebKit2.
2653
2654         * WebCoreSupport/ContextMenuClientEfl.cpp: Added.
2655         (WebCore):
2656         (WebCore::ContextMenuClientEfl::contextMenuDestroyed):
2657         (WebCore::ContextMenuClientEfl::getCustomMenuFromDefaultItems):
2658         (WebCore::ContextMenuClientEfl::contextMenuItemSelected):
2659         (WebCore::ContextMenuClientEfl::downloadURL):
2660         (WebCore::ContextMenuClientEfl::lookUpInDictionary):
2661         (WebCore::ContextMenuClientEfl::speak):
2662         (WebCore::ContextMenuClientEfl::isSpeaking):
2663         (WebCore::ContextMenuClientEfl::stopSpeaking):
2664         (WebCore::ContextMenuClientEfl::searchWithGoogle):
2665         * WebCoreSupport/ContextMenuClientEfl.h: Added.
2666         (WebCore):
2667         (ContextMenuClientEfl):
2668         * ewk/ewk_contextmenu.cpp: Removed ewk_context_menu_customize implementation.
2669         (ewk_context_menu_destroy): Added freeing context menu. 
2670         (ewk_context_menu_new): Added filling ewk_contextmenu list.
2671         (ewk_context_menu_item_append):
2672         * ewk/ewk_contextmenu_private.h: Removed ewk_context_menu_customize and changed ewk_context_menu_new definition.
2673         * ewk/ewk_view.cpp:
2674         (_Ewk_View_Private_Data):
2675         (_ewk_view_priv_new):
2676         (_ewk_view_priv_del):
2677         (ewk_view_context_menu_forward_event):
2678
2679 2012-09-04  Ryuan Choi  <ryuan.choi@samsung.com>
2680
2681         [EFL] Drop default theme concept
2682         https://bugs.webkit.org/show_bug.cgi?id=94778
2683
2684         Reviewed by Gyuyoung Kim.
2685
2686         * ewk/ewk_view.h:
2687         Updated doxygen document not to mention default theme.
2688
2689 2012-09-03  Jinwoo Song  <jinwoo7.song@samsung.com>
2690
2691         [EFL] Fix e_dbus_shutdown() error when exiting the Minibrowser
2692         https://bugs.webkit.org/show_bug.cgi?id=95636
2693
2694         Reviewed by Gyuyoung Kim.
2695
2696         Invoke stopUpdating() in the destructor of BatteryClinetEfl()
2697         to call e_ukit_shutdown() and e_dbus_shutdown() if and when 
2698         stopUpdating() has not been called explicitly.
2699
2700         * WebCoreSupport/BatteryClientEfl.cpp:
2701         (BatteryClientEfl::~BatteryClientEfl):
2702         * WebCoreSupport/BatteryClientEfl.h:
2703         (BatteryClientEfl):
2704
2705 2012-09-03  Jinwoo Song  <jinwoo7.song@samsung.com>
2706
2707         [EFL] Use WebKitVersion.h to get version information
2708         https://bugs.webkit.org/show_bug.cgi?id=95669
2709
2710         Reviewed by Gyuyoung Kim.
2711
2712         Use WEBKIT_MAJOR_VERSION and WEBKIT_MINOR_VERSION 
2713         in the WebKitVersion.h
2714
2715         Relocate the StorageTracker.h to keep the sorted order.
2716
2717         * ewk/ewk_settings.cpp:
2718         (ewk_settings_default_user_agent_get):
2719
2720 2012-09-01  Jinwoo Song  <jinwoo7.song@samsung.com>
2721
2722         [EFL] Refactoring the DumpRenderTreeSupportEfl
2723         https://bugs.webkit.org/show_bug.cgi?id=95544
2724
2725         Reviewed by Gyuyoung Kim.
2726
2727         There are lots of repeated codes for getting the WebCore::Frame 
2728         and WebCore::Page. To reduce these duplications, simple macros
2729         are added.
2730
2731         No new tests, just refactoring.
2732
2733         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2734         (DumpRenderTreeSupportEfl::activeAnimationsCount):
2735         (DumpRenderTreeSupportEfl::callShouldCloseOnWebView):
2736         (DumpRenderTreeSupportEfl::clearFrameName):
2737         (DumpRenderTreeSupportEfl::clearOpener):
2738         (DumpRenderTreeSupportEfl::elementDoesAutoCompleteForElementWithId):
2739         (DumpRenderTreeSupportEfl::frameChildren):
2740         (DumpRenderTreeSupportEfl::frameParent):
2741         (DumpRenderTreeSupportEfl::layoutFrame):
2742         (DumpRenderTreeSupportEfl::numberOfPages):
2743         (DumpRenderTreeSupportEfl::pageSizeAndMarginsInPixels):
2744         (DumpRenderTreeSupportEfl::pageProperty):
2745         (DumpRenderTreeSupportEfl::pauseAnimation):
2746         (DumpRenderTreeSupportEfl::pauseTransition):
2747         (DumpRenderTreeSupportEfl::pendingUnloadEventCount):
2748         (DumpRenderTreeSupportEfl::renderTreeDump):
2749         (DumpRenderTreeSupportEfl::responseMimeType):
2750         (DumpRenderTreeSupportEfl::selectionRectangle):
2751         (DumpRenderTreeSupportEfl::suitableDRTFrameName):
2752         (DumpRenderTreeSupportEfl::setDefersLoading):
2753         (DumpRenderTreeSupportEfl::setLoadsSiteIconsIgnoringImageLoadingSetting):
2754         (DumpRenderTreeSupportEfl::addUserScript):
2755         (DumpRenderTreeSupportEfl::clearUserScripts):
2756         (DumpRenderTreeSupportEfl::addUserStyleSheet):
2757         (DumpRenderTreeSupportEfl::clearUserStyleSheets):
2758         (DumpRenderTreeSupportEfl::executeCoreCommandByName):
2759         (DumpRenderTreeSupportEfl::findString):
2760         (DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled):
2761         (DumpRenderTreeSupportEfl::isCommandEnabled):
2762         (DumpRenderTreeSupportEfl::setSmartInsertDeleteEnabled):
2763         (DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled):
2764         (DumpRenderTreeSupportEfl::evaluateInWebInspector):
2765         (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
2766         (DumpRenderTreeSupportEfl::globalContextRefForFrame):
2767         (DumpRenderTreeSupportEfl::setInteractiveFormValidationEnabled):
2768         (DumpRenderTreeSupportEfl::setValidationMessageTimerMagnification):
2769         (DumpRenderTreeSupportEfl::setAuthorAndUserStylesEnabled):
2770         (DumpRenderTreeSupportEfl::setComposition):
2771         (DumpRenderTreeSupportEfl::hasComposition):
2772         (DumpRenderTreeSupportEfl::compositionRange):
2773         (DumpRenderTreeSupportEfl::confirmComposition):
2774         (DumpRenderTreeSupportEfl::firstRectForCharacterRange):
2775         (DumpRenderTreeSupportEfl::selectedRange):
2776
2777 2012-08-31  Christophe Dumez  <christophe.dumez@intel.com>
2778
2779         [EFL] Add proper support for navigator.onLine and associated events
2780         https://bugs.webkit.org/show_bug.cgi?id=95532
2781
2782         Reviewed by Kenneth Rohde Christiansen.
2783
2784         Remove ewk_network_state_notifier_online_set() API since
2785         the EFL port no longer relies on the client application to
2786         provide it with the online state.
2787
2788         * ewk/ewk_network.cpp:
2789         * ewk/ewk_network.h:
2790
2791 2012-08-31  Jinwoo Song  <jinwoo7.song@samsung.com>
2792
2793         [EFL] Simplify FrameLoaderClinetEfl by adding a private method.
2794         https://bugs.webkit.org/show_bug.cgi?id=95444
2795
2796         Reviewed by Gyuyoung Kim.
2797
2798         In the FrameLoaderClientEfl, the codes which checks that 
2799         if current frame is main frame are frequently used.
2800         This patch adds a private method and replaces those codes 
2801         with the method to simplify.
2802
2803         * WebCoreSupport/FrameLoaderClientEfl.cpp:
2804         (WebCore::FrameLoaderClientEfl::dispatchDidChangeLocationWithinPage):
2805         (WebCore::FrameLoaderClientEfl::dispatchDidReceiveIcon):
2806         (WebCore::FrameLoaderClientEfl::dispatchDidStartProvisionalLoad):
2807         (WebCore::FrameLoaderClientEfl::dispatchDidReceiveTitle):
2808         (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
2809         (WebCore::FrameLoaderClientEfl::dispatchDidFailProvisionalLoad):
2810         (WebCore::FrameLoaderClientEfl::transitionToCommittedForNewPage):
2811         * WebCoreSupport/FrameLoaderClientEfl.h:
2812         (WebCore::FrameLoaderClientEfl::isLoadingMainFrame):
2813
2814 2012-08-30  Benjamin Poulain  <bpoulain@apple.com>
2815
2816         Replace JSC::UString by WTF::String
2817         https://bugs.webkit.org/show_bug.cgi?id=95271
2818
2819         Reviewed by Geoffrey Garen.
2820
2821         Replace UString by String.
2822
2823         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2824         (DumpRenderTreeSupportEfl::sendWebIntentResponse):
2825         * ewk/ewk_frame.cpp:
2826         (ewk_frame_script_execute):
2827
2828 2012-08-29  Kamil Blank  <k.blank@samsung.com>
2829
2830         [EFL] Add setting API for allow universal/file access from file URLs.
2831         https://bugs.webkit.org/show_bug.cgi?id=83121
2832
2833         Reviewed by Eric Seidel.
2834
2835         Make it possible to enable allow universal/file access from file URLs.
2836         Default value for both settings is true.
2837
2838         * ewk/ewk_view.cpp:
2839         (_Ewk_View_Private_Data):
2840         (_ewk_view_priv_new):
2841         (ewk_view_setting_allow_universal_access_from_file_urls_set): Function sets if locally loaded documents
2842         are allowed to access remote urls.
2843         (ewk_view_setting_allow_universal_access_from_file_urls_get):
2844         (ewk_view_setting_allow_file_access_from_file_urls_set): Function sets if locally loaded documents
2845         are allowed to access other local urls.
2846         (ewk_view_setting_allow_file_access_from_file_urls_get):
2847         * ewk/ewk_view.h:
2848
2849 2012-08-29  Ryuan Choi  <ryuan.choi@samsung.com>
2850
2851         [EFL] Add *explicit* keyword to constructors in WebCoreSupport
2852         https://bugs.webkit.org/show_bug.cgi?id=95307
2853
2854         Reviewed by Kentaro Hara.
2855
2856         Added explicit keyword in constructors in order to avoid implicit type conversion.
2857
2858         * WebCoreSupport/ColorChooserEfl.h:
2859         (ColorChooserEfl):
2860         * WebCoreSupport/PopupMenuEfl.h:
2861         (PopupMenuEfl):
2862         * WebCoreSupport/SearchPopupMenuEfl.h:
2863         (SearchPopupMenuEfl):
2864
2865 2012-08-29  Ryuan Choi  <ryuan.choi@samsung.com>
2866
2867         [EFL] Move several files to remove webkit1 dependency from WebCore.
2868         https://bugs.webkit.org/show_bug.cgi?id=95264
2869
2870         Reviewed by Gyuyoung Kim.
2871
2872         ColorChooserEfl.cpp, PopupMenuEfl.cpp and SearchPopupMenuEfl.cpp are WebKit1/Efl
2873         specific files and they can not be shared with WebKit2/Efl.
2874
2875         In order to remove WebKit dependency from WebCore, this patch moves them
2876         to WebKit/efl/WebCoreSupport.
2877
2878         * WebCoreSupport/ColorChooserEfl.cpp: Renamed from Source/WebCore/platform/efl/ColorChooserEfl.cpp.
2879         (WebCore):
2880         (WebCore::ColorChooserEfl::ColorChooserEfl):
2881         (WebCore::ColorChooserEfl::~ColorChooserEfl):
2882         (WebCore::ColorChooserEfl::setSelectedColor):
2883         (WebCore::ColorChooserEfl::endChooser):
2884         * WebCoreSupport/ColorChooserEfl.h: Renamed from Source/WebCore/platform/efl/ColorChooserEfl.h.
2885         (WebCore):
2886         (ColorChooserEfl):
2887         * WebCoreSupport/PopupMenuEfl.cpp: Renamed from Source/WebCore/platform/efl/PopupMenuEfl.cpp.
2888         (WebCore):
2889         (WebCore::PopupMenuEfl::PopupMenuEfl):
2890         (WebCore::PopupMenuEfl::~PopupMenuEfl):
2891         (WebCore::PopupMenuEfl::show):
2892         (WebCore::PopupMenuEfl::hide):
2893         (WebCore::PopupMenuEfl::updateFromElement):
2894         (WebCore::PopupMenuEfl::disconnectClient):
2895         * WebCoreSupport/PopupMenuEfl.h: Renamed from Source/WebCore/platform/efl/PopupMenuEfl.h.
2896         (WebCore):
2897         (PopupMenuEfl):
2898         (WebCore::PopupMenuEfl::client):
2899         * WebCoreSupport/SearchPopupMenuEfl.cpp: Renamed from Source/WebCore/platform/efl/SearchPopupMenuEfl.cpp.
2900         (WebCore):
2901         (WebCore::SearchPopupMenuEfl::SearchPopupMenuEfl):
2902         (WebCore::SearchPopupMenuEfl::popupMenu):
2903         (WebCore::SearchPopupMenuEfl::saveRecentSearches):
2904         (WebCore::SearchPopupMenuEfl::loadRecentSearches):
2905         (WebCore::SearchPopupMenuEfl::enabled):
2906         * WebCoreSupport/SearchPopupMenuEfl.h: Renamed from Source/WebCore/platform/efl/SearchPopupMenuEfl.h.
2907         (WebCore):
2908         (SearchPopupMenuEfl):
2909
2910 2012-08-28  Seokju Kwon  <seokju.kwon@samsung.com>
2911
2912         [EFL] Add support for localization to the Web Inspector
2913         https://bugs.webkit.org/show_bug.cgi?id=92961
2914
2915         Reviewed by Gyuyoung Kim.
2916
2917         Implement InspectorFrontendClientEfl::localizedStringsURL()
2918         to return the URL of the localizedStrings.js.
2919
2920         * WebCoreSupport/InspectorClientEfl.cpp:
2921         (WebCore::InspectorClientEfl::openInspectorFrontend):
2922         (WebCore::InspectorClientEfl::inspectorFilesPath):
2923         (WebCore::InspectorFrontendClientEfl::localizedStringsURL):
2924
2925 2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2926
2927         Unreviewed, rolling out r126914.
2928         http://trac.webkit.org/changeset/126914
2929         https://bugs.webkit.org/show_bug.cgi?id=95239
2930
2931         it breaks everything and fixes nothing (Requested by pizlo on
2932         #webkit).
2933
2934         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2935         (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
2936         * WebCoreSupport/PlatformStrategiesEfl.cpp:
2937         (PlatformStrategiesEfl::getPluginInfo):
2938         * ewk/ewk_intent.cpp:
2939         (ewk_intent_extra_get):
2940
2941 2012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2942
2943         Rename first/second to key/value in HashMap iterators
2944         https://bugs.webkit.org/show_bug.cgi?id=82784
2945
2946         Reviewed by Eric Seidel.
2947
2948         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
2949         (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
2950         * WebCoreSupport/PlatformStrategiesEfl.cpp:
2951         (PlatformStrategiesEfl::getPluginInfo):
2952         * ewk/ewk_intent.cpp:
2953         (ewk_intent_extra_get):
2954
2955 2012-08-28  Christophe Dumez  <christophe.dumez@intel.com>
2956
2957         [EFL] WebKit EFL updates view on HTTP 204 response
2958         https://bugs.webkit.org/show_bug.cgi?id=95199
2959
2960         Reviewed by Kenneth Rohde Christiansen.
2961
2962         Ignore HTTP responses which have status code equal
2963         to 204 (No Content).
2964
2965         * WebCoreSupport/FrameLoaderClientEfl.cpp:
2966         (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse):
2967
2968 2012-08-28  Thiago Marcos P. Santos  <thiago.santos@intel.com>
2969
2970         [EFL] Rename knob images to thumb on the default theme
2971         https://bugs.webkit.org/show_bug.cgi?id=95186
2972
2973         Reviewed by Kenneth Rohde Christiansen.
2974
2975         WebKit reefers to these handles as thumb instead of knob. Let's make
2976         it coherent on EFL.
2977
2978         * DefaultTheme/widget/slider/slider.edc:
2979         * DefaultTheme/widget/slider/slider_thumb_h.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_h.png.
2980         * DefaultTheme/widget/slider/slider_thumb_press_h.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_h.png.
2981         * DefaultTheme/widget/slider/slider_thumb_press_v.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_v.png.
2982         * DefaultTheme/widget/slider/slider_thumb_v.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_v.png.
2983
2984 2012-08-28  Thiago Marcos P. Santos  <thiago.santos@intel.com>
2985
2986         [EFL] Range input ignores padding
2987         https://bugs.webkit.org/show_bug.cgi?id=94595
2988
2989         Reviewed by Kenneth Rohde Christiansen.
2990
2991         Updated default theme to paint the slider thumb in a different step.
2992         This was done by splitting the thumb into a separated group.
2993
2994         * DefaultTheme/widget/slider/slider.edc:
2995
2996 2012-08-27  Sheriff Bot  <webkit.review.bot@gmail.com>
2997
2998         Unreviewed, rolling out r126836.
2999         http://trac.webkit.org/changeset/126836
3000         https://bugs.webkit.org/show_bug.cgi?id=95163
3001
3002         Broke all Apple ports, EFL, and Qt. (Requested by tkent on
3003         #webkit).
3004
3005         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3006         (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
3007         * WebCoreSupport/PlatformStrategiesEfl.cpp:
3008         (PlatformStrategiesEfl::getPluginInfo):
3009         * ewk/ewk_intent.cpp:
3010         (ewk_intent_extra_get):
3011
3012 2012-08-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3013
3014         Rename first/second to key/value in HashMap iterators
3015         https://bugs.webkit.org/show_bug.cgi?id=82784
3016
3017         Reviewed by Eric Seidel.
3018
3019         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3020         (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
3021         * WebCoreSupport/PlatformStrategiesEfl.cpp:
3022         (PlatformStrategiesEfl::getPluginInfo):
3023         * ewk/ewk_intent.cpp:
3024         (ewk_intent_extra_get):
3025
3026 2012-08-27  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3027
3028         Rename RegisterProtocolHandler API to NavigatorContentUtils
3029         https://bugs.webkit.org/show_bug.cgi?id=94920
3030
3031         Reviewed by Adam Barth.
3032
3033         Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
3034         RegisterProtocolHandlerClientEfl is renamed to NavigatorContentUtilsClientEfl.
3035
3036         * WebCoreSupport/NavigatorContentUtilsClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp.
3037         (WebCore):
3038         (WebCore::customHandlerDataCreate):
3039         (WebCore::customHandlerDataDelete):
3040         (WebCore::NavigatorContentUtilsClientEfl::create):
3041         (WebCore::NavigatorContentUtilsClientEfl::NavigatorContentUtilsClientEfl):
3042         (WebCore::NavigatorContentUtilsClientEfl::registerProtocolHandler):
3043         (WebCore::NavigatorContentUtilsClientEfl::isProtocolHandlerRegistered):
3044         (WebCore::NavigatorContentUtilsClientEfl::unregisterProtocolHandler):
3045         * WebCoreSupport/NavigatorContentUtilsClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/RegisterProtocolHandlerClientEfl.h.
3046         (NavigatorContentUtilsClientEfl):
3047         (WebCore::NavigatorContentUtilsClientEfl::~NavigatorContentUtilsClientEfl):
3048         * ewk/ewk_custom_handler.cpp:
3049         * ewk/ewk_custom_handler_private.h:
3050         * ewk/ewk_view.cpp:
3051         (_Ewk_View_Private_Data):
3052         (_ewk_view_priv_new):
3053
3054 2012-08-23  Ryuan Choi  <ryuan.choi@samsung.com>
3055
3056         [EFL] Remove ewk_tile_matrix_tile_update.
3057         https://bugs.webkit.org/show_bug.cgi?id=63437
3058
3059         Reviewed by Gyuyoung Kim.
3060
3061         * ewk/ewk_tiled_matrix.cpp:
3062         Removed ewk_tile_matrix_tile_update and ewk_tile_matrix_tile_update_full
3063         which are dead code.
3064         * ewk/ewk_tiled_matrix_private.h: Ditto.
3065
3066 2012-08-21  Kihong Kwon  <kihong.kwon@samsung.com>
3067
3068         [EFL][GTK][BlackBerry] Fix build error in the DeviceOrientationClient
3069         https://bugs.webkit.org/show_bug.cgi?id=94586
3070
3071         Reviewed by Kentaro Hara.
3072
3073         Fix build error in the DeviceOrientationClientEfl.cpp.
3074         It is occured because DeviceOrientation is changed to DeviceOrientationData in the WebCore.
3075
3076         * WebCoreSupport/DeviceOrientationClientEfl.cpp:
3077         (WebCore::DeviceOrientationClientEfl::lastOrientation):
3078
3079 2012-08-20  Thiago Marcos P. Santos  <thiago.santos@intel.com>
3080
3081         Regression(r124945): Build is broken when touch events is disabled
3082         https://bugs.webkit.org/show_bug.cgi?id=94466
3083
3084         Reviewed by Kenneth Rohde Christiansen.
3085
3086         Added missing guards around touch events code.
3087
3088         * ewk/ewk_touch_event.cpp:
3089         * ewk/ewk_touch_event_private.h:
3090
3091 2012-08-17  Thiago Marcos P. Santos  <thiago.santos@intel.com>
3092
3093         [EFL] Change font family/script on layout tests causes flakiness
3094         https://bugs.webkit.org/show_bug.cgi?id=94327
3095
3096         Reviewed by Kenneth Rohde Christiansen.
3097
3098         Always set the font on WebCore even if the font family is the same. It
3099         has to be done because the script value might have also changed.
3100         Settings::set*FontFamily() has an implicit UScriptCode
3101         parameter that will set the script back to the defaults.
3102
3103         * ewk/ewk_view.cpp:
3104         (ewk_view_font_family_name_set):
3105
3106 2012-08-14  Adam Barth  <abarth@webkit.org>
3107
3108         Delete Frame::domWindow() and Frame::existingDOMWindow()
3109         https://bugs.webkit.org/show_bug.cgi?id=93990
3110
3111         Reviewed by Eric Seidel.
3112
3113         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3114         (DumpRenderTreeSupportEfl::pendingUnloadEventCount):
3115         * ewk/ewk_frame.cpp:
3116         (ewk_frame_intent_deliver):
3117
3118 2012-08-13  Tom Sepez  <tsepez@chromium.org>
3119
3120         [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
3121         https://bugs.webkit.org/show_bug.cgi?id=93283
3122
3123         Reviewed by Eric Seidel.
3124
3125         Change the client redirectDataToPlugin method(s) to expect the possibility of
3126         a NULL argument, keeping existing behaviour otherwise.
3127
3128         * WebCoreSupport/FrameLoaderClientEfl.cpp:
3129         (WebCore::FrameLoaderClientEfl::redirectDataToPlugin):
3130
3131 2012-08-12  Krzysztof Czech  <k.czech@samsung.com>
3132
3133         [EFL][UT] Delete shutdown method.
3134         https://bugs.webkit.org/show_bug.cgi?id=90785
3135
3136         Reviewed by Eric Seidel.
3137
3138         EWKTestBase class already has a shutdownAll method that can be used instead of shutdown.
3139
3140         * tests/UnitTestUtils/EWKTestBase.cpp:
3141         * tests/UnitTestUtils/EWKTestBase.h:
3142         (EWKTestBase):
3143
3144 2012-08-09  Carlos Garcia Campos  <cgarcia@igalia.com>
3145
3146         Handle SSL errors for SOUP
3147         https://bugs.webkit.org/show_bug.cgi?id=90267
3148
3149         Reviewed by Martin Robinson.
3150
3151         Ignore SSL errors by default for compatibility.
3152
3153         * ewk/ewk_main.cpp:
3154         (_ewk_init_body):
3155
3156 2012-08-07  Ryuan Choi  <ryuan.choi@samsung.com>
3157
3158         [EFL] Remove PlatformTouchEventEfl and PlatformTouchPointEfl
3159         https://bugs.webkit.org/show_bug.cgi?id=93270
3160
3161         Reviewed by Eric Seidel.
3162
3163         * ewk/ewk_frame.cpp:
3164         (ewk_frame_feed_touch_event):
3165         * ewk/ewk_touch_event.cpp: Added.
3166         (WebKitPlatformTouchPoint):
3167         (WebKitPlatformTouchPoint::WebKitPlatformTouchPoint):
3168         Added to initialize members of PlatformTouchPoint.
3169         (WebKitPlatformTouchEvent):
3170         (WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
3171         Added to initialize members of PlatformTouchEvent.
3172         (EWKPrivate):
3173         (EWKPrivate::platformTouchEvent):
3174         Converted Ewk_Touch_Event to PlatformTouchEvent.
3175         * ewk/ewk_touch_event_private.h: 
3176         (EWKPrivate):
3177
3178 2012-08-07  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3179
3180         CUSTOM_SCHEME_HANDLER flag should depend on REGISTER_PROTOCOL_HANDLER
3181         https://bugs.webkit.org/show_bug.cgi?id=93081
3182
3183         Reviewed by Adam Barth.
3184
3185         CUSTOM_SCHEME_HANDLER #if guards are enclosed in the REGISTER_PROTOCOL_HANDLER guards.
3186
3187         * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp:
3188         (WebCore::RegisterProtocolHandlerClientEfl::registerProtocolHandler):
3189         * WebCoreSupport/RegisterProtocolHandlerClientEfl.h:
3190         * ewk/ewk_custom_handler.cpp:
3191         (ewk_custom_handler_register_protocol_handler):
3192         * ewk/ewk_custom_handler_private.h:
3193         * ewk/ewk_view.cpp:
3194         (_ewk_view_priv_new):
3195
3196 2012-08-06  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3197
3198         [EFL] [GTK] Register Protocol Handler Client is never deleted
3199         https://bugs.webkit.org/show_bug.cgi?id=92745
3200
3201         Reviewed by Gustavo Noronha Silva.
3202
3203         Added usage of OwnPtr to manage register protocol handler client pointer.
3204
3205         * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp:
3206         (WebCore::RegisterProtocolHandlerClientEfl::create): Factory function returning smart pointer.
3207         (WebCore):
3208         * WebCoreSupport/RegisterProtocolHandlerClientEfl.h:
3209         (RegisterProtocolHandlerClientEfl):
3210         * ewk/ewk_view.cpp:
3211         (_Ewk_View_Private_Data):
3212         (_ewk_view_priv_new):
3213
3214 2012-08-01  Ryuan Choi  <ryuan.choi@samsung.com>
3215
3216         [EFL][Regression] Build break with NETSCAPE_PLUGIN_API after r123604
3217         https://bugs.webkit.org/show_bug.cgi?id=92937
3218
3219         Unreviewed build fix.
3220
3221         r123604 replaced strdup to eina_stringshare, but related codes are not
3222         changed properly.
3223         This patch changes remained code to use eina_stringshare.
3224
3225         * ewk/ewk_js.cpp:
3226         (ewk_js_variant_to_npvariant):
3227         (ewk_js_property_free):
3228         (ewk_js_npvariant_to_variant):
3229         (ewk_js_variant_free):
3230         (ewk_js_variant_array_free):
3231         * ewk/ewk_js.h:
3232
3233 2012-07-29  YoungTaeck Song  <youngtaeck.song@samsung.com>
3234
3235         [WK2][EFL] TILED_BACKING_STORE support on Efl WebKit2
3236         https://bugs.webkit.org/show_bug.cgi?id=91582
3237
3238         Reviewed by Noam Rosenthal.
3239
3240         Add a dummy function for fixing building error when enabling TILED_BACKING_STORE.
3241
3242         * WebCoreSupport/ChromeClientEfl.cpp:
3243         (WebCore):
3244         (WebCore::ChromeClientEfl::delegatedScrollRequested):
3245         * WebCoreSupport/ChromeClientEfl.h:
3246         (ChromeClientEfl):
3247
3248 2012-07-27  Christophe Dumez  <christophe.dumez@intel.com>
3249
3250         [EFL] Regression(r123858): Default navigation policy decision was switched to "reject"
3251         https://bugs.webkit.org/show_bug.cgi?id=92507
3252
3253         Reviewed by Kentaro Hara.
3254
3255         After r92466, the default navigation policy is to reject the request if the
3256         client does not make a decision explicitly. The default policy should be
3257         to accept. This broke ewk_view unit tests.
3258
3259         * ewk/ewk_view.cpp:
3260         (ewk_view_navigation_policy_decision):
3261
3262 2012-07-27  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3263
3264         [EFL] Fix wrong return value in EWK_VIEW_XXX macro.
3265         https://bugs.webkit.org/show_bug.cgi?id=92466
3266
3267         Reviewed by Simon Hausmann.
3268
3269         There are wrong return values in EWK_VIEW_XXX macros. The wrong return values
3270         should be fixed. In addition, API description is also modified according to returned
3271         value change.
3272
3273         * ewk/ewk_view.cpp:
3274         (ewk_view_setting_minimum_timer_interval_get):
3275         (ewk_view_navigation_policy_decision):
3276         (ewk_view_page_rect_get):
3277         (ewk_view_setting_enable_xss_auditor_get):
3278         * ewk/ewk_view.h:
3279
3280 2012-07-27  Kihong Kwon  <kihong.kwon@samsung.com>
3281
3282         [EFL] Change prototype of run_open_panel
3283         https://bugs.webkit.org/show_bug.cgi?id=91956
3284
3285         Reviewed by Kentaro Hara.
3286
3287         In order to support all of the file chooser attributes,
3288         change the types of parameters in run_open_panel method.
3289         i.e., change "Eina_Bool allows_multiple_files, Eina_List *accept_types"
3290         to "Ewk_File_Chooser *file_chooser"
3291         In addition, Efl can support the capture attribute for HTML media capture.
3292
3293         * WebCoreSupport/ChromeClientEfl.cpp:
3294         (WebCore::ChromeClientEfl::runOpenPanel):
3295         * ewk/ewk_view.cpp:
3296         (ewk_view_run_open_panel):
3297         * ewk/ewk_view.h:
3298         * ewk/ewk_view_private.h:
3299
3300 2012-07-26  Seokju Kwon  <seokju.kwon@samsung.com>
3301
3302         [EFL] Highlight the element under mouse on web inspector
3303         https://bugs.webkit.org/show_bug.cgi?id=91592
3304
3305         Reviewed by Kentaro Hara.
3306
3307         Implement highlighting the nodes when using the web inspector.
3308
3309         * WebCoreSupport/InspectorClientEfl.cpp:
3310         (WebCore::InspectorClientEfl::highlight):
3311         (WebCore::InspectorClientEfl::hideHighlight):
3312         (WebCore::InspectorClientEfl::invalidateView):
3313         (WebCore):
3314         * WebCoreSupport/InspectorClientEfl.h:
3315         (InspectorClientEfl):
3316         * ewk/ewk_paint_context.cpp:
3317         (ewk_paint_context_paint_contents):
3318
3319 2012-07-26  Christophe Dumez  <christophe.dumez@intel.com>
3320
3321         [EFL][WK2] Implement Network Information provider
3322         https://bugs.webkit.org/show_bug.cgi?id=92343
3323
3324         Reviewed by Kenneth Rohde Christiansen.
3325
3326         Make NetworkInfoClientEfl use NetworkInfoProviderEfl
3327         from WebCore to avoid code duplication with WebKit2.
3328
3329         * WebCoreSupport/NetworkInfoClientEfl.cpp:
3330         (WebCore::NetworkInfoClientEfl::startUpdating):
3331         (WebCore::NetworkInfoClientEfl::stopUpdating):
3332         (WebCore::NetworkInfoClientEfl::bandwidth):
3333         (WebCore::NetworkInfoClientEfl::metered):
3334         (WebCore):
3335         * WebCoreSupport/NetworkInfoClientEfl.h:
3336         (WebCore):
3337         (NetworkInfoClientEfl):
3338
3339 2012-07-26  Zoltan Nyul  <zoltan.nyul@intel.com>
3340
3341         [EFL] EFL port should use XDG paths
3342         https://bugs.webkit.org/show_bug.cgi?id=91719
3343
3344         Reviewed by Kenneth Rohde Christiansen.
3345
3346         Using xdg paths instead of home/.webkit directory for application
3347         cache, web-database and local-storage.
3348
3349         * ewk/ewk_main.cpp:
3350         (_ewk_init_body):
3351
3352 2012-07-26  Kaustubh Atrawalkar  <kaustubh@motorola.com>
3353
3354         [DRT] LTC:: pageNumberForElementById() could be moved to Internals
3355         https://bugs.webkit.org/show_bug.cgi?id=92091
3356
3357         Reviewed by Adam Barth.
3358
3359         Move the pageNumberForElementById from LayoutTestCotroller to Internals and
3360         remove the old platform specific implementations as it exclusively tests WebCore functionality.
3361
3362         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3363
3364 2012-07-25  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3365
3366         [EFL] Use eina_stringshare_add instead of strdup.
3367         https://bugs.webkit.org/show_bug.cgi?id=92072
3368
3369         Reviewed by Kentaro Hara.
3370
3371         Eina of EFL libraries supports a string functionality that replaces strdup. So, EFL port needs
3372         to replace strdup with eina_stringshare_add function.
3373
3374         In addition, some API descriptions need to be modified according to ewk APIs's parameter and
3375         return type change.
3376
3377         * WebCoreSupport/ChromeClientEfl.cpp:
3378         (WebCore::ChromeClientEfl::runJavaScriptPrompt):
3379         * ewk/ewk_cookies.cpp:
3380         (ewk_cookies_get_all):
3381         (ewk_cookies_cookie_free):
3382         * ewk/ewk_cookies.h:
3383         * ewk/ewk_frame.cpp:
3384         (ewk_frame_script_execute):
3385         (ewk_frame_selection_get):
3386         (ewk_frame_resources_location_get):
3387         (ewk_frame_plain_text_get):
3388         * ewk/ewk_frame.h:
3389         * ewk/ewk_intent.cpp:
3390         (ewk_intent_suggestions_get):
3391         (ewk_intent_extra_get):
3392         (ewk_intent_extra_names_get):
3393         * ewk/ewk_intent.h:
3394         * ewk/ewk_js.cpp:
3395         (ewk_js_variant_to_npvariant):
3396         (ewk_js_object_new):
3397         * ewk/ewk_view.cpp:
3398         (_ewk_view_smart_run_javascript_prompt):
3399         (ewk_view_selection_get):
3400         (ewk_view_run_javascript_prompt):
3401         (ewk_view_run_open_panel):
3402         * ewk/ewk_view.h:
3403         * ewk/ewk_view_private.h:
3404
3405 2012-07-25  Kihong Kwon  <kihong.kwon@samsung.com>
3406
3407         [EFL] Add File Chooser API
3408         https://bugs.webkit.org/show_bug.cgi?id=91957
3409
3410         Reviewed by Hajime Morita.
3411
3412         Add APIs for file chooser. These APIs allow an application(like a browser) queries informations
3413         about multiple files allowed, directory upload allowed, accept mimetypes list,
3414         accept file extentions list, selected files list and capture to support HTML media capture.
3415
3416         * ewk/EWebKit.h:
3417         * ewk/ewk_file_chooser.cpp: Added.
3418         (_Ewk_File_Chooser):
3419         (ewk_file_chooser_allows_multiple_files_get):
3420         (ewk_file_chooser_allows_directory_upload_get):
3421         (ewk_file_chooser_accept_mimetypes_get):
3422         (ewk_file_chooser_accept_file_extentions_get):
3423         (ewk_file_chooser_selected_files_get):
3424         (ewk_file_chooser_capture_get):
3425         (ewk_file_chooser_new):
3426         (ewk_file_chooser_free):
3427         * ewk/ewk_file_chooser.h: Added.
3428         * ewk/ewk_file_chooser_private.h: Added.
3429         (WebCore):
3430
3431 2012-07-23  Pierre Rossi  <pierre.rossi@gmail.com>
3432
3433         Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
3434         https://bugs.webkit.org/show_bug.cgi?id=91006
3435
3436         Reviewed by Ryosuke Niwa.
3437
3438         Removed numTouchEventHandlersChanged stub.
3439
3440         * WebCoreSupport/ChromeClientEfl.h:
3441
3442 2012-07-22  Kent Tamura  <tkent@chromium.org>
3443
3444         Rename ENABLE_METER_TAG and ENABLE_PROGRESS_TAG to ENABLE_METER_ELEMENT and ENABLE_PROGRESS_ELEMENT respectively
3445         https://bugs.webkit.org/show_bug.cgi?id=91941
3446
3447         Reviewed by Kentaro Hara.
3448
3449         A flag name for an elmement should be ENABLE_*_ELEMENT.
3450
3451         * DefaultTheme/default.edc:
3452
3453 2012-07-20  Kihong Kwon  <kihong.kwon@samsung.com>
3454
3455         [EFL] Remove unused headers from ewk_security_origin
3456         https://bugs.webkit.org/show_bug.cgi?id=91914
3457
3458         Reviewed by Noam Rosenthal.
3459
3460         There are some unused header in the ewk_security_origin.h/cpp
3461         We need to remove them.
3462
3463         * ewk/ewk_security_origin.cpp:
3464         * ewk/ewk_security_origin.h:
3465
3466 2012-07-20  Christophe Dumez  <christophe.dumez@intel.com>
3467
3468         [EFL] Proxy configuration should honor the no_proxy environment variable
3469         https://bugs.webkit.org/show_bug.cgi?id=91747
3470
3471         Reviewed by Kenneth Rohde Christiansen.
3472
3473         Use the new custom proxy resolver from WebCore in
3474         WebKit1-EFL's ewk_network_proxy_uri_set() / get(),
3475         instead of the less flexible SOUP_SESSION_PROXY_URI
3476         SoupSession property.
3477
3478         * ewk/ewk_network.cpp:
3479         (ewk_network_proxy_uri_set):
3480         (ewk_network_proxy_uri_get):
3481
3482 2012-07-20  Thiago Marcos P. Santos  <thiago.santos@intel.com>
3483
3484         [EFL] Fix build when protocol handler and custom scheme is disabled
3485         https://bugs.webkit.org/show_bug.cgi?id=91840
3486
3487         Reviewed by Kenneth Rohde Christiansen.
3488
3489         Fixed namespace closing bracket positioning.
3490
3491         * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp:
3492         (WebCore):
3493
3494 2012-07-20  Kihong Kwon  <kihong.kwon@samsung.com>
3495
3496         [EFL] Check parameters of ewk APIs in ewk_security_origin
3497         https://bugs.webkit.org/show_bug.cgi?id=91833
3498
3499         Reviewed by Kentaro Hara.
3500
3501         For preventing crash, check parameters of ewk APIs in the ewk_security_origin.cpp.
3502
3503         * ewk/ewk_security_origin.cpp:
3504         (ewk_security_origin_port_get):
3505         (ewk_security_origin_web_database_usage_get):
3506         (ewk_security_origin_web_database_quota_get):
3507         (ewk_security_origin_web_database_quota_set):
3508         (ewk_security_origin_application_cache_quota_set):
3509         (ewk_security_origin_application_cache_clear):
3510         (ewk_security_origin_web_database_get_all):
3511         (ewk_security_origin_free):
3512         * ewk/ewk_security_origin.h:
3513
3514 2012-07-19  Kihong Kwon  <kihong.kwon@samsung.com>
3515
3516         [EFL] Enable interactive form validation
3517         https://bugs.webkit.org/show_bug.cgi?id=91711
3518
3519         Reviewed by Ryosuke Niwa.
3520
3521         Enable interactive form validation on the Efl.
3522         This makes we can validate data at form elements.
3523         In addition, it is already enabled in the DRT.
3524
3525         * ewk/ewk_view.cpp:
3526         (_ewk_view_priv_new):
3527
3528 2012-07-18  Christophe Dumez  <christophe.dumez@intel.com>
3529
3530         [EFL] Add central error management to EFL port
3531         https://bugs.webkit.org/show_bug.cgi?id=91598
3532
3533         Reviewed by Kenneth Rohde Christiansen.
3534
3535         Make use of ErrorsEfl header from WebCore in
3536         EFL's FrameLoaderClient now that we have
3537         a central place for errors.
3538
3539         * WebCoreSupport/FrameLoaderClientEfl.cpp:
3540         (WebCore::FrameLoaderClientEfl::cancelledError):
3541         (WebCore::FrameLoaderClientEfl::blockedError):
3542         (WebCore::FrameLoaderClientEfl::cannotShowURLError):
3543         (WebCore::FrameLoaderClientEfl::interruptedForPolicyChangeError):
3544         (WebCore::FrameLoaderClientEfl::cannotShowMIMETypeError):
3545         (WebCore::FrameLoaderClientEfl::fileDoesNotExistError):
3546         (WebCore::FrameLoaderClientEfl::pluginWillHandleLoadError):
3547         (WebCore::FrameLoaderClientEfl::shouldFallBack):
3548
3549 2012-07-18  Seokju Kwon  <seokju.kwon@samsung.com>
3550
3551         [EFL][DRT] Add support for Web Inspector in WebKit-EFL DRT
3552         https://bugs.webkit.org/show_bug.cgi?id=87935
3553
3554         Reviewed by Andreas Kling.
3555
3556         Add implementation of DumpRenderTreeSupportEfl::evaluateInWebInspector().
3557         Some scripts for test should be evaluated in frontend.
3558
3559         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3560         (DumpRenderTreeSupportEfl::evaluateInWebInspector):
3561         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
3562
3563 2012-07-17  Christophe Dumez  <christophe.dumez@intel.com>
3564
3565         [EFL] Replace 0 by NULL in public headers documentation
3566         https://bugs.webkit.org/show_bug.cgi?id=91470
3567
3568         Reviewed by Dirk Pranke.
3569
3570         Use NULL instead of 0 for pointer types in public
3571         C headers.
3572
3573         * ewk/ewk_contextmenu.h:
3574         * ewk/ewk_cookies.h:
3575         * ewk/ewk_frame.h:
3576         * ewk/ewk_intent.h:
3577         * ewk/ewk_intent_request.h:
3578         * ewk/ewk_network.h:
3579         * ewk/ewk_security_origin.h:
3580         * ewk/ewk_settings.h:
3581         * ewk/ewk_view.h:
3582         * ewk/ewk_window_features.h:
3583
3584 2012-07-17  Vivek Galatage  <vivekgalatage@gmail.com>
3585
3586         Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
3587         https://bugs.webkit.org/show_bug.cgi?id=91196
3588
3589         Reviewed by Pavel Feldman.
3590
3591         Refactoring InspectorClients. InspectorClient::openInspectorFrontend
3592         now returning the InspectorFrontendChannel.
3593
3594         * WebCoreSupport/InspectorClientEfl.cpp:
3595         (WebCore::InspectorClientEfl::openInspectorFrontend):
3596         * WebCoreSupport/InspectorClientEfl.h:
3597         (InspectorClientEfl):
3598
3599 2012-07-17  Ryuan Choi  <ryuan.choi@samsung.com>
3600
3601         [EFL] Move codes related to theme setting from Widget to RenderTheme
3602         https://bugs.webkit.org/show_bug.cgi?id=89842
3603
3604         Reviewed by Kenneth Rohde Christiansen.
3605
3606         * ewk/ewk_frame.cpp:
3607         (ewk_frame_view_create_for_view): Removed codes which set theme in FrameView.
3608         * ewk/ewk_view.cpp:
3609         (ewk_view_theme_set): Called RenderThemeEfl::setThemePath instead of setting theme in FrameView.
3610
3611 2012-07-16  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3612
3613         Add RegisterProtocolHandlerClient to the Modules/protocolhandler
3614         https://bugs.webkit.org/show_bug.cgi?id=90940
3615
3616         Reviewed by Hajime Morita.
3617
3618         As a step to let protocol handler be moved to the modules, RegisterProtocolHandlerClient needs
3619         to be added to the Modules/protocolhandler. Because ChromeClient has some virtual functions for
3620         protocol handlers, virtual functions should be moved to RegisterProtocolHandlerClient
3621
3622         In order to support this, RegisterProtocolHandlerClientEfl class is added and ewk_view registers
3623         RegisterProtocolHandlerClientEfl. In addition, existing concrete functions in ChromeClientEfl are moved
3624         to RegisterProtocolHandlerClientEfl.
3625
3626         * WebCoreSupport/ChromeClientEfl.cpp:
3627         (WebCore):
3628         * WebCoreSupport/ChromeClientEfl.h:
3629         * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp: Added.
3630         (WebCore):
3631         (WebCore::customHandlerDataCreate):
3632         (WebCore::customHandlerDataDelete):
3633         (WebCore::RegisterProtocolHandlerClientEfl::RegisterProtocolHandlerClientEfl):
3634         (WebCore::RegisterProtocolHandlerClientEfl::registerProtocolHandler):
3635         (WebCore::RegisterProtocolHandlerClientEfl::isProtocolHandlerRegistered):
3636         (WebCore::RegisterProtocolHandlerClientEfl::unregisterProtocolHandler):
3637         * WebCoreSupport/RegisterProtocolHandlerClientEfl.h: Added.
3638         (RegisterProtocolHandlerClientEfl):
3639         (WebCore::RegisterProtocolHandlerClientEfl::~RegisterProtocolHandlerClientEfl):
3640         * ewk/ewk_view.cpp:
3641         (_ewk_view_priv_new):
3642
3643 2012-07-16  Kihong Kwon  <kihong.kwon@samsung.com>
3644
3645         Remove setController from BatteryClient
3646         https://bugs.webkit.org/show_bug.cgi?id=90944
3647
3648         Reviewed by Adam Barth.
3649
3650         BatteryClient doesn't need to keep m_controller,
3651         because BatteryController can be accessed using BatteryController::from().
3652         Remove m_controller and Add ewk view evas object to BatteryClientEfl.
3653         And change all m_controller to BatteryController::from.
3654
3655         * WebCoreSupport/BatteryClientEfl.cpp:
3656         (BatteryClientEfl::BatteryClientEfl):
3657         (BatteryClientEfl::didChangeBatteryStatus):
3658         * WebCoreSupport/BatteryClientEfl.h:
3659         (BatteryClientEfl):
3660         * ewk/ewk_view.cpp:
3661         (_ewk_view_priv_new):
3662
3663 2012-07-15  Kihong Kwon  <kihong.kwon@samsung.com>
3664
3665         [EFL] Add a API for getting security origin string
3666         https://bugs.webkit.org/show_bug.cgi?id=90936
3667
3668         Reviewed by Ryosuke Niwa.
3669
3670         Support to change from Ewk_Security_Origin to string on the API level.
3671         Add ewk_security_origin_string_get for getting security origin string.
3672
3673         * ewk/ewk_security_origin.cpp:
3674         (_Ewk_Security_Origin):
3675         (ewk_security_origin_string_get):
3676         (ewk_security_origin_free):
3677         (ewk_security_origin_new):
3678         * ewk/ewk_security_origin.h:
3679
3680 2012-07-15  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3681
3682         [EFL] Move files guarded by #ifdef to existing file list.
3683         https://bugs.webkit.org/show_bug.cgi?id=91336
3684
3685         Reviewed by Ryosuke Niwa.
3686
3687         Some EFL files are already guared by #ifdef. So, cmake files doesn't need to guard
3688         them again. In addition, some files are missing #ifdef guard its header files. 
3689
3690         * WebCoreSupport/DeviceMotionClientEfl.h:
3691         * WebCoreSupport/InspectorClientEfl.h:
3692         * WebCoreSupport/NetworkInfoClientEfl.h:
3693         * WebCoreSupport/VibrationClientEfl.h:
3694
3695 2012-07-13  Kihong Kwon  <kihong.kwon@samsung.com>
3696
3697         [EFL] Add const to the parameter of getters in ewk_security_origin
3698         https://bugs.webkit.org/show_bug.cgi?id=90954
3699
3700         Reviewed by Kentaro Hara.
3701
3702         Move initialization of strings for protocol and host to the ewk_security_origin_new method,
3703         which allows to add const qualifier for ewk_security_origin_protocol_get and ewk_security_origin_host_get.
3704         In addition, add null checks to the getters.
3705
3706         * ewk/ewk_security_origin.cpp:
3707         (ewk_security_origin_protocol_get):
3708         (ewk_security_origin_host_get):
3709         (ewk_security_origin_new):
3710         * ewk/ewk_security_origin.h:
3711
3712 2012-07-13  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3713
3714         [EFL] Add *explicit* keyword to constructor which has a parameter
3715         https://bugs.webkit.org/show_bug.cgi?id=91207
3716
3717         Reviewed by Zoltan Herczeg.
3718
3719         Add *explicit* keyword to contructor which has a parameter in order to avoid implicit type conversion.
3720
3721         * WebCoreSupport/EditorClientEfl.h:
3722         (EditorClientEfl):
3723         * WebCoreSupport/InspectorClientEfl.h:
3724         (InspectorClientEfl):
3725         * WebCoreSupport/PageClientEfl.h:
3726         (PageClientEfl):
3727         * WebCoreSupport/VibrationClientEfl.h:
3728         (VibrationClientEfl):
3729
3730 2012-07-10  Adam Barth  <abarth@webkit.org>
3731
3732         LayoutTestController.dumpConfigurationForViewport should move to Internals
3733         https://bugs.webkit.org/show_bug.cgi?id=45652
3734
3735         Reviewed by Eric Seidel.
3736
3737         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3738         * WebCoreSupport/DumpRenderTreeSupportEfl.h:
3739
3740 2012-07-09  Christophe Dumez  <christophe.dumez@intel.com>
3741
3742         [EFL] Battery status code needs refactoring to be reused in WebKit2
3743         https://bugs.webkit.org/show_bug.cgi?id=90760
3744
3745         Reviewed by Hajime Morita.
3746
3747         Add BatteryClientEfl to WebKit, which uses BatteryProviderEfl from
3748         WebCore internally.
3749
3750         * WebCoreSupport/BatteryClientEfl.cpp: Added.
3751         (BatteryClientEfl::BatteryClientEfl):
3752         (BatteryClientEfl::setController):
3753         (BatteryClientEfl::startUpdating):
3754         (BatteryClientEfl::stopUpdating):
3755         (BatteryClientEfl::batteryControllerDestroyed):
3756         (BatteryClientEfl::didChangeBatteryStatus):
3757         * WebCoreSupport/BatteryClientEfl.h: Renamed from Source/WebCore/platform/efl/BatteryClientEfl.h.
3758         (WebCore):
3759         (BatteryClientEfl):
3760         (BatteryClientEfl::~BatteryClientEfl):
3761         * ewk/ewk_view.cpp:
3762         (_ewk_view_priv_new):
3763
3764 2012-07-09  Adam Klein  <adamk@chromium.org>
3765
3766         Rename WebCore::WebKitMutationObserver to WebCore::MutationObserver
3767         https://bugs.webkit.org/show_bug.cgi?id=90810
3768
3769         Reviewed by Ojan Vafai.
3770
3771         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3772         (DumpRenderTreeSupportEfl::deliverAllMutationsIfNecessary):
3773
3774 2012-07-09  Krzysztof Czech  <k.czech@samsung.com>
3775
3776         [EFL] Simplify runTest function by defining default arguments.
3777         https://bugs.webkit.org/show_bug.cgi?id=90525
3778
3779         Reviewed by Chang Shu.
3780
3781         Default arguments will simplify macro RUN_TEST.
3782         Function will only have one mandatory argument, callback test function.
3783         Added static modifiers to callback functions.
3784
3785         * tests/UnitTestUtils/EWKTestBase.h:
3786         (EWKTestBase):
3787         * tests/test_ewk_view.cpp:
3788         (ewkViewEditableGetCb):
3789         (TEST):
3790         (ewkViewUriGetCb):
3791
3792 2012-07-08  Christophe Dumez  <christophe.dumez@intel.com>
3793
3794         [EFL] REGRESSION (r122035): fullscreen/exit-full-screen-iframe.html is crashing
3795         https://bugs.webkit.org/show_bug.cgi?id=90735
3796
3797         Reviewed by Antonio Gomes.
3798
3799         Keep a reference to the Element passed to enterFullScreenForElement() so
3800         that we can reuse it later in exitFullScreenForElement(). This is needed
3801         because the Element passed to exitFullScreenForElement() may be null.
3802         This fixes the crash for the fullscreen/exit-full-screen-iframe.html
3803         test introduced in r122035.
3804
3805         * WebCoreSupport/ChromeClientEfl.cpp:
3806         (WebCore::ChromeClientEfl::enterFullScreenForElement):
3807         (WebCore::ChromeClientEfl::exitFullScreenForElement):
3808         * WebCoreSupport/ChromeClientEfl.h:
3809         (ChromeClientEfl):
3810
3811 2012-07-07  Jinwoo Song  <jinwoo7.song@samsung.com>
3812
3813         [EFL] Fix build break when Accelerated Compositing is on.
3814         https://bugs.webkit.org/show_bug.cgi?id=90718
3815
3816         Unreviewed build fix.
3817
3818         ewk_view_accelerated_compositing_XXX APIs are in ewk_view_private.h
3819
3820         * WebCoreSupport/PageClientEfl.cpp:
3821         (PageClientEfl::createEvasObjectForAcceleratedCompositing):
3822         (PageClientEfl::acceleratedCompositingContext):
3823         * WebCoreSupport/PageClientEfl.h:
3824         (PageClientEfl):
3825
3826 2012-07-06  Seokju Kwon  <seokju.kwon@samsung.com>
3827
3828         [EFL] Add Web Inspector to WebKit-EFL
3829         https://bugs.webkit.org/show_bug.cgi?id=83865
3830
3831         Reviewed by Pavel Feldman.
3832
3833         EFL port implementation for Web Inspector.
3834         Implementation of InspectorClientEfl and InspectorFrontendClientEfl
3835         for using the Web Inspector in WebKit-EFL with new EWK APIs.
3836
3837         * WebCoreSupport/InspectorClientEfl.cpp:
3838         (WebCore::notifyWebInspectorDestroy):
3839         (WebCore):
3840         (InspectorFrontendSettingsEfl):
3841         (WebCore::InspectorFrontendSettingsEfl::getProperty):
3842         (WebCore::InspectorFrontendSettingsEfl::setProperty):
3843         (WebCore::InspectorClientEfl::InspectorClientEfl):
3844         (WebCore::InspectorClientEfl::~InspectorClientEfl):
3845         (WebCore::InspectorClientEfl::inspectorDestroyed):
3846         (WebCore::InspectorClientEfl::openInspectorFrontend):
3847         (WebCore::InspectorClientEfl::closeInspectorFrontend):
3848         (WebCore::InspectorClientEfl::bringFrontendToFront):
3849         (WebCore::InspectorClientEfl::sendMessageToFrontend):
3850         (WebCore::InspectorClientEfl::releaseFrontendPage):
3851         (WebCore::InspectorClientEfl::inspectorFilesPath):
3852         (WebCore::InspectorFrontendClientEfl::InspectorFrontendClientEfl):
3853         (WebCore::InspectorFrontendClientEfl::~InspectorFrontendClientEfl):
3854         (WebCore::InspectorFrontendClientEfl::localizedStringsURL):
3855         (WebCore::InspectorFrontendClientEfl::hiddenPanels):
3856         (WebCore::InspectorFrontendClientEfl::bringToFront):
3857         (WebCore::InspectorFrontendClientEfl::closeWindow):
3858         (WebCore::InspectorFrontendClientEfl::inspectedURLChanged):
3859         (WebCore::InspectorFrontendClientEfl::attachWindow):
3860         (WebCore::InspectorFrontendClientEfl::detachWindow):
3861         (WebCore::InspectorFrontendClientEfl::setAttachedWindowHeight):
3862         (WebCore::InspectorFrontendClientEfl::destroyInspectorWindow):
3863         * WebCoreSupport/InspectorClientEfl.h:
3864         (WebCore):
3865         (InspectorClientEfl):
3866         (InspectorFrontendClientEfl):
3867         (WebCore::InspectorFrontendClientEfl::disconnectInspectorClient):
3868         * ewk/ewk_view.cpp:
3869         (_Ewk_View_Private_Data):
3870         (_ewk_view_priv_new):
3871         (ewk_view_web_inspector_show):
3872         (ewk_view_web_inspector_close):
3873         (ewk_view_web_inspector_view_get):
3874         (ewk_view_web_inspector_view_set):
3875         * ewk/ewk_view.h:
3876
3877 2012-07-05  Kihong Kwon  <kihong.kwon@samsung.com>
3878
3879         [EFL] Change class name from NotificationClientEfl to NotificationPresenterClientEfl.
3880         https://bugs.webkit.org/show_bug.cgi?id=90542
3881
3882         Reviewed by Kenneth Rohde Christiansen.
3883
3884         Change class name from NotificationClientEfl to NotificationPresenterClientEfl
3885         to be in line with other ports.(qt, chromium, blackberry)
3886
3887         * WebCoreSupport/ChromeClientEfl.cpp:
3888         * WebCoreSupport/NotificationPresenterClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.cpp.
3889         (WebCore):
3890         (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
3891         (WebCore::NotificationPresenterClientEfl::~NotificationPresenterClientEfl):
3892         (WebCore::NotificationPresenterClientEfl::show):
3893         (WebCore::NotificationPresenterClientEfl::cancel):
3894         (WebCore::NotificationPresenterClientEfl::notificationObjectDestroyed):
3895         (WebCore::NotificationPresenterClientEfl::notificationControllerDestroyed):
3896         (WebCore::NotificationPresenterClientEfl::requestPermission):
3897         (WebCore::NotificationPresenterClientEfl::checkPermission):
3898         (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
3899         * WebCoreSupport/NotificationPresenterClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.h.
3900         (WebCore):
3901         (NotificationPresenterClientEfl):
3902
3903 2012-07-02  Benjamin Poulain  <bpoulain@apple.com>
3904
3905         Do not do any logging initialization when logging is disabled
3906         https://bugs.webkit.org/show_bug.cgi?id=90228
3907
3908         Reviewed by Simon Fraser.
3909
3910         * ewk/ewk_main.cpp:
3911         (_ewk_init_body):
3912
3913 2012-07-02  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3914
3915         [EFL] Rename NotificationPresenterEfl with NotificationClientEfl
3916         https://bugs.webkit.org/show_bug.cgi?id=90370
3917
3918         Reviewed by Csaba Osztrogonác.
3919
3920         Bug 80488 renamed NotificationPresenter with NotificationClient. So, EFL port needs to adjust it as well.
3921
3922         * WebCoreSupport/ChromeClientEfl.cpp:
3923         * WebCoreSupport/NotificationClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp.
3924         (WebCore):
3925         (WebCore::NotificationClientEfl::NotificationClientEfl):
3926         (WebCore::NotificationClientEfl::~NotificationClientEfl):
3927         (WebCore::NotificationClientEfl::show):
3928         (WebCore::NotificationClientEfl::cancel):
3929         (WebCore::NotificationClientEfl::notificationObjectDestroyed):
3930         (WebCore::NotificationClientEfl::notificationControllerDestroyed):
3931         (WebCore::NotificationClientEfl::requestPermission):
3932         (WebCore::NotificationClientEfl::checkPermission):
3933         (WebCore::NotificationClientEfl::cancelRequestsForPermission):
3934         * WebCoreSupport/NotificationClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h.
3935         (WebCore):
3936         (NotificationClientEfl):
3937
3938 2012-06-29  Krzysztof Czech  <k.czech@samsung.com>, Tomasz Morawski <t.morawski@samsung.com>
3939
3940         [EFL] Implementation of testing framework and unit tests for WebKit-EFL port.
3941         https://bugs.webkit.org/show_bug.cgi?id=68509
3942
3943         Reviewed by Chang Shu.
3944
3945         Testing framework is based on gtest library. Gtest library is part of the WebKit project. Framework is devided into base part and view part.
3946         Base part takes care of efl initialization, defines test macros and prepares test to run. View part is a context of each test.
3947
3948         * tests/UnitTestUtils/EWKTestBase.cpp: Added.
3949         (EWKUnitTests):
3950         (EWKUnitTests::EWKTestBase::init):
3951         (EWKUnitTests::EWKTestBase::shutdown):
3952         (EWKUnitTests::EWKTestBase::shutdownAll):
3953         (EWKUnitTests::EWKTestBase::startTest):
3954         (EWKUnitTests::EWKTestBase::endTest):
3955         (EWKUnitTests::EWKTestBase::createTest):
3956         (EWKUnitTests::EWKTestBase::runTest):
3957         * tests/UnitTestUtils/EWKTestBase.h: Added.
3958         (EWKUnitTests):
3959         (EWKTestBase):
3960         * tests/UnitTestUtils/EWKTestConfig.h: Added.
3961         (Config):
3962         * tests/UnitTestUtils/EWKTestView.cpp: Added.
3963         (EWKUnitTests):
3964         (EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas):
3965         (EWKUnitTests::EWKTestEcoreEvas::evas):
3966         (EWKUnitTests::EWKTestEcoreEvas::show):
3967         (EWKUnitTests::EWKTestView::EWKTestView):
3968         (EWKUnitTests::EWKTestView::init):
3969         (EWKUnitTests::EWKTestView::show):
3970         (EWKUnitTests::EWKTestView::mainFrame):
3971         (EWKUnitTests::EWKTestView::evas):
3972         (EWKUnitTests::EWKTestView::bindEvents):
3973         * tests/UnitTestUtils/EWKTestView.h: Added.
3974         (EWKUnitTests):
3975         (EWKTestEcoreEvas):
3976         (EWKTestView):
3977         (EWKUnitTests::EWKTestView::webView):
3978         * tests/resources/default_test_page.html: Added.
3979         * tests/test_ewk_view.cpp: Added.
3980         (ewkViewEditableGetCb):
3981         (TEST):
3982         (ewkViewUriGetCb):
3983         * tests/test_runner.cpp: Added.
3984         (parseCustomArguments):
3985         (main):
3986
3987 2012-06-29  Konrad Piascik  <kpiascik@rim.com>
3988
3989         Don't hardcode target dpi of 160 (it should be 96 on desktop)
3990         https://bugs.webkit.org/show_bug.cgi?id=88114
3991
3992         Reviewed by Adam Barth.
3993
3994         Updated the call to computeViewportAttributes.
3995
3996         * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
3997         (DumpRenderTreeSupportEfl::dumpConfigurationForViewport):
3998         * ewk/ewk_view.cpp:
3999         (_ewk_view_viewport_attributes_compute):
4000
4001 2012-06-27  Sheriff Bot  <webkit.review.bot@gmail.com>
4002
4003         Unreviewed, rolling out r121398.
4004         http://trac.webkit.org/changeset/121398
4005         https://bugs.webkit.org/show_bug.cgi?id=90136
4006
4007         broke efl build (Requested by ryuan on #webkit).
4008
4009         * tests/UnitTestUtils/EWKTestBase.cpp: Removed.
4010         * tests/UnitTestUtils/EWKTestBase.h: Removed.
4011         * tests/UnitTestUtils/EWKTestConfig.h: Removed.
4012         * tests/UnitTestUtils/EWKTestView.cpp: Removed.
4013         * tests/UnitTestUtils/EWKTestView.h: Removed.
4014         * tests/resources/default_test_page.html: Removed.
4015         * tests/test_ewk_view.cpp: Removed.
4016         * tests/test_runner.cpp: Removed.
4017
4018 2012-06-27  Krzysztof Czech  <k.czech@samsung.com>
4019
4020         [EFL] Implementation of testing framework and unit tests for WebKit-EFL port.
4021         https://bugs.webkit.org/show_bug.cgi?id=68509
4022
4023         Reviewed by Chang Shu.
4024
4025         Testing framework is based on gtest library. Gtest library is part of the WebKit project. Framework is devided into base part and view part.
4026         Base part takes care of efl initialization, defines test macros and prepares test to run. View part is a context of each test.
4027
4028         * tests/UnitTestUtils/EWKTestBase.cpp: Added.
4029         (EWKUnitTests):
4030         (EWKUnitTests::EWKTestBase::init):
4031         (EWKUnitTests::EWKTestBase::shutdown):
4032         (EWKUnitTests::EWKTestBase::shutdownAll):
4033         (EWKUnitTests::EWKTestBase::startTest):
4034         (EWKUnitTests::EWKTestBase::endTest):
4035         (EWKUnitTests::EWKTestBase::createTest):
4036         (EWKUnitTests::EWKTestBase::runTest):
4037         * tests/UnitTestUtils/EWKTestBase.h: Added.
4038         (EWKUnitTests):
4039         (EWKTestBase):
4040         * tests/UnitTestUtils/EWKTestConfig.h: Added.
4041         (Config):
4042         * tests/UnitTestUtils/EWKTestView.cpp: Added.
4043         (EWKUnitTests):
4044         (EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas):
4045         (EWKUnitTests::EWKTestEcoreEvas::evas):
4046         (EWKUnitTests::EWKTestEcoreEvas::show):
4047         (EWKUnitTests::EWKTestView::EWKTestView):
4048         (EWKUnitTests::EWKTestView::init):
4049         (EWKUnitTests::EWKTestView::show):
4050         (EWKUnitTests::EWKTestView::mainFrame):
4051         (EWKUnitTests::EWKTestView::evas):
4052         (EWKUnitTests::EWKTestView::bindEvents):
4053         * tests/UnitTestUtils/EWKTestView.h: Added.
4054         (EWKUnitTests):
4055         (EWKTestEcoreEvas):
4056         (EWKTestView):
4057         (EWKUnitTests::EWKTestView::webView):
4058         * tests/resources/default_test_page.html: Added.
4059         * tests/test_ewk_view.cpp: Added.
4060         (ewkViewEditableGetCb):
4061         (TEST):
4062         (ewkViewUriGetCb):
4063         * tests/test_runner.cpp: Added.
4064         (parseCustomArguments):
4065         (main):
4066
4067 2012-06-25  Mark Hahnenberg  <mhahnenberg@apple.com>
4068
4069         JSLock should be per-JSGlobalData
4070         https://bugs.webkit.org/show_bug.cgi?id=89123
4071
4072         Reviewed by Geoffrey Garen.
4073
4074         Changed all sites that used JSLock to instead use the new JSLockHolder
4075         and pass in the correct JS context that the code is about to interact with that 
4076         needs protection. Also added a couple JSLocks to places that didn't already 
4077         have it that needed it.
4078
4079         * ewk/ewk_frame.cpp:
4080         (ewk_frame_script_execute):
4081         * ewk/ewk_view.cpp:
4082         (ewk_view_js_object_add):
4083
4084 2012-06-26  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
4085
4086         Change return type in bandwidth attribute of network information API
4087         https://bugs.webkit.org/show_bug.cgi?id=89959
4088
4089         Reviewed by Adam Barth.
4090
4091         According to network information API spec, bandwidth attribute should return double type.
4092         But, existing implementation has used *long* and *unsigned int* types.
4093
4094         * WebCoreSupport/NetworkInfoClientEfl.cpp:
4095         (WebCore::NetworkInfoClientEfl::bandwidth):
4096         * WebCoreSupport/NetworkInfoClientEfl.h:
4097         (NetworkInfoClientEfl):
4098
4099 2012-06-25  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
4100
4101         [EFL] Implement Network Information API
4102         https://bugs.webkit.org/show_bug.cgi?id=87067
4103
4104         Reviewed by Kenneth Rohde Christiansen.
4105
4106         Implement NetworkInfoClientEfl.cpp using eeze library. However, this patch only
4107         supports this feature on ethernet interface.
4108
4109         * WebCoreSupport/NetworkInfoClientEfl.cpp:
4110         (WebCore):
4111         (WebCore::NetworkInfoClientEfl::NetworkInfoClientEfl):
4112         (WebCore::NetworkInfoClientEfl::startUpdating):
4113         (WebCore::NetworkInfoClientEfl::stopUpdating):
4114         (WebCore::NetworkInfoClientEfl::bandwidth):
4115         (WebCore::NetworkInfoClientEfl::metered):
4116         * WebCoreSupport/NetworkInfoClientEfl.h:
4117         (NetworkInfoClientEfl):
4118
4119 2012-06-23  Sheriff Bot  <webkit.review.bot@gmail.com>
4120
4121         Unreviewed, rolling out r121058.
4122         http://trac.webkit.org/changeset/121058
4123         https://bugs.webkit.org/show_bug.cgi?id=89809
4124
4125         Patch causes plugins tests to crash in GTK debug builds
4126         (Requested by zdobersek on #webkit).
4127
4128         * ewk/ewk_frame.cpp:
4129         (ewk_frame_script_execute):
4130         * ewk/ewk_view.cpp:
4131         (ewk_view_js_object_add):
4132
4133 2012-06-22  Ryuan Choi  <ryuan.choi@samsung.com>
4134
4135         [EFL][WK2] Support keyboard event
4136         https://bugs.webkit.org/show_bug.cgi?id=89268
4137
4138         Reviewed by Chang Shu.
4139
4140         Extract keyDownCommandsMap and keyPressCommandsMap to share WebKit1/Efl and WebKit2/Efl.
4141
4142         * WebCoreSupport/EditorClientEfl.cpp:
4143         (WebCore::EditorClientEfl::interpretKeyEvent):
4144
4145 2012-06-20  Mark Hahnenberg  <mhahnenberg@apple.com>
4146
4147         JSLock should be per-JSGlobalData
4148         https://bugs.webkit.org/show_bug.cgi?id=89123
4149
4150         Reviewed by Gavin Barraclough.
4151
4152         Changed all sites that used JSLock to instead use the new JSLockHolder
4153         and pass in the correct JS context that the code is about to interact with that 
4154         needs protection.
4155
4156         * ewk/ewk_frame.cpp:
4157         (ewk_frame_script_execute):
4158         * ewk/ewk_view.cpp:
4159         (ewk_view_js_object_add):
4160
4161 2012-06-22  Amy Ousterhout  <aousterh@chromium.org>
4162
4163         Renamed DeviceOrientation to DeviceOrientationData
4164         https://bugs.webkit.org/show_bug.cgi?id=88663
4165
4166         Reviewed by Steve Block.
4167
4168         Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
4169         This change makes DeviceOrientationData consistent with DeviceMotionData.
4170         
4171         * WebCoreSupport/DeviceOrientationClientEfl.h:
4172         (DeviceOrientationClientEfl):
4173
4174 2012-06-19  Sergio Villar Senin  <svillar@igalia.com>
4175
4176         Calling nativeImageForCurrentFrame() causes assertion failure: m_verifier.isSafeToUse()
4177         https://bugs.webkit.org/show_bug.cgi?id=67582
4178
4179         Reviewed by David Levin.
4180
4181         Use synchronousNativeIconForPageURL() to retrieve favicons.
4182
4183         * ewk/ewk_history.cpp:
4184         (ewk_history_item_icon_surface_get):
4185         (ewk_history_item_icon_object_add):
4186         * ewk/ewk_settings.cpp:
4187         (ewk_settings_icon_database_icon_surface_get):
4188         (ewk_settings_icon_database_icon_object_add):
4189
4190 2012-06-19  Christophe Dumez  <christophe.dumez@intel.com>
4191
4192         [EFL] EFL's LayoutTestController does not support setTextDirection
4193         https://bugs.webkit.org/show_bug.cgi?id=87481
4194
4195         Reviewed by Hajime Morita.
4196
4197         Add new Ewk_View method to set the text direction, by calling
4198         Editor::setBaseWritingDirection() internally, as Mac and Chromium
4199         ports do.
4200
4201         * WebCoreSupport/AssertMatchingEnums.cpp:
4202         * ewk/ewk_view.cpp:
4203         (ewk_view_text_direction_set):
4204         * ewk/ewk_view.h:
4205
4206 2012-06-15  Christophe Dumez  <christophe.dumez@intel.com>
4207
4208         [EFL] EFL's LayoutTestController does not support titleTextDirection
4209         https://bugs.webkit.org/show_bug.cgi?id=86475
4210
4211         Reviewed by Hajime Morita.
4212
4213         Emit the "title,changed" signal even if the title direction has
4214         changed but not its text.
4215
4216         * ewk/ewk_frame.cpp:
4217