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