5a41c59b27a2d82fed614a5df78c6be30ed251bb
[WebKit-https.git] / Source / WebKit2 / ChangeLog
1 2013-02-12  Brady Eidson  <beidson@apple.com>
2
3         Update a comment in NetworkProcess to be more accurate.
4
5         Rubberstamped by Sam Weinig.
6
7         * NetworkProcess/NetworkProcess.cpp:
8         (WebKit::NetworkProcess::didClose):
9
10 2013-02-12  Anders Carlsson  <andersca@apple.com>
11
12         SecItemShim should be a WorkQueueMessageReceiver
13         https://bugs.webkit.org/show_bug.cgi?id=109636
14
15         Reviewed by Sam Weinig.
16
17         * Platform/CoreIPC/Connection.cpp:
18         (CoreIPC::Connection::dispatchWorkQueueMessageReceiverMessage):
19         Add a helper function for dispatching a work queue message receiver message.
20
21         (CoreIPC::Connection::processIncomingMessage):
22         Check if there are any work queue message receivers registered for this message.
23
24         * Shared/mac/SecItemShim.cpp:
25         (WebKit::SecItemShim::shared):
26         Use dispatch_once instead of the AtomicallyInitializedStatic macro.
27
28         (WebKit::SecItemShim::SecItemShim):
29         Initialize the queue.
30
31         (WebKit::SecItemShim::secItemResponse):
32         Remove the connection parameter.
33
34         (WebKit::SecItemShim::initializeConnection):
35         Register the shim object as a work queue message receiver.
36
37         * Shared/mac/SecItemShim.h:
38         Inherit from WorkQueueMessageReceiver.
39
40         * Shared/mac/SecItemShim.messages.in:
41         Remove LegacyReceiver and DispatchOnConnectionQueue.
42
43 2013-02-12  Sam Weinig  <sam@webkit.org>
44
45         Make Plug-in XPC services "join existing sessions"
46         <rdar://problem/13196448>
47
48         Reviewed by Mark Rowe.
49
50         * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/Info.plist:
51         * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/Info.plist:
52         * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/Info.plist:
53
54 2013-02-12  Sam Weinig  <sam@webkit.org>
55
56         Add skeleton of the OfflineStorageProcess
57         https://bugs.webkit.org/show_bug.cgi?id=109615
58
59         Reviewed by Anders Carlsson.
60
61         This adds the skeleton of a new process to contain Database and Local Storage
62         backends in (hence, offline storage). We're adding a new process, rather than
63         using the Network or UIProcesses, to allow us to tightly sandbox these activities
64         away from networking and full filesystem access.
65
66         * Configurations/OfflineStorageProcess.xcconfig: Added.
67         * Configurations/OfflineStorageService.Development.xcconfig: Added.
68         * Configurations/OfflineStorageService.xcconfig: Added.
69         * DerivedSources.make:
70         * OfflineStorageProcess: Added.
71         * OfflineStorageProcess/EntryPoint: Added.
72         * OfflineStorageProcess/EntryPoint/mac: Added.
73         * OfflineStorageProcess/EntryPoint/mac/LegacyProcess: Added.
74         * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/Info.plist: Added.
75         * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMain.mm: Added.
76         * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMainBootstrapper.cpp: Added.
77         * OfflineStorageProcess/EntryPoint/mac/XPCService: Added.
78         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService: Added.
79         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development: Added.
80         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/Info.plist: Added.
81         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/OfflineStorageServiceMain.Development.mm: Added.
82         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/Info.plist: Added.
83         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/OfflineStorageServiceMain.mm: Added.
84         * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageServiceEntryPoint.mm: Added.
85         * OfflineStorageProcess/OfflineStorageProcess.cpp: Added.
86         * OfflineStorageProcess/OfflineStorageProcess.h: Added.
87         * OfflineStorageProcess/OfflineStorageProcess.messages.in: Added.
88         * OfflineStorageProcess/mac: Added.
89         * OfflineStorageProcess/mac/OfflineStorageProcessMac.mm: Added.
90         (WebKit::OfflineStorageProcess::initializeProcessName):
91         (WebKit::OfflineStorageProcess::initializeSandbox):
92         * OfflineStorageProcess/mac/com.apple.WebKit.OfflineStorage.sb: Added.
93         * Shared/OfflineStorage: Added.
94         * Shared/OfflineStorage/OfflineStorageProcessCreationParameters.cpp: Added.
95         * Shared/OfflineStorage/OfflineStorageProcessCreationParameters.h: Added.
96
97         * Scripts/webkit2/messages.py:
98         (struct_or_class):
99         Added OfflineStorageProcessCreationParameters.
100
101         * WebKit2.xcodeproj/project.pbxproj:
102
103 2013-02-12  Jinwoo Song  <jinwoo7.song@samsung.com>
104
105         [EFL][WK2] Fix build warning after r142579
106         https://bugs.webkit.org/show_bug.cgi?id=109547
107
108         Reviewed by Alexey Proskuryakov.
109
110         Use UNUSED_PARAM macro to fix -Wunused-parameter build warning.
111
112         * UIProcess/efl/PageViewportControllerClientEfl.cpp:
113         (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
114
115 2013-02-12  Christophe Dumez  <ch.dumez@sisa.samsung.com>
116
117         [EFL][WK2] Reenable ewk_auth_request API tests
118         https://bugs.webkit.org/show_bug.cgi?id=108451
119
120         Reviewed by Benjamin Poulain.
121
122         ewk_auth_request API tests were temporarily disabled after
123         the C API for resource loading was removed from WebKit2.
124         This patches updates the tests so that they no longer rely
125         on the resource loading events and renables them.
126
127         This patch also corrects the naming of the static variables
128         in the test to follow more closely the WebKit coding style.
129
130         * PlatformEfl.cmake:
131         * UIProcess/API/efl/tests/test_ewk2_auth_request.cpp:
132         (serverCallback):
133         (TEST_F):
134         (onLoadFinished):
135
136 2013-02-12  Anders Carlsson  <andersca@apple.com>
137
138         Introduce a WorkQueueMessageReceiver class as a replacement for QueueClient
139         https://bugs.webkit.org/show_bug.cgi?id=109612
140
141         Reviewed by Andreas Kling.
142
143         * Platform/CoreIPC/Connection.cpp:
144         (CoreIPC::Connection::addWorkQueueMessageReceiver):
145         (CoreIPC):
146         (CoreIPC::Connection::removeWorkQueueMessageReceiver):
147         (CoreIPC::Connection::addWorkQueueMessageReceiverOnConnectionWorkQueue):
148         (CoreIPC::Connection::removeWorkQueueMessageReceiverOnConnectionWorkQueue):
149         * Platform/CoreIPC/Connection.h:
150         (Connection):
151
152 2013-02-12  Csaba Osztrogonác  <ossy@webkit.org>
153
154         Typo fix after r142663.
155
156         * GNUmakefile.list.am:
157
158 2013-02-12  Csaba Osztrogonác  <ossy@webkit.org>
159
160         [WK2] Unreviewed trivial buildfix after r142630 and r142651.
161
162         * CMakeLists.txt:
163         * GNUmakefile.list.am:
164         * Target.pri:
165         * UIProcess/Plugins/PluginProcessProxy.cpp:
166         (WebKit::PluginProcessProxy::didFinishLaunching):
167         * UIProcess/Plugins/qt/PluginProcessProxyQt.cpp:
168         (WebKit::PluginProcessProxy::platformGetLaunchOptions):
169         * UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp:
170         (WebKit::PluginProcessProxy::platformGetLaunchOptions):
171
172 2013-02-12  Anders Carlsson  <andersca@apple.com>
173
174         Change the queue client base class to be private everywhere
175         https://bugs.webkit.org/show_bug.cgi?id=109604
176
177         Reviewed by Andreas Kling.
178
179         Move connection queue client registration inside of the respective queue client classes.
180
181         Also, it's too late to add queue clients in ChildProcessProxy::didFinishLaunching, so do this in
182         ChildProcessProxy::connectionWillOpen instead.
183         
184         Finally, assert that queue clients are only being added and removed from the client thread.
185
186         * NetworkProcess/NetworkProcess.cpp:
187         (WebKit::NetworkProcess::initializeConnection):
188         * Platform/CoreIPC/Connection.cpp:
189         (CoreIPC::Connection::addQueueClient):
190         (CoreIPC::Connection::removeQueueClient):
191         * Shared/mac/SecItemShim.cpp:
192         (WebKit::SecItemShim::initializeConnection):
193         (WebKit):
194         * Shared/mac/SecItemShim.h:
195         (SecItemShim):
196         * UIProcess/Network/NetworkProcessProxy.cpp:
197         (WebKit::NetworkProcessProxy::connectionWillOpen):
198         (WebKit):
199         (WebKit::NetworkProcessProxy::connectionWillClose):
200         (WebKit::NetworkProcessProxy::didFinishLaunching):
201         * UIProcess/Network/NetworkProcessProxy.h:
202         (NetworkProcessProxy):
203         * UIProcess/WebProcessProxy.cpp:
204         (WebKit::WebProcessProxy::connectionWillOpen):
205         (WebKit::WebProcessProxy::didFinishLaunching):
206         * UIProcess/mac/SecItemShimProxy.cpp:
207         (WebKit::SecItemShimProxy::initializeConnection):
208         (WebKit):
209         * UIProcess/mac/SecItemShimProxy.h:
210         (SecItemShimProxy):
211         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
212         (WebKit::PluginProcessConnectionManager::initializeConnection):
213         (WebKit):
214         * WebProcess/Plugins/PluginProcessConnectionManager.h:
215         (PluginProcessConnectionManager):
216         * WebProcess/WebPage/EventDispatcher.cpp:
217         (WebKit::EventDispatcher::initializeConnection):
218         (WebKit):
219         * WebProcess/WebPage/EventDispatcher.h:
220         (EventDispatcher):
221         * WebProcess/WebProcess.cpp:
222         (WebKit::WebProcess::initializeConnection):
223
224 2013-02-12  Brady Eidson  <beidson@apple.com>
225
226         Add WKContext API to retrieve basic network process statistics
227         https://bugs.webkit.org/show_bug.cgi?id=109329
228
229         Reviewed by Sam Weinig.
230
231         This patch adds a WKContextGetStatisticsWithOptions which allows the client to ask for
232         certain types of statistics.
233
234         It also expands the "get statistics" callback mechanism to allow for a statistics request 
235         to be answered by multiple child processes.
236
237         That mechanism still has some rough edges but will eventually allow for getting statistics
238         from multiple web processes, as well.
239
240         * NetworkProcess/HostRecord.cpp:
241         (WebKit::HostRecord::pendingRequestCount):
242         (WebKit::HostRecord::activeLoadCount):
243         * NetworkProcess/HostRecord.h:
244
245         * NetworkProcess/NetworkProcess.cpp:
246         (WebKit::NetworkProcess::getNetworkProcessStatistics):
247         * NetworkProcess/NetworkProcess.h:
248         * NetworkProcess/NetworkProcess.messages.in:
249
250         * NetworkProcess/NetworkResourceLoadScheduler.cpp:
251         (WebKit::NetworkResourceLoadScheduler::hostsPendingCount):
252         (WebKit::NetworkResourceLoadScheduler::loadsPendingCount):
253         (WebKit::NetworkResourceLoadScheduler::hostsActiveCount):
254         (WebKit::NetworkResourceLoadScheduler::loadsActiveCount):
255         * NetworkProcess/NetworkResourceLoadScheduler.h:
256
257         * Shared/Authentication/AuthenticationManager.h:
258         (WebKit::AuthenticationManager::outstandingAuthenticationChallengeCount):
259         * Shared/Downloads/DownloadManager.h:
260
261         * UIProcess/API/C/WKContext.cpp:
262         (WKContextGetStatistics):
263         (WKContextGetStatisticsWithOptions):
264         * UIProcess/API/C/WKContext.h:
265
266         * UIProcess/StatisticsRequest.cpp: Added.
267         (WebKit::StatisticsRequest::StatisticsRequest):
268         (WebKit::StatisticsRequest::~StatisticsRequest):
269         (WebKit::StatisticsRequest::addOutstandingRequest):
270         (WebKit::addToDictionaryFromHashMap):
271         (WebKit::createDictionaryFromHashMap):
272         (WebKit::StatisticsRequest::completedRequest):
273         * UIProcess/StatisticsRequest.h: Added.
274         (WebKit::StatisticsRequest::create):
275
276         * UIProcess/WebContext.cpp:
277         (WebKit::WebContext::networkingProcessConnection):
278         (WebKit::WebContext::getStatistics):
279         (WebKit::WebContext::requestWebContentStatistics):
280         (WebKit::WebContext::requestNetworkingStatistics):
281         (WebKit::WebContext::didGetStatistics):
282         * UIProcess/WebContext.h:
283         * UIProcess/WebContext.messages.in:
284
285         * WebProcess/WebProcess.cpp:
286         (WebKit::WebProcess::getWebCoreStatistics):
287
288         * WebKit2.xcodeproj/project.pbxproj:
289
290 2013-02-12  Anders Carlsson  <andersca@apple.com>
291
292         Build fix.
293
294         Add back the files to the Xcode project that were removed in r142580.
295
296         * WebKit2.xcodeproj/project.pbxproj:
297         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
298
299 2013-02-12  Jessie Berlin  <jberlin@apple.com>
300
301         Build fix after r142540 and r142518
302
303         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
304         (WebKit::PluginProcessConnectionManager::didReceivePluginProcessConnectionManagerMessageOnConnectionWorkQueue):
305         This function was added to the header in r142518 but not implemented in that revision.
306         It wasn't a problem until r142540 started using it.
307         Add a stub implementation for it.
308
309 2013-02-11  Brady Eidson  <beidson@apple.com>
310
311         Make PluginProcessProxy a ChildProcessProxy.
312         https://bugs.webkit.org/show_bug.cgi?id=109513
313
314         Reviewed by Anders Carlsson.
315
316         * Shared/ChildProcessProxy.h: Inherit from ThreadSafeRefCounted.
317         * UIProcess/Network/NetworkProcessProxy.h: Don't inherit from RefCounted.
318         * UIProcess/WebProcessProxy.h: Don't inherit from ThreadSafeRefCounted
319         * UIProcess/Plugins/PluginProcessProxy.h: Don't inherit from RefCounted, do inherit from ChildProcessProxy
320
321         Rely on ChildProcessProxy for process launcher management and launch options:
322         * UIProcess/Plugins/PluginProcessProxy.cpp:
323         (WebKit::PluginProcessProxy::PluginProcessProxy):
324         (WebKit::PluginProcessProxy::getLaunchOptions):
325         (WebKit::PluginProcessProxy::getPluginProcessConnection):
326         (WebKit::PluginProcessProxy::getSitesWithData):
327         (WebKit::PluginProcessProxy::clearSiteData):
328         * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
329         (WebKit::PluginProcessProxy::platformGetLaunchOptions):
330         (WebKit::PluginProcessProxy::getPluginProcessSerialNumber):
331
332 2013-02-11  Alexey Proskuryakov  <ap@apple.com>
333
334         <rdar://problem/13196331> NetworkProcess deny mach-lookup com.apple.PowerManagement.control
335
336         Reviewed by Sam Weinig.
337
338         * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
339
340 2013-02-11  Huang Dongsung  <luxtella@company100.net>
341
342         Coordinated Graphics: Make CoordinatedGraphicsScene not know contents size.
343         https://bugs.webkit.org/show_bug.cgi?id=108922
344
345         Reviewed by Noam Rosenthal.
346         Signed off for WebKit2 by Benjamin Poulain.
347
348         Currently, CoordinatedGraphicsScene has two methods to know contents
349         size: setContentsSize() and setVisibleContentsRect(). Contents size is
350         used when adjusting a scroll position, but adjustment is not needed
351         because EFL and Qt platform code (currently PageViewportController)
352         already adjusts a scroll position, and it is natural for each platform
353         to be in charge of adjusting. So this patch makes CoordinatedGraphicsScene
354         not know contents size.
355
356         In addition, now DrawingAreaProxy::coordinatedLayerTreeHostProxy() is only used
357         to get CoordinatedGraphicsScene.
358
359         * UIProcess/API/qt/qquickwebpage.cpp:
360         (QQuickWebPagePrivate::updateSize):
361         * UIProcess/API/qt/raw/qrawwebview.cpp:
362         (QRawWebView::setSize):
363         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
364         (WebKit::CoordinatedLayerTreeHostProxy::setVisibleContentsRect):
365         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
366         (CoordinatedLayerTreeHostProxy):
367         * UIProcess/efl/PageClientLegacyImpl.cpp:
368         (WebKit::PageClientLegacyImpl::didChangeContentsSize):
369         * UIProcess/efl/PageViewportControllerClientEfl.cpp:
370         (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
371
372 2013-02-11  Huang Dongsung  <luxtella@company100.net>
373
374         Coordinated Graphics: remove the DidChangeScrollPosition message.
375         https://bugs.webkit.org/show_bug.cgi?id=108051
376
377         Reviewed by Noam Rosenthal.
378         Signed off for WebKit2 by Benjamin Poulain.
379
380         Currently, we use the DidChangeScrollPosition message to send the scroll
381         position that WebCore used in this frame to UI Process. We had to have
382         some member variables for the DidChangeScrollPosition message.
383         However, we can send a scroll position via the DidRenderFrame message,
384         because CoordinatedGraphicsScene::m_renderedContentsScrollPosition is
385         updated at the moment of flushing. So we can remove the
386         DidChangeScrollPosition message and some redundant member variables.
387
388         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
389         (WebKit::CoordinatedLayerTreeHostProxy::didRenderFrame):
390         (WebKit):
391         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
392         (CoordinatedLayerTreeHostProxy):
393         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in:
394           Remove the DidChangeScrollPosition message.
395         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
396         (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
397         (WebKit::CoordinatedLayerTreeHost::flushPendingLayerChanges):
398           Send a scroll position via the DidChangeScrollPosition message.
399         (WebKit::CoordinatedLayerTreeHost::syncLayerState):
400           Don't send a scroll position because flushPendingLayerChanges() does
401           that. In addition, it is weird to check if we must send a scroll
402           position at the moment of sending the SyncLayerState message of every
403           layers.
404         (WebKit::CoordinatedLayerTreeHost::setVisibleContentsRect):
405         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
406
407 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
408
409         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
410         https://bugs.webkit.org/show_bug.cgi?id=109534
411
412         Reviewed by Anders Carlsson.
413
414         * WebProcess/WebCoreSupport/WebEditorClient.cpp:
415         (WebKit):
416         * WebProcess/WebCoreSupport/WebEditorClient.h:
417
418 2013-02-11  Jae Hyun Park  <jae.park@company100.net>
419
420         [EFL] Build fix
421         https://bugs.webkit.org/show_bug.cgi?id=109518
422
423         Reviewed by Laszlo Gombos.
424
425         Fix EFL build by including PluginProcessConnectionManager.messages.in in
426         CMakeLists.txt
427
428         * CMakeLists.txt:
429
430 2013-02-11  Anders Carlsson  <andersca@apple.com>
431
432         Fix build.
433
434         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
435         (WebKit::PluginProcessConnectionManager::didReceiveMessageOnConnectionWorkQueue):
436         * WebProcess/WebProcess.cpp:
437
438 2013-02-11  Seulgi Kim  <seulgikim@company100.net>
439
440         [GTK] Build fix.
441         https://bugs.webkit.org/show_bug.cgi?id=109516
442
443         Reviewed by Csaba Osztrogonác.
444
445         PluginProcessConnectionManagerMessages are omitted from messages list.
446
447         * GNUmakefile.list.am:
448
449 2013-02-11  Tim Horton  <timothy_horton@apple.com>
450
451         [WK2] setMinimumLayoutWidth should bail if there's no WebProcess
452         https://bugs.webkit.org/show_bug.cgi?id=109512
453         <rdar://problem/13093627>
454
455         Reviewed by Anders Carlsson.
456
457         * UIProcess/WebPageProxy.cpp:
458         (WebKit::WebPageProxy::setMinimumLayoutWidth):
459
460 2013-02-11  Anders Carlsson  <andersca@apple.com>
461
462         PluginProcessConnectionManager should be a QueueClient
463         https://bugs.webkit.org/show_bug.cgi?id=109496
464
465         Reviewed by Andreas Kling.
466
467         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
468         (WebKit::PluginProcessConnectionManager::didReceiveMessageOnConnectionWorkQueue):
469         (WebKit):
470         (WebKit::PluginProcessConnectionManager::didCloseOnConnectionWorkQueue):
471         * WebProcess/Plugins/PluginProcessConnectionManager.h:
472         (PluginProcessConnectionManager):
473         * WebProcess/WebProcess.cpp:
474         (WebKit::WebProcess::initializeConnection):
475         * WebProcess/WebProcess.h:
476         (WebProcess):
477
478 2013-02-11  Csaba Osztrogonác  <ossy@webkit.org>
479
480         Unreviewed WK2 buildfix after r142518.
481
482         * DerivedSources.pri:
483
484 2013-02-11  Gavin Barraclough  <barraclough@apple.com>
485
486         PluginProcess should quit immediately if idle in response to low-memory notifications
487         https://bugs.webkit.org/show_bug.cgi?id=109103
488         <rdar://problem/12679827>
489
490         Reviewed by Brady Eidson.
491
492         PluginProcess now installs a MemoryPressureHandler for the process, providing
493         a custom callback which will call terminate if appropriate (if the plugin is not
494         currently in use).
495
496         * PluginProcess/PluginProcess.cpp:
497         (WebKit::PluginProcess::lowMemoryHandler):
498             - Custom callback to terminate if appropriate.
499         (WebKit::PluginProcess::initializeProcess):
500             - Install the MemoryPressureHandler.
501         (WebKit::PluginProcess::shouldTerminate):
502             - This method now also needs to be callable in situations where it might return false.
503         * PluginProcess/PluginProcess.h:
504         (PluginProcess):
505             - Added declaration for lowMemoryHandler.
506
507 2013-02-11  Anders Carlsson  <andersca@apple.com>
508
509         Move the PluginProcessCrashed message to PluginProcessConnectionManager
510         https://bugs.webkit.org/show_bug.cgi?id=109493
511
512         Reviewed by Andreas Kling.
513
514         This is in preparation for making PluginProcessConnectionManager a connection queue client.
515
516         * DerivedSources.make:
517         * UIProcess/Plugins/PluginProcessProxy.cpp:
518         (WebKit::PluginProcessProxy::didClose):
519         * WebKit2.xcodeproj/project.pbxproj:
520         * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
521         (WebKit::PluginProcessConnectionManager::pluginProcessCrashed):
522         * WebProcess/Plugins/PluginProcessConnectionManager.h:
523         (PluginProcessConnectionManager):
524         * WebProcess/Plugins/PluginProcessConnectionManager.messages.in: Added.
525         * WebProcess/WebProcess.cpp:
526         (WebKit::WebProcess::didReceiveMessageOnConnectionWorkQueue):
527         (WebKit::WebProcess::webResourceLoadScheduler):
528         * WebProcess/WebProcess.h:
529         (WebProcess):
530         * WebProcess/WebProcess.messages.in:
531
532 2013-02-11  Benjamin Poulain  <benjamin@webkit.org>
533
534         Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
535         https://bugs.webkit.org/show_bug.cgi?id=109349
536
537         Reviewed by Sam Weinig.
538
539         * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
540         * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
541         * WebProcess/InjectedBundle/InjectedBundle.cpp:
542         * WebProcess/InjectedBundle/InjectedBundle.h:
543         (InjectedBundle):
544
545 2013-02-11  Dean Jackson  <dino@apple.com>
546
547         Snapshotted plug-in should use shadow root
548         https://bugs.webkit.org/show_bug.cgi?id=108284
549
550         Reviewed by Simon Fraser.
551
552         Take three of this commit - after rollout in r142400 and r142405.
553         We no longer have any need for plugInStartLabelImage.
554
555         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Remove plugInStartLabelImage.
556         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h: Ditto.
557         * WebProcess/WebCoreSupport/WebChromeClient.cpp: Ditto.
558         * WebProcess/WebCoreSupport/WebChromeClient.h: Ditto.
559
560 2013-02-11  Anders Carlsson  <andersca@apple.com>
561
562         The plug-in process connection manager doesn't need to be heap allocated
563         https://bugs.webkit.org/show_bug.cgi?id=109479
564
565         Reviewed by Andreas Kling.
566
567         * WebProcess/WebProcess.cpp:
568         (WebKit::WebProcess::WebProcess):
569         (WebKit::WebProcess::pluginProcessConnectionManager):
570         (WebKit::WebProcess::pluginProcessCrashed):
571         * WebProcess/WebProcess.h:
572         (WebKit):
573         (WebProcess):
574
575 2013-02-11  Tony Chang  <tony@chromium.org>
576
577         Move setFrameFlatteningEnabled from layoutTestController to window.internals.settings
578         https://bugs.webkit.org/show_bug.cgi?id=87149
579
580         Reviewed by Simon Fraser.
581
582         * WebProcess/InjectedBundle/InjectedBundle.cpp:
583         (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): Add setFrameFlatteningEnabled to the list of overridable values.
584
585 2013-02-11  Claudio Saavedra  <csaavedra@igalia.com>
586
587         [WK2][Notifications] Missing early return in populateCopyOfNotificationPermissions
588         https://bugs.webkit.org/show_bug.cgi?id=108459
589
590         Reviewed by Alexey Proskuryakov.
591
592         * UIProcess/Notifications/WebNotificationManagerProxy.cpp:
593         (WebKit::WebNotificationManagerProxy::populateCopyOfNotificationPermissions):
594         Providers might return 0 and we will end up with a null-pointer dereference.
595         Early check against this.
596
597 2013-02-10  Sam Weinig  <sam@webkit.org>
598
599         Make the Plug-in XPCService build work even when building in Xcode
600         <rdar://problem/13011186>
601         https://bugs.webkit.org/show_bug.cgi?id=109392
602
603         Reviewed by Anders Carlsson.
604
605         * Configurations/DebugRelease.xcconfig:
606         Add a DEBUG_OR_RELEASE variable to test against.
607         * Configurations/PluginService.32.xcconfig:
608         * Configurations/PluginService.64.xcconfig:
609         In non-production builds, don't link against WebKit2, so that we don't get warnings about WebKit2.framework
610         not containing the right architectures. This is ok, as these services are not used in non-production builds.
611
612         * NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/Info.plist:
613         * NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/NetworkServiceMain.Development.mm:
614         * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info.plist:
615         * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/NetworkServiceMain.mm:
616         * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/Info.plist:
617         * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/PluginService.32.Main.mm:
618         * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/Info.plist:
619         * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/PluginService.64.Main.mm:
620         * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/Info.plist:
621         * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/PluginService.Development.Main.mm:
622         * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/Info.plist:
623         * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebContentServiceMain.Development.mm:
624         * WebProcess/EntryPoint/mac/XPCService/WebContentService/Info.plist:
625         * WebProcess/EntryPoint/mac/XPCService/WebContentService/WebContentServiceMain.mm:
626         Switch off the the old idiom of defining a macro for the initializer function, and instead set
627         it in the Info.plist, so the XPCServiceBootstrapper can grab it.
628
629         * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.Development.h:
630         (WebKit::XPCServiceEventHandler):
631         * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.h:
632         (WebKit::XPCServiceEventHandler):
633         Get the entry point from the bundle, rather than the macro. This is not only a bit less gross,
634         but also allows us to build without having linked against WebKit2.framework.
635
636         * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
637         (WebKit::shouldUseXPC):
638         Re-enable using XPC for plug-ins.
639
640         * WebKit2.xcodeproj/project.pbxproj:
641         Update project.
642
643 2013-02-10  Anders Carlsson  <andersca@apple.com>
644
645         Add back code that was accidentally removed when moving plug-in enumeration back to the main thread
646         https://bugs.webkit.org/show_bug.cgi?id=109379
647
648         Reviewed by Andreas Kling.
649
650         * UIProcess/WebProcessProxy.cpp:
651         (WebKit::WebProcessProxy::getPlugins):
652
653 2013-02-10  Kent Tamura  <tkent@chromium.org>
654
655         Unreviewed, rolling out r142347.
656         http://trac.webkit.org/changeset/142347
657         https://bugs.webkit.org/show_bug.cgi?id=108273
658
659         Because a depending change r142343 was rolled out.
660
661         * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
662         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
663         (WebKit::InjectedBundlePageUIClient::plugInStartLabelTitle):
664         (WebKit::InjectedBundlePageUIClient::plugInStartLabelSubtitle):
665
666 2013-02-10  Kent Tamura  <tkent@chromium.org>
667
668         Unreviewed, rolling out r142343.
669         http://trac.webkit.org/changeset/142343
670         https://bugs.webkit.org/show_bug.cgi?id=108284
671
672         It might make inspector/profiler/selector-profiler-url.html
673         crashy.
674
675         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
676         (WebKit::InjectedBundlePageUIClient::plugInStartLabelImage):
677         (WebKit):
678         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
679         (InjectedBundlePageUIClient):
680         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
681         (WebKit::WebChromeClient::plugInStartLabelImage):
682         (WebKit):
683         * WebProcess/WebCoreSupport/WebChromeClient.h:
684         (WebChromeClient):
685
686 2013-02-10  Zan Dobersek  <zdobersek@igalia.com>
687
688         [WebKit2][Gtk] Remove the fullscreen manager proxy message receiver upon invalidating
689         https://bugs.webkit.org/show_bug.cgi?id=109352
690
691         Reviewed by Sam Weinig.
692
693         As added for the Mac port in r142160 due to the changes in the same revision, remove
694         the fullscreen manager proxy as a message receiver. Also fixes a failing unit test.
695
696         * UIProcess/gtk/WebFullScreenManagerProxyGtk.cpp:
697         (WebKit::WebFullScreenManagerProxy::invalidate):
698
699 2013-02-10  Zoltan Arvai  <zarvai@inf.u-szeged.hu>
700
701         [WK2] Fix build on PLUGIN_ARCHITECTURE(UNSUPPORTED) after r142314
702         https://bugs.webkit.org/show_bug.cgi?id=109364
703
704         Reviewed by Simon Hausmann.
705
706         void NetscapePlugin::platformPreInitialize() is need to be added to NetscapePluginNone.cpp.
707
708         * WebProcess/Plugins/Netscape/NetscapePluginNone.cpp:
709         (WebKit::NetscapePlugin::platformPreInitialize):
710         (WebKit):
711
712 2013-02-09  Sheriff Bot  <webkit.review.bot@gmail.com>
713
714         Unreviewed, rolling out r137328.
715         http://trac.webkit.org/changeset/137328
716         https://bugs.webkit.org/show_bug.cgi?id=109367
717
718         causes memory usage to balloon if connection queue is filling
719         faster than sending (Requested by kling on #webkit).
720
721         * Platform/CoreIPC/ArgumentEncoder.cpp:
722         (CoreIPC::ArgumentEncoder::ArgumentEncoder):
723         (CoreIPC::ArgumentEncoder::grow):
724         * Platform/CoreIPC/ArgumentEncoder.h:
725         (CoreIPC::ArgumentEncoder::buffer):
726         (ArgumentEncoder):
727
728 2013-02-08  Sam Weinig  <sam@webkit.org>
729
730         Fix ASSERT when the Web Content Process crashes
731         https://bugs.webkit.org/show_bug.cgi?id=109346
732
733         Reviewed by Simon Fraser.
734
735         * UIProcess/WebPageProxy.cpp:
736         (WebKit::WebPageProxy::processDidCrash):
737         We need to remove ourselves as a message receiver before calling out to the client, as
738         the client might want to re-add us (as Safari does).
739
740 2013-02-08  Benjamin Poulain  <bpoulain@apple.com>
741
742         Move workerThreadCount from TestRunner to WebCore Internals
743         https://bugs.webkit.org/show_bug.cgi?id=109239
744
745         Reviewed by Darin Adler.
746
747         * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
748         * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
749         * WebProcess/InjectedBundle/InjectedBundle.cpp:
750         * WebProcess/InjectedBundle/InjectedBundle.h:
751         (InjectedBundle):
752         * WebProcess/WebPage/WebFrame.cpp: Remove a useless #include.
753
754 2013-02-08  Dean Jackson  <dino@apple.com>
755
756         Remove use of plugInStartLabelImage
757         https://bugs.webkit.org/show_bug.cgi?id=108273
758
759         Reviewed by Simon Fraser.
760
761         Remove any use of plugInStartLabelImage. While there, implement plugInStartLabelTitle
762         and plugInStartLabelSubtitle to return the values from the client.
763         implement them.
764
765         * WebProcess/InjectedBundle/API/c/WKBundlePage.h: Remove callback and entry from client structure.
766         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Remove plugInStartLabelImage.
767         (WebKit::InjectedBundlePageUIClient::plugInStartLabelTitle): Ask the client bundle for value.
768         (WebKit::InjectedBundlePageUIClient::plugInStartLabelSubtitle): Ditto.
769
770 2013-02-08  Dean Jackson  <dino@apple.com>
771
772         Snapshotted plug-in should use shadow root
773         https://bugs.webkit.org/show_bug.cgi?id=108284
774
775         Reviewed by Simon Fraser.
776
777         Take two of this commit! We no longer have any need for plugInStartLabelImage.
778
779         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Remove plugInStartLabelImage.
780         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h: Ditto.
781         * WebProcess/WebCoreSupport/WebChromeClient.cpp: Ditto.
782         * WebProcess/WebCoreSupport/WebChromeClient.h: Ditto.
783
784 2013-02-08  Dean Jackson  <dino@apple.com>
785
786         Rolling out r142333 and r142337 which broke Mac Release builds.
787
788 2013-02-08  Anders Carlsson  <andersca@apple.com>
789
790         Move plug-in enumeration back to the main thread
791         https://bugs.webkit.org/show_bug.cgi?id=109337
792         <rdar://problem/12015046>
793
794         Reviewed by Andreas Kling.
795
796         Plug-in enumeration was moved to a separate work queue to improve responsiveness, but
797         doing so lead to crashes when WebKit1 would enumerate plug-ins on the main thread at the same time.
798         Bug <rdar://problem/13185819> tracks fixing the responsiveness issue by spawning a plug-in process
799         and have it do the enumeration.
800
801         * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
802         (WebKit::getPluginInfoFromCarbonResources):
803         * UIProcess/WebProcessProxy.cpp:
804         (WebKit::WebProcessProxy::connectionWillOpen):
805         (WebKit::WebProcessProxy::connectionWillClose):
806         (WebKit::WebProcessProxy::getPlugins):
807         * UIProcess/WebProcessProxy.h:
808         (WebCore):
809         (WebProcessProxy):
810         * UIProcess/WebProcessProxy.messages.in:
811         * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
812         (WebKit):
813         (WebKit::WebPlatformStrategies::populatePluginCache):
814         * WebProcess/WebProcess.cpp:
815         * WebProcess/WebProcess.h:
816         (WebProcess):
817         * WebProcess/WebProcess.messages.in:
818
819 2013-02-08  Dean Jackson  <dino@apple.com>
820
821         Snapshotted plug-in should use shadow root
822         https://bugs.webkit.org/show_bug.cgi?id=108284
823
824         Reviewed by Simon Fraser.
825
826         We no longer have any need for plugInStartLabelImage.
827
828         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Remove plugInStartLabelImage.
829         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h: Ditto.
830         * WebProcess/WebCoreSupport/WebChromeClient.cpp: Ditto.
831         * WebProcess/WebCoreSupport/WebChromeClient.h: Ditto.
832
833 2013-02-08  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
834
835         [WK2] Fix the build on !Mac after r142314.
836         https://bugs.webkit.org/show_bug.cgi?id=109327
837
838         Reviewed by Benjamin Poulain.
839
840         * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
841         (WebKit::NetscapePlugin::platformPreInitialize): Add a stub for
842         the newly-added function.
843
844         * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
845         (WebKit::NetscapePlugin::platformPreInitialize):
846         (WebKit):
847
848 2013-02-07  Anders Carlsson  <andersca@apple.com>
849
850         Work around a bug in Flash where NSException objects can be released too early
851         https://bugs.webkit.org/show_bug.cgi?id=109242
852         <rdar://problem/13003470>
853
854         Reviewed by Darin Adler.
855
856         * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
857         (WebKit::NetscapePluginModule::determineQuirks):
858         Set the new plug-in quirk.
859
860         * Shared/Plugins/PluginQuirks.h:
861         Add a new plug-in quirk.
862
863         * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
864         (WebKit::NetscapePlugin::initialize):
865         Call platformPreInitialize.
866
867         * WebProcess/Plugins/Netscape/NetscapePlugin.h:
868         (NetscapePlugin):
869         Add platformPreInitialize.
870
871         * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
872         (WebKit::NSException_release):
873         Add new empty function.
874
875         (WebKit::NetscapePlugin::platformPreInitialize):
876         Patch -[NSException release] to be a no-op.
877
878 2013-02-08  Dean Jackson  <dino@apple.com>
879
880         Do not register autostart for plugins from file:// (or nowhere)
881         https://bugs.webkit.org/show_bug.cgi?id=108271
882
883         Reviewed by Tim Horton.
884
885         If the pageOrigin is the empty string don't add
886         it to the auto-start origin list for snapshotting.
887
888         * WebProcess/WebProcess.cpp:
889         (WebKit::WebProcess::addPlugInAutoStartOrigin):
890
891 2013-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
892
893         Unreviewed, rolling out r142212.
894         http://trac.webkit.org/changeset/142212
895         https://bugs.webkit.org/show_bug.cgi?id=109255
896
897         Causes ASSERT(!m_installed) on launch (Requested by smfr on
898         #webkit).
899
900         * PluginProcess/PluginProcess.cpp:
901         (WebKit::PluginProcess::initializeProcess):
902         (WebKit::PluginProcess::shouldTerminate):
903         * PluginProcess/PluginProcess.h:
904         (PluginProcess):
905         * WebProcess/WebProcess.cpp:
906         (WebKit::WebProcess::initializeWebProcess):
907
908 2013-02-07  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
909
910         [EFL][WK2] Remove dead code after r142169
911         https://bugs.webkit.org/show_bug.cgi?id=109251
912
913         Reviewed by Benjamin Poulain.
914
915         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
916         (WebKit::WebChromeClient::contentsSizeChanged):
917
918 2013-02-06  Gavin Barraclough  <barraclough@apple.com>
919
920         PluginProcess should quit immediately if idle in response to low-memory notifications
921         https://bugs.webkit.org/show_bug.cgi?id=109103
922         <rdar://problem/12679827>
923
924         Reviewed by Darin Adler.
925
926         PluginProcess now initializes a MemoryPressureHandler for the process, providing
927         a custom callback which will call terminate if appropriate (if the plugin is not
928         currently in use).
929
930         * PluginProcess/PluginProcess.cpp:
931         (WebKit::PluginProcess::lowMemoryHandler):
932             - Custom callback to terminate if appropriate.
933         (WebKit::PluginProcess::initializeProcess):
934             - Initialize the MemoryPressureHandler.
935         (WebKit::PluginProcess::shouldTerminate):
936             - This method now also needs to be callable in situations where it might return false.
937         * PluginProcess/PluginProcess.h:
938         (PluginProcess):
939             - Added declaration for lowMemoryHandler.
940         * WebProcess/WebProcess.cpp:
941         (WebKit::WebProcess::initializeWebProcess):
942             - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
943
944 2013-02-07  KwangYong Choi  <ky0.choi@samsung.com>
945
946         Fix build warning after r142017
947         https://bugs.webkit.org/show_bug.cgi?id=109119
948
949         Reviewed by Alexey Proskuryakov.
950
951         Use UNUSED_PARAM macro to fix -Wunused-parameter build warning.
952
953         * UIProcess/WebPageProxy.cpp:
954         (WebKit::WebPageProxy::getPluginPath):
955
956 2013-02-07  Martin Robinson  <mrobinson@igalia.com>
957
958         [GTK] Cleanup command-line defines
959         https://bugs.webkit.org/show_bug.cgi?id=109213
960
961         Reviewed by Xan Lopez.
962
963         * GNUmakefile.am:  Remove references to flags that are now
964         provided by autotoolsconfig.h.
965
966 2013-02-07  Benjamin Poulain  <bpoulain@apple.com>
967
968         Move pauseAnimation/pauseTransition from TestRunner to Internals
969         https://bugs.webkit.org/show_bug.cgi?id=109107
970
971         Reviewed by Anders Carlsson.
972
973         * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
974         * WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h:
975         * WebProcess/WebPage/WebFrame.cpp:
976         * WebProcess/WebPage/WebFrame.h:
977         (WebFrame):
978
979 2013-02-07  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
980
981         [WK2][EFL] Removal of non coordinated graphics code path from WK2 EFL
982         https://bugs.webkit.org/show_bug.cgi?id=109165
983
984         Reviewed by Anders Carlsson.
985
986         Removed non coordinated graphics code path from WK2 EFL as it was not used by
987         anyone and caused a lot of preprocessor macros in the code making it less readable.
988
989         * UIProcess/API/efl/EvasGLContext.cpp:
990         * UIProcess/API/efl/EvasGLContext.h:
991         (WebKit::EvasGLContext::context):
992         * UIProcess/API/efl/EvasGLSurface.cpp:
993         * UIProcess/API/efl/EvasGLSurface.h:
994         (WebKit::EvasGLSurface::surface):
995
996             Removed also 'inline' and 'const' keywords from functions declaration,
997             as both EvasGLContext::context() and EvasGLSurface::surface()
998             are defined inside their classes and return mutable pointer.
999
1000         * UIProcess/API/efl/EwkView.cpp:
1001         (EwkView::EwkView):
1002         (EwkView::transformFromScene):
1003         (EwkView::transformToScreen):
1004         (EwkView::coordinatedGraphicsScene):
1005         (EwkView::displayTimerFired):
1006         (EwkView::scheduleUpdateDisplay): Renamed from EwkView::update().
1007         (EwkView::exitAcceleratedCompositingMode):
1008         (EwkView::handleEvasObjectCalculate):
1009         (EwkView::takeSnapshot):
1010         * UIProcess/API/efl/EwkView.h:
1011         (WebCore):
1012         (EwkView):
1013         * UIProcess/API/efl/SnapshotImageGL.cpp:
1014         (getImageSurfaceFromFrameBuffer):
1015         * UIProcess/API/efl/SnapshotImageGL.h:
1016         * UIProcess/API/efl/ewk_view.cpp:
1017         * UIProcess/efl/PageClientBase.cpp:
1018         (WebKit::PageClientBase::setViewNeedsDisplay):
1019         (WebKit::PageClientBase::updateAcceleratedCompositingMode):
1020         * UIProcess/efl/PageClientBase.h:
1021         (PageClientBase):
1022         * UIProcess/efl/PageClientDefaultImpl.cpp:
1023         (WebKit::PageClientDefaultImpl::didCommitLoad):
1024         (WebKit::PageClientDefaultImpl::updateViewportSize):
1025         (WebKit::PageClientDefaultImpl::didChangeViewportProperties):
1026         (WebKit::PageClientDefaultImpl::didChangeContentsSize):
1027         (WebKit::PageClientDefaultImpl::pageTransitionViewportReady):
1028         * UIProcess/efl/PageClientDefaultImpl.h:
1029         (PageClientDefaultImpl):
1030         * UIProcess/efl/PageClientLegacyImpl.cpp:
1031         (WebKit::PageClientLegacyImpl::didCommitLoad):
1032         (WebKit::PageClientLegacyImpl::updateViewportSize):
1033         (WebKit::PageClientLegacyImpl::didChangeViewportProperties):
1034         (WebKit::PageClientLegacyImpl::didChangeContentsSize):
1035         (WebKit::PageClientLegacyImpl::pageDidRequestScroll):
1036         (WebKit::PageClientLegacyImpl::didRenderFrame):
1037         (WebKit::PageClientLegacyImpl::pageTransitionViewportReady):
1038         * UIProcess/efl/PageClientLegacyImpl.h:
1039         (PageClientLegacyImpl):
1040         * UIProcess/efl/PageLoadClientEfl.cpp:
1041         (WebKit::PageLoadClientEfl::didCommitLoadForFrame):
1042         (WebKit::PageLoadClientEfl::PageLoadClientEfl):
1043         * UIProcess/efl/PageLoadClientEfl.h:
1044         (PageLoadClientEfl):
1045         * UIProcess/efl/PageViewportControllerClientEfl.cpp:
1046         (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
1047         (WebKit::PageViewportControllerClientEfl::didChangeVisibleContents):
1048         * UIProcess/efl/PageViewportControllerClientEfl.h:
1049         * UIProcess/efl/WebInspectorProxyEfl.cpp:
1050         (WebKit::WebInspectorProxy::platformCreateInspectorPage):
1051         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
1052         (WebKit::WebChromeClient::contentsSizeChanged):
1053
1054 2013-02-06  Sam Weinig  <sam@webkit.org>
1055
1056         Make WebPageProxy and sub-objects MessageReceivers
1057         https://bugs.webkit.org/show_bug.cgi?id=108785
1058
1059         Reviewed by Anders Carlsson.
1060
1061         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
1062         (WebKit::CoordinatedLayerTreeHostProxy::CoordinatedLayerTreeHostProxy):
1063         (WebKit::CoordinatedLayerTreeHostProxy::~CoordinatedLayerTreeHostProxy):
1064         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
1065         (CoordinatedLayerTreeHostProxy):
1066         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in:
1067         * UIProcess/DrawingAreaProxy.cpp:
1068         (WebKit::DrawingAreaProxy::DrawingAreaProxy):
1069         (WebKit::DrawingAreaProxy::~DrawingAreaProxy):
1070         (WebKit::DrawingAreaProxy::contentsRect):
1071         * UIProcess/DrawingAreaProxy.h:
1072         (WebKit::DrawingAreaProxy::setVisibleContentsRect):
1073         * UIProcess/DrawingAreaProxy.messages.in:
1074         * UIProcess/DrawingAreaProxyImpl.cpp:
1075         (WebKit::DrawingAreaProxyImpl::setVisibleContentsRect):
1076         * UIProcess/DrawingAreaProxyImpl.h:
1077         * UIProcess/WebFullScreenManagerProxy.cpp:
1078         (WebKit::WebFullScreenManagerProxy::WebFullScreenManagerProxy):
1079         * UIProcess/WebFullScreenManagerProxy.h:
1080         (WebFullScreenManagerProxy):
1081         * UIProcess/WebFullScreenManagerProxy.messages.in:
1082         * UIProcess/WebInspectorProxy.cpp:
1083         (WebKit::WebInspectorProxy::WebInspectorProxy):
1084         (WebKit::WebInspectorProxy::invalidate):
1085         * UIProcess/WebInspectorProxy.h:
1086         * UIProcess/WebInspectorProxy.messages.in:
1087         * UIProcess/WebPageProxy.cpp:
1088         (WebKit::WebPageProxy::WebPageProxy):
1089         (WebKit::WebPageProxy::reattachToWebProcess):
1090         (WebKit::WebPageProxy::close):
1091         (WebKit::WebPageProxy::inspector):
1092         (WebKit::WebPageProxy::fullScreenManager):
1093         (WebKit::WebPageProxy::processDidCrash):
1094         * UIProcess/WebPageProxy.h:
1095         * UIProcess/WebPageProxy.messages.in:
1096         * UIProcess/WebProcessProxy.cpp:
1097         (WebKit::WebProcessProxy::didReceiveMessage):
1098         (WebKit::WebProcessProxy::didReceiveSyncMessage):
1099         * UIProcess/mac/WebFullScreenManagerProxyMac.mm:
1100         (WebKit::WebFullScreenManagerProxy::invalidate):
1101
1102 2013-02-07  Zan Dobersek  <zdobersek@igalia.com>
1103
1104         [Autotools] Remove uses of Automake FARSTREAM_(CFLAGS|LIBS) variables, USE_FARSTREAM conditional
1105         https://bugs.webkit.org/show_bug.cgi?id=109198
1106
1107         Reviewed by Martin Robinson.
1108
1109         * GNUmakefile.am: Remove the FARSTREAM_(CFLAGS|LIBS) variables, they're
1110         not set to anything.
1111
1112 2013-02-07  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1113
1114         [WK2][EFL] Add WKView methods related to background drawing
1115         https://bugs.webkit.org/show_bug.cgi?id=109159
1116
1117         Reviewed by Anders Carlsson.
1118
1119         * UIProcess/API/C/efl/WKView.cpp:
1120         (WKViewSetDrawsBackground):
1121         (WKViewGetDrawsBackground):
1122         (WKViewSetDrawsTransparentBackground):
1123         (WKViewGetDrawsTransparentBackground):
1124          * UIProcess/efl/WebView.cpp:
1125         (WebKit::WebView::setDrawsBackground):
1126         (WebKit):
1127         (WebKit::WebView::drawsBackground):
1128         (WebKit::WebView::setDrawsTransparentBackground):
1129         (WebKit::WebView::drawsTransparentBackground):
1130         * UIProcess/efl/WebView.h:
1131         (WebView):
1132        * UIProcess/API/C/efl/WKView.h:
1133
1134             New methods added
1135
1136         * UIProcess/API/efl/EwkView.cpp:
1137         (EwkView::EwkView):
1138         (EwkView::displayTimerFired):
1139         (EwkView::handleEvasObjectColorSet):
1140         * UIProcess/API/efl/EwkView.h:
1141         (EwkView):
1142         * UIProcess/API/efl/ewk_view.cpp:
1143         (ewk_view_draws_page_background_set):
1144
1145             Remove the unneeded m_setDrawsBackground and replace
1146             it with the WKView setting.
1147
1148 2013-02-07  Christophe Dumez  <dchris@gmail.com>
1149
1150         [EFL][WK2] EWK2UnitTestBase.ewk_view_page_contents_get API test is sometimes failing
1151         https://bugs.webkit.org/show_bug.cgi?id=108634
1152
1153         Reviewed by Alexey Proskuryakov.
1154
1155         Use more robust data validation in EWK2UnitTestBase.ewk_view_page_contents_get
1156         so that the test passes consistently. The issue was that the header before the
1157         data includes the current date. Depending on the date, the data may start at a
1158         different index in the returned string. Instead of hardcoding the data start
1159         index in the test, we now use String::contains().
1160
1161         * UIProcess/API/efl/tests/test_ewk2_view.cpp:
1162         (PageContentsCallback):
1163         (TEST_F):
1164
1165 2013-02-07  Gavin Peters  <gavinp@chromium.org>
1166
1167         Unreviewed, rolling out r142141.
1168         http://trac.webkit.org/changeset/142141
1169         https://bugs.webkit.org/show_bug.cgi?id=108990
1170
1171         Reland r142112, will update Chromium expectations and create a
1172         Chromium bug instead for the crash.
1173
1174         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
1175         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
1176         * WebProcess/WebPage/DrawingAreaImpl.cpp:
1177         (WebKit::DrawingAreaImpl::DrawingAreaImpl):
1178
1179 2013-02-07  Gavin Peters  <gavinp@chromium.org>
1180
1181         Unreviewed, rolling out r142112.
1182         http://trac.webkit.org/changeset/142112
1183         https://bugs.webkit.org/show_bug.cgi?id=108990
1184
1185         The new test scrollingcoordinator/non-fast-scrollable-region-transformed- iframe.html crashes on Lion.
1186
1187         See http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=scrollingcoordinator%2Fnon-fast-scrollable-region-transformed-iframe.html
1188
1189         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
1190         (WebKit::updateOffsetFromViewportForSelf):
1191         (WebKit):
1192         (WebKit::updateOffsetFromViewportForLayer):
1193         (WebKit::CoordinatedLayerTreeHost::syncFixedLayers):
1194         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
1195         * WebProcess/WebPage/DrawingAreaImpl.cpp:
1196         (WebKit::DrawingAreaImpl::DrawingAreaImpl):
1197
1198 2013-02-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1199
1200         [CoordinatedGraphics] Use ScrollingCoordinator to track fixed layers
1201         https://bugs.webkit.org/show_bug.cgi?id=108990
1202
1203         Reviewed by Noam Rosenthal.
1204         Signed off for WebKit2 by Simon Fraser.
1205
1206         WebCore keeps ScrollingCoordinator up-to-date about whether layers are fixed or not, so we
1207         don't need to traverse the tree every frame to get this information.
1208
1209         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp: remove
1210         syncFixedLayers() and its helper functions. Those were used to identify the fixed layers
1211         and are not needed anymore.
1212         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
1213         * WebProcess/WebPage/DrawingAreaImpl.cpp:
1214         (WebKit::DrawingAreaImpl::DrawingAreaImpl): enable the scrolling coordinator usage for
1215         Coordinated Graphics.
1216
1217 2013-02-07  Michael Brüning  <michael.bruning@digia.com>
1218
1219         [Qt][WK2] Fold QtWebPageLoadClient into QQuickWebViewPrivate and move to C API.
1220         https://bugs.webkit.org/show_bug.cgi?id=108473
1221
1222         Reviewed by Simon Hausmann.
1223         Signed off for WebKit2 by Benjamin Poulain.
1224
1225         This patch removes the QtWebPageLoadClient and moves the functionality into the
1226         QQuickWebViewPrivate as most callback methods are calling the private webview
1227         indirectly anyway.
1228
1229         The patch also moves as much of the functionality to the C API as is possible with
1230         the current C API.
1231
1232         * Target.pri:
1233         * UIProcess/API/qt/qquickwebview.cpp:
1234         (QQuickWebViewPrivate::initialize):
1235         (QQuickWebViewPrivate::didStartProvisionalLoadForFrame):
1236         (QQuickWebViewPrivate::didReceiveServerRedirectForProvisionalLoadForFrame):
1237         (QQuickWebViewPrivate::didFailLoad):
1238         (QQuickWebViewPrivate::didCommitLoadForFrame):
1239         (QQuickWebViewPrivate::didFinishLoadForFrame):
1240         (QQuickWebViewPrivate::didSameDocumentNavigationForFrame):
1241         (QQuickWebViewPrivate::didReceiveTitleForFrame):
1242         (QQuickWebViewPrivate::didStartProgress):
1243         (QQuickWebViewPrivate::didChangeProgress):
1244         (QQuickWebViewPrivate::didFinishProgress):
1245         (QQuickWebViewPrivate::didChangeBackForwardList):
1246         (QQuickWebViewPrivate::setTransparentBackground):
1247         (QQuickWebViewPrivate::transparentBackground):
1248         (QQuickWebViewPrivate::loadProgressDidChange):
1249         * UIProcess/API/qt/qquickwebview_p.h:
1250         (WebKit):
1251         * UIProcess/API/qt/qquickwebview_p_p.h:
1252         (WebKit):
1253         (QQuickWebViewPrivate):
1254         * UIProcess/qt/QtWebError.cpp:
1255         (WebKit::QtWebError::url):
1256         * UIProcess/qt/QtWebPageLoadClient.cpp: Removed.
1257         * UIProcess/qt/QtWebPageLoadClient.h: Removed.
1258
1259 2013-02-05  Eunmi Lee  <eunmi15.lee@samsung.com> and Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
1260
1261         [EFL][WK2] Refactoring initialization and shutdown codes of EFL libraries.
1262         https://bugs.webkit.org/show_bug.cgi?id=97173
1263
1264         Reviewed by Kenneth Rohde Christiansen, signed-off by Benjamin Poulain.
1265
1266         Initialize and shutdown the EFL libraries in the ewk_main.cpp for
1267         UIProcess and WebProcessMainEfl.cpp for WebProcess.
1268
1269         This allows us to shut down the libraries in a proper way, since
1270         RunLoop persist until the process exits.
1271
1272         * UIProcess/API/efl/ewk_main.cpp:
1273         (ewk_init):
1274         (ewk_shutdown):
1275         * WebProcess/efl/WebProcessMainEfl.cpp:
1276         (WebKit::WebProcessMainEfl):
1277
1278 2013-02-07  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1279
1280         Unreviewed build fix.
1281
1282         * UIProcess/Downloads/DownloadProxyMap.cpp:
1283         (WebKit::DownloadProxyMap::processDidClose):
1284         m_process can't be initialized nullptr yet. Use 0 instead of nullptr.
1285
1286 2013-02-07  Simon Hausmann  <simon.hausmann@digia.com>
1287
1288         [Qt][WK2] Fold QtWebPageFindClient into QQuickWebViewPrivate
1289         https://bugs.webkit.org/show_bug.cgi?id=108920
1290
1291         Reviewed by Jocelyn Turcotte, signed off for WK2 by Benjamin.
1292
1293         Employ the pattern suggested by Jocelyn to simply implement the C
1294         callbacks directly using static functions.
1295
1296         * Target.pri:
1297         * UIProcess/API/qt/qquickwebview.cpp:
1298         (toQQuickWebViewPrivate):
1299         (QQuickWebViewPrivate::initialize):
1300         (QQuickWebViewPrivate::didFindString):
1301         (QQuickWebViewPrivate::didFailToFindString):
1302         * UIProcess/API/qt/qquickwebview_p_p.h:
1303         (QQuickWebViewPrivate):
1304         * UIProcess/qt/QtWebPageFindClient.cpp: Removed.
1305         * UIProcess/qt/QtWebPageFindClient.h: Removed.
1306
1307 2013-02-03  Sam Weinig  <sam@webkit.org>
1308
1309         Make CustomProtocolManagerProxy a MessageReceiver
1310         https://bugs.webkit.org/show_bug.cgi?id=108787
1311
1312         Reviewed by Anders Carlsson.
1313
1314         * Shared/ChildProcessProxy.cpp:
1315         (WebKit::ChildProcessProxy::addMessageReceiver):
1316         (WebKit::ChildProcessProxy::removeMessageReceiver):
1317         (WebKit::ChildProcessProxy::dispatchMessage):
1318         (WebKit::ChildProcessProxy::dispatchSyncMessage):
1319         * Shared/ChildProcessProxy.h:
1320         Sink the MessageReceiverMap down into the ChildProcessProxy.
1321
1322         * UIProcess/Downloads/DownloadProxyMap.cpp:
1323         (WebKit::DownloadProxyMap::DownloadProxyMap):
1324         (WebKit::DownloadProxyMap::createDownloadProxy):
1325         (WebKit::DownloadProxyMap::downloadFinished):
1326         (WebKit::DownloadProxyMap::processDidClose):
1327         * UIProcess/Downloads/DownloadProxyMap.h:
1328         Pass the ChildProcessProxy rather than the MessageReceiverMap to the constructor.
1329
1330         * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
1331         * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.messages.in:
1332         * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm:
1333         (WebKit::CustomProtocolManagerProxy::CustomProtocolManagerProxy):
1334         Convert to a MessageReceiver.
1335
1336         * UIProcess/Network/NetworkProcessProxy.cpp:
1337         (WebKit::NetworkProcessProxy::createDownloadProxy):
1338         (WebKit::NetworkProcessProxy::didReceiveMessage):
1339         (WebKit::NetworkProcessProxy::didReceiveSyncMessage):
1340         * UIProcess/Network/NetworkProcessProxy.h:
1341         * UIProcess/WebProcessProxy.cpp:
1342         (WebKit::WebProcessProxy::didReceiveMessage):
1343         (WebKit::WebProcessProxy::didReceiveSyncMessage):
1344         (WebKit::WebProcessProxy::createDownloadProxy):
1345         * UIProcess/WebProcessProxy.h:
1346         (WebProcessProxy):
1347         Remove direct chaining to CustomProtocolManagerProxy.
1348
1349 2013-02-06  Enrica Casucci  <enrica@apple.com>
1350
1351         ASSERT(!m_findPageOverlay) in FindController.cpp after r140769.
1352         https://bugs.webkit.org/show_bug.cgi?id=109105.
1353
1354         Reviewed by Tim Horton.
1355
1356         In r140769 we changed the way the overlay is destroyed,
1357         therefore the assert is no longer valid and should be removed.
1358
1359         * WebProcess/WebPage/FindController.cpp:
1360         (WebKit::FindController::updateFindUIAfterPageScroll):
1361
1362 2013-02-06  Anders Carlsson  <andersca@apple.com>
1363
1364         Dispatch storage manager messages to the storage work queue
1365         https://bugs.webkit.org/show_bug.cgi?id=109099
1366
1367         Reviewed by Andreas Kling.
1368
1369         * UIProcess/Storage/StorageManager.cpp:
1370         (WebKit::StorageManager::didReceiveMessageOnConnectionWorkQueue):
1371         (WebKit::StorageManager::dispatchMessageOnStorageManagerQueue):
1372         (WebKit):
1373         * UIProcess/Storage/StorageManager.h:
1374         (StorageManager):
1375
1376 2013-02-06  Anders Carlsson  <andersca@apple.com>
1377
1378         Pass the document source URL to the pluginLoadPolicy callback
1379         https://bugs.webkit.org/show_bug.cgi?id=109084
1380         <rdar://problem/13154516>
1381
1382         Reviewed by Andreas Kling.
1383
1384         * UIProcess/API/C/WKPage.h:
1385         * UIProcess/WebPageProxy.cpp:
1386         (WebKit::WebPageProxy::getPluginPath):
1387         * UIProcess/WebPageProxy.h:
1388         (WebPageProxy):
1389         * UIProcess/WebPageProxy.messages.in:
1390         * UIProcess/WebUIClient.cpp:
1391         (WebKit::WebUIClient::pluginLoadPolicy):
1392         * UIProcess/WebUIClient.h:
1393         (WebUIClient):
1394         * WebProcess/WebPage/WebPage.cpp:
1395         (WebKit::WebPage::createPlugin):
1396         (WebKit::WebPage::canPluginHandleResponse):
1397
1398 2013-02-06  Alexey Proskuryakov  <ap@apple.com>
1399
1400         Get rid of unneeded writeable preferences.
1401
1402         Reviewed by Anders Carlsson.
1403
1404         com.apple.HIToolbox.plist and com.apple.WebProcess.plist were made writeable very
1405         early in WebKit2 development, before we moved a lot of functionality to UI process.
1406         They don't appear to be needed any more.
1407
1408         Note that we do not even need to allow reading for com.apple.WebProcess.plist -
1409         it's read at process initialization before we enter the sandbox, and services
1410         have a different plist anyway.
1411
1412         * WebProcess/com.apple.WebProcess.sb.in:
1413
1414 2013-02-06  Sudarsana Nagineni  <sudarsana.nagineni@intel.com>
1415
1416         [EFL][WK2] Assertion failure on MiniBrowser exit
1417         https://bugs.webkit.org/show_bug.cgi?id=108932
1418
1419         Reviewed by Anders Carlsson.
1420
1421         WorkQueue is now refcounted after r141497, so increase ref
1422         count when a new job is scheduled and unref it when it finishes.
1423
1424         * Platform/efl/WorkQueueEfl.cpp:
1425         (WorkQueue::performWork):
1426         (WorkQueue::performTimerWork):
1427         (WorkQueue::dispatch):
1428         (WorkQueue::dispatchAfterDelay):
1429
1430 2013-02-06  Simon Hausmann  <simon.hausmann@digia.com>, Zoltan Arvai  <zarvai@inf.u-szeged.hu>
1431
1432         [WK2][Win] Fix build after MessageID.h related changes and after r141619.
1433         https://bugs.webkit.org/show_bug.cgi?id=108612
1434
1435         Reviewed by Anders Carlsson.
1436
1437         * Platform/CoreIPC/win/ConnectionWin.cpp:
1438         (CoreIPC::Connection::platformInvalidate):
1439         (CoreIPC::Connection::readEventHandler):
1440         (CoreIPC::Connection::open):
1441         (CoreIPC::Connection::sendOutgoingMessage):
1442         * Platform/WorkQueue.h:
1443         (WorkQueue::WorkItemWin::queue):
1444         (WorkItemWin):
1445         * Platform/win/SharedMemoryWin.cpp:
1446         (WebKit::SharedMemory::Handle::decode):
1447         * Platform/win/WorkQueueWin.cpp:
1448         (WorkQueue::handleCallback):
1449         (WorkQueue::performWorkOnRegisteredWorkThread):
1450
1451 2013-02-06  Mike West  <mkwst@chromium.org>
1452
1453         Add an ENABLE_NOSNIFF feature flag.
1454         https://bugs.webkit.org/show_bug.cgi?id=109029
1455
1456         Reviewed by Jochen Eisinger.
1457
1458         This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
1459         when processing script and other resource types.
1460
1461         * Configurations/FeatureDefines.xcconfig:
1462
1463 2013-02-06  Marja Hölttä  <marja@chromium.org>
1464
1465         Take referrer policy into account when clearing the referrer header
1466         https://bugs.webkit.org/show_bug.cgi?id=86000
1467
1468         Reviewed by Alexey Proskuryakov.
1469
1470         The referrer should only be cleared when doing a https -> http redirect,
1471         if the policy is "default". Otherwise the referrer should be left intact.
1472
1473         * NetworkProcess/NetworkResourceLoader.cpp:
1474         (WebKit::NetworkResourceLoader::start):
1475         * NetworkProcess/SchedulableLoader.cpp:
1476         (WebKit::SchedulableLoader::SchedulableLoader):
1477         * NetworkProcess/SchedulableLoader.h:
1478         (WebKit::SchedulableLoader::shouldClearReferrerOnHTTPSToHTTPRedirect):
1479         (SchedulableLoader):
1480         * NetworkProcess/SyncNetworkResourceLoader.cpp:
1481         (WebKit::SyncNetworkResourceLoader::start):
1482         * NetworkProcess/mac/RemoteNetworkingContext.h:
1483         (WebKit::RemoteNetworkingContext::create):
1484         (RemoteNetworkingContext):
1485         * NetworkProcess/mac/RemoteNetworkingContext.mm:
1486         (WebKit::RemoteNetworkingContext::shouldClearReferrerOnHTTPSToHTTPRedirect):
1487         (WebKit):
1488         (WebKit::RemoteNetworkingContext::RemoteNetworkingContext):
1489         * Shared/Network/NetworkResourceLoadParameters.cpp:
1490         (WebKit::NetworkResourceLoadParameters::NetworkResourceLoadParameters):
1491         (WebKit::NetworkResourceLoadParameters::encode):
1492         (WebKit::NetworkResourceLoadParameters::decode):
1493         * Shared/Network/NetworkResourceLoadParameters.h:
1494         (NetworkResourceLoadParameters):
1495         (WebKit::NetworkResourceLoadParameters::shouldClearReferrerOnHTTPSToHTTPRedirect):
1496         * WebProcess/Network/WebResourceLoadScheduler.cpp:
1497         (WebKit::WebResourceLoadScheduler::scheduleSubresourceLoad):
1498         (WebKit::WebResourceLoadScheduler::schedulePluginStreamLoad):
1499         (WebKit::WebResourceLoadScheduler::scheduleLoad):
1500         * WebProcess/Network/WebResourceLoadScheduler.h:
1501         (WebResourceLoadScheduler):
1502         * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
1503         (WebKit::WebPlatformStrategies::loadResourceSynchronously):
1504
1505 2013-02-06  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
1506
1507         [EFL][WK2] Encapsulate Ewk View evas smart object code inside EwkView class
1508         https://bugs.webkit.org/show_bug.cgi?id=108062
1509
1510         Reviewed by Kenneth Rohde Christiansen.
1511
1512         The Ewk View implementation is encapsulated within EwkView class.
1513         Besides multiple refactoring of Ewk View evas smart object code was made.
1514
1515         * UIProcess/API/C/efl/WKView.cpp:
1516         (createWKView): 
1517
1518             Aux function to share WKView creation implementation.
1519
1520         * UIProcess/API/efl/EwkView.cpp:
1521         (smartDataChanged):
1522         (defaultSmartClassInstance):
1523         (toSmartData):
1524         (EwkView::initSmartClassInterface):
1525         (EwkView::toEvasObject):
1526         (EwkView::smartData):
1527
1528             Renamed and moved here from ewk_view.
1529
1530         (EwkViewEventHandler):
1531         (EwkViewEventHandler::subscribe):
1532         (EwkViewEventHandler::unsubscribe):
1533         (::handleEvent):
1534
1535             Added a new template class to encapsulate Ewk View Evas events handling.
1536
1537         (EwkView::EwkView):
1538         (EwkView::~EwkView):
1539
1540             Constructor and desctructor are private.
1541
1542         (EwkView::createEvasObject):
1543
1544             Added factory function for ewk view evas objects creation.
1545
1546         (EwkView::handleEvasObjectAdd):
1547         (EwkView::handleEvasObjectDelete):
1548         (EwkView::handleEvasObjectResize):
1549         (EwkView::handleEvasObjectMove):
1550         (EwkView::handleEvasObjectCalculate):
1551         (EwkView::handleEvasObjectShow):
1552         (EwkView::handleEvasObjectHide):
1553         (EwkView::handleEvasObjectColorSet):
1554
1555             Evas_Smart_Class interface callbacks moved into the EwkView class.
1556
1557         (EwkView::handleEwkViewFocusIn):
1558         (EwkView::handleEwkViewFocusOut):
1559         (EwkView::handleEwkViewMouseWheel):
1560         (EwkView::handleEwkViewMouseDown):
1561         (EwkView::handleEwkViewMouseUp):
1562         (EwkView::handleEwkViewMouseMove):
1563         (EwkView::handleEwkViewKeyDown):
1564         (EwkView::handleEwkViewKeyUp):
1565
1566             Ewk_View_Smart_Class interface callback moved into the EwkView class.
1567
1568         (EwkView::handleTouchDown):
1569         (EwkView::handleTouchUp):
1570         (EwkView::handleTouchMove):
1571
1572             Renamed.
1573
1574         (toEwkView): 
1575
1576             Aux function to get the EwkView instance fromevas object.
1577
1578         (isViewEvasObject):
1579
1580             Aux function to check that given evas object is ewk view.
1581
1582         * UIProcess/API/efl/EwkView.h:
1583         (EwkView::evasObject):
1584         (EwkView):
1585         * UIProcess/API/efl/ewk_view.cpp:
1586         (ewk_view_smart_class_set):
1587         (ewk_view_smart_add):
1588         (ewk_view_add_with_context):
1589         (ewk_view_feed_touch_event):
1590         (Ewk_Page_Contents_Context):
1591
1592         * UIProcess/API/efl/ewk_view_private.h: Removed.
1593
1594         * UIProcess/API/C/efl/WKView.cpp:
1595         (WKViewCreate):
1596         (WKViewCreateWithFixedLayout):
1597         (WKViewCreateSnapshot):
1598         * UIProcess/cairo/BackingStoreCairo.cpp:
1599         (WebKit::BackingStore::incorporateUpdate):
1600         * UIProcess/efl/ContextHistoryClientEfl.cpp:
1601         (WebKit::ContextHistoryClientEfl::didNavigateWithNavigationData):
1602         (WebKit::ContextHistoryClientEfl::didPerformClientRedirect):
1603         (WebKit::ContextHistoryClientEfl::didPerformServerRedirect):
1604         (WebKit::ContextHistoryClientEfl::didUpdateHistoryTitle):
1605         * UIProcess/efl/PageClientBase.cpp:
1606         (WebKit::PageClientBase::processDidCrash):
1607         * UIProcess/efl/PageLoadClientEfl.cpp:
1608         (WebKit::PageLoadClientEfl::didChangeBackForwardList):
1609         * UIProcess/efl/PageUIClientEfl.cpp:
1610         (WebKit::PageUIClientEfl::takeFocus):
1611         (WebKit::PageUIClientEfl::focus):
1612         (WebKit::PageUIClientEfl::unfocus):
1613         * UIProcess/efl/WebFullScreenManagerProxyEfl.cpp:
1614         (WebKit::WebFullScreenManagerProxy::enterFullScreen):
1615         (WebKit::WebFullScreenManagerProxy::exitFullScreen):
1616         * UIProcess/efl/WebInspectorProxyEfl.cpp:
1617         (WebKit::WebInspectorProxy::platformCreateInspectorPage):
1618         * UIProcess/efl/WebPageProxyEfl.cpp:
1619         (WebKit::WebPageProxy::viewWidget):
1620
1621              Updated due to changes in EwkView interface.
1622
1623 2013-02-05  Tim Horton  <timothy_horton@apple.com>
1624
1625         [wk2] TiledCoreAnimationDrawingArea has one more layer in its CAContext when we're in the background
1626         https://bugs.webkit.org/show_bug.cgi?id=108992
1627         <rdar://problem/13087365>
1628
1629         Reviewed by Anders Carlsson.
1630
1631         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
1632         (TiledCoreAnimationDrawingArea): Add storage for m_isInWindow.
1633         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
1634         (WebKit::TiledCoreAnimationDrawingArea::updateLayerHostingContext): Only set the root layer on our layer
1635         hosting context if we're in the window when swapping out contexts.
1636         (WebKit::TiledCoreAnimationDrawingArea::setRootCompositingLayer): Update m_isInWindow, and set the root layer
1637         of the layer hosting context (or unset it if we're out of the window).
1638
1639 2013-02-05  Anders Carlsson  <andersca@apple.com>
1640
1641         WebKit clients should be able to override loading of blocked plug-ins
1642         https://bugs.webkit.org/show_bug.cgi?id=108968
1643         <rdar://problem/13154516>
1644
1645         Reviewed by Sam Weinig.
1646
1647         Replace the shouldInstantiatePlugin callback with a new pluginLoadPolicy which is called regardless
1648         of whether the plug-in is blocked or not. This lets clients override the plug-in load policy and
1649         force loading of blacklisted plug-ins (and vice versa).
1650
1651         * UIProcess/API/C/WKPage.h:
1652         * UIProcess/WebPageProxy.cpp:
1653         (WebKit::WebPageProxy::getPluginPath):
1654         * UIProcess/WebUIClient.cpp:
1655         (WebKit::toWKPluginLoadPolicy):
1656         (WebKit):
1657         (WebKit::toPluginModuleLoadPolicy):
1658         (WebKit::WebUIClient::pluginLoadPolicy):
1659         * UIProcess/WebUIClient.h:
1660         (WebUIClient):
1661
1662 2013-02-05  Simon Hausmann  <simon.hausmann@digia.com>
1663
1664         [Qt][WK2] Replace more uses of WebPageProxy with WKPage in QQuickWebView
1665         https://bugs.webkit.org/show_bug.cgi?id=108826
1666
1667         Reviewed by Kenneth Rohde Christiansen and signed off for WK2 by
1668         Benjamin Poulain.
1669
1670         This patch converts a few more usages of WebPageProxy to functions in
1671         the WKPage API.
1672
1673         * UIProcess/API/qt/qquickwebview.cpp:
1674         (QQuickWebViewPrivate::initialize):
1675         (QQuickWebViewLegacyPrivate::zoomFactor):
1676         (QQuickWebViewLegacyPrivate::setZoomFactor):
1677         (QQuickWebViewExperimental::postMessage):
1678         (QQuickWebViewExperimental::userAgent):
1679         (QQuickWebViewExperimental::setUserAgent):
1680         (QQuickWebViewExperimental::evaluateJavaScript):
1681         (QQuickWebViewExperimental::findText):
1682         (QQuickWebView::goBack):
1683         (QQuickWebView::goForward):
1684         (QQuickWebView::stop):
1685         (QQuickWebView::reload):
1686         (QQuickWebView::setUrl):
1687         (QQuickWebView::canGoBack):
1688         (QQuickWebView::canGoForward):
1689         (QQuickWebView::loading):
1690         (QQuickWebView::title):
1691         (QQuickWebView::pageRef):
1692         (QQuickWebView::loadHtml):
1693         (QQuickWebView::runJavaScriptInMainFrame):
1694         * UIProcess/API/qt/qquickwebview_p_p.h:
1695         (QQuickWebViewPrivate):
1696
1697 2013-02-04  Gwang Yoon Hwang  <ryumiel@company100.net>
1698
1699         Coordinated Graphics : disconnectCustomFilterProgram does not do anything.
1700         https://bugs.webkit.org/show_bug.cgi?id=108807
1701
1702         Reviewed by Anders Carlsson.
1703
1704         We need to add newly created WebCustomFilterProgramProxy to a hashset to
1705         disconnect when CoordinatedLayerTreeHost gets destructed.
1706
1707         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
1708         (WebKit::CoordinatedLayerTreeHost::checkCustomFilterProgramProxies):
1709
1710 2013-02-04  Benjamin Poulain  <bpoulain@apple.com>
1711
1712         Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
1713         https://bugs.webkit.org/show_bug.cgi?id=108741
1714
1715         Reviewed by Tony Chang.
1716
1717         Suspending and resuming application has been useless for a one. Someone just
1718         "forgot" WebKit2.
1719
1720         * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
1721         * WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h:
1722         * WebProcess/WebPage/WebFrame.cpp:
1723         * WebProcess/WebPage/WebFrame.h:
1724         (WebFrame):
1725
1726 2013-02-04  Jaehun Lim  <ljaehun.lim@samsung.com>
1727
1728         [EFL][WK2] Implement runBeforeUnloadConfirmPanel on EFL
1729         https://bugs.webkit.org/show_bug.cgi?id=106979
1730
1731         Reviewed by Benjamin Poulain.
1732
1733         Implement runBeforeUnloadConfirmPanel() to support window.onbeforeunload.
1734         We can show confirmation window when beforeunload event is fired.
1735
1736         * UIProcess/efl/PageUIClientEfl.cpp:
1737         (WebKit::PageUIClientEfl::PageUIClientEfl):
1738         (WebKit::PageUIClientEfl::runBeforeUnloadConfirmPanel):
1739         (WebKit):
1740         * UIProcess/efl/PageUIClientEfl.h:
1741         (PageUIClientEfl):
1742
1743 2013-02-04  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1744
1745         [EFL][WK2] Introduce a WebView class as counterpart for WKViewRef
1746         https://bugs.webkit.org/show_bug.cgi?id=107931
1747
1748         Reviewed by Anders Carlsson.
1749
1750         This is just one step of the new plan for the EFL API.
1751
1752         The plan is to move the public EFL-like API on top of the shared
1753         WK2 C API, plus a few EFL extensions (WKView class mostly).
1754
1755         The EFL-like API can be seen as a convenience API which ties
1756         well into EFL and which makes it easy to add web experiences
1757         to existing and new EFL applications. It provides a smart object
1758         like API and a Evas_Object based view.
1759
1760         For more advanced use cases, such as browser and runtime, it is
1761         possible to use the WK* C API, which is gives more flexibility
1762         while being more low level.
1763
1764         The idea is that the WKView class will not depend on Evas_Object
1765         and X11 (future plan) unlike the current EFL-like API. This should
1766         make it possible to use it for cases where none of these are
1767         available.
1768
1769         This patch introduces the WebView class which serves as our
1770         counterpart for the WKView class, and adds a few needed methods.
1771
1772         The EwkView owns the WebView class (and will be constructing it
1773         in the near future when the EwkView class has been changed to
1774         handle all smart object related code)
1775
1776         The clean up of the smart object related code as the proper
1777         construction of EwkView and WebView will be done in follow-up
1778         patches.
1779
1780         * UIProcess/API/C/efl/WKAPICastEfl.h:
1781         (WebKit):
1782
1783             The WKView API is not based on WebView and not Evas_Object*
1784
1785         * UIProcess/API/C/efl/WKView.cpp:
1786         (WKViewCreate):
1787         (WKViewCreateWithFixedLayout):
1788         (WKViewInitialize):
1789         (WKViewGetPage):
1790         (WKViewSetThemePath):
1791         (WKViewSuspendActiveDOMObjectsAndAnimations):
1792         (WKViewResumeActiveDOMObjectsAndAnimations):
1793         (WKViewGetEvasObject):
1794         (WKViewCreateSnapshot):
1795
1796             Add a few new WKView EFL C methods, and update existing
1797             methods to reflect that the WKViewRef is now a WebView*
1798
1799             The construction methods will be rewritten when the smart
1800             object construction has been solved.
1801
1802         * UIProcess/API/C/efl/WKView.h:
1803         * UIProcess/efl/WebView.cpp: Added.
1804         (WebKit):
1805         (WebKit::WebView::WebView):
1806         (WebKit::WebView::~WebView):
1807         (WebKit::WebView::initialize):
1808         (WebKit::WebView::setThemePath):
1809         (WebKit::WebView::suspendActiveDOMObjectsAndAnimations):
1810         (WebKit::WebView::resumeActiveDOMObjectsAndAnimations):
1811         * UIProcess/efl/WebView.h: Added.
1812         (WebKit):
1813         (WebView):
1814         (WebKit::WebView::pageRef):
1815         (WebKit::WebView::evasObject):
1816         (WebKit::WebView::page):
1817         (WebKit::WebView::type):
1818
1819             Add a new WebKit::WebView class for EFL.
1820
1821         * UIProcess/API/efl/EwkView.cpp:
1822         (EwkView::EwkView):
1823         (EwkView::~EwkView):
1824         (EwkView::wkPage):
1825         (EwkView::setThemePath):
1826         (EwkView::createGLSurface):
1827
1828             Base methods on C API instead of internal API as much
1829             as currently possible.
1830
1831         * UIProcess/API/efl/EwkView.h:
1832         (WebKit):
1833         (WebView):
1834         (EwkView):
1835         (EwkView::wkView):
1836         (EwkView::page):
1837         * UIProcess/API/efl/ewk_view.cpp:
1838         (createEwkView):
1839         (ewk_view_base_add):
1840         (ewk_view_smart_add):
1841
1842             Modify to return the EwkView class for now.
1843
1844         * UIProcess/API/efl/ewk_view_private.h:
1845         * UIProcess/efl/WebInspectorProxyEfl.cpp:
1846         (WebKit::WebInspectorProxy::platformCreateInspectorPage):
1847
1848             Updated due to changed API.
1849
1850 2013-02-04  Anders Carlsson  <andersca@apple.com>
1851
1852         Set up the storage manager as a connection queue
1853         https://bugs.webkit.org/show_bug.cgi?id=108879
1854
1855         Reviewed by Sam Weinig.
1856
1857         * UIProcess/Storage/StorageManager.cpp:
1858         (WebKit::StorageManager::processWillOpenConnection):
1859         Add the storage manager as a connection queue client.
1860
1861         (WebKit::StorageManager::processWillCloseConnection):
1862         Remove the storage manager.
1863
1864         * UIProcess/WebContext.cpp:
1865         (WebKit::WebContext::processWillOpenConnection):
1866         Call the storage manager.
1867
1868         (WebKit::WebContext::processWillCloseConnection):
1869         Call the storage manager.
1870
1871         * UIProcess/WebProcessProxy.cpp:
1872         (WebKit::WebProcessProxy::connectionWillOpen):
1873         Call the context.
1874
1875         (WebKit::WebProcessProxy::connectionWillClose):
1876         Call the context.
1877
1878         (WebKit::WebProcessProxy::didFinishLaunching):
1879         Remove a comment.
1880
1881 2013-02-04  Anders Carlsson  <andersca@apple.com>
1882
1883         Send message when creating and destroying StorageAreaProxy objects
1884         https://bugs.webkit.org/show_bug.cgi?id=108874
1885
1886         Reviewed by Sam Weinig.
1887
1888         * Shared/SecurityOriginData.cpp:
1889         (WebKit::SecurityOriginData::fromSecurityOrigin):
1890         * Shared/SecurityOriginData.h:
1891         (SecurityOriginData):
1892         Add helper function for creating a SecurityOriginData object given a WebCore::SecurityOrigin object.
1893
1894         * WebProcess/Storage/StorageAreaProxy.cpp:
1895         (WebKit::generateStorageAreaID):
1896         New function to create a unique storage area ID.
1897
1898         (WebKit::StorageAreaProxy::StorageAreaProxy):
1899         Send a CreateStorageArea message.
1900         
1901         (WebKit::StorageAreaProxy::~StorageAreaProxy):
1902         Send a DestroyStorageArea message.
1903
1904         (WebKit::StorageAreaProxy::contains):
1905         Remove this assertion for now, it fires too often.
1906         
1907         * WebProcess/Storage/StorageNamespaceProxy.h:
1908         (WebKit::StorageNamespaceProxy::storageNamespaceID):
1909         Add getter.
1910
1911 2013-02-04  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1912
1913         [EFL][WK2] Use C API inside EwkView
1914         https://bugs.webkit.org/show_bug.cgi?id=108825
1915
1916         Reviewed by Anders Carlsson.
1917
1918         A straight-forward port towards the C API.
1919
1920         * UIProcess/API/efl/EwkView.cpp:
1921         (EwkView::EwkView): Use C API for common default preferences.
1922         (EwkView::wkPage): Make it const and remove useless comment.
1923         (EwkView::deviceScaleFactor):
1924         (EwkView::title):
1925         (EwkView::customTextEncodingName):
1926         (EwkView::setCustomTextEncodingName):
1927         (EwkView::informURLChange):
1928         * UIProcess/API/efl/EwkView.h:
1929         (EwkView):
1930
1931 2013-02-04  Alexey Proskuryakov  <ap@apple.com>
1932
1933         Remove an unnecessary sandbox rule.
1934
1935         Reviewed by Sam Weinig.
1936
1937         * WebProcess/com.apple.WebProcess.sb.in: We already have a file-read rule for
1938         /Library/Managed Preferences, no need for another rule for something inside it.
1939
1940 2013-02-04  Brady Eidson  <beidson@apple.com>
1941
1942         WebProcess crashes handling repeated NetworkProcess crashes.
1943         <rdar://problem/13049867> and https://bugs.webkit.org/show_bug.cgi?id=108861
1944
1945         Reviewed by Alexey Proskuryakov.
1946
1947         - Rename the concept of "unschedulable loader" to "internally failed loader"
1948         - When the NetworkProcess crashes, add all outstanding ResourceLoaders into the unschedulable pile.
1949         * WebProcess/Network/WebResourceLoadScheduler.cpp:
1950         (WebKit::WebResourceLoadScheduler::WebResourceLoadScheduler):
1951         (WebKit::WebResourceLoadScheduler::scheduleLoad):
1952         (WebKit::WebResourceLoadScheduler::scheduleInternallyFailedLoad):
1953         (WebKit::WebResourceLoadScheduler::internallyFailedLoadTimerFired):
1954         (WebKit::WebResourceLoadScheduler::remove): Also remove a non-helpful, out of date comment.
1955         (WebKit::WebResourceLoadScheduler::networkProcessCrashed):
1956         * WebProcess/Network/WebResourceLoadScheduler.h:
1957
1958         WebResourceLoader no longer responds to crashes directly, but now exposes its WebCore ResourceLoader:
1959         * WebProcess/Network/WebResourceLoader.cpp:
1960         * WebProcess/Network/WebResourceLoader.h:
1961         (WebKit::WebResourceLoader::resourceLoader):
1962
1963 2013-02-04  Anders Carlsson  <andersca@apple.com>
1964
1965         Update message generation to use the new queue client semantics
1966         https://bugs.webkit.org/show_bug.cgi?id=108865
1967
1968         Reviewed by Andreas Kling.
1969
1970         * Scripts/webkit2/messages.py:
1971         (connection_work_queue_message_statement):
1972         (async_message_statement):
1973         (generate_message_handler):
1974         * Scripts/webkit2/messages_unittest.py:
1975         * Shared/mac/SecItemShim.cpp:
1976         (WebKit::SecItemShim::didReceiveMessageOnConnectionWorkQueue):
1977         * Shared/mac/SecItemShim.h:
1978         (SecItemShim):
1979         * UIProcess/Storage/StorageManager.cpp:
1980         (WebKit::StorageManager::didReceiveMessageOnConnectionWorkQueue):
1981         * UIProcess/Storage/StorageManager.h:
1982         (StorageManager):
1983         * UIProcess/WebProcessProxy.cpp:
1984         (WebKit::WebProcessProxy::didReceiveMessageOnConnectionWorkQueue):
1985         * UIProcess/WebProcessProxy.h:
1986         (WebProcessProxy):
1987         * UIProcess/mac/SecItemShimProxy.cpp:
1988         (WebKit::SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue):
1989         * UIProcess/mac/SecItemShimProxy.h:
1990         (SecItemShimProxy):
1991         * WebKit2.xcodeproj/project.pbxproj:
1992         * WebProcess/WebPage/EventDispatcher.cpp:
1993         (WebKit::EventDispatcher::didReceiveMessageOnConnectionWorkQueue):
1994         * WebProcess/WebPage/EventDispatcher.h:
1995         (EventDispatcher):
1996         * WebProcess/WebProcess.cpp:
1997         (WebKit::WebProcess::didReceiveMessageOnConnectionWorkQueue):
1998         * WebProcess/WebProcess.h:
1999         (WebProcess):
2000
2001 2013-02-04  Abhishek Arya  <inferno@chromium.org>
2002
2003         Add ASSERT_WITH_SECURITY_IMPLICATION to detect out of bounds access
2004         https://bugs.webkit.org/show_bug.cgi?id=108668
2005
2006         Reviewed by Eric Seidel.
2007
2008         * Shared/mac/SandboxExtensionMac.mm:
2009         (WebKit::SandboxExtension::HandleArray::operator[]):
2010
2011 2013-02-04  Anders Carlsson  <andersca@apple.com>
2012
2013         Change didReceiveMessageOnConnectionWorkQueue semantics
2014         https://bugs.webkit.org/show_bug.cgi?id=108859
2015
2016         Reviewed by Sam Weinig.
2017
2018         Change didReceiveMessageOnConnectionWorkQueue to take a reference to an
2019         OwnPtr<MessageDecoder>. This lets queue clients handle a message later, on a different
2020         work queue for example. Also, get rid of the didHandleMessage boolean, since taking ownership
2021         of the decoder implicitly means that the message was handled.
2022         
2023         * Platform/CoreIPC/Connection.cpp:
2024         (CoreIPC::Connection::processIncomingMessage):
2025         * Platform/CoreIPC/Connection.h:
2026         (QueueClient):
2027         * Shared/mac/SecItemShim.cpp:
2028         (WebKit::SecItemShim::didReceiveMessageOnConnectionWorkQueue):
2029         * Shared/mac/SecItemShim.h:
2030         (SecItemShim):
2031         * UIProcess/Storage/StorageManager.cpp:
2032         (WebKit::StorageManager::StorageManager):
2033         (WebKit::StorageManager::didReceiveMessageOnConnectionWorkQueue):
2034         * UIProcess/Storage/StorageManager.h:
2035         (WebKit):
2036         (StorageManager):
2037         * UIProcess/WebProcessProxy.cpp:
2038         (WebKit::WebProcessProxy::didReceiveMessageOnConnectionWorkQueue):
2039         * UIProcess/WebProcessProxy.h:
2040         (WebProcessProxy):
2041         * UIProcess/mac/SecItemShimProxy.cpp:
2042         (WebKit::SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue):
2043         * UIProcess/mac/SecItemShimProxy.h:
2044         (SecItemShimProxy):
2045         * WebProcess/WebPage/EventDispatcher.cpp:
2046         (WebKit::EventDispatcher::didReceiveMessageOnConnectionWorkQueue):
2047         * WebProcess/WebPage/EventDispatcher.h:
2048         (EventDispatcher):
2049         * WebProcess/WebProcess.cpp:
2050         (WebKit::WebProcess::didReceiveMessageOnConnectionWorkQueue):
2051         * WebProcess/WebProcess.h:
2052         (WebProcess):
2053
2054 2013-02-04  Alexey Proskuryakov  <ap@apple.com>
2055
2056         <rdar://problem/12884778> Sandbox violation due to MediaAccessibility code trying to access ~/Library/Preferences/com.apple.mediaaccessibility.plist
2057
2058         Reviewed by Sam Weinig.
2059
2060         * WebProcess/com.apple.WebProcess.sb.in:
2061
2062 2013-02-04  Anders Carlsson  <andersca@apple.com>
2063
2064         Add didCloseOnConnectionWorkQueue to Connection::QueueClient
2065         https://bugs.webkit.org/show_bug.cgi?id=108853
2066
2067         Reviewed by Andreas Kling.
2068
2069         * Platform/CoreIPC/Connection.cpp:
2070         (CoreIPC::Connection::connectionDidClose):
2071         * Platform/CoreIPC/Connection.h:
2072         (QueueClient):
2073         * Shared/mac/SecItemShim.cpp:
2074         (WebKit::SecItemShim::didCloseOnConnectionWorkQueue):
2075         * Shared/mac/SecItemShim.h:
2076         (SecItemShim):
2077         * UIProcess/Storage/StorageManager.cpp:
2078         (WebKit::StorageManager::didCloseOnConnectionWorkQueue):
2079         (WebKit):
2080         * UIProcess/Storage/StorageManager.h:
2081         (StorageManager):
2082         * UIProcess/WebProcessProxy.cpp:
2083         (WebKit::WebProcessProxy::didCloseOnConnectionWorkQueue):
2084         (WebKit):
2085         * UIProcess/WebProcessProxy.h:
2086         (WebProcessProxy):
2087         * UIProcess/mac/SecItemShimProxy.cpp:
2088         (WebKit::SecItemShimProxy::didCloseOnConnectionWorkQueue):
2089         * UIProcess/mac/SecItemShimProxy.h:
2090         (SecItemShimProxy):
2091         * WebProcess/WebPage/EventDispatcher.cpp:
2092         (WebKit::EventDispatcher::didCloseOnConnectionWorkQueue):
2093         (WebKit):
2094         * WebProcess/WebPage/EventDispatcher.h:
2095         (EventDispatcher):
2096         * WebProcess/WebProcess.cpp:
2097         (WebKit::WebProcess::didCloseOnConnectionWorkQueue):
2098         (WebKit):
2099         * WebProcess/WebProcess.h:
2100         (WebProcess):
2101
2102 2013-02-04  Martin Robinson  <mrobinson@igalia.com>
2103
2104         Fix GTK+ 'make dist' in preparation for the 1.11.5 release.
2105
2106         * GNUmakefile.am:
2107         * GNUmakefile.list.am:
2108
2109 2013-02-04  Enrica Casucci  <enrica@apple.com>
2110
2111         Add specific EditActions for Bold and Italic commands.
2112         https://bugs.webkit.org/show_bug.cgi?id=108842.
2113         <rdar://problem/13098252>
2114
2115         Reviewed by Ryosuke Niwa.
2116
2117         * UIProcess/WebEditCommandProxy.cpp:
2118         (WebKit::WebEditCommandProxy::nameForEditAction):
2119
2120 2013-02-04  Anders Carlsson  <andersca@apple.com>
2121
2122         Use a separate queue for the connection watchdog callback in the web process
2123         https://bugs.webkit.org/show_bug.cgi?id=108844
2124
2125         Reviewed by Andreas Kling.
2126
2127         Don't pass the connection work queue to the didCloseOnConnectionWorkQueue callback.
2128         Instead, create a new, temporary work queue where the exit call will be dispatched to.
2129
2130         * Platform/CoreIPC/Connection.cpp:
2131         (CoreIPC::Connection::connectionDidClose):
2132         * Platform/CoreIPC/Connection.h:
2133         (Connection):
2134         * Shared/ChildProcess.cpp:
2135         (WebKit::didCloseOnConnectionWorkQueue):
2136
2137 2013-02-04  Tim Horton  <timothy_horton@apple.com>
2138
2139         Allow TiledCoreAnimationDrawingArea overlay layers to become tiled
2140         https://bugs.webkit.org/show_bug.cgi?id=108729
2141         <rdar://problem/13047546>
2142
2143         Reviewed by Anders Carlsson.
2144
2145         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
2146         (TiledCoreAnimationDrawingArea): Add didCommitChangesForLayer and storage for the
2147         current PlatformLayer corresponding to m_pageOverlayLayer.
2148         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
2149         (WebKit::TiledCoreAnimationDrawingArea::flushLayers): Update the TileCache's visible rect.
2150         (WebKit::TiledCoreAnimationDrawingArea::setExposedRect): Forward exposed rect changes to the page overlay layer, if it's tiled.
2151         (WebKit::TiledCoreAnimationDrawingArea::mainFrameScrollabilityChanged): Forward scrollability changes to the page overlay layer, if it's tiled.
2152         (WebKit::TiledCoreAnimationDrawingArea::createPageOverlayLayer): Allow the page overlay layer to become tiled. Update its exposed rect and whether or not it respects the exposed rect if it's tiled upon creation.
2153         (WebKit::TiledCoreAnimationDrawingArea::didCommitChangesForLayer): If a GraphicsLayer's platform layer changes (because it switched to or from a tiled layer), reparent it. If it's switching to a tiled layer, update the exposed rect and whether or not it should respect the exposed rect.
2154
2155 2013-02-04  Anders Carlsson  <andersca@apple.com>
2156
2157         Use UNUSED_PARAM instead of C style comments.
2158
2159         * UIProcess/Storage/StorageManager.cpp:
2160         (WebKit::StorageManager::createStorageArea):
2161
2162 2013-02-04  Christophe Dumez  <dchris@gmail.com>
2163
2164         [EFL][WK2] Stop using libsoup in ewk_url_scheme_request
2165         https://bugs.webkit.org/show_bug.cgi?id=108816
2166
2167         Reviewed by Anders Carlsson.
2168
2169         As we are trying to minimize use of external dependencies in our WK2 EFL
2170         API implementation, we should stop using libsoup in
2171         ewk_url_scheme_request and use the WK2 C API instead.
2172
2173         * UIProcess/API/efl/ewk_url_scheme_request.cpp:
2174         (EwkUrlSchemeRequest::EwkUrlSchemeRequest):
2175
2176 2013-02-04  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2177
2178         [WK2][EFL] Weird stripe at the end of the page
2179         https://bugs.webkit.org/show_bug.cgi?id=108820
2180
2181         Reviewed by Noam Rosenthal.
2182
2183         The page scroll bound was artificially enlarged by one causing the artifact appearance.
2184
2185         * UIProcess/PageViewportController.cpp:
2186         (WebKit::PageViewportController::boundContentsPositionAtScale):
2187
2188 2013-02-04  David Kilzer  <ddkilzer@apple.com>
2189
2190         Sort WebKit2 Xcode project file
2191
2192         * WebKit2.xcodeproj/project.pbxproj:
2193
2194 2013-02-04  Simon Hausmann  <simon.hausmann@digia.com>
2195
2196         [WK2][Qt] Replace WebPageGroup usage for user scripts with WKPageGroupRef
2197         https://bugs.webkit.org/show_bug.cgi?id=108651
2198
2199         Reviewed by Sam Weinig.
2200
2201         It's straight-forward port towards the C API.
2202
2203         * UIProcess/API/qt/qquickwebview.cpp:
2204         (QQuickWebViewPrivate::initialize):
2205         (readUserScript):
2206         (QQuickWebViewPrivate::updateUserScripts):
2207         * UIProcess/API/qt/qquickwebview_p_p.h:
2208         (QQuickWebViewPrivate):
2209
2210 2013-02-04  Balazs Kelemen  <kbalazs@webkit.org>
2211
2212         [Soup] Wrap SoupSession by NetworkStorageSession
2213         https://bugs.webkit.org/show_bug.cgi?id=108615
2214
2215         Reviewed by Alexey Proskuryakov.
2216
2217         * WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp:
2218         (WebKit::WebFrameNetworkingContext::storageSession):
2219         * WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.h:
2220         (WebFrameNetworkingContext):
2221
2222 2013-02-03  David Kilzer  <ddkilzer@apple.com>
2223
2224         Upstream ENABLE_PDFKIT_PLUGIN settting
2225         <http://webkit.org/b/108792>
2226
2227         Reviewed by Tim Horton.
2228
2229         * Configurations/FeatureDefines.xcconfig: Disable PDFKIT_PLUGIN
2230         on iOS since PDFKit is a Mac-only framework.
2231
2232 2013-02-01  Alexey Proskuryakov  <ap@apple.com>
2233
2234         Silently block one more directory needed for NSApplication initialization.
2235
2236         Reviewed by Sam Weinig.
2237
2238         * WebProcess/com.apple.WebProcess.sb.in:
2239
2240 2013-02-03  KwangYong Choi  <ky0.choi@samsung.com>
2241
2242         Fix build warning after r141648
2243         https://bugs.webkit.org/show_bug.cgi?id=108784
2244
2245         Reviewed by Kentaro Hara.
2246
2247         Fix -Wunused-parameter build warning.
2248
2249         * UIProcess/Storage/StorageManager.cpp:
2250         (WebKit::StorageManager::createStorageArea):
2251         (WebKit::StorageManager::destroyStorageArea):
2252
2253 2013-02-03  Joanmarie Diggs  <jdiggs@igalia.com>
2254
2255         [GTK] Make distcheck fails
2256         https://bugs.webkit.org/show_bug.cgi?id=108756
2257
2258         Reviewed by Kentaro Hara.
2259
2260         * GNUmakefile.list.am: Remove header files which no longer exist
2261
2262 2013-02-02  Sam Weinig  <sam@webkit.org>
2263
2264         Remove more LegacyReceivers
2265         https://bugs.webkit.org/show_bug.cgi?id=108758
2266
2267         Reviewed by Anders Carlsson.
2268
2269         * UIProcess/Downloads/DownloadProxy.cpp:
2270         * UIProcess/Downloads/DownloadProxy.messages.in:
2271         * UIProcess/WebApplicationCacheManagerProxy.cpp:
2272         * UIProcess/WebApplicationCacheManagerProxy.h:
2273         (WebApplicationCacheManagerProxy):
2274         * UIProcess/WebApplicationCacheManagerProxy.messages.in:
2275         * UIProcess/WebCookieManagerProxy.cpp:
2276         * UIProcess/WebCookieManagerProxy.h:
2277         (WebCookieManagerProxy):
2278         * UIProcess/WebCookieManagerProxy.messages.in:
2279         * UIProcess/WebDatabaseManagerProxy.cpp:
2280         * UIProcess/WebDatabaseManagerProxy.h:
2281         (WebDatabaseManagerProxy):
2282         * UIProcess/WebDatabaseManagerProxy.messages.in:
2283         * UIProcess/mac/RemoteLayerTreeHost.h:
2284         (RemoteLayerTreeHost):
2285         * UIProcess/mac/RemoteLayerTreeHost.messages.in:
2286         * UIProcess/mac/RemoteLayerTreeHost.mm:
2287         * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
2288         * WebProcess/ApplicationCache/WebApplicationCacheManager.h:
2289         (WebApplicationCacheManager):
2290         * WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in:
2291         * WebProcess/Cookies/WebCookieManager.cpp:
2292         * WebProcess/Cookies/WebCookieManager.h:
2293         (WebCookieManager):
2294         * WebProcess/Cookies/WebCookieManager.messages.in:
2295         * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
2296         * WebProcess/WebCoreSupport/WebDatabaseManager.h:
2297         (WebDatabaseManager):
2298         * WebProcess/WebCoreSupport/WebDatabaseManager.messages.in:
2299
2300 2013-02-02  Sam Weinig  <sam@webkit.org>
2301
2302         Convert CustomProtocolManagerProxy, CustomProtocolManager and AuthenticationManager to be non-LegacyReceivers
2303         https://bugs.webkit.org/show_bug.cgi?id=108757
2304
2305         Reviewed by Anders Carlsson.
2306
2307         * Shared/Authentication/AuthenticationManager.cpp:
2308         * Shared/Authentication/AuthenticationManager.h:
2309         (AuthenticationManager):
2310         * Shared/Authentication/AuthenticationManager.messages.in:
2311         * Shared/Network/CustomProtocols/CustomProtocolManager.h:
2312         (CustomProtocolManager):
2313         * Shared/Network/CustomProtocols/CustomProtocolManager.messages.in:
2314         * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
2315         * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
2316         (CustomProtocolManagerProxy):
2317         * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.messages.in:
2318         * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm:
2319
2320 2013-02-02  Christophe Dumez  <christophe.dumez@intel.com>
2321
2322         [EFL][WK2] Use C API inside ewk_file_chooser_request
2323         https://bugs.webkit.org/show_bug.cgi?id=107811
2324
2325         Reviewed by Sam Weinig.
2326
2327         Use C API inside ewk_file_chooser_request instead of
2328         accessing the internal C++ classes directly, to
2329         avoid violating API layering.
2330
2331         * UIProcess/API/efl/ewk_file_chooser_request.cpp:
2332         (EwkFileChooserRequest::EwkFileChooserRequest):
2333         (EwkFileChooserRequest::~EwkFileChooserRequest):
2334         (EwkFileChooserRequest::allowMultipleFiles):
2335         (EwkFileChooserRequest::acceptedMIMETypes):
2336         (EwkFileChooserRequest::cancel):
2337         (EwkFileChooserRequest::chooseFiles):
2338         (ewk_file_chooser_request_accepted_mimetypes_get):
2339         (ewk_file_chooser_request_files_choose):
2340         (ewk_file_chooser_request_file_choose):
2341         * UIProcess/API/efl/ewk_file_chooser_request_private.h:
2342         (EwkFileChooserRequest::create):
2343         (EwkFileChooserRequest):
2344         * UIProcess/efl/PageUIClientEfl.cpp:
2345         (WebKit::PageUIClientEfl::runOpenPanel):
2346
2347 2013-02-02  Sam Weinig  <sam@webkit.org>
2348
2349         Stop keeping a frame tree in the UIProcess
2350         https://bugs.webkit.org/show_bug.cgi?id=81728
2351
2352         Reviewed by Oliver Hunt.
2353
2354         This patch removes the parent/child relationships of WebFrameProxys
2355         in the UIProcess
2356
2357         * UIProcess/API/C/WKFrame.cpp:
2358         (WKFrameCopyChildFrames):
2359         (WKFrameGetParentFrame):
2360         * UIProcess/API/C/WKFrame.h:
2361         Null out the implementations of WKFrameCopyChildFrames and WKFrameGetParentFrame,
2362         but keep them around as their symbols are still needed for nightlies.
2363
2364         * UIProcess/WebFrameProxy.cpp:
2365         (WebKit::WebFrameProxy::WebFrameProxy):
2366         (WebKit::WebFrameProxy::disconnect):
2367         * UIProcess/WebFrameProxy.h:
2368         Remove parent/child connections.
2369
2370         * UIProcess/WebPageProxy.cpp:
2371         (WebKit::WebPageProxy::didCreateSubframe):
2372         (WebKit::WebPageProxy::didRemoveFrameFromHierarchy):
2373         * UIProcess/WebPageProxy.h:
2374         * UIProcess/WebPageProxy.messages.in:
2375         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
2376         (WebKit::WebFrameLoaderClient::didSaveToPageCache):
2377         (WebKit::WebFrameLoaderClient::didRestoreFromPageCache):
2378         * WebProcess/WebPage/WebFrame.cpp:
2379         (WebKit::WebFrame::createSubframe):
2380         Remove/Update messages that only served to update the parent/child connection.
2381
2382 2013-02-02  Sam Weinig  <sam@webkit.org>
2383
2384         Make it possible to modify the connection from ChildProcessProxy subclasses.
2385
2386         Reviewed by Anders Carlsson.
2387
2388         * Shared/ChildProcessProxy.cpp:
2389         (WebKit::ChildProcessProxy::ChildProcessProxy):
2390         (WebKit::ChildProcessProxy::didFinishLaunching):
2391         (WebKit::ChildProcessProxy::clearConnection):
2392         (WebKit::ChildProcessProxy::connectionWillOpen):
2393         (WebKit::ChildProcessProxy::connectionWillClose):
2394         * Shared/ChildProcessProxy.h:
2395         (ChildProcessProxy):
2396         * UIProcess/WebProcessProxy.cpp:
2397         (WebKit::WebProcessProxy::WebProcessProxy):
2398         (WebKit::WebProcessProxy::connectionWillOpen):
2399         (WebKit::WebProcessProxy::connectionWillClose):
2400         * UIProcess/WebProcessProxy.h:
2401         (WebProcessProxy):
2402
2403 2013-02-02  David Kilzer  <ddkilzer@apple.com>
2404
2405         Upstream iOS FeatureDefines
2406         <http://webkit.org/b/108753>
2407
2408         Reviewed by Anders Carlsson.
2409
2410         * Configurations/FeatureDefines.xcconfig:
2411         - ENABLE_DEVICE_ORIENTATION: Add iOS configurations.
2412         - ENABLE_PLUGIN_PROXY_FOR_VIDEO: Ditto.
2413         - FEATURE_DEFINES: Add ENABLE_PLUGIN_PROXY_FOR_VIDEO.  Add
2414           PLATFORM_NAME variant to reduce future merge conflicts. 
2415
2416 2013-02-02  Csaba Osztrogonác  <ossy@webkit.org>
2417
2418         [Qt][WK2] Unreviewed buildfix after r141648.
2419
2420         * DerivedSources.pri:
2421
2422 2013-02-02  Zan Dobersek  <zdobersek@igalia.com>
2423
2424         Follow-up to r141682. Adding build targets for the files that should be generated from the new message.in file.
2425
2426         Unreviewed.
2427
2428         * GNUmakefile.list.am:
2429
2430 2013-02-01  Zan Dobersek  <zdobersek@igalia.com>
2431
2432         Unreviewed GTK build fix after r141648.
2433
2434         * GNUmakefile.am: Add UIProcess/Storage to the list of paths that
2435         should be searched for *.messages.in files.
2436
2437 2013-02-01  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2438
2439         Unreviewed build fix after r141648
2440
2441         Needs to add StorageManager.messages.in to CMakeLists.txt.
2442
2443         * CMakeLists.txt:
2444
2445 2013-02-01  Benjamin Poulain  <bpoulain@apple.com>
2446
2447         Build fix for CustomProtocolManagerMac after r141658.
2448
2449         * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
2450         (WebKit::CustomProtocolManager::supplementName): I accidentally typed "const" twice twice.
2451
2452 2013-02-01  Benjamin Poulain  <bpoulain@apple.com>
2453
2454         [WK2] Use light supplement names instead of static AtomicStrings
2455         https://bugs.webkit.org/show_bug.cgi?id=108570
2456
2457         Reviewed by Anders Carlsson.
2458
2459         Since all the supplement names are just string literals and are all different,
2460         we can just use their pointer as the key in the supplement hashmaps.
2461
2462         This is lighter and faster than using AtomicString. WebCore already moved to this
2463         in Supplementable.
2464
2465         * NetworkProcess/NetworkProcess.h:
2466         (WebKit::NetworkProcess::addSupplement):
2467         (NetworkProcess):
2468         * Shared/Authentication/AuthenticationManager.cpp:
2469         (WebKit::AuthenticationManager::supplementName):
2470         * Shared/Authentication/AuthenticationManager.h:
2471         (AuthenticationManager):
2472         * Shared/Network/CustomProtocols/CustomProtocolManager.h:
2473         (CustomProtocolManager):
2474         * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
2475         (WebKit::CustomProtocolManager::supplementName):
2476         * UIProcess/Notifications/WebNotificationManagerProxy.cpp:
2477         (WebKit::WebNotificationManagerProxy::supplementName):
2478         * UIProcess/Notifications/WebNotificationManagerProxy.h:
2479         (WebNotificationManagerProxy):
2480         * UIProcess/WebApplicationCacheManagerProxy.cpp:
2481         (WebKit::WebApplicationCacheManagerProxy::supplementName):
2482         * UIProcess/WebApplicationCacheManagerProxy.h:
2483         (WebApplicationCacheManagerProxy):
2484         * UIProcess/WebContext.h:
2485         (WebContext):
2486         * UIProcess/WebCookieManagerProxy.cpp:
2487         (WebKit::WebCookieManagerProxy::supplementName):
2488         * UIProcess/WebCookieManagerProxy.h:
2489         (WebCookieManagerProxy):
2490         * UIProcess/WebDatabaseManagerProxy.cpp:
2491         (WebKit::WebDatabaseManagerProxy::supplementName):
2492         * UIProcess/WebDatabaseManagerProxy.h:
2493         (WebDatabaseManagerProxy):
2494         * UIProcess/WebGeolocationManagerProxy.cpp:
2495         (WebKit::WebGeolocationManagerProxy::supplementName):
2496         * UIProcess/WebGeolocationManagerProxy.h:
2497         (WebGeolocationManagerProxy):
2498         * UIProcess/WebKeyValueStorageManagerProxy.cpp:
2499         (WebKit::WebKeyValueStorageManagerProxy::supplementName):
2500         * UIProcess/WebKeyValueStorageManagerProxy.h:
2501         (WebKeyValueStorageManagerProxy):
2502         * UIProcess/WebMediaCacheManagerProxy.cpp:
2503         (WebKit::WebMediaCacheManagerProxy::supplementName):
2504         * UIProcess/WebMediaCacheManagerProxy.h:
2505         (WebMediaCacheManagerProxy):
2506         * UIProcess/WebResourceCacheManagerProxy.cpp:
2507         (WebKit::WebResourceCacheManagerProxy::supplementName):
2508         * UIProcess/WebResourceCacheManagerProxy.h:
2509         (WebResourceCacheManagerProxy):
2510         * UIProcess/soup/WebSoupRequestManagerProxy.cpp:
2511         (WebKit::WebSoupRequestManagerProxy::supplementName):
2512         * UIProcess/soup/WebSoupRequestManagerProxy.h:
2513         (WebSoupRequestManagerProxy):
2514         * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
2515         (WebKit::WebApplicationCacheManager::supplementName):
2516         * WebProcess/ApplicationCache/WebApplicationCacheManager.h:
2517         (WebApplicationCacheManager):
2518         * WebProcess/Cookies/WebCookieManager.cpp:
2519         (WebKit::WebCookieManager::supplementName):
2520         * WebProcess/Cookies/WebCookieManager.h:
2521         (WebCookieManager):
2522         * WebProcess/Geolocation/WebGeolocationManager.cpp:
2523         (WebKit::WebGeolocationManager::supplementName):
2524         * WebProcess/Geolocation/WebGeolocationManager.h:
2525         (WebGeolocationManager):
2526         * WebProcess/MediaCache/WebMediaCacheManager.cpp:
2527         (WebKit::WebMediaCacheManager::supplementName):
2528         * WebProcess/MediaCache/WebMediaCacheManager.h:
2529         (WebMediaCacheManager):
2530         * WebProcess/Notifications/WebNotificationManager.cpp:
2531         (WebKit::WebNotificationManager::supplementName):
2532         * WebProcess/Notifications/WebNotificationManager.h:
2533         (WebNotificationManager):
2534         * WebProcess/ResourceCache/WebResourceCacheManager.cpp:
2535         (WebKit::WebResourceCacheManager::supplementName):
2536         * WebProcess/ResourceCache/WebResourceCacheManager.h:
2537         (WebResourceCacheManager):
2538         * WebProcess/Storage/WebKeyValueStorageManager.cpp:
2539         (WebKit::WebKeyValueStorageManager::supplementName):
2540         * WebProcess/Storage/WebKeyValueStorageManager.h:
2541         (WebKeyValueStorageManager):
2542         * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
2543         (WebKit::WebDatabaseManager::supplementName):
2544         * WebProcess/WebCoreSupport/WebDatabaseManager.h:
2545         (WebDatabaseManager):
2546         * WebProcess/WebProcess.h:
2547         (WebKit::WebProcess::addSupplement):
2548         (WebProcess):
2549
2550 2013-02-01  Benjamin Poulain  <bpoulain@apple.com>
2551
2552         Clean the String->AtomicString conversion for AnimationController::pauseAnimationAtTime
2553         https://bugs.webkit.org/show_bug.cgi?id=108558
2554
2555         Reviewed by Dean Jackson.
2556
2557         * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
2558         (WKBundleFramePauseAnimationOnElementWithId):
2559         * WebProcess/WebPage/WebFrame.cpp:
2560         (WebKit::WebFrame::pauseAnimationOnElementWithId):
2561         * WebProcess/WebPage/WebFrame.h:
2562         (WebFrame):
2563
2564 2013-02-01  Anders Carlsson  <andersca@apple.com>
2565
2566         More work on UI side storage
2567         https://bugs.webkit.org/show_bug.cgi?id=108700
2568
2569         Reviewed by Sam Weinig.
2570
2571         * DerivedSources.make:
2572         Add StorageManager.messages.in.
2573
2574         * Platform/CoreIPC/HandleMessage.h:
2575         (CoreIPC::callMemberFunction):
2576         Add new overload.
2577
2578         * UIProcess/Storage/StorageManager.cpp:
2579         (WebKit::StorageManager::didReceiveMessageOnConnectionWorkQueue):
2580         Call the right function.
2581
2582         (WebKit::StorageManager::createStorageArea):
2583         (WebKit::StorageManager::destroyStorageArea):
2584         Add stubs.
2585
2586         * UIProcess/Storage/StorageManager.messages.in: Added.
2587         Add new messages files.
2588
2589         * WebKit2.xcodeproj/project.pbxproj:
2590         Add new files.
2591
2592         * WebProcess/Storage/StorageAreaProxy.cpp:
2593         (WebKit::StorageAreaProxy::~StorageAreaProxy):
2594         Add another FIXME.
2595
2596         (WebKit::StorageAreaProxy::canAccessStorage):
2597         (WebKit::StorageAreaProxy::incrementAccessCount):
2598         (WebKit::StorageAreaProxy::decrementAccessCount):
2599         Implement these.
2600
2601 2013-02-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2602
2603         [Gtk] [WK2] Fix build after r141619
2604         https://bugs.webkit.org/show_bug.cgi?id=108687
2605
2606         Reviewed by Benjamin Poulain.
2607
2608         Take a reference instead of a pointer for decoding functions.
2609
2610         * Platform/gtk/SharedMemoryGtk.cpp:
2611         (WebKit::SharedMemory::Handle::decode):
2612         * Shared/gtk/ArgumentCodersGtk.cpp:
2613         (CoreIPC::decodeImage):
2614         (CoreIPC::decodeDataObject):
2615         (CoreIPC::::decode):
2616         (CoreIPC::decodeGKeyFile):
2617         (CoreIPC::decode):
2618         * Shared/gtk/ArgumentCodersGtk.h:
2619         * Shared/gtk/LayerTreeContextGtk.cpp:
2620         (WebKit::LayerTreeContext::decode):
2621
2622 2013-02-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2623
2624         [EFL] [WK2] Fix build after r141619
2625         https://bugs.webkit.org/show_bug.cgi?id=108683
2626
2627         Reviewed by Benjamin Poulain.
2628
2629         Take a reference instead of a pointer for decoding functions.
2630
2631         * Shared/WebBatteryStatus.cpp:
2632         (WebKit::WebBatteryStatus::Data::decode):
2633         * Shared/WebBatteryStatus.h:
2634         (Data):
2635         * Shared/WebNetworkInfo.cpp:
2636         (WebKit::WebNetworkInfo::Data::decode):
2637         * Shared/WebNetworkInfo.h:
2638         (Data):
2639         * Shared/cairo/LayerTreeContextCairo.cpp:
2640         (WebKit::LayerTreeContext::decode):
2641         * Shared/efl/LayerTreeContextEfl.cpp:
2642         (WebKit::LayerTreeContext::decode):
2643         * Shared/soup/PlatformCertificateInfo.cpp:
2644         (WebKit::PlatformCertificateInfo::decode):
2645         * Shared/soup/PlatformCertificateInfo.h:
2646         (PlatformCertificateInfo):
2647         * Shared/soup/WebCoreArgumentCodersSoup.cpp:
2648         (CoreIPC::::decodePlatformData):
2649
2650 2013-02-01  Brady Eidson  <beidson@apple.com>
2651
2652         Clean up WebArchive loading with the NetworkProcess
2653         <rdar://problem/12695840> and https://bugs.webkit.org/show_bug.cgi?id=108673
2654
2655         Reviewed by Alexey Proskuryakov.
2656
2657         * NetworkProcess/HostRecord.cpp:
2658         (WebKit::HostRecord::servePendingRequestsForQueue):  Add new logging.
2659         (WebKit::HostRecord::servePendingRequests): Tweak existing logging.
2660
2661         * NetworkProcess/NetworkResourceLoadScheduler.cpp:
2662         (WebKit::NetworkResourceLoadScheduler::servePendingRequests): Tweak existing logging.
2663
2664         * WebProcess/Network/WebResourceLoadScheduler.cpp:
2665         (WebKit::WebResourceLoadScheduler::scheduleLoad): Handle archive resource scheduling better,
2666           and add new logging to better explore archive loading behavior in the future.
2667
2668 2013-02-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2669
2670         [Qt] [WK2] Fix build after r141619
2671         https://bugs.webkit.org/show_bug.cgi?id=108680
2672
2673         Reviewed by Benjamin Poulain.
2674
2675         Take a reference instead of a pointer for decoding functions.
2676
2677         * Platform/unix/SharedMemoryUnix.cpp:
2678         (WebKit::SharedMemory::Handle::decode):
2679         * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
2680         (CoreIPC::::decode):
2681         (CoreIPC::decodeTimingFunction):
2682         * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h:
2683         * Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp:
2684         (WebKit::WebCoordinatedSurface::Handle::decode):
2685         * Shared/CoordinatedGraphics/WebCoordinatedSurface.h:
2686         (Handle):
2687         * Shared/qt/ArgumentCodersQt.cpp:
2688         (CoreIPC::::decode):
2689         * Shared/qt/ArgumentCodersQt.h:
2690         (CoreIPC):
2691         * Shared/qt/LayerTreeContextQt.cpp:
2692         (WebKit::LayerTreeContext::decode):
2693         * Shared/qt/PlatformCertificateInfo.h:
2694         (WebKit::PlatformCertificateInfo::decode):
2695         * Shared/qt/QtNetworkReplyData.cpp:
2696         (WebKit::QtNetworkReplyData::decode):
2697         * Shared/qt/QtNetworkReplyData.h:
2698         (QtNetworkReplyData):
2699         * Shared/qt/QtNetworkRequestData.cpp:
2700         (WebKit::QtNetworkRequestData::decode):
2701         * Shared/qt/QtNetworkRequestData.h:
2702         (QtNetworkRequestData):
2703         * Shared/qt/WebCoreArgumentCodersQt.cpp:
2704         (CoreIPC::::decodePlatformData):
2705
2706 2013-02-01  Anders Carlsson  <andersca@apple.com>
2707
2708         Message decoding functions should take a MessageDecoder reference
2709         https://bugs.webkit.org/show_bug.cgi?id=108669
2710
2711         Reviewed by Andreas Kling.
2712
2713         Message encoding functions already take a reference instead of a pointer, so
2714         make the decoding functions take a reference as well.
2715
2716         * Platform/CoreIPC/ArgumentCoder.h:
2717         (CoreIPC::ArgumentCoder::decode):
2718         * Platform/CoreIPC/ArgumentCoders.cpp:
2719         (CoreIPC::::decode):
2720         (CoreIPC::decodeStringText):
2721         * Platform/CoreIPC/ArgumentCoders.h:
2722         (CoreIPC::SimpleArgumentCoder::decode):
2723         * Platform/CoreIPC/ArgumentDecoder.h:
2724         (CoreIPC::ArgumentDecoder::decode):
2725         * Platform/CoreIPC/Arguments.h:
2726         (CoreIPC::Arguments0::decode):
2727         (CoreIPC::Arguments1::decode):
2728         (CoreIPC::Arguments2::decode):
2729         (CoreIPC::Arguments3::decode):
2730         (CoreIPC::Arguments4::decode):
2731         (CoreIPC::Arguments5::decode):
2732         (CoreIPC::Arguments6::decode):
2733         (CoreIPC::Arguments7::decode):
2734         (CoreIPC::Arguments8::decode):
2735         (CoreIPC::Arguments10::decode):
2736         * Platform/CoreIPC/Attachment.cpp:
2737         (CoreIPC::Attachment::decode):
2738         * Platform/CoreIPC/Attachment.h:
2739         (Attachment):
2740         * Platform/CoreIPC/DataReference.cpp:
2741         (CoreIPC::DataReference::decode):
2742         * Platform/CoreIPC/DataReference.h:
2743         (DataReference):
2744         * Platform/CoreIPC/StringReference.cpp:
2745         (CoreIPC::StringReference::decode):
2746         * Platform/CoreIPC/StringReference.h:
2747         (StringReference):
2748         * Platform/CoreIPC/mac/MachPort.h:
2749         (CoreIPC::MachPort::decode):
2750         * Platform/SharedMemory.h:
2751         (Handle):
2752         * Platform/mac/SharedMemoryMac.cpp:
2753         (WebKit::SharedMemory::Handle::decode):
2754         * PluginProcess/PluginCreationParameters.cpp:
2755         (WebKit::PluginCreationParameters::decode):
2756         * PluginProcess/PluginCreationParameters.h:
2757         (PluginCreationParameters):
2758         * Shared/DictionaryPopupInfo.cpp:
2759         (WebKit::DictionaryPopupInfo::decode):
2760         * Shared/DictionaryPopupInfo.h:
2761         (DictionaryPopupInfo):
2762         * Shared/EditorState.cpp:
2763         (WebKit::EditorState::decode):
2764         * Shared/EditorState.h:
2765         (EditorState):
2766         * Shared/FontInfo.cpp:
2767         (WebKit::FontInfo::decode):
2768         * Shared/FontInfo.h:
2769         (FontInfo):
2770         * Shared/LayerTreeContext.h:
2771         (LayerTreeContext):
2772         * Shared/Network/NetworkProcessCreationParameters.cpp:
2773         (WebKit::NetworkProcessCreationParameters::decode):
2774         * Shared/Network/NetworkProcessCreationParameters.h:
2775         (NetworkProcessCreationParameters):
2776         * Shared/Network/NetworkResourceLoadParameters.cpp:
2777         (WebKit::NetworkResourceLoadParameters::decode):
2778         * Shared/Network/NetworkResourceLoadParameters.h:
2779         (NetworkResourceLoadParameters):
2780         * Shared/OriginAndDatabases.cpp:
2781         (WebKit::OriginAndDatabases::decode):
2782         * Shared/OriginAndDatabases.h:
2783         (OriginAndDatabases):
2784         * Shared/PlatformPopupMenuData.cpp:
2785         (WebKit::PlatformPopupMenuData::decode):
2786         * Shared/PlatformPopupMenuData.h:
2787         (PlatformPopupMenuData):
2788         * Shared/Plugins/NPIdentifierData.cpp:
2789         (WebKit::NPIdentifierData::decode):
2790         * Shared/Plugins/NPIdentifierData.h:
2791         (NPIdentifierData):
2792         * Shared/Plugins/NPVariantData.cpp:
2793         (WebKit::NPVariantData::decode):
2794         * Shared/Plugins/NPVariantData.h:
2795         (NPVariantData):
2796         * Shared/Plugins/PluginProcessCreationParameters.cpp:
2797         (WebKit::PluginProcessCreationParameters::decode):
2798         * Shared/Plugins/PluginProcessCreationParameters.h:
2799         (PluginProcessCreationParameters):
2800         * Shared/PrintInfo.cpp:
2801         (WebKit::PrintInfo::decode):
2802         * Shared/PrintInfo.h:
2803         (PrintInfo):
2804         * Shared/SandboxExtension.h:
2805         (Handle):
2806         (HandleArray):
2807         (WebKit::SandboxExtension::Handle::decode):
2808         (WebKit::SandboxExtension::HandleArray::decode):
2809         * Shared/SecurityOriginData.cpp:
2810         (WebKit::SecurityOriginData::decode):
2811         * Shared/SecurityOriginData.h:
2812         (SecurityOriginData):
2813         * Shared/SessionState.cpp:
2814         (WebKit::SessionState::decode):
2815         * Shared/SessionState.h:
2816         (SessionState):
2817         * Shared/ShareableBitmap.cpp:
2818         (WebKit::ShareableBitmap::Handle::decode):
2819         * Shared/ShareableBitmap.h:
2820         (Handle):
2821         * Shared/ShareableResource.cpp:
2822         (WebKit::ShareableResource::Handle::decode):
2823         * Shared/ShareableResource.h:
2824         (Handle):
2825         * Shared/SharedWorkerProcessCreationParameters.cpp:
2826         (WebKit::SharedWorkerProcessCreationParameters::decode):
2827         * Shared/SharedWorkerProcessCreationParameters.h:
2828         (SharedWorkerProcessCreationParameters):
2829         * Shared/StatisticsData.cpp:
2830         (WebKit::StatisticsData::decode):
2831         * Shared/StatisticsData.h:
2832         (StatisticsData):
2833         * Shared/StringPairVector.h:
2834         (WebKit::StringPairVector::decode):
2835         * Shared/UpdateInfo.cpp:
2836         (WebKit::UpdateInfo::decode):
2837         * Shared/UpdateInfo.h:
2838         (UpdateInfo):
2839         * Shared/UserMessageCoders.h:
2840         (WebKit::UserMessageDecoder::baseDecode):
2841         * Shared/WebContextMenuItemData.cpp:
2842         (WebKit::WebContextMenuItemData::decode):
2843         * Shared/WebContextMenuItemData.h:
2844         (WebContextMenuItemData):
2845         * Shared/WebCoreArgumentCoders.cpp:
2846         (CoreIPC::::decode):
2847         (CoreIPC::decodeImage):
2848         * Shared/WebCoreArgumentCoders.h:
2849         * Shared/WebEvent.cpp:
2850         (WebKit::WebEvent::decode):
2851         * Shared/WebEvent.h:
2852         (WebEvent):
2853         (WebMouseEvent):
2854         (WebWheelEvent):
2855         (WebKeyboardEvent):
2856         (WebGestureEvent):
2857         (WebPlatformTouchPoint):
2858         (WebTouchEvent):
2859         * Shared/WebGeolocationPosition.cpp:
2860         (WebKit::WebGeolocationPosition::Data::decode):
2861         * Shared/WebGeolocationPosition.h:
2862         (Data):
2863         * Shared/WebGestureEvent.cpp:
2864         (WebKit::WebGestureEvent::decode):
2865         * Shared/WebHitTestResult.cpp:
2866         (WebKit::WebHitTestResult::Data::decode):
2867         * Shared/WebHitTestResult.h:
2868         (Data):
2869         * Shared/WebKeyboardEvent.cpp:
2870         (WebKit::WebKeyboardEvent::decode):
2871         * Shared/WebMouseEvent.cpp:
2872         (WebKit::WebMouseEvent::decode):
2873         * Shared/WebNavigationDataStore.h:
2874         (WebKit::WebNavigationDataStore::decode):
2875         * Shared/WebPageCreationParameters.cpp:
2876         (WebKit::WebPageCreationParameters::decode):
2877         * Shared/WebPageCreationParameters.h:
2878         (WebPageCreationParameters):
2879         * Shared/WebPageGroupData.cpp:
2880         (WebKit::WebPageGroupData::decode):
2881         * Shared/WebPageGroupData.h:
2882         (WebPageGroupData):
2883         * Shared/WebPlatformTouchPoint.cpp:
2884         (WebKit::WebPlatformTouchPoint::decode):
2885         * Shared/WebPopupItem.cpp:
2886         (WebKit::WebPopupItem::decode):
2887         * Shared/WebPopupItem.h:
2888         * Shared/WebPreferencesStore.cpp:
2889         (WebKit::WebPreferencesStore::decode):
2890         * Shared/WebPreferencesStore.h:
2891         (WebPreferencesStore):
2892         * Shared/WebProcessCreationParameters.cpp:
2893         (WebKit::WebProcessCreationParameters::decode):
2894         * Shared/WebProcessCreationParameters.h:
2895         (WebProcessCreationParameters):
2896         * Shared/WebTouchEvent.cpp:
2897         (WebKit::WebTouchEvent::decode):
2898         * Shared/WebWheelEvent.cpp:
2899         (WebKit::WebWheelEvent::decode):
2900         * Shared/cf/ArgumentCodersCF.cpp:
2901         (CoreIPC::decode):
2902         * Shared/cf/ArgumentCodersCF.h:
2903         (CoreIPC):
2904         * Shared/mac/ArgumentCodersMac.h:
2905         (CoreIPC):
2906         * Shared/mac/ArgumentCodersMac.mm:
2907         (CoreIPC::decode):
2908         * Shared/mac/AttributedString.h:
2909         (AttributedString):
2910         * Shared/mac/AttributedString.mm:
2911         (WebKit::AttributedString::decode):
2912         * Shared/mac/ColorSpaceData.h:
2913         (ColorSpaceData):
2914         * Shared/mac/ColorSpaceData.mm:
2915         (WebKit::ColorSpaceData::decode):
2916         * Shared/mac/LayerTreeContextMac.mm:
2917         (WebKit::LayerTreeContext::decode):
2918         * Shared/mac/ObjCObjectGraphCoders.h:
2919         (WebContextObjCObjectGraphDecoder):
2920         (InjectedBundleObjCObjectGraphDecoder):
2921         * Shared/mac/ObjCObjectGraphCoders.mm:
2922         (WebKit::ObjCObjectGraphDecoder::baseDecode):
2923         (WebKit::WebContextObjCObjectGraphDecoderImpl::decode):
2924         (WebKit::InjectedBundleObjCObjectGraphDecoderImpl::decode):
2925         (WebKit::WebContextObjCObjectGraphDecoder::decode):
2926         (WebKit::InjectedBundleObjCObjectGraphDecoder::decode):
2927         * Shared/mac/PlatformCertificateInfo.h:
2928         (PlatformCertificateInfo):
2929         * Shared/mac/PlatformCertificateInfo.mm:
2930         (WebKit::PlatformCertificateInfo::decode):
2931         * Shared/mac/RemoteLayerTreeTransaction.h:
2932         (LayerProperties):
2933         (RemoteLayerTreeTransaction):
2934         * Shared/mac/RemoteLayerTreeTransaction.mm:
2935         (WebKit::RemoteLayerTreeTransaction::LayerProperties::decode):
2936         (WebKit::RemoteLayerTreeTransaction::decode):
2937         * Shared/mac/SandboxExtensionMac.mm:
2938         (WebKit::SandboxExtension::Handle::decode):
2939         (WebKit::SandboxExtension::HandleArray::decode):
2940         * Shared/mac/SecItemRequestData.cpp:
2941         (WebKit::SecItemRequestData::decode):
2942         * Shared/mac/SecItemRequestData.h:
2943         * Shared/mac/SecItemResponseData.cpp:
2944         (WebKit::SecItemResponseData::decode):
2945         * Shared/mac/SecItemResponseData.h:
2946         (SecItemResponseData):
2947         * Shared/mac/WebCoreArgumentCodersMac.mm:
2948         (CoreIPC::::decodePlatformData):
2949         (CoreIPC::::decode):
2950         * UIProcess/WebContextUserMessageCoders.h:
2951         (WebKit::WebContextUserMessageDecoder::decode):
2952         * WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
2953         (WebKit::InjectedBundleUserMessageDecoder::decode):
2954         * WebProcess/Plugins/Plugin.cpp:
2955         (WebKit::Plugin::Parameters::decode):
2956         * WebProcess/Plugins/Plugin.h:
2957         (Parameters):
2958
2959 2013-02-01  Carlos Garcia Campos  <cgarcia@igalia.com>
2960
2961         [GTK] Adapt WorkQueueGtk to the latest changes in WebKit2 after r141497
2962         https://bugs.webkit.org/show_bug.cgi?id=108607
2963
2964         Reviewed by Anders Carlsson.
2965
2966         * Platform/gtk/WorkQueueGtk.cpp:
2967         (WorkQueue::EventSource::executeEventSource): Remove the is valid
2968         work queue check.
2969         (WorkQueue::EventSource): WorkQueue is now refcounted, so keep a
2970         reference when a new job is scheduled and unref it when it
2971         finishes.
2972
2973 2013-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
2974
2975         Unreviewed, rolling out r141319.
2976         http://trac.webkit.org/changeset/141319
2977         https://bugs.webkit.org/show_bug.cgi?id=108629
2978
2979         This patch is causing the UIProcess to hang on GTK port when
2980         loading plugins (Requested by chris-qBT_laptop on #webkit).
2981
2982         * UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp:
2983         (WebKit::PluginProcessProxy::scanPlugin):
2984
2985 2013-02-01  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2986
2987         [EFL][WK2] EwkContext should be based on C WK2 API
2988         https://bugs.webkit.org/show_bug.cgi?id=107666
2989
2990         Reviewed by Andreas Kling.
2991
2992         EwkContext should be based on C WK2 API so that API layering is not violated.
2993
2994         * UIProcess/API/efl/EwkView.cpp:
2995         (EwkView::EwkView):
2996         * UIProcess/API/efl/ewk_context.cpp:
2997         (EwkContext::EwkContext):
2998         (EwkContext::create):
2999         (EwkContext::cookieManager):
3000         (EwkContext::ensureFaviconDatabase):
3001         (EwkContext::setFaviconDatabaseDirectoryPath):
3002         (EwkContext::addVisitedLink):
3003         (EwkContext::setCacheModel):
3004         (EwkContext::cacheModel):
3005         (EwkContext::setAdditionalPluginPath):
3006         (EwkContext::clearResourceCache):
3007         * UIProcess/API/efl/ewk_context_private.h:
3008         (EwkContext):
3009         * UIProcess/API/efl/ewk_view.cpp:
3010         (ewk_view_base_add):
3011
3012 2013-02-01  Christophe Dumez  <christophe.dumez@intel.com>
3013
3014         [EFL][WK2] Use C API inside ewk_auth_request
3015         https://bugs.webkit.org/show_bug.cgi?id=107806
3016
3017         Reviewed by Andreas Kling.
3018
3019         Use C API inside ewk_auth_request instead of accessing C++ internal
3020         classes directly, to avoid violating layering.
3021
3022         * UIProcess/API/efl/ewk_auth_request.cpp:
3023         (EwkAuthRequest::EwkAuthRequest):
3024         (EwkAuthRequest::suggestedUsername):
3025         (EwkAuthRequest::realm):
3026         (EwkAuthRequest::host):
3027         (EwkAuthRequest::continueWithoutCredential):
3028         (EwkAuthRequest::authenticate):
3029         (EwkAuthRequest::isRetrying):
3030         (ewk_auth_request_authenticate):
3031         * UIProcess/API/efl/ewk_auth_request_private.h:
3032         (EwkAuthRequest::create):
3033         (EwkAuthRequest):
3034         * UIProcess/efl/PageLoadClientEfl.cpp:
3035         (WebKit::PageLoadClientEfl::didReceiveAuthenticationChallengeInFrame):
3036
3037 2013-02-01  Seulgi Kim  <seulgikim@company100.net>
3038
3039         [Gtk][WK2] Fix build after recent WebKit2 changes
3040         https://bugs.webkit.org/show_bug.cgi?id=108588
3041
3042         Reviewed by Andreas Kling.
3043
3044         Don't remove WorkQueue during execution.
3045         Following the logic on https://bugs.webkit.org/show_bug.cgi?id=108544
3046
3047         * Platform/gtk/WorkQueueGtk.cpp:
3048         (WorkQueue::EventSource::~EventSource):
3049         (WorkQueue::EventSource::executeEventSource):
3050         (WorkQueue::dispatch):
3051         (WorkQueue::dispatchAfterDelay):
3052         (WorkQueue::dispatchOnTermination):
3053
3054 2013-02-01  Alexis Menard  <alexis@webkit.org>
3055
3056         Enable unprefixed CSS transitions by default.
3057         https://bugs.webkit.org/show_bug.cgi?id=108216
3058
3059         Reviewed by Dean Jackson.
3060
3061         Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
3062         to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to 
3063         guard the unprefixing work for CSS Transforms and animations.
3064
3065         * Configurations/FeatureDefines.xcconfig:
3066
3067 2013-02-01  Jae Hyun Park  <jae.park@company100.net>
3068
3069         Coordinated Graphics : Sort Target.pri and class declarations in alphabetical order.
3070         https://bugs.webkit.org/show_bug.cgi?id=108590
3071
3072         Reviewed by Noam Rosenthal.
3073
3074         Sort class declarations in alphabetical order.
3075
3076         * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h:
3077         (WebCore):
3078
3079 2013-02-01  Gwang Yoon Hwang  <ryumiel@company100.net>
3080
3081         [EFL][WK2] MiniBrowser segfaults on loading google.com
3082         https://bugs.webkit.org/show_bug.cgi?id=108597
3083
3084         Reviewed by Andreas Kling.
3085
3086         * Platform/CoreIPC/unix/ConnectionUnix.cpp:
3087         (CoreIPC::Connection::processMessage):
3088         oolMessageBody should be properly initialized before it is used.
3089
3090         This patch also adds omitted break statement.
3091
3092 2013-01-31  Jae Hyun Park  <jae.park@company100.net>
3093
3094         [Qt] Add MessageFlags.h in Target.pri
3095         https://bugs.webkit.org/show_bug.cgi?id=108583
3096
3097         Reviewed by Kentaro Hara.
3098
3099         Since MessageDecoder and MessageEncoder include MessageFlags.h, it
3100         should be included in Target.pri.
3101
3102         * Target.pri:
3103
3104 2013-01-31  Jae Hyun Park  <jae.park@company100.net>
3105
3106         Coordinated Graphics : Move CoordinatedGraphics related files to WebCore
3107         https://bugs.webkit.org/show_bug.cgi?id=108149
3108
3109         Reviewed by Noam Rosenthal.
3110
3111         This patch moves Coordinated Graphics related code to WebCore. To
3112         implement Threaded Coordinated Graphics, most of Coordianted Graphics
3113         code should be shared. Therefore, they should reside in WebCore instead of
3114         WebKit2.
3115
3116         When moving to WebCore, two renamings have been done.
3117
3118         1. Rename LayerTreeRenderer to CoordinatedGraphicsScene.
3119
3120         2. Rename WebCustomFilterProgram and WebCustomFilterOperation to
3121         CoordinatedCustomFilterProgram and CoordinatedCustomFilterOperation,
3122         respectively.
3123
3124         No new tests, covered by existing tests.
3125
3126         * CMakeLists.txt:
3127         * Scripts/webkit2/messages.py:
3128         * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
3129         * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h:
3130         * Shared/CoordinatedGraphics/WebCoordinatedSurface.h:
3131         * Target.pri:
3132         * UIProcess/API/efl/EwkView.cpp:
3133         * UIProcess/API/efl/EwkView.h:
3134         * UIProcess/API/qt/qquickwebpage.cpp:
3135         * UIProcess/API/qt/raw/qrawwebview.cpp:
3136         * UIProcess/API/qt/raw/qrawwebview_p.h:
3137         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
3138         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
3139         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in:
3140         * UIProcess/efl/PageClientBase.cpp:
3141         * UIProcess/efl/PageViewportControllerClientEfl.cpp:
3142         * UIProcess/qt/QtWebPageSGNode.cpp:
3143         * UIProcess/qt/QtWebPageSGNode.h:
3144         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
3145         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
3146
3147 2013-01-31  Rafael Brandao  <rafael.lobo@openbossa.org>
3148
3149         [Qt][WK2] Another attempt to fix build after recent WebKit2 changes
3150         https://bugs.webkit.org/show_bug.cgi?id=108548
3151
3152         Reviewed by Anders Carlsson.
3153
3154         * Platform/CoreIPC/unix/ConnectionUnix.cpp:
3155         (CoreIPC::Connection::platformInvalidate):
3156         (CoreIPC::Connection::processMessage): Change Deque to Vector and do similar
3157         logic as on patch for https://bugs.webkit.org/show_bug.cgi?id=108517
3158         (CoreIPC::Connection::open):
3159         (CoreIPC::Connection::setShouldCloseConnectionOnProcessTermination):
3160         * Platform/qt/WorkQueueQt.cpp: Reflect changes on Qt WorkQueue to increase ref
3161         count when the execution is started and decrease it when the work item is deleted,
3162         following the logic on https://bugs.webkit.org/show_bug.cgi?id=108544
3163         (WorkQueue::WorkItemQt::~WorkItemQt):
3164         (WorkQueue::WorkItemQt::execute):
3165         (WorkQueue::dispatch):
3166         (WorkQueue::dispatchAfterDelay):
3167         * UIProcess/WebPageProxy.cpp:
3168         (WebKit::WebPageProxy::getPluginPath): This function was moved from WebProcessProxy but
3169         mac specific code was not protected properly: https://bugs.webkit.org/show_bug.cgi?id=108407
3170
3171 2013-01-31  Changhun Kang  <temoochin@company100.net>
3172
3173         Rename from parentOrHost* to parentOrShadowHost* in Node.h.
3174         https://bugs.webkit.org/show_bug.cgi?id=108308
3175
3176         Reviewed by Dimitri Glazkov.
3177
3178 2013-01-31  Anders Carlsson  <andersca@apple.com>
3179
3180         StorageManager should be ref-counted
3181         https://bugs.webkit.org/show_bug.cgi?id=108553
3182
3183         Reviewed by Beth Dakin.
3184
3185         It's likely we'd want to have the storage manager outlive its context at times, so make it
3186         reference counted.
3187
3188         * UIProcess/Storage/StorageManager.cpp:
3189         (WebKit::StorageManager::create):
3190         (WebKit):
3191         * UIProcess/Storage/StorageManager.h:
3192         (StorageManager):
3193         * UIProcess/WebContext.cpp:
3194         (WebKit::WebContext::WebContext):
3195         * UIProcess/WebContext.h:
3196         (WebContext):
3197
3198 2013-01-31  Anders Carlsson  <andersca@apple.com>
3199
3200         WorkQueue should be a ref-counted class
3201         https://bugs.webkit.org/show_bug.cgi?id=108544
3202
3203         Reviewed by Sam Weinig.
3204
3205         Make WorkQueue a ref-counted class that's implicitly ref()'d when dispatching a function to it, and then
3206         implicitly deref()'d when the function is done executing. This matches the behavior of dispatch queues,
3207         and ensures that the WorkQueue object won't go away while dispatched functions are running.
3208
3209         * Platform/CoreIPC/Connection.cpp:
3210         (CoreIPC::Connection::Connection):
3211         (CoreIPC::Connection::~Connection):
3212         (CoreIPC::Connection::addQueueClient):
3213         (CoreIPC::Connection::removeQueueClient):
3214         (CoreIPC::Connection::invalidate):
3215         (CoreIPC::Connection::sendMessage):
3216         (CoreIPC::Connection::postConnectionDidCloseOnConnectionWorkQueue):
3217         (CoreIPC::Connection::connectionDidClose):
3218         * Platform/CoreIPC/Connection.h:
3219         (Connection):
3220         * Platform/CoreIPC/mac/ConnectionMac.cpp:
3221         (CoreIPC::createDataAvailableSource):
3222         (CoreIPC::Connection::open):
3223         (CoreIPC::Connection::initializeDeadNameSource):
3224         * Platform/WorkQueue.cpp:
3225         (WorkQueue::create):
3226         (WorkQueue::WorkQueue):
3227         (WorkQueue::~WorkQueue):
3228         * Platform/WorkQueue.h:
3229         (WorkQueue):
3230         * Platform/mac/WorkQueueMac.cpp:
3231         (WorkQueue::dispatch):
3232         (WorkQueue::dispatchAfterDelay):
3233         * Shared/ChildProcess.cpp:
3234         (WebKit::didCloseOnConnectionWorkQueue):
3235         * UIProcess/Launcher/ProcessLauncher.cpp:
3236         (WebKit::processLauncherWorkQueue):
3237         (WebKit::ProcessLauncher::ProcessLauncher):
3238         * UIProcess/WebProcessProxy.cpp:
3239         (WebKit::pluginWorkQueue):
3240         (WebKit::WebProcessProxy::getPlugins):
3241
3242 2013-01-31  Rafael Brandao  <rafael.lobo@openbossa.org>
3243
3244         [Qt][WK2] Fix build after removal of MessageID.h
3245         https://bugs.webkit.org/show_bug.cgi?id=108534
3246
3247         Reviewed by Anders Carlsson.
3248
3249         * Platform/CoreIPC/unix/ConnectionUnix.cpp:
3250         (CoreIPC::MessageInfo::MessageInfo):
3251         (CoreIPC::MessageInfo::setMessageBodyIsOutOfLine):
3252         (CoreIPC::MessageInfo::isMessageBodyIsOutOfLine):
3253         (MessageInfo):
3254         (CoreIPC::Connection::processMessage):
3255         (CoreIPC::Connection::sendOutgoingMessage):
3256         * Target.pri:
3257         * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
3258         * UIProcess/DrawingAreaProxy.cpp:
3259         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
3260         * WebProcess/soup/WebSoupRequestManager.cpp:
3261
3262 2013-01-31  Brady Eidson  <beidson@apple.com>
3263
3264         Assertion failure in WebResourceLoadScheduler::remove when loading .webarchives
3265         <rdar://problem/12888145> and https://bugs.webkit.org/show_bug.cgi?id=108520
3266
3267         Reviewed by Alexey Proskuryakov.
3268
3269         * WebProcess/Network/WebResourceLoadScheduler.cpp:
3270         (WebKit::WebResourceLoadScheduler::scheduleLoad): Even if it isn't to be scheduled with the
3271           NetworkProcess, still add this ResourceLoader to the scheduler's records.
3272
3273 2013-01-31  Simon Hausmann  <simon.hausmann@digia.com>
3274
3275         Unreviewed trivial Unix build fix.
3276
3277         Use Vector<> instead of Deque<> when iterating
3278         over m_attachments in the USE(UNIX_DOMAIN_SOCKETS)
3279         case.
3280
3281         * Platform/CoreIPC/ArgumentDecoder.cpp:
3282
3283 2013-01-30  Brian Weinstein  <bweinstein@apple.com>
3284
3285         Add a call to the page UI client to determine if a plug-in should load
3286         https://bugs.webkit.org/show_bug.cgi?id=108407
3287         <rdar://problem/13066332>
3288
3289         Reviewed by Anders Carlsson.
3290
3291         This patch adds a client call to the WKPageUIClient to be called to determine
3292         whether or not a plug-in should load.
3293
3294         * UIProcess/API/C/WKPage.h: Add shouldLoadPlugin.
3295         * UIProcess/WebPageProxy.cpp:
3296         (WebKit::WebPageProxy::getPluginPath): Moved from WebProcessProxy, and added a call to
3297             m_uiClient.shouldInstantiatePlugin.
3298         * UIProcess/WebPageProxy.h:
3299         * UIProcss/WebPageProxy.messages.in: Moved GetPluginPath from WebProcessProxy to WebPageProxy.
3300         * UIProcess/WebProcessProxy.cpp:
3301         (WebKit::WebProcessProxy::getPluginPath): Moved to WebPageProxy.
3302         * UIProcess/WebProcessProxy.h:
3303         * UIProcess/WebUIClient.cpp:
3304         (WebKit::WebUIClient::shouldInstantiatePlugin): Return that we should load the plug-in if
3305             the client function isn't defined, and call the function if it is.
3306         * UIProcess/WebUIClient.h:
3307         * UIProcess/mac/WebInspectorProxyMac.mm:
3308         (WebKit::WebInspectorProxy::platformCreateInspectorPage): Add an entry for the new
3309             client function.
3310         * WebProcess/WebPage/WebPage.cpp:
3311         (WebKit::WebPage::createPlugin): Send the message to the WebPageProxy, not the WebProcessProxy.
3312         (WebKit::WebPage::canPluginHandleResponse): Made a member function, so it can call sendSync, and
3313             send the message to the WebPageProxy, not the WebProcessProxy.
3314         * WebProcess/WebPage/WebPage.h:
3315
3316 2013-01-31  Anders Carlsson  <andersca@apple.com>
3317
3318         Use a Vector for IPC attachments
3319         https://bugs.webkit.org/show_bug.cgi?id=108517
3320
3321         Reviewed by Sam Weinig.
3322
3323         We don't need to use a Deque for attachments - we can just deserialize the attachments backwards instead.
3324
3325         * Platform/CoreIPC/ArgumentDecoder.cpp:
3326         (CoreIPC::ArgumentDecoder::create):
3327         (CoreIPC::ArgumentDecoder::ArgumentDecoder):
3328         (CoreIPC::ArgumentDecoder::removeAttachment):
3329         * Platform/CoreIPC/ArgumentDecoder.h:
3330         (ArgumentDecoder):
3331         * Platform/CoreIPC/Connection.h:
3332         * Platform/CoreIPC/MessageDecoder.cpp:
3333         (CoreIPC::MessageDecoder::create):
3334         (CoreIPC::MessageDecoder::MessageDecoder):
3335         * Platform/CoreIPC/MessageDecoder.h:
3336         (MessageDecoder):
3337         * Platform/CoreIPC/mac/ConnectionMac.cpp:
3338         (CoreIPC::createMessageDecoder):
3339
3340 2013-01-31  Joseph Pecoraro  <pecoraro@apple.com>
3341
3342         Disable ENABLE_FULLSCREEN_API on iOS
3343         https://bugs.webkit.org/show_bug.cgi?id=108250
3344
3345         Reviewed by Benjamin Poulain.
3346
3347         * Configurations/FeatureDefines.xcconfig:
3348
3349 2013-01-31  Enrica Casucci  <enrica@apple.com>
3350
3351         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
3352         https://bugs.webkit.org/show_bug.cgi?id=108396.
3353         <rdar://problem/12920461>
3354
3355         Reviewed by Alexey Proskuryakov.
3356
3357         This patch adds new bundle client API to receive notifications
3358         relative the pasteboard activity. There are 2 new API added to
3359         InjectedBundleEditorClient, to receive notification before and
3360         after the pasteboard content is added and one API to provide
3361         additional content to add to the pasteboard.
3362         In order to create content to add to the pasteboard, WKWebArchiveRef
3363         and WKWebArchiveResourcesRef have been added to the set of API level
3364         object.
3365         This work is a joint effort with Sam Weinig who contributed the
3366         support for WKWebArchiveRef, WKWebArchiveResourcesRef and related
3367         files. Sam is the author of the first chunk of changes listed below.
3368         
3369         * Shared/API/c/WKBase.h:
3370         * Shared/API/c/WKSharedAPICast.h:
3371         * Shared/API/c/mac/WKWebArchive.cpp: Added.
3372         (WKWebArchiveGetTypeID):
3373         (WKWebArchiveCreate):
3374         (WKWebArchiveCreateWithData):
3375         (WKWebArchiveCreateFromRange):
3376         (WKWebArchiveCopyMainResource):
3377         (WKWebArchiveCopySubresources):
3378         (WKWebArchiveCopySubframeArchives):
3379         (WKWebArchiveCopyData):
3380         * Shared/API/c/mac/WKWebArchive.h: Added.
3381         * Shared/API/c/mac/WKWebArchiveResource.cpp: Added.
3382         (WKWebArchiveResourceGetTypeID):
3383         (WKWebArchiveResourceCreate):
3384         (WKWebArchiveResourceCopyData):
3385         (WKWebArchiveResourceCopyURL):
3386         (WKWebArchiveResourceCopyMIMEType):
3387         (WKWebArchiveResourceCopyTextEncoding):
3388         * Shared/API/c/mac/WKWebArchiveResource.h: Added.
3389         * Shared/APIObject.h:
3390         * Shared/WebArchive.cpp: Added.
3391         (WebKit::WebArchive::create):
3392         (WebKit::WebArchive::WebArchive):
3393         (WebKit::WebArchive::~WebArchive):
3394         (WebKit::WebArchive::mainResource):
3395         (WebKit::WebArchive::subresources):
3396         (WebKit::WebArchive::subframeArchives):
3397         (WebKit::releaseCFData):
3398         (WebKit::WebArchive::data):
3399         (WebKit::WebArchive::coreLegacyWebArchive):
3400         * Shared/WebArchive.h: Added.
3401         (WebKit::WebArchive::type):
3402         * Shared/WebArchiveResource.cpp: Added.
3403         (WebKit::WebArchiveResource::create):
3404         (WebKit::WebArchiveResource::WebArchiveResource):
3405         (WebKit::WebArchiveResource::~WebArchiveResource):
3406         (WebKit::releaseCFData):
3407         (WebKit::WebArchiveResource::data):
3408         (WebKit::WebArchiveResource::URL):
3409         (WebKit::WebArchiveResource::MIMEType):
3410         (WebKit::WebArchiveResource::textEncoding):
3411         (WebKit::WebArchiveResource::coreArchiveResource):
3412         * Shared/WebArchiveResource.h: Added.
3413         (WebKit::WebArchiveResource::type):
3414         * WebKit2.xcodeproj/project.pbxproj:
3415         
3416         * Shared/APIClientTraits.cpp: Added versioning to InjectedBundlePageEditorClient.
3417         * Shared/APIClientTraits.h:
3418         * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
3419         * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp:
3420         (WebKit::InjectedBundlePageEditorClient::willWriteToPasteboard): Added.
3421         (WebKit::InjectedBundlePageEditorClient::getPasteboardDataForRange): Added.
3422         (WebKit::InjectedBundlePageEditorClient::didWriteToPasteboard): Added.
3423         * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.h:
3424         * WebProcess/WebCoreSupport/WebEditorClient.cpp:
3425         (WebKit::WebEditorClient::didWriteSelectionToPasteboard):
3426         (WebKit::WebEditorClient::willWriteSelectionToPasteboard):
3427         (WebKit::WebEditorClient::getClientPasteboardDataForRange):
3428         * WebProcess/WebCoreSupport/WebEditorClient.h:
3429
3430 2013-01-31  Anders Carlsson  <andersca@apple.com>
3431
3432         Remove MessageID.h
3433         https://bugs.webkit.org/show_bug.cgi?id=108516
3434
3435         Reviewed by Sam Weinig.
3436
3437         * Platform/CoreIPC/Connection.cpp:
3438         (CoreIPC::Connection::processIncomingMessage):
3439         (CoreIPC::Connection::sendOutgoingMessages):
3440         (CoreIPC::Connection::dispatchSyncMessage):
3441         (CoreIPC::Connection::dispatchMessage):
3442         * Platform/CoreIPC/Connection.h:
3443         (CoreIPC):
3444         (Connection):
3445         * Platform/CoreIPC/MessageID.h: Removed.
3446         * Platform/CoreIPC/mac/ConnectionMac.cpp:
3447         (CoreIPC::Connection::sendOutgoingMessage):
3448         (CoreIPC::Connection::receiveSourceEventHandler):
3449         * Shared/CoreIPCSupport/WebConnectionMessageKinds.h: Removed.
3450         * Shared/CoreIPCSupport/WebContextMessageKinds.h:
3451         * UIProcess/DrawingAreaProxy.h:
3452         (CoreIPC):
3453         * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
3454         * UIProcess/WebApplicationCacheManagerProxy.h:
3455         * UIProcess/WebContext.cpp:
3456         (WebKit::WebContext::WebContext):
3457         (WebKit::WebContext::didReceiveMessage):
3458         (WebKit::WebContext::didReceiveSyncMessage):
3459         * UIProcess/WebCookieManagerProxy.h:
3460         * UIProcess/WebFrameProxy.h:
3461         (CoreIPC):
3462         * UIProcess/WebFullScreenManagerProxy.h:
3463         (CoreIPC):
3464         * UIProcess/WebIconDatabase.h:
3465         (CoreIPC):
3466         * UIProcess/WebPageProxy.cpp:
3467         * UIProcess/WebPageProxy.h:
3468         (CoreIPC):
3469         * WebKit2.xcodeproj/project.pbxproj:
3470         * WebProcess/FullScreen/WebFullScreenManager.cpp:
3471         * WebProcess/FullScreen/WebFullScreenManager.h:
3472         (CoreIPC):
3473         * WebProcess/InjectedBundle/InjectedBundle.cpp:
3474         (WebKit::InjectedBundle::postMessage):
3475         (WebKit::InjectedBundle::postSynchronousMessage):
3476         * WebProcess/InjectedBundle/InjectedBundle.h:
3477         (CoreIPC):
3478         * WebProcess/WebPage/DrawingArea.h:
3479         (CoreIPC):
3480         * WebProcess/WebPage/LayerTreeHost.h:
3481         (CoreIPC):
3482         * WebProcess/WebPage/WebPage.cpp:
3483         * WebProcess/WebPage/WebPage.h:
3484         (CoreIPC):
3485         * WebProcess/WebPage/WebPageGroupProxy.h:
3486         (CoreIPC):
3487
3488 2013-01-31  Mike West  <mkwst@chromium.org>
3489
3490         Cleanup: Use ScriptExecutionContext::topOrigin when relevant.
3491         https://bugs.webkit.org/show_bug.cgi?id=108476
3492
3493         Reviewed by Anders Carlsson.
3494
3495         * WebProcess/Plugins/PluginView.cpp:
3496         (WebKit::PluginView::storageBlockingStateChanged):
3497         (WebKit::PluginView::isPrivateBrowsingEnabled):
3498
3499 2013-01-31  Anders Carlsson  <andersca@apple.com>
3500
3501         Get rid of IncomingMessage
3502         https://bugs.webkit.org/show_bug.cgi?id=108514
3503
3504         Reviewed by Sam Weinig.
3505
3506         * Platform/CoreIPC/Connection.cpp:
3507         (Connection::SyncMessageState):
3508         (ConnectionAndIncomingMessage):
3509         (CoreIPC::Connection::SyncMessageState::~SyncMessageState):
3510         (CoreIPC::Connection::SyncMessageState::processIncomingMessage):
3511         (CoreIPC::Connection::SyncMessageState::dispatchMessages):
3512         (CoreIPC::Connection::waitForMessage):
3513         (CoreIPC::Connection::processIncomingMessage):
3514         (CoreIPC::Connection::enqueueIncomingMessage):
3515         (CoreIPC::Connection::dispatchMessage):
3516         (CoreIPC::Connection::dispatchOneMessage):
3517         * Platform/CoreIPC/Connection.h:
3518         (Connection):
3519
3520 2013-01-31  Patrick Gansterer  <paroga@webkit.org>
3521
3522         Remove PLATFORM(WIN_CAIRO) from NetscapePluginX11.cpp
3523         https://bugs.webkit.org/show_bug.cgi?id=108439
3524
3525         Reviewed by Brent Fulgham.
3526
3527         PLATFORM(WIN_CAIRO) is Windows only, where no X11 exists.
3528
3529         * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
3530
3531 2013-01-31  Simon Hausmann  <simon.hausmann@digia.com>
3532
3533         Unreviewed build fix: Remove Web Intents files from
3534         the Qt build system.
3535
3536         * Target.pri:
3537
3538 2013-01-31  Zan Dobersek  <zdobersek@igalia.com>
3539
3540         Unreviewed GTK build fix.
3541         Removing build targets for Web Intents files that were removed in r141448.
3542
3543         * GNUmakefile.list.am:
3544
3545 2013-01-31  Anders Carlsson  <andersca@apple.com>
3546
3547         Remove Web Intents code from WebKit2
3548         https://bugs.webkit.org/show_bug.cgi?id=108506
3549
3550         Reviewed by Simon Fraser.
3551
3552         Since nobody builds with Web Intents enabled anymore, and since the code is going to 
3553         be removed from WebCore, remove it from WebKit2.
3554
3555         * Shared/API/c/WKBase.h:
3556         * Shared/APIClientTraits.cpp:
3557         (WebKit):
3558         * Shared/APIObject.h:
3559         * Shared/IntentData.cpp: Removed.
3560         * Shared/IntentData.h: Removed.
3561         * Shared/IntentServiceInfo.cpp: Removed.
3562         * Shared/IntentServiceInfo.h: Removed.
3563         * Shared/WebIntentServiceInfo.cpp: Removed.
3564         * Shared/WebIntentServiceInfo.h: Removed.
3565         * UIProcess/API/C/WKAPICast.h:
3566         (WebKit):
3567         * UIProcess/API/C/WKIntentData.cpp: Removed.
3568         * UIProcess/API/C/WKIntentData.h: Removed.
3569         * UIProcess/API/C/WKIntentServiceInfo.cpp: Removed.
3570         * UIProcess/API/C/WKIntentServiceInfo.h: Removed.
3571         * UIProcess/API/C/WKPage.cpp:
3572         * UIProcess/API/C/WKPage.h:
3573         * UIProcess/WebIntentData.cpp: Removed.
3574         * UIProcess/WebIntentData.h: Removed.
3575         * UIProcess/WebLoaderClient.cpp:
3576         * UIProcess/WebLoaderClient.h:
3577         (WebKit):
3578         (WebLoaderClient):
3579         * UIProcess/WebPageProxy.cpp:
3580         * UIProcess/WebPageProxy.h:
3581         (WebKit):
3582         (WebPageProxy):
3583         * UIProcess/WebPageProxy.messages.in:
3584         * UIProcess/WebProcessProxy.cpp:
3585         * UIProcess/WebProcessProxy.h:
3586         (WebProcessProxy):
3587         * WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:
3588         (WebKit):
3589         * WebProcess/InjectedBundle/API/c/WKBundleIntent.cpp: Removed.
3590         * WebProcess/InjectedBundle/API/c/WKBundleIntent.h: Removed.
3591         * WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp: Removed.
3592         * WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.h: Removed.
3593         * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
3594         * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
3595         * WebProcess/InjectedBundle/InjectedBundleIntent.cpp: Removed.
3596         * WebProcess/InjectedBundle/InjectedBundleIntent.h: Removed.
3597         * WebProcess/InjectedBundle/InjectedBundleIntentRequest.cpp: Removed.
3598         * WebProcess/InjectedBundle/InjectedBundleIntentRequest.h: Removed.
3599         * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
3600         * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
3601         (WebKit):
3602         (InjectedBundlePageLoaderClient):
3603         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
3604         (WebKit):
3605         * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
3606         (WebFrameLoaderClient):
3607         * WebProcess/WebPage/WebFrame.cpp:
3608         * WebProcess/WebPage/WebFrame.h:
3609         (WebCore):
3610         (WebKit):
3611         (WebFrame):
3612         * WebProcess/WebPage/WebPage.cpp:
3613         * WebProcess/WebPage/WebPage.h:
3614         (WebCore):
3615         (WebKit):
3616         (WebPage):
3617         * WebProcess/WebPage/WebPage.messages.in:
3618         * WebProcess/WebProcess.cpp:
3619         * WebProcess/WebProcess.h:
3620         (WebCore):
3621         (WebProcess):
3622         * WebProcess/WebProcess.messages.in:
3623
3624 2013-01-31  Brady Eidson  <beidson@apple.com>
3625
3626         Lack of a log level string should not obliterate compiled in logging channel state.
3627         https://bugs.webkit.org/show_bug.cgi?id=108502
3628
3629         Reviewed by Alexey Proskuryakov and Sam Weinig.
3630
3631         * Platform/mac/Logging.mac.mm:
3632         (WebKit::initializeLogChannel): If there's no log level string, leave the channel state alone.
3633
3634 2013-01-31  Alexey Proskuryakov  <ap@apple.com>
3635
3636         WebProcess sandbox profile overhaul.
3637
3638         Reviewed by Sam Weinig.
3639
3640         Moves some rules together by susbystem for easier maintenance.
3641
3642         Addresses <rdar://problem/9276393>, <rdar://problem/10844321>, <rdar://problem/12408537>,
3643         <rdar://problem/12558524>.
3644
3645         * WebProcess/com.apple.WebProcess.sb.in:
3646
3647 2013-01-31  Simon Hausmann  <simon.hausmann@digia.com>
3648
3649         Unreviewed trivial build fix: Pre C++11 the use of
3650         >> in nested templates is ambiguous in the grammar and
3651         requires the insertion of a space here. Since these files are
3652         not Mac specific we don't require C++11 yet and a space
3653         fixes the build.
3654
3655         * Platform/CoreIPC/Connection.h:
3656         (Connection):
3657         * Shared/ChildProcessProxy.h:
3658         (ChildProcessProxy):
3659
3660 2013-01-31  Christophe Dumez  <dchris@gmail.com>
3661
3662         [EFL] Disable Web Intents
3663         https://bugs.webkit.org/show_bug.cgi?id=108457
3664
3665         Reviewed by Alexey Proskuryakov.
3666
3667         Remove code related to Web Intents from EFL
3668         WebKit2.
3669
3670         * CMakeLists.txt:
3671         * PlatformEfl.cmake:
3672         * UIProcess/API/efl/EWebKit2.h:
3673         * UIProcess/API/efl/EwkViewCallbacks.h:
3674         * UIProcess/API/efl/ewk_intent.cpp: Removed.
3675         * UIProcess/API/efl/ewk_intent.h: Removed.
3676         * UIProcess/API/efl/ewk_intent_private.h: Removed.
3677         * UIProcess/API/efl/ewk_intent_service.cpp: Removed.
3678         * UIProcess/API/efl/ewk_intent_service.h: Removed.
3679         * UIProcess/API/efl/ewk_intent_service_private.h: Removed.
3680         * UIProcess/API/efl/ewk_view.cpp:
3681         * UIProcess/API/efl/ewk_view.h:
3682         * UIProcess/API/efl/tests/resources/intent-request.html: Removed.
3683         * UIProcess/API/efl/tests/resources/intent-service.html: Removed.
3684         * UIProcess/API/efl/tests/test_ewk2_intents.cpp: Removed.
3685         * UIProcess/efl/PageLoadClientEfl.cpp:
3686         (WebKit::PageLoadClientEfl::PageLoadClientEfl):
3687         * UIProcess/efl/PageLoadClientEfl.h:
3688         (PageLoadClientEfl):
3689
3690 2013-01-31  Alexey Proskuryakov  <ap@apple.com>
3691
3692         <rdar://problem/12695827> PPT: Make loading file URLs work with a sandboxed NetworkProcess
3693
3694         Address review comments.
3695
3696         * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
3697         * WebProcess/com.apple.WebProcess.sb.in:
3698
3699 2013-01-31  Anders Carlsson  <andersca@apple.com>
3700
3701         Stop using OutgoingMessage
3702         https://bugs.webkit.org/show_bug.cgi?id=108495
3703
3704         Reviewed by Sam Weinig.
3705
3706         * Platform/CoreIPC/Connection.cpp:
3707         (CoreIPC::Connection::sendMessage):
3708         (CoreIPC::Connection::sendOutgoingMessages):
3709         * Platform/CoreIPC/Connection.h:
3710         (Connection):
3711         * Shared/ChildProcessProxy.cpp:
3712         (WebKit::ChildProcessProxy::~ChildProcessProxy):
3713         (WebKit::ChildProcessProxy::sendMessage):
3714         (WebKit::ChildProcessProxy::didFinishLaunching):
3715         * Shared/ChildProcessProxy.h:
3716         (ChildProcessProxy):
3717
3718 2013-01-31  Simon Hausmann  <simon.hausmann@digia.com>
3719
3720         [Qt] Make it possible to compile WebKit2 Qt related files without access to internal WK2 C++ API
3721         https://bugs.webkit.org/show_bug.cgi?id=108472
3722
3723         Reviewed by Andreas Kling.
3724
3725         Add a new module to the qmake build system that represents the part of the WebKit2 Qt integration
3726         that doesn't depend on WebKit2 internals.
3727
3728         Changed qwebnavigationhistory.cpp to not use any internal headers and compile it as part of the
3729         internals-free module.
3730
3731         * Target.pri:
3732         * UIProcess/API/qt/qwebnavigationhistory.cpp:
3733         * WebKit2.pro:
3734         * WebKit2QML.pri: Added.
3735
3736 2013-01-31  Simon Hausmann  <simon.hausmann@digia.com>
3737
3738         Unreviewed trivial build fix: Add missing virtual destructor to
3739         LayerTreeRendererClient. Otherwise the build with -Werror breaks, which
3740         complains (rightly so) that we're deleting a sub-class where the super class
3741         doesn't have a virtual destructor.
3742
3743         * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
3744         (WebKit::LayerTreeRendererClient::~LayerTreeRendererClient):
3745
3746 2013-01-31  Seulgi Kim  <seulgikim@company100.net>
3747
3748         Coordinated Graphics: view the debug border/repaint count of the non composited layer.
3749         https://bugs.webkit.org/show_bug.cgi?id=108401
3750
3751         Reviewed by Noam Rosenthal.
3752
3753         Make non-compositing layer draw debug border and show repaint counter
3754         accroding to settings.
3755
3756         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
3757         (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
3758
3759 2013-01-31  Paweł Forysiuk  <tuxator@o2.pl>
3760
3761         InjectedBundle is being built even with --disable-webkit2
3762         https://bugs.webkit.org/show_bug.cgi?id=108364
3763
3764         Reviewed by Gustavo Noronha Silva.
3765
3766         * GNUmakefile.am: Wrap Injected bundle with ENABLE_WEBKIT2 condition
3767
3768 2013-01-31  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3769
3770         [EFL][WK2] RequestManagerClientEfl, DownloadManagerEfl and ContextHistoryClientEfl should be based on C API
3771         https://bugs.webkit.org/show_bug.cgi?id=107685
3772
3773         Reviewed by Benjamin Poulain.
3774
3775         RequestManagerClientEfl, DownloadManagerEfl and ContextHistoryClientEfl
3776         should be based on C API so that API layering is not violated.
3777
3778         * UIProcess/API/efl/ewk_context.cpp:
3779         (EwkContext::EwkContext):
3780         * UIProcess/efl/ContextHistoryClientEfl.cpp:
3781         (WebKit::ContextHistoryClientEfl::ContextHistoryClientEfl):
3782         (WebKit::ContextHistoryClientEfl::~ContextHistoryClientEfl):
3783         * UIProcess/efl/ContextHistoryClientEfl.h:
3784         (WebKit::ContextHistoryClientEfl::create):
3785         (ContextHistoryClientEfl):
3786         * UIProcess/efl/DownloadManagerEfl.cpp:
3787         (WebKit::DownloadManagerEfl::DownloadManagerEfl):
3788         (WebKit::DownloadManagerEfl::~DownloadManagerEfl):
3789         * UIProcess/efl/DownloadManagerEfl.h:
3790         (WebKit::DownloadManagerEfl::create):
3791         (DownloadManagerEfl):
3792         * UIProcess/efl/RequestManagerClientEfl.cpp:
3793         (WebKit::RequestManagerClientEfl::RequestManagerClientEfl):
3794         * UIProcess/efl/RequestManagerClientEfl.h:
3795         (WebKit::RequestManagerClientEfl::create):
3796         (RequestManagerClientEfl):
3797
3798 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
3799
3800         Unreviewed, rolling out r141110.
3801         http://trac.webkit.org/changeset/141110
3802         https://bugs.webkit.org/show_bug.cgi?id=108349
3803
3804         This patch broke WK2-EFL unit tests (Requested by grzegorz on
3805         #webkit).
3806
3807         * UIProcess/efl/TextCheckerEfl.cpp:
3808         * WebProcess/WebCoreSupport/WebEditorClient.h:
3809         * WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp:
3810
3811 2013-01-31  Jae Hyun Park  <jae.park@company100.net>
3812
3813         Coordinated Graphics : Remove WebCoordinatedSurface dependency from CoordinatedSurface
3814         https://bugs.webkit.org/show_bug.cgi?id=108259
3815
3816         Reviewed by Noam Rosenthal.
3817
3818         This is a preparation patch for Threaded Coordinated Graphics.
3819
3820         WebCoordinatedSurface dependency should be removed from
3821         CoordinatedSurface so as to share CoordinatedSurface between
3822         WebCoordinatedSurface and CoordinatedSurface of WebKit1, which will be
3823         implemented for Threaded Coordinated Graphics.
3824
3825         This patch introduces CoordinatedSurface::Factory, which is a function
3826         pointer that creates CoordinatedSurfaces. CoordinatedLayerTreeHost sets
3827         static CoordinatedSurface::Factory member variable. Classes that use
3828         CoordinatedSurface, which are CoordinatedImageBacking and UpdateAtlas,
3829         create CoordinatedSurfaces by calling CoordinatedSurface::create, which
3830         will call the function set by CoordinatedLayerTreeHost.
3831
3832         This way, we can remove the WebCoordinatedSurface dependency from
3833         CoordinatedSurface and be able to share the code in Threaded Coordinated
3834         Graphics.
3835
3836         No new tests. No change in behavior.
3837
3838         * CMakeLists.txt:
3839         * Shared/CoordinatedGraphics/CoordinatedSurface.cpp: Added.
3840         (WebKit):
3841         (WebKit::CoordinatedSurface::setFactory):
3842         (WebKit::CoordinatedSurface::create):
3843         * Shared/CoordinatedGraphics/CoordinatedSurface.h:
3844         (CoordinatedSurface):
3845         * Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp:
3846         * Target.pri:
3847         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
3848         (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
3849         (WebKit::CoordinatedLayerTreeHost::createCoordinatedSurface):
3850         (WebKit):
3851         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
3852
3853 2013-01-30  Tim Horton  <timothy_horton@apple.com>
3854
3855         Unreviewed build fix after http://trac.webkit.org/changeset/141372.
3856
3857         * WebProcess/Plugins/PDF/PDFPlugin.mm:
3858         (WebKit::PDFPlugin::performDictionaryLookupAtLocation):
3859
3860 2013-01-30  Jae Hyun Park  <jae.park@company100.net>
3861
3862         Coordinated Graphics : Remove CoordinatedLayerTreeHostProxy dependency from LayerTreeRenderer
3863         https://bugs.webkit.org/show_bug.cgi?id=108164
3864
3865         Reviewed by Benjamin Poulain.
3866
3867         This is a preparation patch for Threaded Coordinated Graphics.
3868
3869         LayerTreeRenderer should not depend on CoordinatedLayerTreeHostProxy so that it
3870         can be moved to WebCore.  This patch introduces LayerTreeRendererClient which
3871         is implemented in CoordinatedLayerTreeHostProxy. LayerTreeRenderer uses this
3872         client, instead of using CoordinatedLayerTreeHostProxy directly.
3873
3874         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
3875         (CoordinatedLayerTreeHostProxy):
3876         * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
3877         (WebKit::LayerTreeRenderer::LayerTreeRenderer):
3878         (WebKit::LayerTreeRenderer::animationFrameReady):
3879         (WebKit::LayerTreeRenderer::updateViewport):
3880         (WebKit::LayerTreeRenderer::renderNextFrame):
3881         (WebKit::LayerTreeRenderer::purgeBackingStores):
3882         (WebKit::LayerTreeRenderer::detach):
3883         * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
3884         (WebKit):
3885         (LayerTreeRendererClient):
3886         (LayerTreeRenderer):
3887
3888 2013-01-30  Tim Horton  <timothy_horton@apple.com>
3889
3890         PDFPlugin: Should respond to three-finger tap for dictionary definitions
3891         https://bugs.webkit.org/show_bug.cgi?id=108418
3892         <rdar://problem/13121409>
3893
3894         Reviewed by Simon Fraser.
3895
3896         * WebProcess/Plugins/Netscape/NetscapePlugin.h: Add default implementation of performDictionaryLookupAtLocation.
3897         * WebProcess/Plugins/PDF/PDFLayerControllerDetails.h: Add getSelectionForWordAtPoint and searchInDictionaryWithSelection.
3898         * WebProcess/Plugins/PDF/PDFPlugin.h: Add performDictionaryLookupAtLocation.
3899         * WebProcess/Plugins/PDF/PDFPlugin.mm: Grab a PDFSelection representing the word encompassing the given point, and
3900         throw up a dictionary popover.
3901         (WebKit::PDFPlugin::performDictionaryLookupAtLocation):
3902         * WebProcess/Plugins/PDF/SimplePDFPlugin.h:  Add default implementation of performDictionaryLookupAtLocation.
3903         * WebProcess/Plugins/Plugin.h:  Add performDictionaryLookupAtLocation.
3904         * WebProcess/Plugins/PluginProxy.h: Add default implementation of performDictionaryLookupAtLocation.
3905         * WebProcess/Plugins/PluginView.cpp: 
3906         (WebKit::PluginView::performDictionaryLookupAtLocation): Forward performDictionaryLookupAtLocation to the plugin.
3907         * WebProcess/Plugins/PluginView.h: Add performDictionaryLookupAtLocation.
3908         * WebProcess/WebPage/mac/WebPageMac.mm:
3909         (WebKit::WebPage::performDictionaryLookupAtLocation): Intercept performDictionaryLookupAtLocation, and give
3910         the main-frame plugin (if it exists) a chance to handle it.
3911
3912 2013-01-30  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3913
3914         [WK2] Cleanup MessageID parameter after r141332
3915         https://bugs.webkit.org/show_bug.cgi?id=108419
3916
3917         Unreviewed to fix build breaks.
3918
3919         r141332 didn't remove MessageID parameter on some features.
3920         (battery, vibration, coordinate graphics, network info and so on)
3921
3922         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
3923         (CoordinatedLayerTreeHostProxy):
3924         * UIProcess/DrawingAreaProxyImpl.cpp:
3925         (WebKit::DrawingAreaProxyImpl::didReceiveCoordinatedLayerTreeHostProxyMessage):
3926         * UIProcess/WebBatteryManagerProxy.h:
3927         (WebBatteryManagerProxy):
3928         * UIProcess/WebNetworkInfoManagerProxy.h:
3929         (WebNetworkInfoManagerProxy):
3930         * UIProcess/WebPageProxy.cpp:
3931         (WebKit::WebPageProxy::didReceiveMessage):
3932         * UIProcess/WebVibrationProxy.h:
3933         (WebVibrationProxy):
3934         * UIProcess/soup/WebSoupRequestManagerProxy.h:
3935         (WebSoupRequestManagerProxy):
3936         * WebProcess/Battery/WebBatteryManager.h:
3937         (WebBatteryManager):
3938         * WebProcess/NetworkInfo/WebNetworkInfoManager.h:
3939         (WebNetworkInfoManager):
3940         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
3941         * WebProcess/WebPage/DrawingAreaImpl.cpp:
3942         (WebKit::DrawingAreaImpl::didReceiveCoordinatedLayerTreeHostMessage):
3943         * WebProcess/WebPage/WebPage.cpp:
3944         (WebKit::WebPage::didReceiveMessage):
3945         * WebProcess/soup/WebSoupRequestManager.h:
3946         (WebSoupRequestManager):
3947
3948 2013-01-30  Anders Carlsson  <andersca@apple.com>
3949
3950         Remove MessageID from MessageSender
3951         https://bugs.webkit.org/show_bug.cgi?id=108413
3952
3953         Reviewed by Andreas Kling.
3954
3955         This is another step towards eliminating MessageID.
3956
3957         * NetworkProcess/NetworkConnectionToWebProcess.cpp:
3958         (WebKit::NetworkConnectionToWebProcess::didReceiveMessage):
3959         (WebKit::NetworkConnectionToWebProcess::didReceiveSyncMessage):
3960         * NetworkProcess/NetworkConnectionToWebProcess.h:
3961         (NetworkConnectionToWebProcess):
3962         * NetworkProcess/NetworkProcess.cpp:
3963         (WebKit::NetworkProcess::didReceiveMessage):
3964         (WebKit::NetworkProcess::didReceiveSyncMessage):
3965         * NetworkProcess/NetworkProcess.h:
3966         (NetworkProcess):
3967         * Platform/CoreIPC/Connection.cpp:
3968         (CoreIPC::Connection::processIncomingMessage):
3969         (CoreIPC::Connection::dispatchSyncMessage):
3970         (CoreIPC::Connection::dispatchMessage):
3971         * Platform/CoreIPC/Connection.h:
3972         (QueueClient):
3973         (CoreIPC::Connection::waitForAndDispatchImmediately):
3974         * Platform/CoreIPC/MessageReceiver.h:
3975         (MessageReceiver):
3976         (CoreIPC::MessageReceiver::didReceiveSyncMessage):
3977         * Platform/CoreIPC/MessageReceiverMap.cpp:
3978         (CoreIPC::MessageReceiverMap::dispatchMessage):
3979         (CoreIPC::MessageReceiverMap::dispatchSyncMessage):
3980         * Platform/CoreIPC/MessageReceiverMap.h:
3981         (MessageReceiverMap):
3982         * PluginProcess/PluginProcess.cpp:
3983         (WebKit::PluginProcess::didReceiveMessage):
3984         * PluginProcess/PluginProcess.h:
3985         (PluginProcess):
3986         * PluginProcess/WebProcessConnection.cpp:
3987         (WebKit::WebProcessConnection::didReceiveMessage):
3988         (WebKit::WebProcessConnection::didReceiveSyncMessage):
3989         * PluginProcess/WebProcessConnection.h:
3990         (WebProcessConnection):
3991         * Scripts/webkit2/messages.py:
3992         (forward_declarations_and_headers):
3993         (generate_message_handler):
3994         * Scripts/webkit2/messages_unittest.py:
3995         * Shared/Authentication/AuthenticationManager.cpp:
3996         (WebKit::AuthenticationManager::didReceiveMessage):
3997         * Shared/Authentication/AuthenticationManager.h:
3998         (AuthenticationManager):
3999         * Shared/ChildProcessProxy.cpp:
4000         (WebKit::ChildProcessProxy::sendMessage):
4001         * Shared/ChildProcessProxy.h:
4002         (ChildProcessProxy):
4003         (WebKit::ChildProcessProxy::send):
4004         * Shared/Network/CustomProtocols/CustomProtocolManager.h:
4005         (CustomProtocolManager):
4006         * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
4007         (WebKit::CustomProtocolManager::didReceiveMessage):
4008         * Shared/Plugins/NPRemoteObjectMap.cpp:
4009         (WebKit::NPRemoteObjectMap::didReceiveSyncMessage):
4010         * Shared/Plugins/NPRemoteObjectMap.h:
4011         (NPRemoteObjectMap):
4012         * Shared/WebConnection.cpp:
4013         (WebKit::WebConnection::didReceiveMessage):
4014         * Shared/WebConnection.h:
4015         (WebConnection):
4016         * Shared/mac/SecItemShim.cpp:
4017         (WebKit::SecItemShim::didReceiveMessageOnConnectionWorkQueue):
4018         * Shared/mac/SecItemShim.h:
4019         (SecItemShim):
4020         * SharedWorkerProcess/SharedWorkerProcess.cpp:
4021         (WebKit::SharedWorkerProcess::didReceiveMessage):
4022         * SharedWorkerProcess/SharedWorkerProcess.h:
4023         (SharedWorkerProcess):
4024         * UIProcess/Downloads/DownloadProxy.cpp:
4025         (WebKit::DownloadProxy::didReceiveMessage):
4026         (WebKit::DownloadProxy::didReceiveSyncMessage):
4027         * UIProcess/Downloads/DownloadProxy.h:
4028         (DownloadProxy):
4029         * UIProcess/DrawingAreaProxy.cpp:
4030         (WebKit::DrawingAreaProxy::didReceiveCoordinatedLayerTreeHostProxyMessage):
4031         * UIProcess/DrawingAreaProxy.h:
4032         (DrawingAreaProxy):
4033         * UIProcess/DrawingAreaProxyImpl.cpp:
4034         (WebKit::DrawingAreaProxyImpl::didReceiveCoordinatedLayerTreeHostProxyMessage):
4035         * UIProcess/DrawingAreaProxyImpl.h:
4036         * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
4037         (CustomProtocolManagerProxy):
4038         * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm:
4039         (WebKit::CustomProtocolManagerProxy::didReceiveMessage):
4040         * UIProcess/Network/NetworkProcessProxy.cpp:
4041         (WebKit::NetworkProcessProxy::didReceiveMessage):
4042         (WebKit::NetworkProcessProxy::didReceiveSyncMessage):
4043         * UIProcess/Network/NetworkProcessProxy.h:
4044         (NetworkProcessProxy):
4045         * UIProcess/Notifications/WebNotificationManagerProxy.h:
4046         (WebNotificationManagerProxy):
4047         * UIProcess/Plugins/PluginProcessProxy.cpp:
4048         (WebKit::PluginProcessProxy::didReceiveMessage):
4049         * UIProcess/Plugins/PluginProcessProxy.h:
4050         (PluginProcessProxy):
4051         * UIProcess/SharedWorkers/SharedWorkerProcessProxy.cpp:
4052         (WebKit::SharedWorkerProcessProxy::didReceiveMessage):
4053         * UIProcess/SharedWorkers/SharedWorkerProcessProxy.h:
4054         (SharedWorkerProcessProxy):
4055         * UIProcess/WebApplicationCacheManagerProxy.cpp:
4056         (WebKit::WebApplicationCacheManagerProxy::didReceiveMessage):
4057         * UIProcess/WebApplicationCacheManagerProxy.h:
4058         (WebApplicationCacheManagerProxy):
4059         * UIProcess/WebContext.cpp:
4060         (WebKit::WebContext::dispatchMessage):
4061         (WebKit::WebContext::dispatchSyncMessage):
4062         (WebKit::WebContext::didReceiveMessage):
4063         (WebKit::WebContext::didReceiveSyncMessage):
4064         * UIProcess/WebContext.h:
4065         (WebContext):
4066         * UIProcess/WebCookieManagerProxy.cpp:
4067         (WebKit::WebCookieManagerProxy::didReceiveMessage):
4068         * UIProcess/WebCookieManagerProxy.h:
4069         (WebCookieManagerProxy):
4070         * UIProcess/WebDatabaseManagerProxy.cpp:
4071         (WebKit::WebDatabaseManagerProxy::didReceiveMessage):
4072         * UIProcess/WebDatabaseManagerProxy.h:
4073         (WebDatabaseManagerProxy):
4074         * UIProcess/WebFullScreenManagerProxy.cpp:
4075         (WebKit::WebFullScreenManagerProxy::didReceiveMessage):
4076         (WebKit::WebFullScreenManagerProxy::didReceiveSyncMessage):
4077         * UIProcess/WebFullScreenManagerProxy.h:
4078         (WebFullScreenManagerProxy):
4079         * UIProcess/WebGeolocationManagerProxy.h:
4080         (WebGeolocationManagerProxy):
4081         * UIProcess/WebIconDatabase.h:
4082         (WebIconDatabase):
4083         * UIProcess/WebKeyValueStorageManagerProxy.h:
4084         (WebKeyValueStorageManagerProxy):
4085         * UIProcess/WebMediaCacheManagerProxy.h:
4086         (WebMediaCacheManagerProxy):
4087         * UIProcess/WebPageProxy.cpp:
4088         (WebKit::WebPageProxy::didReceiveMessage):
4089         (WebKit::WebPageProxy::didReceiveSyncMessage):
4090         * UIProcess/WebPageProxy.h:
4091         (WebPageProxy):
4092         * UIProcess/WebProcessProxy.cpp:
4093         (WebKit::WebProcessProxy::didReceiveMessage):
4094         (WebKit::WebProcessProxy::didReceiveSyncMessage):
4095         (WebKit::WebProcessProxy::didReceiveMessageOnConnectionWorkQueue):
4096         * UIProcess/WebProcessProxy.h:
4097         (WebProcessProxy):
4098         * UIProcess/WebResourceCacheManagerProxy.h:
4099         (WebResourceCacheManagerProxy):
4100         * UIProcess/mac/RemoteLayerTreeHost.h:
4101         (RemoteLayerTreeHost):
4102         * UIProcess/mac/RemoteLayerTreeHost.mm:
4103         (WebKit::RemoteLayerTreeHost::didReceiveMessage):
4104         * UIProcess/mac/SecItemShimProxy.cpp:
4105         (WebKit::SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue):
4106         * UIProcess/mac/SecItemShimProxy.h:
4107         (SecItemShimProxy):
4108         * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
4109         (WebKit::WebApplicationCacheManager::didReceiveMessage):
4110         * WebProcess/ApplicationCache/WebApplicationCacheManager.h:
4111         (WebApplicationCacheManager):
4112         * WebProcess/Cookies/WebCookieManager.cpp:
4113         (WebKit::WebCookieManager::didReceiveMessage):
4114         * WebProcess/Cookies/WebCookieManager.h:
4115         (WebCookieManager):
4116         * WebProcess/FullScreen/WebFullScreenManager.cpp:
4117         (WebKit::WebFullScreenManager::didReceiveMessage):
4118         * WebProcess/FullScreen/WebFullScreenManager.h:
4119         (WebFullScreenManager):
4120         * WebProcess/Geolocation/WebGeolocationManager.h:
4121         (WebGeolocationManager):
4122         * WebProcess/IconDatabase/WebIconDatabaseProxy.h:
4123         (WebIconDatabaseProxy):
4124         * WebProcess/MediaCache/WebMediaCacheManager.h:
4125         (WebMediaCacheManager):
4126         * WebProcess/Network/NetworkProcessConnection.cpp:
4127         (WebKit::NetworkProcessConnection::didReceiveMessage):
4128         (WebKit::NetworkProcessConnection::didReceiveSyncMessage):
4129         * WebProcess/Network/NetworkProcessConnection.h:
4130         (NetworkProcessConnection):
4131         * WebProcess/Notifications/WebNotificationManager.h:
4132         (WebNotificationManager):
4133         * WebProcess/Plugins/PluginProcessConnection.cpp:
4134         (WebKit::PluginProcessConnection::didReceiveMessage):
4135         (WebKit::PluginProcessConnection::didReceiveSyncMessage):
4136         * WebProcess/Plugins/PluginProcessConnection.h:
4137         (PluginProcessConnection):
4138         * WebProcess/ResourceCache/WebResourceCacheManager.h:
4139         (WebResourceCacheManager):
4140         * WebProcess/Storage/WebKeyValueStorageManager.h:
4141         (WebKeyValueStorageManager):
4142         * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
4143         (WebKit::WebDatabaseManager::didReceiveMessage):
4144         * WebProcess/WebCoreSupport/WebDatabaseManager.h:
4145         (WebDatabaseManager):
4146         * WebProcess/WebPage/DrawingArea.h:
4147         (DrawingArea):
4148         * WebProcess/WebPage/DrawingAreaImpl.cpp:
4149         (WebKit::DrawingAreaImpl::didReceiveCoordinatedLayerTreeHostMessage):
4150         * WebProcess/WebPage/DrawingAreaImpl.h:
4151         (DrawingAreaImpl):
4152         * WebProcess/WebPage/EventDispatcher.cpp:
4153         (WebKit::EventDispatcher::didReceiveMessageOnConnectionWorkQueue):
4154         * WebProcess/WebPage/EventDispatcher.h:
4155         (EventDispatcher):
4156         * WebProcess/WebPage/LayerTreeHost.h: