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