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