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