[GTK] Add initial gestures support
[WebKit-https.git] / Source / WebKit2 / ChangeLog
1 2014-10-20  Carlos Garcia Campos  <cgarcia@igalia.com>
2
3         [GTK] Add initial gestures support
4         https://bugs.webkit.org/show_bug.cgi?id=137812
5
6         Reviewed by Sergio Villar Senin.
7
8         Now that GTK+ has support for gestures, we can use it to handle
9         touch events and allow to scroll, zoom and tap with the fingers.
10
11         * PlatformGTK.cmake: Add new files to compilation.
12         * UIProcess/API/gtk/PageClientImpl.cpp:
13         (WebKit::PageClientImpl::doneWithTouchEvent): When the touch event
14         hasn't been handled by the web process pass it to the
15         GestureController and only fallback to pointer emulation when the
16         GestureController doesn't handle the event.
17         * UIProcess/API/gtk/WebKitWebViewBase.cpp:
18         (webkitWebViewBaseTouchEvent): If the GestureController is
19         currently processing gestures is because the START touch event was
20         not handled by the web process, so pass any successive touch
21         events to the GestureController directly.
22         (webkitWebViewBaseGestureController): Create the GestureController
23         on demand and return a reference.
24         * UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
25         * UIProcess/gtk/GestureController.cpp: Added.
26         (WebKit::GestureController::create): Create a GestureController.
27         (WebKit::GestureController::GestureController): Initialize the
28         Gesture memebers.
29         (WebKit::GestureController::handleEvent): Pass the event to the gestures.
30         (WebKit::GestureController::isProcessingGestures): Whether
31         Gestures are active.
32         (WebKit::GestureController::Gesture::Gesture): Base class for gestures.
33         (WebKit::GestureController::Gesture::isActive): Whether the
34         gesture is active.
35         (WebKit::GestureController::Gesture::handleEvent): Pass the event
36         to the GtkGesture to process it.
37         (WebKit::GestureController::DragGesture::handleDrag): Send a wheel
38         event corresponding to the drag gesture to the web process.
39         (WebKit::GestureController::DragGesture::handleTap): Send move,
40         press and release events corresponding to a tap gesture to the web process.
41         (WebKit::GestureController::DragGesture::begin): Start a drag
42         gesture and schedule a timer to discard tap gesture in case of
43         long press.
44         (WebKit::GestureController::DragGesture::update): If the actual
45         drag hasn't started yet, check the drag threshold to decide
46         whether to start the drag or not. Otherwise call handleDrag() to
47         send the appropriate events to the web process.
48         (WebKit::GestureController::DragGesture::end): If the drag gesture
49         finishes and the drag didn't happen (it wasn't a long press and
50         drag threshold was not reached), call handleTap() to emulate a
51         click event.
52         (WebKit::GestureController::DragGesture::DragGesture): Initialize
53         the GtkGestureDrag.
54         (WebKit::GestureController::ZoomGesture::begin): Save the current
55         page scale factor and the center point of the gesture.
56         (WebKit::GestureController::ZoomGesture::scaleChanged): Schedule a
57         page scale change in an idle for the given scale value.
58         (WebKit::GestureController::ZoomGesture::ZoomGesture): Initialize
59         the GtkGestureZoom.
60         * UIProcess/gtk/GestureController.h: Added.
61
62 2014-10-19  Chris Dumez  <cdumez@apple.com>
63
64         Use is<>() / downcast<>() for all remaining RenderObject subclasses
65         https://bugs.webkit.org/show_bug.cgi?id=137845
66
67         Reviewed by Darin Adler.
68
69         Use is<>() / downcast<>() for all remaining RenderObject subclasses and 
70         clean up the surrounding code.
71
72         * WebProcess/Plugins/PluginView.cpp:
73         (WebKit::PluginView::pluginProcessCrashed):
74         * WebProcess/WebPage/WebPage.cpp:
75         (WebKit::WebPage::createPlugin):
76
77 2014-10-19  Carlos Garcia Campos  <cgarcia@igalia.com>
78
79         [GTK] Move GtkDragAndDropHelper from Platform to WebKit2
80         https://bugs.webkit.org/show_bug.cgi?id=137422
81
82         Reviewed by Martin Robinson.
83
84         WebKitWebViewBase is currently the only user of
85         GtkDragAndDropHelper, that was added to share the code with
86         WebKit1. Move all the drag and drop logic to a new class
87         DragAndDropHandler.
88
89         * PlatformGTK.cmake: Add new files to compilation.
90         * UIProcess/API/gtk/PageClientImpl.cpp:
91         (WebKit::PageClientImpl::startDrag):
92         * UIProcess/API/gtk/WebKitWebViewBase.cpp:
93         (webkitWebViewBaseConstructed):
94         (webkitWebViewBaseDragDataGet):
95         (webkitWebViewBaseDragEnd):
96         (webkitWebViewBaseDragDataReceived):
97         (webkitWebViewBaseDragMotion):
98         (webkitWebViewBaseDragLeave):
99         (webkitWebViewBaseDragDrop):
100         (webkitWebViewBaseDragAndDropHandler):
101         (dragExitedCallback): Deleted.
102         (webkitWebViewBaseStartDrag): Deleted.
103         * UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
104         * UIProcess/gtk/DragAndDropHandler.cpp: Added.
105         (WebKit::DragAndDropHandler::create):
106         (WebKit::DragAndDropHandler::DragAndDropHandler):
107         (WebKit::DragAndDropHandler::DroppingContext::DroppingContext):
108         (WebKit::dragOperationToGdkDragActions):
109         (WebKit::dragOperationToSingleGdkDragAction):
110         (WebKit::gdkDragActionToDragOperation):
111         (WebKit::DragAndDropHandler::startDrag):
112         (WebKit::DragAndDropHandler::fillDragData):
113         (WebKit::DragAndDropHandler::finishDrag):
114         (WebKit::DragAndDropHandler::dataObjectForDropData):
115         (WebKit::DragAndDropHandler::dragEntered):
116         (WebKit::DragAndDropHandler::requestDragData):
117         (WebKit::DragAndDropHandler::dragMotion):
118         (WebKit::DragAndDropHandler::dragLeave):
119         (WebKit::DragAndDropHandler::drop):
120         * UIProcess/gtk/DragAndDropHandler.h: Added.
121
122 2014-10-18  Dan Bernstein  <mitz@apple.com>
123
124         WorkQueue dispatches functions but isn’t a FunctionDispatcher
125         https://bugs.webkit.org/show_bug.cgi?id=137853
126
127         Reviewed by Anders Carlsson.
128
129         * Platform/WorkQueue.h: Changed to inherit from FunctionDispatcher.
130
131 2014-10-18  Michael Catanzaro  <mcatanzaro@igalia.com>
132
133         [GTK] Improve documentation of webkit_web_view_get_tls_info()
134         https://bugs.webkit.org/show_bug.cgi?id=137852
135
136         Reviewed by Martin Robinson.
137
138         * UIProcess/API/gtk/WebKitWebView.cpp:
139
140 2014-10-17  Chris Dumez  <cdumez@apple.com>
141
142         Use is<>() / downcast<>() for RenderBox
143         https://bugs.webkit.org/show_bug.cgi?id=137804
144
145         Reviewed by Andreas Kling.
146
147         Use is<>() / downcast<>() for RenderBox and clean up the surrounding
148         code.
149
150         * WebProcess/WebPage/WebPage.cpp:
151         (WebKit::WebPage::determinePrimarySnapshottedPlugIn):
152         (WebKit::WebPage::plugInIsPrimarySize):
153         * WebProcess/WebPage/ios/WebPageIOS.mm:
154         (WebKit::WebPage::sendTapHighlightForNodeIfNecessary):
155
156 2014-10-16  Simon Fraser  <simon.fraser@apple.com>
157
158         [iOS] Turn off font autosizing for iOS WebKitTestRunner
159         https://bugs.webkit.org/show_bug.cgi?id=137806
160
161         Reviewed by Sam Weinig.
162         
163         Confusingly, WKPreferencesSetTextAutosizingEnabled() does nothing on iOS.
164         Instead, we have to add WKPreferencesSetMinimumZoomFontSize() and set it to 0
165         to disable font autosizing.
166
167         * UIProcess/API/C/WKPreferences.cpp:
168         (WKPreferencesSetMinimumZoomFontSize):
169         (WKPreferencesGetMinimumZoomFontSize):
170         * UIProcess/API/C/WKPreferencesRefPrivate.h:
171
172 2014-10-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
173
174         [EFL] REGRESSION(r173929): It broke the Web Inspector
175         https://bugs.webkit.org/show_bug.cgi?id=137522
176
177         Reviewed by Csaba Osztrogonác.
178
179         r173929 let web inspector use a separate web process. Besides it changed that the inspector is shown
180         as docking mode by default. However EFL port doesn't support to show web inspector as docking window yet.
181         This patch is to show web inspector on EFL new window as before. Docking mode should be implemented by
182         upcoming patch.
183
184         * UIProcess/efl/WebInspectorProxyEfl.cpp:
185         (WebKit::WebInspectorProxy::platformAttach):
186
187 2014-10-17  Carlos Garcia Campos  <cgarcia@igalia.com>
188
189         [GLIB] Add API to GMainLoopSource to schedule sources after a delay in microseconds
190         https://bugs.webkit.org/show_bug.cgi?id=137782
191
192         Reviewed by Sergio Villar Senin.
193
194         * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
195         (WebKit::LayerTreeHostGtk::layerFlushTimerFired): Use microseconds
196         instead of milliseconds.
197
198 2014-10-17  Carlos Garcia Campos  <cgarcia@igalia.com>
199
200         [GTK] Move touch events handling from Platform to WebKit2
201         https://bugs.webkit.org/show_bug.cgi?id=137735
202
203         Reviewed by Sergio Villar Senin.
204
205         GtkTouchContextHelper was only used by WebKitWebViewBase, since
206         it's the only one that can create touch events. The code has been
207         simplified by processing the events in the view, and the native
208         touch events are now created with the native event and touch points.
209
210         * Shared/NativeWebTouchEvent.h:
211         (WebKit::NativeWebTouchEvent::touchContext): Deleted.
212         * Shared/gtk/NativeWebTouchEventGtk.cpp:
213         (WebKit::NativeWebTouchEvent::NativeWebTouchEvent): Pass touch
214         points instead of touch context to WebEventFactory::createWebTouchEvent().
215         * Shared/gtk/WebEventFactory.cpp:
216         (WebKit::WebEventFactory::createWebTouchEvent): Create the
217         WebTouchEvent for the given native event and points.
218         (WebKit::touchPhaseFromEvents): Deleted.
219         (WebKit::appendTouchEvent): Deleted.
220         * Shared/gtk/WebEventFactory.h:
221         * UIProcess/API/gtk/WebKitWebViewBase.cpp:
222         (appendTouchEvent): Helper function to create a
223         WebPlatformTouchPoint for the given native event and add it to the
224         list of touch points.
225         (webkitWebViewBaseGetTouchPointForEvent): Build the touch point
226         list for the event.
227         (webkitWebViewBaseTouchEvent): Process the touch event.
228         (webkitWebViewBaseDragDataReceived): Deleted.
229
230 2014-10-16  Pascal Jacquemart  <p.jacquemart@samsung.com>
231
232         Removing CUSTOM_PROTOCOLS guard
233         https://bugs.webkit.org/show_bug.cgi?id=137741
234
235         Reviewed by Benjamin Poulain.
236
237         * NetworkProcess/NetworkProcess.cpp:
238         (WebKit::NetworkProcess::NetworkProcess):
239         * Shared/Network/CustomProtocols/Cocoa/CustomProtocolManagerCocoa.mm:
240         * Shared/Network/CustomProtocols/CustomProtocolManager.h:
241         * Shared/Network/CustomProtocols/CustomProtocolManager.messages.in:
242         * Shared/Network/CustomProtocols/soup/CustomProtocolManagerImpl.cpp:
243         * Shared/Network/CustomProtocols/soup/CustomProtocolManagerImpl.h:
244         * Shared/Network/CustomProtocols/soup/CustomProtocolManagerSoup.cpp:
245         * Shared/Network/NetworkProcessCreationParameters.cpp:
246         (WebKit::NetworkProcessCreationParameters::encode):
247         (WebKit::NetworkProcessCreationParameters::decode):
248         * Shared/Network/NetworkProcessCreationParameters.h:
249         * Shared/WebProcessCreationParameters.cpp:
250         (WebKit::WebProcessCreationParameters::encode):
251         (WebKit::WebProcessCreationParameters::decode):
252         * Shared/WebProcessCreationParameters.h:
253         * UIProcess/API/C/soup/WKAPICastSoup.h:
254         * UIProcess/API/C/soup/WKSoupCustomProtocolRequestManager.cpp:
255         (WKSoupCustomProtocolRequestManagerGetTypeID):
256         (WKSoupCustomProtocolRequestManagerSetClient):
257         * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
258         * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.messages.in:
259         * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm:
260         * UIProcess/Network/CustomProtocols/soup/CustomProtocolManagerProxySoup.cpp:
261         * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.cpp:
262         * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.h:
263         * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManagerClient.cpp:
264         * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManagerClient.h:
265         * UIProcess/Network/NetworkProcessProxy.cpp:
266         (WebKit::NetworkProcessProxy::NetworkProcessProxy):
267         * UIProcess/Network/NetworkProcessProxy.h:
268         * UIProcess/WebContext.cpp:
269         (WebKit::WebContext::WebContext):
270         (WebKit::WebContext::unregisterGlobalURLSchemeAsHavingCustomProtocolHandlers):
271         (WebKit::WebContext::unregisterSchemeForCustomProtocol):
272         * UIProcess/WebContext.h:
273         * UIProcess/WebProcessProxy.cpp:
274         (WebKit::WebProcessProxy::WebProcessProxy):
275         * UIProcess/WebProcessProxy.h:
276         * UIProcess/mac/WebContextMac.mm:
277         (WebKit::WebContext::platformInitializeWebProcess):
278         (WebKit::WebContext::platformInitializeNetworkProcess):
279         * WebKit2Prefix.h:
280         * WebProcess/WebProcess.cpp:
281         (WebKit::WebProcess::WebProcess):
282         * WebProcess/soup/WebKitSoupRequestGeneric.cpp:
283         (webkitSoupRequestGenericSendAsync):
284         (webkitSoupRequestGenericSendFinish):
285         * WebProcess/soup/WebKitSoupRequestGeneric.h:
286
287 2014-10-16  Simon Fraser  <simon.fraser@apple.com>
288
289         Crash under RemoteLayerTreeHost::getLayer() when closing a tab
290         https://bugs.webkit.org/show_bug.cgi?id=137796
291         rdar://problem/18547565
292
293         Reviewed by Tim Horton.
294         
295         CA can call our animation delegate after the RemoteLayerTreeHost has been
296         destroyed. CAAnimation retains its delegate, so it's safe for us to null out
297         the WKAnimationDelegate's pointer to the RemoteLayerTreeHost when tearing down
298         the RemoteLayerTreeHost.
299
300         * UIProcess/mac/RemoteLayerTreeHost.mm:
301         (WebKit::RemoteLayerTreeHost::~RemoteLayerTreeHost):
302         (WebKit::RemoteLayerTreeHost::animationDidEnd):
303         * WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm:
304         (-[WKAnimationDelegate invalidate]):
305         (-[WKAnimationDelegate animationDidStart:]):
306         (-[WKAnimationDelegate animationDidStop:finished:]):
307
308 2014-10-16  Tim Horton  <timothy_horton@apple.com>
309
310         Implement selection services menu for Legacy WebKit
311         https://bugs.webkit.org/show_bug.cgi?id=137582
312         <rdar://problem/18604241>
313
314         Reviewed by Brady Eidson.
315
316         * UIProcess/mac/WebContextMenuProxyMac.mm:
317         (-[WKSharingServicePickerDelegate sharingService:didShareItems:]):
318         Add a note that we should transition to using replaceSelectionWithAttributedString.
319
320         * WebProcess/WebPage/mac/WebPageMac.mm:
321         (WebKit::WebPage::handleSelectionServiceClick):
322         Allow editor services in editable-but-not-rich-text areas, just like in WebKit1.
323
324 2014-10-16  Tim Horton  <timothy_horton@apple.com>
325
326         Various crashes in ViewGestureControllerIOS when closing a tab while a swipe gesture is in progress
327         https://bugs.webkit.org/show_bug.cgi?id=137770
328         <rdar://problem/17916459>
329
330         Reviewed by Dan Bernstein.
331
332         When tearing down a WKWebView in the middle of a swipe gesture, a variety of
333         UI process crashes were observed. First, two uses of potentially deleted objects
334         (the WebBackForwardListItem and ViewGestureController), which were fixed by
335         extending the object's lifetime and checking for its liveness, respectively.
336         Second, a potential null-deref of DrawingArea if the timing of endSwipeGesture
337         vs. page teardown was such that DrawingArea was null but everything else was in line.
338         Lastly, another case of messaging a potentially deleted object (specifically,
339         the _UIViewControllerTransitionContext's animator) in a callback from CA, which
340         was fixed by nulling out the animator (and a few other properties) when tearing
341         down the ViewGestureController.
342
343         * UIProcess/ios/ViewGestureControllerIOS.mm:
344         (-[WKSwipeTransitionController invalidate]):
345         Clear the soon-to-be-invalid ViewGestureController pointer.
346
347         (WebKit::ViewGestureController::~ViewGestureController):
348         Call [WKSwipeTransitionController invalidate] upon destruction.
349         Clear our transition context's interactor and animator, and inform it that
350         the transition is not in flight. This avoids a crash when calling back
351         to the already-destroyed animator later.
352
353         (WebKit::ViewGestureController::beginSwipeGesture):
354         Keep a reference to the target WebBackForwardListItem; this avoids
355         it being deleted between here and the transition completion block firing.
356
357         Look up the ViewGestureController by pageID, just like we do in endSwipeGesture,
358         to avoid situations where the callback fires after the WKWebView/ViewGestureController
359         have gone away.
360
361         Hold on to our _UIViewControllerOneToOneTransitionContext, so that we can do the
362         aforementioned clearing upon deallocation.
363
364         (WebKit::ViewGestureController::endSwipeGesture):
365         Null check the DrawingArea. If it is null, instead of doing our normal delayed logic
366         for swipe snapshot teardown, just put things back together immediately.
367
368         (WebKit::ViewGestureController::removeSwipeSnapshot):
369         Clear m_swipeTransitionContext.
370
371 2014-10-16  Antti Koivisto  <antti@apple.com>
372
373         REGRESSION (r173356): Downloading a disk image appends ".txt" to it
374         https://bugs.webkit.org/show_bug.cgi?id=137493
375         <rdar://problem/18321947>
376
377         Reviewed by Alexey Proskuryakov.
378
379         * Shared/Downloads/ios/DownloadIOS.mm:
380         (WebKit::Download::startWithHandle):
381         * Shared/Downloads/mac/DownloadMac.mm:
382         (WebKit::Download::startWithHandle):
383
384             It appears that the synthesized NS/CFURLResponse fails to serialize the suggested filename correctly
385             unless it has been accessed first.
386
387 2014-10-15  Dan Bernstein  <mitz@apple.com>
388
389         [Cocoa] "Plug-in will handle load" error isn't declared in the modern API
390         https://bugs.webkit.org/show_bug.cgi?id=137747
391
392         Reviewed by Anders Carlsson.
393
394         * UIProcess/API/Cocoa/WKError.mm: Define _WKLegacyErrorDomain.
395         * UIProcess/API/Cocoa/WKErrorInternal.h: Changed to import WKErrorPrivate.h.
396         * UIProcess/API/Cocoa/WKErrorPrivate.h: Added. Declares _WKLegacyErrorDomain
397         and _WKLegacyErrorPlugInWillHandleLoad.
398         * WebKit2.xcodeproj/project.pbxproj: Added new private header.
399
400 2014-10-15  Chris Dumez  <cdumez@apple.com>
401
402         Use is<>() / downcast<>() for TransformOperation subclasses
403         https://bugs.webkit.org/show_bug.cgi?id=137731
404
405         Reviewed by Darin Adler.
406
407         Use is<>() / downcast<>() for TransformOperation subclasses and clean
408         up the surrounding code.
409
410         * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
411         (IPC::ArgumentCoder<TransformOperations>::encode):
412
413 2014-10-15  Alexey Proskuryakov  <ap@apple.com>
414
415         [Mac] Allow some Kerberos related paths in sandbox
416         https://bugs.webkit.org/show_bug.cgi?id=137666
417         rdar://problem/17965010
418
419         Reviewed by Darin Adler.
420
421         * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
422         * WebProcess/com.apple.WebProcess.sb.in:
423
424 2014-10-15  Alexey Proskuryakov  <ap@apple.com>
425
426         [Mac] Allow plug-ins to read managed preferences
427         https://bugs.webkit.org/show_bug.cgi?id=137665
428         <rdar://problem/18255601>
429
430         Reviewed by Darin Adler.
431
432         * Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb:
433
434 2014-10-14  Joonghun Park  <jh718.park@samsung.com>
435
436         [WK2][EFL] Fix the problem that threads created by a DispatchQueueEfl are not destroyed
437         even after the DispatchQueueEfl has been destructed
438         https://bugs.webkit.org/show_bug.cgi?id=137195
439
440         Reviewed by Gyuyoung Kim.
441
442         Linux and Unix System's pthreads are created in joinable state by default.
443         If threads aren't destructed explicitly, it will be still live
444         until process which created the thread is dead.
445         Besides it may cause out of capacity range of thread creation in a process.
446         It is one of hidden defects.
447         This patch calls detachThread() to detach thread immediately after it is created.
448         So the thread can be destroyed as soon as the thread's ThreadContext::function()
449         returns.
450
451         * Platform/efl/DispatchQueueEfl.cpp:
452         (DispatchQueue::ThreadContext::start):
453
454 2014-10-14  Chris Dumez  <cdumez@apple.com>
455
456         Use is<>() / downcast<>() for PlatformCAAnimation subclasses
457         https://bugs.webkit.org/show_bug.cgi?id=137722
458
459         Reviewed by Simon Fraser.
460
461         Use is<>() / downcast<>() for PlatformCAAnimation subclasses and clean
462         up the surrounding code.
463
464         * WebProcess/WebPage/mac/PlatformCAAnimationRemote.h:
465         * WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm:
466         (WebKit::PlatformCAAnimationRemote::copy):
467         (WebKit::PlatformCAAnimationRemote::copyTimingFunctionFrom):
468         (WebKit::PlatformCAAnimationRemote::copyFromValueFrom):
469         (WebKit::PlatformCAAnimationRemote::copyToValueFrom):
470         (WebKit::PlatformCAAnimationRemote::copyValuesFrom):
471         (WebKit::PlatformCAAnimationRemote::copyKeyTimesFrom):
472         (WebKit::PlatformCAAnimationRemote::copyTimingFunctionsFrom):
473         * WebProcess/WebPage/mac/PlatformCALayerRemote.cpp:
474         (WebKit::PlatformCALayerRemote::addAnimationForKey):
475         (WebKit::PlatformCALayerRemote::animationStarted):
476         * WebProcess/WebPage/mac/PlatformCALayerRemote.h:
477         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
478         (WebKit::TiledCoreAnimationDrawingArea::commitTransientZoom):
479
480 2014-10-14  Alexey Proskuryakov  <ap@apple.com>
481
482         REGRESSION (r165356): Issues with Japanese text input
483         https://bugs.webkit.org/show_bug.cgi?id=137719
484         rdar://problem/18431952
485         rdar://problem/18483741
486
487         Reviewed by Darin Adler.
488
489         * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::didChangeSelection):
490         In sync code path, ensure consistent message delivery order by adding
491         a DispatchMessageEvenWhenWaitingForSyncReply flag. This way, delayed
492         EditorStateChanged messages won't confuse UI process.
493
494 2014-10-14  Anders Carlsson  <andersca@apple.com>
495
496         Hide the find indicator when starting a swipe
497         https://bugs.webkit.org/show_bug.cgi?id=137711
498
499         Reviewed by Tim Horton.
500
501         * UIProcess/mac/PageClientImpl.mm:
502         (WebKit::PageClientImpl::navigationGestureDidBegin):
503
504 2014-10-14  Chris Dumez  <cdumez@apple.com>
505
506         Use is<>() / downcast<>() for RenderImage
507         https://bugs.webkit.org/show_bug.cgi?id=137683
508
509         Reviewed by Mihnea Ovidenie.
510
511         Use is<>() / downcast<>() for RenderImage.
512
513         * WebProcess/WebCoreSupport/mac/WebDragClientMac.mm:
514         (WebKit::cachedImage):
515         * WebProcess/WebPage/ios/WebPageIOS.mm:
516         (WebKit::WebPage::performActionOnElement):
517
518 2014-10-13  Carlos Garcia Campos  <cgarcia@igalia.com>
519
520         [GTK][CMake] Non-ninja build is broken since r174422
521         https://bugs.webkit.org/show_bug.cgi?id=137656
522
523         Reviewed by Philippe Normand.
524
525         Make WebKit2-forwarding-headers depend only on static,
526         non-generated sources.
527
528         * CMakeLists.txt:
529         * PlatformGTK.cmake:
530
531 2014-10-13  Chris Dumez  <cdumez@apple.com>
532
533         Use is<>() / downcast<>() for PlatformCALayer subclasses
534         https://bugs.webkit.org/show_bug.cgi?id=137661
535
536         Reviewed by Simon Fraser.
537
538         Use is<>() / downcast<>() for PlatformCALayer subclasses and clean up 
539         the surrounding code.
540
541         * WebProcess/WebPage/mac/PlatformCALayerRemote.cpp:
542         (WebKit::PlatformCALayerRemote::~PlatformCALayerRemote):
543         (WebKit::PlatformCALayerRemote::updateClonedLayerProperties):
544         (WebKit::PlatformCALayerRemote::recursiveBuildTransaction):
545         (WebKit::PlatformCALayerRemote::setSublayers):
546         (WebKit::PlatformCALayerRemote::appendSublayer):
547         (WebKit::PlatformCALayerRemote::insertSublayer):
548         (WebKit::PlatformCALayerRemote::replaceSublayer):
549         (WebKit::PlatformCALayerRemote::adoptSublayers):
550         (WebKit::PlatformCALayerRemote::setMask):
551         (WebKit::PlatformCALayerRemote::copyFiltersFrom):
552         * WebProcess/WebPage/mac/PlatformCALayerRemote.h:
553         * WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.h:
554         * WebProcess/WebPage/mac/RemoteLayerTreeContext.mm:
555         (WebKit::RemoteLayerTreeContext::buildTransaction):
556
557 2014-10-13  Chris Dumez  <cdumez@apple.com>
558
559         Use is<>() / downcast<>() for Filter / FilterOperation subclasses
560         https://bugs.webkit.org/show_bug.cgi?id=137644
561
562         Reviewed by Darin Adler.
563
564         Use is<>() / downcast<>() for Filter / FilterOperation subclasses.
565
566         * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
567         (IPC::ArgumentCoder<WebCore::FilterOperations>::encode):
568         * Shared/WebCoreArgumentCoders.cpp:
569         (IPC::ArgumentCoder<FilterOperation>::encode):
570         * Shared/mac/RemoteLayerTreeTransaction.mm:
571         (WebKit::RemoteLayerTreeTextStream::operator<<):
572
573 2014-10-12  Sergio Villar Senin  <svillar@igalia.com>
574
575         [SOUP] [WK2] WebProcess and NetworkProcess initialization clears cache contents
576         https://bugs.webkit.org/show_bug.cgi?id=137489
577
578         Reviewed by Carlos Garcia Campos.
579
580         Temporarily set the SoupCache's maximum size to a huge value
581         before calling soup_cache_load() so that the cache is not shrinked
582         to the default value.
583
584         * NetworkProcess/soup/NetworkProcessSoup.cpp:
585         (WebKit::NetworkProcess::platformInitializeNetworkProcess):
586         * WebProcess/soup/WebProcessSoup.cpp:
587         (WebKit::WebProcess::platformInitializeWebProcess):
588
589 2014-10-12  Ryuan Choi  <ryuan.choi@gmail.com>
590
591         [EFL] Introduce EWebKit_Extension
592         https://bugs.webkit.org/show_bug.cgi?id=134921
593
594         Reviewed by Gyuyoung Kim.
595
596         EWebKit2 does not provide the functionality to extend WebProcess.
597         Although there is ewk_context_new_with_injected_bundle_path() in ewebkit2 APIs,
598         application developers can not make bundle object without touching WK APIs
599         which ewebkit2 does not expose.
600
601         This patch introduces EWebKit_Extension, basic structure for the extension of WebProcess.
602
603         * PlatformEfl.cmake:
604         Added files for the EWebKit_Extension and install them properly.
605         * UIProcess/API/efl/ewk_context.cpp:
606         (EwkContext::EwkContext):
607         (bundlePathForExtension):
608         (EwkContext::create):
609         (EwkContext::getInjectedBundleInitializationUserData):
610         (EwkContext::setMessageFromInjectedBundleCallback):
611         (ewk_context_new_with_extensions_path):
612         Deleted because ewebkit2 does not have a way to make injected bundle.
613         Instead, Ewk_Extension will cover the same functionalities.
614         (ewk_context_new_with_injected_bundle_path): Deleted.
615         * UIProcess/API/efl/ewk_context.h:
616         * UIProcess/API/efl/ewk_context_private.h:
617         (EwkContext::extensionsPath):
618         * UIProcess/API/efl/tests/InjectedBundle/injected_bundle_sample.cpp: Removed.
619         * UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestEnvironment.cpp:
620         (EWK2UnitTest::EWK2UnitTestEnvironment::extensionSample):
621         (EWK2UnitTest::EWK2UnitTestEnvironment::injectedBundleSample): Renamed injectedBundleSample to extensionSample.
622         * UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestEnvironment.h:
623         * UIProcess/API/efl/tests/extensions/extension_sample.cpp: Copied from Source/WebKit2/UIProcess/API/efl/tests/InjectedBundle/injected_bundle_sample.cpp.
624         * UIProcess/API/efl/tests/test_ewk2_context.cpp: Renamed ewk_context_new_with_injected_bundle_path to ewk_context_new_with_extensions_path.
625         (TEST_F):
626         * WebProcess/InjectedBundle/API/efl/EWebKit_Extension.h: Added.
627         * WebProcess/InjectedBundle/API/efl/ewk_extension.cpp: Added.
628         (EwkExtension::append):
629         (EwkExtension::remove):
630         (ewk_extension_client_add):
631         (ewk_extension_client_del):
632         * WebProcess/InjectedBundle/API/efl/ewk_extension.h: Added.
633         * WebProcess/InjectedBundle/API/efl/ewk_extension_private.h: Added.
634         (EwkExtension::EwkExtension):
635         (EwkExtension::~EwkExtension):
636         * WebProcess/efl/ExtensionManagerEfl.cpp: Added.
637         (WebKit::ExtensionManagerEfl::shared):
638         (WebKit::ExtensionManagerEfl::ExtensionManagerEfl):
639         (WebKit::ExtensionManagerEfl::initialize):
640         * WebProcess/efl/ExtensionManagerEfl.h: Added.
641         * WebProcess/efl/WebInjectedBundleMainEfl.cpp: Added.
642         (WKBundleInitialize):
643         * efl/ewebkit2-extension.pc.in: Added.
644
645 2014-10-10  Chris Dumez  <cdumez@apple.com>
646
647         Use is<>() / downcast<>() for Image subclasses
648         https://bugs.webkit.org/show_bug.cgi?id=137625
649
650         Reviewed by Andreas Kling.
651
652         Use is<>() / downcast<>() for Image subclasses.
653
654         * WebProcess/Plugins/PluginView.cpp:
655         (WebKit::PluginView::pluginSnapshotTimerFired):
656
657 2014-10-10  Chris Dumez  <cdumez@apple.com>
658
659         Use is<>() / downcast<>() for GraphicsLayer subclasses
660         https://bugs.webkit.org/show_bug.cgi?id=137595
661
662         Reviewed by Darin Adler.
663
664         Use is<>() / downcast<>() for GraphicsLayer subclasses and clean up the
665         surrounding code.
666
667         * WebProcess/WebPage/mac/GraphicsLayerCARemote.h:
668         * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
669         (WebKit::RemoteLayerTreeDrawingArea::flushLayers):
670         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
671         (WebKit::TiledCoreAnimationDrawingArea::layerForTransientZoom):
672         (WebKit::TiledCoreAnimationDrawingArea::shadowLayerForTransientZoom):
673
674 2014-10-10  Pascal Jacquemart  <p.jacquemart@samsung.com>
675
676         Fix debug build on EFL after r174584
677         https://bugs.webkit.org/show_bug.cgi?id=137613
678
679         Reviewed by Christophe Dumez.
680
681         * UIProcess/efl/RequestManagerClientEfl.cpp:
682         (WebKit::RequestManagerClientEfl::RequestManagerClientEfl):
683
684 2014-10-10  Chris Dumez  <cdumez@apple.com>
685
686         Use is<>() / downcast<>() for RenderBoxModelObject
687         https://bugs.webkit.org/show_bug.cgi?id=137587
688
689         Reviewed by Mihnea Ovidenie.
690
691         Use is<>() / downcast<>() for RenderBoxModelObject and clean up the
692         surrounding code.
693
694         * WebProcess/Plugins/PluginView.cpp:
695         (WebKit::PluginView::renderer):
696         (WebKit::PluginView::invalidateRect):
697
698 2014-10-10  Pascal Jacquemart  <p.jacquemart@samsung.com>
699
700         [SOUP] Remove custom URI schemes implementation
701         https://bugs.webkit.org/show_bug.cgi?id=128169
702
703         Reviewed by Carlos Garcia Campos.
704
705         * Shared/WebProcessCreationParameters.cpp:
706         (WebKit::WebProcessCreationParameters::encode):
707         (WebKit::WebProcessCreationParameters::decode):
708         * Shared/WebProcessCreationParameters.h:
709         * UIProcess/API/C/soup/WKAPICastSoup.h:
710         * UIProcess/API/C/soup/WKContextSoup.cpp: Removed.
711         * UIProcess/API/C/soup/WKSoupRequestManager.cpp: Removed.
712         * UIProcess/WebContext.cpp:
713         (WebKit::WebContext::WebContext):
714         * UIProcess/WebPageProxy.cpp:
715         (WebKit::WebPageProxy::didReceiveURIRequest): Deleted.
716         * UIProcess/WebPageProxy.h:
717         * UIProcess/WebPageProxy.messages.in:
718         * UIProcess/soup/WebSoupRequestManagerClient.cpp: Removed.
719         * UIProcess/soup/WebSoupRequestManagerProxy.cpp: Removed.
720         * UIProcess/soup/WebSoupRequestManagerProxy.messages.in: Removed.
721         * WebProcess/WebProcess.cpp:
722         (WebKit::WebProcess::WebProcess):
723         * WebProcess/soup/WebKitSoupRequestGeneric.cpp:
724         (webkitSoupRequestGenericSendAsync):
725         (webkitSoupRequestGenericSendFinish):
726         * WebProcess/soup/WebProcessSoup.cpp:
727         (WebKit::WebProcess::platformInitializeWebProcess):
728         * WebProcess/soup/WebSoupRequestManager.cpp: Removed.
729         * WebProcess/soup/WebSoupRequestManager.messages.in: Removed.
730
731 2014-10-09  Dean Jackson  <dino@apple.com>
732
733         Remove ENABLE_CSS3_CONDITIONAL_RULES
734         https://bugs.webkit.org/show_bug.cgi?id=137571
735
736         Reviewed by Simon Fraser.
737
738         * Configurations/FeatureDefines.xcconfig:
739
740 2014-10-09  Tim Horton  <timothy_horton@apple.com>
741
742         Move ServicesOverlayController to WebCore
743         https://bugs.webkit.org/show_bug.cgi?id=137416
744         <rdar://problem/18546283>
745
746         Reviewed by Anders Carlsson.
747
748         * Platform/Logging.h:
749         Move Services logging channel to WebCore.
750
751         * WebKit2.xcodeproj/project.pbxproj:
752         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
753         (WebKit::WebChromeClient::handleTelephoneNumberClick):
754         (WebKit::WebChromeClient::handleSelectionServiceClick):
755         (WebKit::WebChromeClient::hasRelevantSelectionServices):
756         Implement services-related ChromeClient callbacks.
757         Clicks are forwarded to WebPageMac where they do what they used to;
758         hasRelevantSelectionServices is implemented as it was when it lived
759         inside ServicesOverlayController.
760
761         * WebProcess/WebCoreSupport/WebChromeClient.h:
762         * WebProcess/WebCoreSupport/WebEditorClient.cpp:
763         (WebKit::WebEditorClient::selectedTelephoneNumberRangesChanged): Deleted.
764         (WebKit::WebEditorClient::selectionRectsDidChange): Deleted.
765         * WebProcess/WebCoreSupport/WebEditorClient.h:
766         Remove WebEditorClient overrides for now-removed functions.
767
768         * WebProcess/WebPage/WebPage.cpp:
769         (WebKit::WebPage::WebPage):
770         (WebKit::WebPage::updatePreferences):
771         Forward serviceControlsEnabled setting to WebCore.
772
773         (WebKit::WebPage::servicesOverlayController): Deleted.
774         * WebProcess/WebPage/WebPage.h:
775         (WebKit::WebPage::serviceControlsEnabled): Deleted.
776
777 2014-10-09  Andy Estes  <aestes@apple.com>
778
779         [iOS] Crash in CFURLDownloadClient.didFail if the download has a null resumeData
780         https://bugs.webkit.org/show_bug.cgi?id=137551
781
782         Reviewed by David Kilzer.
783
784         CFDataGetBytePtr() and CFDataGetLength() crash if passed a null value.
785
786         * Shared/Downloads/ios/DownloadIOS.mm:
787         (WebKit::setUpDownloadClient):
788
789 2014-10-09  Carlos Garcia Campos  <cgarcia@igalia.com>
790
791         [X11] Plugin process crashes in NetscapePlugin::platformPostInitialize()
792         https://bugs.webkit.org/show_bug.cgi?id=137426
793
794         Reviewed by Darin Adler.
795
796         For some reason flash crashes when NPP_GetValue is called with
797         NPPVpluginCancelSrcStream, but only in windowed mode. Not calling
798         NPP_GetValue and unconditionally loading the source URL in the
799         browser fixes the crash and plugins work normally. We can handle
800         this particular case with a new quirk.
801
802         * Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:
803         (WebKit::NetscapePluginModule::determineQuirks): Add
804         DoNotCancelSrcStreamInWindowedMode quirk if it's flash plugin.
805         * Shared/Plugins/PluginQuirks.h: Add
806         DoNotCancelSrcStreamInWindowedMode quirk.
807         * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
808         (WebKit::NetscapePlugin::shouldLoadSrcURL): Return early if plugin
809         is windowed and DoNotCancelSrcStreamInWindowedMode quirk is present.
810
811 2014-10-09  Chris Dumez  <cdumez@apple.com>
812
813         Use is<>() / downcast<>() for Widget subclasses
814         https://bugs.webkit.org/show_bug.cgi?id=137549
815
816         Reviewed by Darin Adler.
817
818         Use is<>() / downcast<>() for Widget subclasses and clean up the
819         surrounding code.
820
821         * Shared/WebRenderObject.cpp:
822         (WebKit::WebRenderObject::WebRenderObject):
823
824 2014-10-08  Carlos Garcia Campos  <cgarcia@igalia.com>
825
826         [GTK] Use the PageLoadState observer also to monitor title and estimated load progress
827         https://bugs.webkit.org/show_bug.cgi?id=136997
828
829         Reviewed by Gustavo Noronha Silva.
830
831         * UIProcess/API/gtk/WebKitLoaderClient.cpp:
832         (attachLoaderClientToView): Remove implementation of
833         didReceiveTitleForFrame, didStartProgress, didChangeProgress and
834         didFinishProgress.
835         (didReceiveTitleForFrame): Deleted.
836         (didChangeProgress): Deleted.
837         * UIProcess/API/gtk/WebKitWebView.cpp:
838         (webkit_web_view_get_estimated_load_progress): Return the value
839         directly from the PageLoadState object, since we don't need to
840         cache the value anymore.
841         (webkitWebViewSetTitle): Deleted.
842         (webkitWebViewSetEstimatedLoadProgress): Deleted.
843         * UIProcess/API/gtk/WebKitWebViewPrivate.h:
844
845 2014-10-08  Carlos Garcia Campos  <cgarcia@igalia.com>
846
847         Race condition with WebKitWebView:is-loading after starting page load
848         https://bugs.webkit.org/show_bug.cgi?id=136692
849
850         Reviewed by Gustavo Noronha Silva.
851
852         Use PageLoadState::Observer to update both is-loading and uri
853         properties, instead of manually update them. This ensures that our
854         web view is always in sync with the WebPageProxy so that
855         webkit_web_view_is_loading() returns true right after requesting
856         any load. We still need to manually set the is-loading property
857         only in the case where we delay the emission of the load-changed
858         signals when waiting for the main resource. The bahaviour is a bit
859         different but still consistent with what our API documentation says.
860
861         * UIProcess/API/gtk/WebKitLoaderClient.cpp:
862         (attachLoaderClientToView): Remove
863         didSameDocumentNavigationForFrame implementation, since we are
864         already notified about the URL change by the PageLoadState::Observer.
865         (didSameDocumentNavigationForFrame): Deleted.
866         * UIProcess/API/gtk/WebKitWebView.cpp:
867         (webkitWebViewSetIsLoading): No longer update the URI when
868         changing the is-loading property.
869         (webkitWebViewConstructed): Crate a PageLoadStateObserver and add
870         it to the PageLoadState.
871         (webkitWebViewDispose): Remove the PageLoadStateObserver from the PageLoadState.
872         (webkitWebViewEmitLoadChanged): Add isDelayedEvent parameter to
873         update the is-loading property accordingly when emitting the
874         delayed events.
875         (webkitWebViewEmitDelayedLoadEvents): Pass true as isDelayedEvent
876         parameter of webkitWebViewEmitLoadChanged().
877         (webkitWebViewLoadChanged): Pass false as isDelayedEvent parameter
878         of webkitWebViewEmitLoadChanged().
879         (webkitWebViewLoadFailed):
880         (webkitWebViewLoadFailedWithTLSErrors):
881         (webkitWebViewUpdateURI): Deleted.
882         * UIProcess/API/gtk/WebKitWebViewPrivate.h:
883
884 2014-10-08  Christophe Dumez  <cdumez@apple.com>
885
886         Use is<>() / downcast<>() for RenderBlock objects
887         https://bugs.webkit.org/show_bug.cgi?id=137512
888
889         Reviewed by Darin Adler.
890
891         Use is<>() / downcast<>() for RenderBlock objects and clean up the 
892         surrounding code.
893
894         * WebProcess/WebPage/ios/WebPageIOS.mm:
895         (WebKit::WebPage::rangeForWebSelectionAtPosition):
896         (WebKit::WebPage::contractedRangeFromHandle):
897
898 2014-10-08  Ada Chan  <adachan@apple.com>
899
900         Implement WKPageIsPlayingAudio().
901         https://bugs.webkit.org/show_bug.cgi?id=137048
902
903         Reviewed by Darin Adler.
904
905         * UIProcess/API/C/WKPage.cpp:
906         (WKPageIsPlayingAudio):
907
908 2014-10-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
909
910         [EFL][CoordinatedGraphics] All EFL layout tests are broken since r174231
911         https://bugs.webkit.org/show_bug.cgi?id=137443
912
913         Reviewed by Zoltan Herczeg.
914
915         EFL layout test and MiniBrowser have broken since r174231. r174231 was to move PageOverlay implementation
916         from WebKit2 to WebCore with lazy initializing of PageOverlayController. It caused all EFL layout tests
917         crash and build break. To restore EFL layout test, this patch sets viewOverlayRootLayer through
918         attachViewOverlayGraphicsLayer() as mac port's one in r174231.
919
920         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.cpp:
921         (WebKit::CoordinatedDrawingArea::attachViewOverlayGraphicsLayer):
922         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h:
923         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
924         (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
925         (WebKit::CoordinatedLayerTreeHost::updateRootLayers):
926         (WebKit::CoordinatedLayerTreeHost::setViewOverlayRootLayer):
927         (WebKit::CoordinatedLayerTreeHost::setRootCompositingLayer):
928         (WebKit::CoordinatedLayerTreeHost::didFlushRootLayer):
929         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
930
931 2014-10-08  Commit Queue  <commit-queue@webkit.org>
932
933         Unreviewed, rolling out r174335.
934         https://bugs.webkit.org/show_bug.cgi?id=137515
935
936         It broke EFL layout test totally (Requested by gyuyoung on
937         #webkit).
938
939         Reverted changeset:
940
941         "[EFL] Introduce EWebKit_Extension"
942         https://bugs.webkit.org/show_bug.cgi?id=134921
943         http://trac.webkit.org/changeset/174335
944
945 2014-10-08  Carlos Garcia Campos  <cgarcia@igalia.com>
946
947         [GTK] Make forwarding headers generation depend on source code
948         https://bugs.webkit.org/show_bug.cgi?id=137394
949
950         Reviewed by Philippe Normand.
951
952         Only run generate-forwarding-headers.pl when source code changes
953         and use a different target for the symlinks.
954
955         * PlatformGTK.cmake:
956
957 2014-10-07  Pascal Jacquemart  <p.jacquemart@samsung.com>
958
959         [EFL] Enable custom URI schemes with CustomProtocols
960         https://bugs.webkit.org/show_bug.cgi?id=128177
961
962         Reviewed by Gyuyoung Kim.
963
964         Fixing ewk_context_url_scheme_register() ewebkit2 API
965         rely on r162449 - CustomProtocols implementation from Carlos Garcia Campos
966
967         * PlatformEfl.cmake:
968         * UIProcess/API/efl/ewk_context.h:
969         * UIProcess/API/efl/ewk_url_scheme_request.cpp:
970         (EwkUrlSchemeRequest::EwkUrlSchemeRequest):
971         (EwkUrlSchemeRequest::finish):
972         * UIProcess/API/efl/ewk_url_scheme_request_private.h:
973         (EwkUrlSchemeRequest::create):
974         * UIProcess/API/efl/tests/test_ewk2_context.cpp:
975         (TEST_F):
976         * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.cpp:
977         * UIProcess/efl/RequestManagerClientEfl.cpp:
978         (WebKit::RequestManagerClientEfl::RequestManagerClientEfl):
979         (WebKit::RequestManagerClientEfl::startLoading):
980         (WebKit::RequestManagerClientEfl::stopLoading):
981         (WebKit::RequestManagerClientEfl::registerURLSchemeHandler):
982         (WebKit::EwkUrlSchemeHandler::EwkUrlSchemeHandler): Deleted.
983         (WebKit::RequestManagerClientEfl::didReceiveURIRequest): Deleted.
984         * UIProcess/efl/RequestManagerClientEfl.h:
985         * UIProcess/efl/WebContextEfl.cpp:
986         (WebKit::WebContext::platformInitializeWebProcess):
987         * UIProcess/soup/WebContextSoup.cpp:
988         (WebKit::WebContext::platformInitializeNetworkProcess):
989
990 2014-10-07  Sungmann Cho  <sungmann.cho@navercorp.com>
991
992         Remove WKPageCreateSnapshotOfVisibleContent API.
993         https://bugs.webkit.org/show_bug.cgi?id=66979
994
995         Reviewed by Darin Adler.
996
997         After the landing of the first patch of webkit.org/b/66979,
998         WKPageCreateSnapshotOfVisibleContent API has been neglected for years.
999         Currently, this is not used anywhere and does not break the nightlies.
1000         So we can remove this.
1001
1002         * UIProcess/API/C/WKPage.cpp:
1003         (WKPageCreateSnapshotOfVisibleContent): Deleted.
1004         * UIProcess/API/C/WKPagePrivate.h:
1005
1006 2014-10-07  Sungmann Cho  <sungmann.cho@navercorp.com>
1007
1008         Remove WKPageSetInvalidMessageFunction.
1009         https://bugs.webkit.org/show_bug.cgi?id=137509
1010
1011         Reviewed by Benjamin Poulain.
1012
1013         According to the FIXME comment in WKPageSetInvalidMessageFunction,
1014         we can remove this function when doing so won't break the nightlies.
1015         Currently, this is not used anywhere and does not break the nightlies.
1016         So we can remove this.
1017
1018         * UIProcess/API/C/WKPage.cpp:
1019         (WKPageSetInvalidMessageFunction): Deleted.
1020         * UIProcess/API/C/WKPagePrivate.h:
1021
1022 2014-10-07  Christophe Dumez  <cdumez@apple.com>
1023
1024         [WK2] Use is<>() / downcast<>() for DrawingArea subclasses
1025         https://bugs.webkit.org/show_bug.cgi?id=137497
1026
1027         Reviewed by Benjamin Poulain.
1028
1029         Use is<>() / downcast<>() for DrawingArea subclasses.
1030
1031         * WebProcess/WebPage/DrawingArea.h:
1032         * WebProcess/WebPage/WebPage.cpp:
1033         (WebKit::WebPage::didCommitLoad):
1034         * WebProcess/WebPage/ios/WebPageIOS.mm:
1035         (WebKit::WebPage::synchronizeDynamicViewportUpdate):
1036         * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
1037         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
1038
1039 2014-10-07  Simon Fraser  <simon.fraser@apple.com>
1040
1041         Roll-over Changelogs.
1042
1043         * ChangeLog-2014-10-07: Copied from Source/WebKit2/ChangeLog.
1044
1045 == Rolled over to ChangeLog-2014-10-07 ==