01bca8caa90ee8c7f0d87123971f384d2e6fb113
[WebKit-https.git] / Source / WebKit2 / ChangeLog
1 2013-11-25  Dan Bernstein  <mitz@apple.com>
2
3         [Cocoa] Put most of the Cocoa API behind WK_API_ENABLED guards
4         https://bugs.webkit.org/show_bug.cgi?id=124850
5
6         Reviewed by Brady Eidson.
7
8         Guarded all Cocoa API headers and implementatiosn with WK_API_ENABLED. Left the WKView class
9         unguarded, but limited its API.
10
11         * Shared/API/Cocoa/WKFoundation.h: Replaced OBJ_VISIBLE with an explicit attribute.
12         * Shared/API/Cocoa/WKRemoteObjectCoder.mm: Moved #if WK_API_ENABLED before the rest of the
13         imports.
14         * Shared/API/Cocoa/WKRemoteObjectInterface.mm: Ditto.
15         * Shared/API/Cocoa/WKRemoteObjectRegistry.mm: Ditto.
16         * Shared/API/Cocoa/WKRemoteObjectRegistryPrivate.h: Ditto.
17         * UIProcess/API/mac/WKBrowsingContextController.h: Guarded all declarations with
18         WK_API_ENABLED, changed to use WK_API_CLASS instead of WK_EXPORT.
19         * UIProcess/API/mac/WKBrowsingContextController.mm: Guarded everything with WK_API_ENABLED.
20         (-[WKBrowsingContextController dealloc]):
21         (-[WKBrowsingContextController setPolicyDelegate:]):
22         (-[WKBrowsingContextController backForwardList]):
23         (didChangeBackForwardList):
24         (setUpPageLoaderClient):
25         (setUpPagePolicyClient):
26         (-[WKBrowsingContextController _initWithPageRef:]):
27         * UIProcess/API/mac/WKBrowsingContextControllerInternal.h: Ditto.
28         * UIProcess/API/mac/WKBrowsingContextControllerPrivate.h: Ditto.
29         * UIProcess/API/mac/WKBrowsingContextGroup.h: Guarded all declarations with WK_API_ENABLED,
30         chanegd to use WK_API_CLASS instead of WK_EXPORT.
31         * UIProcess/API/mac/WKBrowsingContextGroup.mm: Removed redundant import, guarded everything
32         with WK_API_ENABLED.
33         * UIProcess/API/mac/WKBrowsingContextGroupPrivate.h: Guarded with WK_API_ENABLED.
34         * UIProcess/API/mac/WKBrowsingContextPolicyDelegate.h: Added necessary import.
35         * UIProcess/API/mac/WKConnection.h: Guarded all declarations with WK_API_ENABLED, chanegd to
36         use WK_API_CLASS instead of WK_EXPORT.
37         * UIProcess/API/mac/WKConnection.mm: Guarded everything with WK_API_ENABLED.
38         (-[WKConnection remoteObjectRegistry]):
39         (didReceiveMessage):
40         * UIProcess/API/mac/WKConnectionInternal.h: Guarded the delcarations with WK_API_ENABLED.
41         * UIProcess/API/mac/WKProcessGroup.h: Ditto. Also changed to use WK_API_CLASS instead of
42         WK_EXPORT.
43         * UIProcess/API/mac/WKProcessGroup.mm: Guarded everything with WK_API_ENABLED.
44         (-[WKProcessGroup initWithInjectedBundleURL:]):
45         * UIProcess/API/mac/WKProcessGroupPrivate.h: Guarded the declarations with WK_API_ENABLED.
46         * UIProcess/API/mac/WKTypeRefWrapper.h: Moved #if WK_API_ENABLED before the rest of the
47         imports, changed to use WK_API_CLASS instead of WK_EXPORT.
48         * UIProcess/API/mac/WKTypeRefWrapper.mm: Removed empty line after #import "config.h".
49         * UIProcess/API/mac/WKView.h: Added #if WK_API_ENABLED around API that uses other Cocoa API
50         types.
51         * UIProcess/API/mac/WKView.mm: Added #if WK_API_ENABLED around implementations of methods
52         that are only declared when the API is enabled.
53         * UIProcess/API/mac/WKViewInternal.h: Reordered imports.
54         * UIProcess/mac/WKFullScreenWindowController.mm: Added comment to #endif.
55         * UIProcess/mac/WebContextMac.mm:
56         (WebKit::WebContext::platformInitializeWebProcess): Guarded use of
57         WKBrowsingContextController with WK_API_ENABLED.
58         (WebKit::WebContext::platformInitializeNetworkProcess): Ditto.
59         * UIProcess/mac/WebContextMenuProxyMac.mm: Removed newline between imports.
60         * WebProcess/InjectedBundle/API/mac/WKDOMDocument.h: Moved #if WK_API_ENABLED before the
61         rest of the imports, and changed to use WK_API_CLASS instead of WK_EXPORT.
62         * WebProcess/InjectedBundle/API/mac/WKDOMDocument.mm: Removed newline after #import
63         "config.h".
64         * WebProcess/InjectedBundle/API/mac/WKDOMElement.h: Moved #if WK_API_ENABLED before the
65         rest of the imports, and changed to use WK_API_CLASS instead of WK_EXPORT.
66         * WebProcess/InjectedBundle/API/mac/WKDOMElement.mm: Removed newline after #import
67         "config.h".
68         * WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm: Ditto.
69         * WebProcess/InjectedBundle/API/mac/WKDOMNode.h: Moved #if WK_API_ENABLED before the
70         rest of the imports, and changed to use WK_API_CLASS instead of WK_EXPORT.
71         * WebProcess/InjectedBundle/API/mac/WKDOMNode.mm: Removed redundant import.
72         * WebProcess/InjectedBundle/API/mac/WKDOMRange.h:  Moved #if WK_API_ENABLED before the
73         rest of the imports, and changed to use WK_API_CLASS instead of WK_EXPORT.
74         * WebProcess/InjectedBundle/API/mac/WKDOMRange.mm: Removed newline and redundant import.
75         * WebProcess/InjectedBundle/API/mac/WKDOMText.h: Moved #if WK_API_ENABLED before the
76         rest of the imports, and changed to use WK_API_CLASS instead of WK_EXPORT.
77         * WebProcess/InjectedBundle/API/mac/WKDOMTextIterator.h: Ditto.
78         * WebProcess/InjectedBundle/API/mac/WKDOMTextIterator.mm: Removed newline after
79         #import "config.h".
80         * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.h: Moved #if WK_API_ENABLED before
81         the rest of the imports, and changed to use WK_API_CLASS instead of WK_EXPORT.
82         * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.mm: Removed newline and redundant
83         imports.
84         * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.h:  Moved #if
85         WK_API_ENABLED before the rest of the imports, and changed to use WK_API_CLASS instead of
86         WK_EXPORT.
87         * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm: Removed
88         newline after #import "config.h".
89
90 2013-11-22  Sam Weinig  <sam@webkit.org>
91
92         WebPageGroup's should keep track of what processes they are being used by
93         https://bugs.webkit.org/show_bug.cgi?id=124556
94
95         Reviewed by Dan Bernstein.
96
97         * Scripts/webkit2/messages.py:
98         (struct_or_class):
99         Mark WebPageGroupData as a struct.
100
101         * Shared/UserMessageCoders.h:
102         * Shared/mac/ObjCObjectGraphCoders.h:
103         * Shared/mac/ObjCObjectGraphCoders.mm:
104         * WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
105         * UIProcess/WebConnectionToWebProcess.cpp:
106         * UIProcess/WebContext.cpp:
107         * UIProcess/WebContextUserMessageCoders.h:
108         * UIProcess/WebPageProxy.cpp:
109         * UIProcess/WebPageProxy.h:
110         Pass the WebProcess/WebProcessProxy to both encode and decode.
111
112         * Shared/WebPageCreationParameters.h:
113         Pass the page group by ID when creating a page, as it will have had its own
114         creation message sent already.
115
116         * UIProcess/WebPageGroup.cpp:
117         * UIProcess/WebPageGroup.h:
118         Keep track of processes.
119
120         * UIProcess/WebProcessProxy.cpp:
121         * UIProcess/WebProcessProxy.h:
122         Keep track of the page groups used by the process.
123
124         * WebProcess/WebPage/WebPage.cpp:
125         Get the already create page group on creation.
126
127         * WebProcess/WebProcess.cpp:
128         * WebProcess/WebProcess.h:
129         * WebProcess/WebProcess.messages.in:
130         Explicitly create page groups in the WebProcess.
131
132 2013-11-24  Brady Eidson  <beidson@apple.com>
133
134         DatabaseProcess: Add "UniqueIDBDatabase" that multiple WebProcesses can connect to
135         https://bugs.webkit.org/show_bug.cgi?id=124819
136
137         Reviewed by Dan Bernstein.
138
139         UniqueIDBDatabase instances are per-DatabaseProcess, so it manages the set of them.
140         * DatabaseProcess/DatabaseProcess.cpp:
141         (WebKit::DatabaseProcess::getOrCreateUniqueIDBDatabase):
142         (WebKit::DatabaseProcess::removeUniqueIDBDatabase):
143         * DatabaseProcess/DatabaseProcess.h:
144
145         * DatabaseProcess/DatabaseToWebProcessConnection.h:
146
147         Start forwarding things along to the appropriate UniqueIDBDatabase.
148         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
149         (WebKit::DatabaseProcessIDBConnection::~DatabaseProcessIDBConnection):
150         (WebKit::DatabaseProcessIDBConnection::disconnectedFromWebProcess):
151         (WebKit::DatabaseProcessIDBConnection::establishConnection):
152         (WebKit::DatabaseProcessIDBConnection::getOrEstablishIDBDatabaseMetadata):
153         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
154
155         A class that represents a single concrete IDB database that multiple WebProcesses can connect to.
156         * DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp:
157         (WebKit::UniqueIDBDatabase::UniqueIDBDatabase):
158         (WebKit::UniqueIDBDatabase::~UniqueIDBDatabase):
159         (WebKit::UniqueIDBDatabase::registerConnection):
160         (WebKit::UniqueIDBDatabase::unregisterConnection):
161         (WebKit::UniqueIDBDatabase::getIDBDatabaseMetadata):
162         * DatabaseProcess/IndexedDB/UniqueIDBDatabase.h:
163         (WebKit::UniqueIDBDatabase::create):
164         (WebKit::UniqueIDBDatabase::identifier):
165
166         A class to help uniquely identify an IDBDatabase that can be expanded as needed.
167         Importantly, it knows how to be used as a key in a HashMap.
168         * DatabaseProcess/IndexedDB/UniqueIDBDatabaseIdentifier.cpp: Added.
169         (WebKit::UniqueIDBDatabaseIdentifier::UniqueIDBDatabaseIdentifier):
170         (WebKit::UniqueIDBDatabaseIdentifier::isHashTableDeletedValue):
171         (WebKit::UniqueIDBDatabaseIdentifier::hash):
172         (WebKit::UniqueIDBDatabaseIdentifier::isNull):
173         (WebKit::operator==):
174         * DatabaseProcess/IndexedDB/UniqueIDBDatabaseIdentifier.h: Added.
175         (WebKit::UniqueIDBDatabaseIdentifier::databaseName):
176         (WebKit::UniqueIDBDatabaseIdentifier::openingOrigin):
177         (WebKit::UniqueIDBDatabaseIdentifier::mainFrameOrigin):
178         (WebKit::UniqueIDBDatabaseIdentifierHash::hash):
179         (WebKit::UniqueIDBDatabaseIdentifierHash::equal):
180         (WebKit::UniqueIDBDatabaseIdentifierHashTraits::isEmptyValue):
181
182         * Shared/SecurityOriginData.cpp:
183         (WebKit::operator==):
184         * Shared/SecurityOriginData.h:
185
186         * UIProcess/WebContext.cpp:
187
188         * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp:
189         (WebKit::WebIDBFactoryBackend::open):
190         (WebKit::WebIDBFactoryBackend::removeIDBDatabaseBackend):
191
192         * WebKit2.xcodeproj/project.pbxproj:
193
194 2013-11-24  Danilo Cesar Lemes de Paula  <danilo.cesar@collabora.co.uk>, Arunprasad Rajkumar  <arurajku@cisco.com>
195
196         [WK2][GTK] Adding SpatialNavigation setting to webkit2
197         https://bugs.webkit.org/show_bug.cgi?id=114298
198
199         Reviewed by Anders Carlsson.
200
201         Adding SpatialNavigation support to WebPreferencesStore allows us
202         to toggle that feature on WebKitSettings.
203
204         * Shared/WebPreferencesStore.h:
205         * UIProcess/API/C/WKPreferences.cpp:
206         (WKPreferencesSetSpatialNavigationEnabled):
207         (WKPreferencesGetSpatialNavigationEnabled):
208         * UIProcess/API/C/WKPreferences.h:
209         * UIProcess/API/gtk/WebKitSettings.cpp:
210         (webKitSettingsSetProperty):
211         (webKitSettingsGetProperty):
212         (webkit_settings_class_init):
213         (webkit_settings_set_enable_spatial_navigation):
214         (webkit_settings_get_enable_spatial_navigation):
215         * UIProcess/API/gtk/WebKitSettings.h:
216         * UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
217         * UIProcess/API/gtk/tests/TestWebKitSettings.cpp:
218         (testWebKitSettings):
219         * WebProcess/WebPage/WebPage.cpp:
220         (WebKit::WebPage::updatePreferences):
221
222 2013-11-22  Brady Eidson  <beidson@apple.com>
223
224         Add DatabaseProcessCreationParameters, starting with the database path.
225         https://bugs.webkit.org/show_bug.cgi?id=124804
226
227         Reviewed by Dean Jackson and Benjamin Poulain.
228
229         * DatabaseProcess/DatabaseProcess.cpp:
230         (WebKit::DatabaseProcess::initializeDatabaseProcess):
231         * DatabaseProcess/DatabaseProcess.h:
232         (WebKit::DatabaseProcess::indexedDatabaseDirectory):
233         * DatabaseProcess/DatabaseProcess.messages.in:
234
235         * Shared/Databases/DatabaseProcessCreationParameters.cpp: Added.
236         (WebKit::DatabaseProcessCreationParameters::DatabaseProcessCreationParameters):
237         (WebKit::DatabaseProcessCreationParameters::encode):
238         (WebKit::DatabaseProcessCreationParameters::decode):
239         * Shared/Databases/DatabaseProcessCreationParameters.h: Added.
240
241         * UIProcess/WebContext.cpp:
242         (WebKit::WebContext::ensureDatabaseProcess):
243
244         * WebKit2.xcodeproj/project.pbxproj:
245         * Scripts/webkit2/messages.py:
246         (struct_or_class):
247
248 2013-11-22  Ryuan Choi  <ryuan.choi@samsung.com>
249
250         [EFL] Build break after r159724
251         https://bugs.webkit.org/show_bug.cgi?id=124806
252
253         Reviewed by Tim Horton.
254
255         * Platform/CoreIPC/Connection.h: Include atomic header.
256         * UIProcess/CoordinatedGraphics/WebView.cpp: Rename didChangeContentsSize to didChangeContentSize.
257         (WebKit::WebView::didChangeContentSize):
258         * UIProcess/CoordinatedGraphics/WebView.h: Ditto.
259         * WebProcess/InjectedBundle/API/c/WKBundlePage.h: Adjust TARGET_OS_IPHONE macro.
260
261 2013-11-22  Tim Horton  <timothy_horton@apple.com>
262
263         Attempt build fixes for 32-bit after 159724.
264
265         There's probably a better fix, but this will work for now.
266
267         * UIProcess/API/mac/WKView.h:
268
269 2013-11-22  Enrica Casucci  <enrica@apple.com>
270
271         Upstream iOS WebKit2 to OpenSource (part 3).
272         https://bugs.webkit.org/show_bug.cgi?id=124803
273
274         Reviewed by Anders Carlsson and Tim Horton.
275
276
277 2013-11-22  Jer Noble  <jer.noble@apple.com>
278
279         [Mac] Can't drag full-screen video to another monitor
280         https://bugs.webkit.org/show_bug.cgi?id=124798
281
282         Reviewed by Geoffrey Garen.
283
284         Make full screen windows resizable by default. This allows the window to be resized when
285         moved between monitors with different resolutions.
286
287         * UIProcess/API/mac/WKView.mm:
288         (-[WKView createFullScreenWindow]):
289
290 2013-11-22  Benjamin Poulain  <bpoulain@apple.com>
291
292         [WK2] Another build fix for NetworkProcess on iOS
293         https://bugs.webkit.org/show_bug.cgi?id=124797
294
295         Reviewed by Alexey Proskuryakov.
296
297         * NetworkProcess/NetworkResourceLoader.h:
298
299 2013-11-22  Benjamin Poulain  <bpoulain@apple.com>
300
301         [WK2] Fix the build of the NetworkProcess on iOS
302         https://bugs.webkit.org/show_bug.cgi?id=124794
303
304         Reviewed by Alexey Proskuryakov.
305
306         * NetworkProcess/AsynchronousNetworkLoaderClient.cpp:
307         (WebKit::AsynchronousNetworkLoaderClient::didReceiveBuffer):
308         * NetworkProcess/NetworkResourceLoader.h:
309         * NetworkProcess/SynchronousNetworkLoaderClient.cpp:
310         (WebKit::SynchronousNetworkLoaderClient::willSendRequest):
311
312 2013-11-22  Anders Carlsson  <andersca@apple.com>
313
314         Move the remaining page loader clients out into separate files
315         https://bugs.webkit.org/show_bug.cgi?id=124792
316
317         Reviewed by Dan Bernstein.
318
319         * UIProcess/API/C/WKPage.h:
320         * UIProcess/API/C/WKPageContextMenuClient.h: Added.
321         * UIProcess/API/C/WKPageFindClient.h: Added.
322         * UIProcess/API/C/WKPageFindMatchesClient.h: Added.
323         * UIProcess/API/C/WKPageFormClient.h: Added.
324         * UIProcess/API/C/WKPageLoaderClient.h:
325         * UIProcess/API/C/WKPagePolicyClient.h: Added.
326         * UIProcess/API/C/WKPageUIClient.h: Added.
327         * WebKit2.xcodeproj/project.pbxproj:
328
329 2013-11-22  Anders Carlsson  <andersca@apple.com>
330
331         Move WKPageLoaderClient out into a separate header
332         https://bugs.webkit.org/show_bug.cgi?id=124790
333
334         Reviewed by Dan Bernstein.
335
336         * UIProcess/API/C/WKPage.h:
337         * UIProcess/API/C/WKPageLoaderClient.h: Added.
338         * WebKit2.xcodeproj/project.pbxproj:
339
340 2013-11-22  Anders Carlsson  <andersca@apple.com>
341
342         Fix 32-bit build.
343
344         * UIProcess/API/mac/WKBrowsingContextController.mm:
345         (-[WKBrowsingContextController dealloc]):
346         (-[WKBrowsingContextController _initWithPageRef:]):
347
348 2013-11-22  Dan Bernstein  <mitz@apple.com>
349
350         Debug builds unconditionally dump remote layer tree transactions to stderr.
351
352         Reviewed by Sam Weinig.
353
354         * Platform/Logging.h: Declared RemoteLayerTree logging channel.
355         * Shared/mac/RemoteLayerTreeTransaction.h: Declared description().
356         * Shared/mac/RemoteLayerTreeTransaction.mm:
357         (WebKit::RemoteLayerTreeTransaction::dump): Changed to use description().
358         (WebKit::RemoteLayerTreeTransaction::description): Returns a CString with the description.
359         * UIProcess/mac/RemoteLayerTreeHost.mm:
360         (WebKit::RemoteLayerTreeHost::commit): Changed to use logging instead of calling dump().
361
362 2013-11-21  Anders Carlsson  <andersca@apple.com>
363
364         Send out the right KVO callbacks when the page title changes
365         https://bugs.webkit.org/show_bug.cgi?id=124753
366
367         Reviewed by Simon Fraser.
368
369         * UIProcess/API/mac/WKBrowsingContextController.mm:
370         (PageLoadStateObserver::PageLoadStateObserver):
371         New class that sends the right KVO notifications when the load state changes.
372
373         (-[WKBrowsingContextController dealloc]):
374         Remove the observer.
375
376         (-[WKBrowsingContextController _initWithPageRef:]):
377         Allocate the observer and add it.
378
379         * UIProcess/PageLoadState.cpp:
380         (WebKit::PageLoadState::~PageLoadState):
381         Assert that we don't have any observers left.
382
383         (WebKit::PageLoadState::addObserver):
384         Add the observer to the list.
385
386         (WebKit::PageLoadState::removeObserver):
387         Remove the observer from the list.
388
389         (WebKit::PageLoadState::reset):
390         Call title change callbacks.
391
392         (WebKit::PageLoadState::setTitle):
393         Ditto.
394
395         (WebKit::PageLoadState::callObserverCallback):
396         Helper function to dispatch callbacks to observers.
397
398         * UIProcess/PageLoadState.h:
399         Add new members.
400
401 2013-11-21  Sergio Correia  <sergio.correia@openbossa.org>
402
403         [EFL][WK2] Fix build after r159656
404         https://bugs.webkit.org/show_bug.cgi?id=124755
405
406         Reviewed by Gyuyoung Kim.
407
408         Page title was moved to page load state.
409
410         * UIProcess/InspectorServer/efl/WebInspectorServerEfl.cpp:
411         (WebKit::WebInspectorServer::buildPageList):
412
413 2013-11-21  Mark Rowe  <mrowe@apple.com>
414
415         <https://webkit.org/b/124702> Stop overriding VALID_ARCHS.
416
417         All modern versions of Xcode set it appropriately for our needs.
418
419         Reviewed by Alexey Proskuryakov.
420
421         * Configurations/Base.xcconfig:
422
423 2013-11-21  Gwang Yoon Hwang  <ryumiel@company100.net>
424
425         [GTK] Unreviewed buildfix after r159614 and r159656.
426
427         * UIProcess/InspectorServer/gtk/WebInspectorServerGtk.cpp:
428         (WebKit::WebInspectorServer::buildPageList): Use the page load state to get page title.
429
430 2013-11-21  Mark Rowe  <mrowe@apple.com>
431
432         <https://webkit.org/b/124701> Fix an error in a few Xcode configuration setting files.
433
434         Reviewed by Alexey Proskuryakov.
435
436         * Configurations/Base.xcconfig:
437
438 2013-11-21  Mark Rowe  <mrowe@apple.com>
439
440         <https://webkit.org/b/124700> Fix some deprecation warnings.
441
442         Reviewed by Anders Carlsson.
443
444         * UIProcess/API/mac/WKView.mm:
445         (-[WKView namesOfPromisedFilesDroppedAtDestination:]): Move off a deprecated NSFileWrapper method.
446
447 2013-11-21  Anders Carlsson  <andersca@apple.com>
448
449         Didn't mean to commit this.
450
451         * UIProcess/PageLoadState.h:
452
453 2013-11-21  Anders Carlsson  <andersca@apple.com>
454
455         Move page title handling to the page load state
456         https://bugs.webkit.org/show_bug.cgi?id=124748
457
458         Reviewed by Dan Bernstein.
459
460         * UIProcess/API/C/WKPage.cpp:
461         (WKPageCopyTitle):
462         * UIProcess/PageLoadState.cpp:
463         (WebKit::PageLoadState::reset):
464         (WebKit::PageLoadState::didCommitLoad):
465         (WebKit::PageLoadState::title):
466         (WebKit::PageLoadState::setTitle):
467         * UIProcess/PageLoadState.h:
468         * UIProcess/WebPageProxy.cpp:
469         (WebKit::WebPageProxy::didReceiveTitleForFrame):
470         * UIProcess/WebPageProxy.h:
471
472 2013-11-21  Daniel Bates  <dabates@apple.com>
473
474         Remove unused functions from WebCore and WebKit2
475         https://bugs.webkit.org/show_bug.cgi?id=124739
476
477         Reviewed by Alexey Proskuryakov.
478
479         Remove unused functions autoreleased({WKURLRequestRef, WKURLResponseRef}).
480
481         * UIProcess/API/mac/WKBrowsingContextController.mm:
482
483 2013-11-21  Csaba Osztrogonác  <ossy@webkit.org>
484
485         Rename PlatformCertificateInfo to CertificateInfo
486         https://bugs.webkit.org/show_bug.cgi?id=124150
487
488         Reviewed by Darin Adler.
489
490         * GNUmakefile.list.am:
491         * NetworkProcess/AsynchronousNetworkLoaderClient.cpp:
492         (WebKit::AsynchronousNetworkLoaderClient::didReceiveResponse):
493         * NetworkProcess/NetworkProcess.h:
494         * NetworkProcess/NetworkProcess.messages.in:
495         * NetworkProcess/NetworkResourceLoader.cpp:
496         * NetworkProcess/mac/NetworkProcessMac.mm:
497         (WebKit::NetworkProcess::allowSpecificHTTPSCertificateForHost):
498         * NetworkProcess/soup/NetworkProcessSoup.cpp:
499         (WebKit::NetworkProcess::allowSpecificHTTPSCertificateForHost):
500         * PlatformEfl.cmake:
501         * PlatformGTK.cmake:
502         * Shared/API/c/mac/WKCertificateInfoMac.mm:
503         (WKCertificateInfoCreateWithCertficateChain):
504         (WKCertificateInfoGetCertificateChain):
505         * Shared/Authentication/AuthenticationManager.cpp:
506         (WebKit::AuthenticationManager::tryUseCertificateInfoForChallenge):
507         (WebKit::AuthenticationManager::useCredentialForChallenge):
508         * Shared/Authentication/AuthenticationManager.h:
509         * Shared/Authentication/AuthenticationManager.messages.in:
510         * Shared/Authentication/mac/AuthenticationManager.mac.mm:
511         (WebKit::AuthenticationManager::tryUseCertificateInfoForChallenge):
512         * Shared/UserMessageCoders.h:
513         (WebKit::UserMessageEncoder::baseEncode):
514         (WebKit::UserMessageDecoder::baseDecode):
515         * Shared/WebCertificateInfo.h:
516         (WebKit::WebCertificateInfo::create):
517         (WebKit::WebCertificateInfo::certificateInfo):
518         (WebKit::WebCertificateInfo::WebCertificateInfo):
519         * Shared/mac/CertificateInfo.h: Renamed from Source/WebKit2/Shared/mac/PlatformCertificateInfo.h.
520         (WebKit::CertificateInfo::certificateChain):
521         * Shared/mac/CertificateInfo.mm: Renamed from Source/WebKit2/Shared/mac/PlatformCertificateInfo.mm.
522         (WebKit::CertificateInfo::CertificateInfo):
523         (WebKit::CertificateInfo::encode):
524         (WebKit::CertificateInfo::decode):
525         (WebKit::CertificateInfo::dump):
526         * Shared/mac/WebCoreArgumentCodersMac.mm:
527         (CoreIPC::::encodePlatformData):
528         (CoreIPC::::decodePlatformData):
529         * Shared/soup/CertificateInfo.cpp: Renamed from Source/WebKit2/Shared/soup/PlatformCertificateInfo.cpp.
530         (WebKit::CertificateInfo::CertificateInfo):
531         (WebKit::CertificateInfo::~CertificateInfo):
532         (WebKit::CertificateInfo::encode):
533         (WebKit::CertificateInfo::decode):
534         * Shared/soup/CertificateInfo.h: Renamed from Source/WebKit2/Shared/soup/PlatformCertificateInfo.h.
535         (WebKit::CertificateInfo::certificate):
536         (WebKit::CertificateInfo::tlsErrors):
537         * Shared/soup/WebCoreArgumentCodersSoup.cpp:
538         (CoreIPC::::encodePlatformData):
539         (CoreIPC::::decodePlatformData):
540         * UIProcess/API/gtk/WebKitCertificateInfo.cpp:
541         (webkitCertificateInfoGetCertificateInfo):
542         * UIProcess/API/gtk/WebKitCertificateInfoPrivate.h:
543         * UIProcess/API/gtk/WebKitWebView.cpp:
544         (webkit_web_view_get_tls_info):
545         * UIProcess/Authentication/AuthenticationChallengeProxy.cpp:
546         (WebKit::AuthenticationChallengeProxy::useCredential):
547         * UIProcess/WebContext.cpp:
548         (WebKit::WebContext::allowSpecificHTTPSCertificateForHost):
549         * UIProcess/WebFrameProxy.cpp:
550         (WebKit::WebFrameProxy::didCommitLoad):
551         * UIProcess/WebFrameProxy.h:
552         * UIProcess/WebPageProxy.cpp:
553         (WebKit::WebPageProxy::didCommitLoadForFrame):
554         * UIProcess/WebPageProxy.h:
555         * UIProcess/WebPageProxy.messages.in:
556         * WebKit2.xcodeproj/project.pbxproj:
557         * WebProcess/Network/WebResourceLoader.cpp:
558         (WebKit::WebResourceLoader::didReceiveResponseWithCertificateInfo):
559         * WebProcess/Network/WebResourceLoader.h:
560         * WebProcess/Network/WebResourceLoader.messages.in:
561         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
562         (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):
563         * WebProcess/WebProcess.h:
564         * WebProcess/WebProcess.messages.in:
565         * WebProcess/soup/WebProcessSoup.cpp:
566         (WebKit::WebProcess::allowSpecificHTTPSCertificateForHost):
567
568 2013-11-21  Sergio Correia  <sergio.correia@openbossa.org>
569
570         [EFL][GTK][WK2] Build fix after r159641
571         https://bugs.webkit.org/show_bug.cgi?id=124742
572
573         Reviewed by Csaba Osztrogonác.
574
575         Should fetch activeURL from page load state.
576
577         * UIProcess/API/gtk/WebKitWebView.cpp:
578         (webkitWebViewUpdateURI):
579         * UIProcess/InspectorServer/efl/WebInspectorServerEfl.cpp:
580         (WebKit::WebInspectorServer::buildPageList):
581         * UIProcess/InspectorServer/gtk/WebInspectorServerGtk.cpp:
582         (WebKit::WebInspectorServer::buildPageList):
583
584 2013-11-21  Anders Carlsson  <andersca@apple.com>
585
586         Fetch all page loading related URLs from the page load state
587         https://bugs.webkit.org/show_bug.cgi?id=124732
588
589         Reviewed by Dan Bernstein.
590
591         * UIProcess/API/C/WKPage.cpp:
592         (WKPageCopyActiveURL):
593         (WKPageCopyProvisionalURL):
594         (WKPageCopyCommittedURL):
595         * UIProcess/API/mac/WKBrowsingContextController.mm:
596         (-[WKBrowsingContextController unreachableURL]):
597         * UIProcess/PageLoadState.h:
598         (WebKit::PageLoadState::provisionalURL):
599         (WebKit::PageLoadState::url):
600         (WebKit::PageLoadState::unreachableURL):
601         * UIProcess/WebPageProxy.cpp:
602         * UIProcess/WebPageProxy.h:
603
604 2013-11-20  Brady Eidson  <beidson@apple.com>
605
606         Hook up WebProcess-side of getOrEstablishIDBDatabaseMetadata
607         https://bugs.webkit.org/show_bug.cgi?id=124698
608
609         Reviewed by Anders Carlsson.
610
611         With this change the IDB API in WebKit2 using the DatabaseProcess finally does something observable:
612         window.indexedDB.open() sends an error to Javascript.
613
614         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
615         (WebKit::DatabaseProcessIDBConnection::getOrEstablishIDBDatabaseMetadata): Continue calling back to the
616           WebProcess with dummy data, but include the request ID for reference.
617         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
618         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:
619
620         Add a new class that wraps a completion callback function and gives it a unique integer identifier.
621         It also allows for wrapping an abort callback function (in case a connection is lost, for example).
622         It is templated to flexibly handle any callback function signature.
623         * Shared/AsyncRequest.cpp: Added.
624         (WebKit::generateRequestID):
625         (WebKit::AsyncRequest::AsyncRequest):
626         (WebKit::AsyncRequest::~AsyncRequest):
627         (WebKit::AsyncRequest::setAbortHandler):
628         (WebKit::AsyncRequest::requestAborted):
629         (WebKit::AsyncRequest::clearAbortHandler):
630         * Shared/AsyncRequest.h: Added.
631         (WebKit::AsyncRequest::requestID):
632         (WebKit::AsyncRequest::requestCompleted):
633
634         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
635         (WebKit::WebIDBServerConnection::getOrEstablishIDBDatabaseMetadata): Wrap the completion handler in an
636           AsyncRequest and save off the request for later use.
637         (WebKit::WebIDBServerConnection::didGetOrEstablishIDBDatabaseMetadata): Send the results to the AsyncRequest.
638         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
639         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in:
640
641         * WebKit2.xcodeproj/project.pbxproj:
642
643 2013-11-20  Anders Carlsson  <andersca@apple.com>
644
645         Move activeURL getter to PageLoadState
646         https://bugs.webkit.org/show_bug.cgi?id=124690
647
648         Reviewed by Tim Horton.
649
650         * UIProcess/PageLoadState.cpp:
651         (WebKit::PageLoadState::activeURL):
652         * UIProcess/PageLoadState.h:
653         * UIProcess/WebPageProxy.cpp:
654         (WebKit::WebPageProxy::activeURL):
655
656 2013-11-20  Simon Fraser  <simon.fraser@apple.com>
657
658         Clean up WebKit2 initialization
659         https://bugs.webkit.org/show_bug.cgi?id=124696
660
661         Reviewed by Sam Weinig.
662         
663         Call InitializeWebKit2() everywhere we need to do one-time
664         initialization in WebKit2, rather than having a hotch-potch
665         of init code.
666
667         * Shared/APIObject.cpp:
668         (API::Object::Object):
669         * UIProcess/API/mac/WKView.mm:
670         (-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]):
671         * UIProcess/Launcher/mac/ProcessLauncherMac.mm: Removed an unused #include.
672         * UIProcess/WebContext.cpp:
673         (WebKit::WebContext::create):
674
675 2013-11-21  Dan Bernstein  <mitz@apple.com>
676
677         Reverted r159603, as it appears to have caused Safari’s Web processes to crash on launch.
678
679         Requested by Sam Weinig.
680
681         * Scripts/webkit2/messages.py:
682         (struct_or_class):
683         * Shared/UserMessageCoders.h:
684         (WebKit::UserMessageEncoder::baseEncode):
685         * Shared/WebPageCreationParameters.cpp:
686         (WebKit::WebPageCreationParameters::encode):
687         (WebKit::WebPageCreationParameters::decode):
688         * Shared/WebPageCreationParameters.h:
689         * Shared/mac/ObjCObjectGraphCoders.h:
690         * Shared/mac/ObjCObjectGraphCoders.mm:
691         (WebKit::ObjCObjectGraphEncoder::baseEncode):
692         (WebKit::WebContextObjCObjectGraphEncoderImpl::WebContextObjCObjectGraphEncoderImpl):
693         (WebKit::WebContextObjCObjectGraphEncoderImpl::encode):
694         (WebKit::InjectedBundleObjCObjectGraphEncoderImpl::encode):
695         (WebKit::WebContextObjCObjectGraphEncoder::WebContextObjCObjectGraphEncoder):
696         (WebKit::WebContextObjCObjectGraphEncoder::encode):
697         * UIProcess/WebConnectionToWebProcess.cpp:
698         (WebKit::WebConnectionToWebProcess::encodeMessageBody):
699         * UIProcess/WebContext.cpp:
700         (WebKit::WebContext::createNewWebProcess):
701         (WebKit::WebContext::createWebPage):
702         (WebKit::WebContext::postMessageToInjectedBundle):
703         (WebKit::WebContext::didReceiveSyncMessage):
704         * UIProcess/WebContextUserMessageCoders.h:
705         (WebKit::WebContextUserMessageEncoder::WebContextUserMessageEncoder):
706         (WebKit::WebContextUserMessageEncoder::encode):
707         (WebKit::WebContextUserMessageDecoder::decode):
708         * UIProcess/WebPageGroup.cpp:
709         * UIProcess/WebPageGroup.h:
710         (WebKit::WebPageGroup::sendToAllProcessesInGroup):
711         * UIProcess/WebPageProxy.cpp:
712         (WebKit::WebPageProxy::create):
713         (WebKit::WebPageProxy::WebPageProxy):
714         (WebKit::WebPageProxy::initializeWebPage):
715         (WebKit::WebPageProxy::loadURL):
716         (WebKit::WebPageProxy::loadURLRequest):
717         (WebKit::WebPageProxy::loadFile):
718         (WebKit::WebPageProxy::loadData):
719         (WebKit::WebPageProxy::loadHTMLString):
720         (WebKit::WebPageProxy::loadAlternateHTMLString):
721         (WebKit::WebPageProxy::loadPlainTextString):
722         (WebKit::WebPageProxy::loadWebArchiveData):
723         (WebKit::WebPageProxy::postMessageToInjectedBundle):
724         (WebKit::WebPageProxy::initializeCreationParameters):
725         * UIProcess/WebPageProxy.h:
726         * UIProcess/WebProcessProxy.cpp:
727         (WebKit::WebProcessProxy::disconnect):
728         (WebKit::WebProcessProxy::createWebPage):
729         * UIProcess/WebProcessProxy.h:
730         * WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
731         (WebKit::InjectedBundleUserMessageEncoder::encode):
732         (WebKit::InjectedBundleUserMessageDecoder::decode):
733         * WebProcess/WebPage/WebPage.cpp:
734         (WebKit::WebPage::WebPage):
735         * WebProcess/WebProcess.cpp:
736         (WebKit::WebProcess::webPageGroup):
737         * WebProcess/WebProcess.h:
738         * WebProcess/WebProcess.messages.in:
739
740 2013-11-20  Brady Eidson  <beidson@apple.com>
741
742         Add more infrastructure for ServerConnection communication between Web and Database processes
743         https://bugs.webkit.org/show_bug.cgi?id=124693
744
745         Reviewed by Anders Carlsson.
746
747         * DatabaseProcess/DatabaseToWebProcessConnection.cpp:
748         (WebKit::DatabaseToWebProcessConnection::establishIDBConnection):
749         (WebKit::DatabaseToWebProcessConnection::removeDatabaseProcessIDBConnection): Added for WebProcess to be able
750           to invalidate the DatabaseProcess side of a server connection.
751         * DatabaseProcess/DatabaseToWebProcessConnection.h:
752         * DatabaseProcess/DatabaseToWebProcessConnection.messages.in:
753
754         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
755         (WebKit::DatabaseProcessIDBConnection::DatabaseProcessIDBConnection):
756         (WebKit::DatabaseProcessIDBConnection::disconnectedFromWebProcess): Added for future cleanup.
757         (WebKit::DatabaseProcessIDBConnection::establishConnection):
758         (WebKit::DatabaseProcessIDBConnection::getOrEstablishIDBDatabaseMetadata): Callback to the WebProcess, even if
759           it is just dummy data for now.
760         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
761         (WebKit::DatabaseProcessIDBConnection::create):
762
763         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
764         (WebKit::WebIDBServerConnection::create): Register the new object with the WebToDatabaseProcessConnection.
765         (WebKit::WebIDBServerConnection::~WebIDBServerConnection): Remove from the WebToDatabaseProcessConnection.
766         (WebKit::WebIDBServerConnection::getOrEstablishIDBDatabaseMetadata):
767         (WebKit::WebIDBServerConnection::didGetOrEstablishIDBDatabaseMetadata): Callback from the DatabaseProcess,
768           a no-op for now.
769         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
770         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in: Copied from Source/WebKit2/DatabaseProcess/DatabaseToWebProcessConnection.messages.in.
771
772         * WebProcess/Databases/WebToDatabaseProcessConnection.cpp:
773         (WebKit::WebToDatabaseProcessConnection::didReceiveMessage):
774         (WebKit::WebToDatabaseProcessConnection::didClose):
775         (WebKit::WebToDatabaseProcessConnection::registerWebIDBServerConnection): Hold a collection of all
776           server connections for messaging.
777         (WebKit::WebToDatabaseProcessConnection::removeWebIDBServerConnection): Remove a connection from the collection,
778           and also message the DatabaseProcess that it’s gone away.
779         * WebProcess/Databases/WebToDatabaseProcessConnection.h:
780
781         Project files, etc etc:
782         * DerivedSources.make:
783         * Scripts/webkit2/messages.py:
784         (struct_or_class):
785         * WebKit2.xcodeproj/project.pbxproj:
786
787 2013-11-18  Sam Weinig  <sam@webkit.org>
788
789         WebPageGroup's should keep track of what processes they are being used by
790         https://bugs.webkit.org/show_bug.cgi?id=124556
791
792         Reviewed by Dan Bernstein.
793
794         * Scripts/webkit2/messages.py:
795         (struct_or_class):
796         Mark WebPageGroupData as a struct.
797
798         * Shared/UserMessageCoders.h:
799         * Shared/mac/ObjCObjectGraphCoders.h:
800         * Shared/mac/ObjCObjectGraphCoders.mm:
801         * WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
802         * UIProcess/WebConnectionToWebProcess.cpp:
803         * UIProcess/WebContext.cpp:
804         * UIProcess/WebContextUserMessageCoders.h:
805         * UIProcess/WebPageProxy.cpp:
806         * UIProcess/WebPageProxy.h:
807         Pass the WebProcess/WebProcessProxy to both encode and decode.
808
809         * Shared/WebPageCreationParameters.h:
810         Pass the page group by ID when creating a page, as it will have had its own
811         creation message sent already.
812
813         * UIProcess/WebPageGroup.cpp:
814         * UIProcess/WebPageGroup.h:
815         Keep track of processes.
816
817         * UIProcess/WebProcessProxy.cpp:
818         * UIProcess/WebProcessProxy.h:
819         Keep track of the page groups used by the process.
820
821         * WebProcess/WebPage/WebPage.cpp:
822         Get the already created page group on creation.
823
824         * WebProcess/WebProcess.cpp:
825         * WebProcess/WebProcess.h:
826         * WebProcess/WebProcess.messages.in:
827         Explicitly create page groups in the WebProcess.
828
829 2013-11-20  Brady Eidson  <beidson@apple.com>
830
831         IDB related cleanup in WebKit2
832         https://bugs.webkit.org/show_bug.cgi?id=124691
833
834         Reviewed by Enrica Casucci.
835
836         - WebIDBServerConnection.cpp should use the WebCore namespace and get rid of "WebCore::" throughout
837         - "backendIndentifier" should be renamed to "serverConnectionIdentifier" throughout
838
839         * DatabaseProcess/DatabaseToWebProcessConnection.cpp:
840         (WebKit::DatabaseToWebProcessConnection::establishIDBConnection):
841         * DatabaseProcess/DatabaseToWebProcessConnection.h:
842         * DatabaseProcess/DatabaseToWebProcessConnection.messages.in:
843
844         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
845         (WebKit::DatabaseProcessIDBConnection::DatabaseProcessIDBConnection):
846         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
847         (WebKit::DatabaseProcessIDBConnection::create):
848
849         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
850         (WebKit::generateServerConnectionIdentifier):
851         (WebKit::WebIDBServerConnection::WebIDBServerConnection):
852         (WebKit::WebIDBServerConnection::openTransaction):
853         (WebKit::WebIDBServerConnection::setIndexKeys):
854         (WebKit::WebIDBServerConnection::createObjectStore):
855         (WebKit::WebIDBServerConnection::createIndex):
856         (WebKit::WebIDBServerConnection::deleteIndex):
857         (WebKit::WebIDBServerConnection::get):
858         (WebKit::WebIDBServerConnection::put):
859         (WebKit::WebIDBServerConnection::openCursor):
860         (WebKit::WebIDBServerConnection::count):
861         (WebKit::WebIDBServerConnection::deleteRange):
862         (WebKit::WebIDBServerConnection::clearObjectStore):
863         (WebKit::WebIDBServerConnection::deleteObjectStore):
864         (WebKit::WebIDBServerConnection::changeDatabaseVersion):
865         (WebKit::WebIDBServerConnection::cursorAdvance):
866         (WebKit::WebIDBServerConnection::cursorIterate):
867         (WebKit::WebIDBServerConnection::cursorPrefetchIteration):
868         (WebKit::WebIDBServerConnection::cursorPrefetchReset):
869         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
870
871 2013-11-20  Brady Eidson  <beidson@apple.com>
872
873         Add argument coders for IDBDatabaseMetadata classes
874         https://bugs.webkit.org/show_bug.cgi?id=124689
875
876         Reviewed by Anders Carlsson.
877
878         Add coders for:
879           - IDBDatabaseMetadata
880           - IDBIndexMetadata
881           - IDBKeyPath
882           - IDBObjectStoreMetadata
883
884         * Shared/WebCoreArgumentCoders.cpp:
885         (CoreIPC::::encode):
886         (CoreIPC::::decode):
887         * Shared/WebCoreArgumentCoders.h:
888
889 2013-11-20  Anders Carlsson  <andersca@apple.com>
890
891         Enable PageLoadTest assertions again
892         https://bugs.webkit.org/show_bug.cgi?id=124681
893
894         Reviewed by Tim Horton.
895
896         Remove an overzealous assertion and re-enable assertions in PageLoadState again.
897
898         * UIProcess/PageLoadState.cpp:
899         (WebKit::PageLoadState::didCommitLoad):
900         Remove assertion - it's fine for a page to have a null URL.
901
902         (WebKit::PageLoadState::didFinishLoad):
903         Ditto.
904
905         (WebKit::PageLoadState::didFailLoad):
906         Update the state.
907
908 2013-11-20  Anders Carlsson  <andersca@apple.com>
909
910         PageLoadState should keep track of unreachable URLs
911         https://bugs.webkit.org/show_bug.cgi?id=124677
912
913         Reviewed by Dan Bernstein.
914
915         * UIProcess/PageLoadState.cpp:
916         (WebKit::PageLoadState::reset):
917         (WebKit::PageLoadState::didStartProvisionalLoad):
918         (WebKit::PageLoadState::didFailProvisionalLoad):
919         (WebKit::PageLoadState::setUnreachableURL):
920         * UIProcess/PageLoadState.h:
921         * UIProcess/WebPageProxy.cpp:
922         (WebKit::WebPageProxy::loadAlternateHTMLString):
923
924 2013-11-20  Tim Horton  <timothy_horton@apple.com>
925
926         Remote Layer Tree: 100% repro crasher on the IPC thread when creating lots of layers
927         https://bugs.webkit.org/show_bug.cgi?id=124643
928
929         Reviewed by Anders Carlsson.
930
931         * Platform/CoreIPC/mac/ConnectionMac.cpp:
932         (CoreIPC::Connection::sendOutgoingMessage):
933         Dynamically allocate storage for the message if needed.
934
935 2013-11-20  Tim Horton  <timothy_horton@apple.com>
936
937         machMessageSize uses sizeof(mach_msg_ool_ports_descriptor_t) for out-of-line *memory*
938         https://bugs.webkit.org/show_bug.cgi?id=124644
939
940         Reviewed by Anders Carlsson.
941
942         * Platform/CoreIPC/mac/ConnectionMac.cpp:
943         (CoreIPC::machMessageSize):
944         mach_msg_ool_descriptor_t is the correct type, given that
945         out-of-line memory descriptors use the mach_msg_ool_descriptor_t
946         member of the mach_msg_descriptor_t union.
947
948 2013-11-20  Brady Eidson  <beidson@apple.com>
949
950         Cleanup getOrEstablishIDBDatabaseMetadata and stub it out in WK2
951         https://bugs.webkit.org/show_bug.cgi?id=124635
952
953         Reviewed by Tim Horton.
954
955         Stub out the message for getOrEstablishIDBDatabaseMetadata in the DatabaseProcess.
956
957         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
958         (WebKit::DatabaseProcessIDBConnection::establishConnection):
959         (WebKit::DatabaseProcessIDBConnection::getOrEstablishIDBDatabaseMetadata):
960         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
961         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:
962
963         * Shared/SecurityOriginData.cpp:
964         (WebKit::SecurityOriginData::fromSecurityOrigin):
965         * Shared/SecurityOriginData.h:
966
967         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
968         (WebKit::WebIDBServerConnection::WebIDBServerConnection):
969         (WebKit::WebIDBServerConnection::deleteDatabase):
970         (WebKit::WebIDBServerConnection::getOrEstablishIDBDatabaseMetadata):
971         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
972
973 2013-11-20  Carlos Garcia Campos  <cgarcia@igalia.com>
974
975         [GTK] Do not use deprecated callbacks in WebKitPolicyClient
976         https://bugs.webkit.org/show_bug.cgi?id=124648
977
978         Reviewed by Philippe Normand.
979
980         Fixes compile warnings for uninitialized callbacks.
981
982         * UIProcess/API/gtk/WebKitPolicyClient.cpp:
983         (decidePolicyForNavigationAction): Add originatingFrame parameter.
984         (decidePolicyForNewWindowAction): Renamed for consistency.
985         (decidePolicyForResponse): Add canShowMIMEType parameter.
986         (attachPolicyClientToView): Add new callbacks.
987
988 2013-11-19  Ryosuke Niwa  <rniwa@webkit.org>
989
990         Enable HTMLTemplateElement on Mac port
991         https://bugs.webkit.org/show_bug.cgi?id=124637
992
993         Reviewed by Tim Horton.
994
995         * Configurations/FeatureDefines.xcconfig:
996
997 2013-11-19  Brady Eidson  <beidson@apple.com>
998
999         Add WebIDBServerConnection and DatabaseProcessIDBConnection stubs
1000         https://bugs.webkit.org/show_bug.cgi?id=124562
1001
1002         Reviewed by Alexey Proskuryakov.
1003
1004         Also remove Web/DatabaseProcessDatabaseBackend stubs, as that is no longer the abstraction layer.
1005
1006         * DatabaseProcess/DatabaseToWebProcessConnection.cpp:
1007         (WebKit::DatabaseToWebProcessConnection::didReceiveMessage):
1008         (WebKit::DatabaseToWebProcessConnection::establishIDBConnection):
1009         * DatabaseProcess/DatabaseToWebProcessConnection.h:
1010         * DatabaseProcess/DatabaseToWebProcessConnection.messages.in:
1011
1012         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp: Renamed from Source/WebKit2/DatabaseProcess/IndexedDB/DatabaseProcessIDBDatabaseBackend.cpp.
1013         (WebKit::DatabaseProcessIDBConnection::DatabaseProcessIDBConnection):
1014         (WebKit::DatabaseProcessIDBConnection::~DatabaseProcessIDBConnection):
1015         (WebKit::DatabaseProcessIDBConnection::establishConnection):
1016         (WebKit::DatabaseProcessIDBConnection::messageSenderConnection):
1017         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h: Renamed from Source/WebKit2/DatabaseProcess/IndexedDB/DatabaseProcessIDBDatabaseBackend.h.
1018         (WebKit::DatabaseProcessIDBConnection::create):
1019         * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in: Renamed from Source/WebKit2/DatabaseProcess/IndexedDB/DatabaseProcessIDBDatabaseBackend.messages.in.
1020
1021         * Shared/Databases/IndexedDB/IDBUtilities.cpp:
1022         (WebKit::uniqueDatabaseIdentifier): Modified to take two security origin arguments.
1023         * Shared/Databases/IndexedDB/IDBUtilities.h:
1024
1025         * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp:
1026         (WebKit::WebIDBFactoryBackend::open):
1027
1028         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp: Added. Stubbed out all the pure virtual methods.
1029         (WebKit::generateBackendIdentifier):
1030         (WebKit::WebIDBServerConnection::WebIDBServerConnection):
1031         (WebKit::WebIDBServerConnection::~WebIDBServerConnection):
1032         (WebKit::WebIDBServerConnection::isClosed):
1033         (WebKit::WebIDBServerConnection::getOrEstablishIDBDatabaseMetadata):
1034         (WebKit::WebIDBServerConnection::deleteDatabase):
1035         (WebKit::WebIDBServerConnection::close):
1036         (WebKit::WebIDBServerConnection::openTransaction):
1037         (WebKit::WebIDBServerConnection::beginTransaction):
1038         (WebKit::WebIDBServerConnection::commitTransaction):
1039         (WebKit::WebIDBServerConnection::resetTransaction):
1040         (WebKit::WebIDBServerConnection::rollbackTransaction):
1041         (WebKit::WebIDBServerConnection::setIndexKeys):
1042         (WebKit::WebIDBServerConnection::createObjectStore):
1043         (WebKit::WebIDBServerConnection::createIndex):
1044         (WebKit::WebIDBServerConnection::deleteIndex):
1045         (WebKit::WebIDBServerConnection::get):
1046         (WebKit::WebIDBServerConnection::put):
1047         (WebKit::WebIDBServerConnection::openCursor):
1048         (WebKit::WebIDBServerConnection::count):
1049         (WebKit::WebIDBServerConnection::deleteRange):
1050         (WebKit::WebIDBServerConnection::clearObjectStore):
1051         (WebKit::WebIDBServerConnection::deleteObjectStore):
1052         (WebKit::WebIDBServerConnection::changeDatabaseVersion):
1053         (WebKit::WebIDBServerConnection::cursorAdvance):
1054         (WebKit::WebIDBServerConnection::cursorIterate):
1055         (WebKit::WebIDBServerConnection::cursorPrefetchIteration):
1056         (WebKit::WebIDBServerConnection::cursorPrefetchReset):
1057         (WebKit::WebIDBServerConnection::messageSenderConnection):
1058         * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h: Added.
1059
1060         * WebProcess/Databases/IndexedDB/WebProcessIDBDatabaseBackend.cpp: Removed.
1061         * WebProcess/Databases/IndexedDB/WebProcessIDBDatabaseBackend.h: Removed.
1062
1063         * WebProcess/Databases/WebToDatabaseProcessConnection.cpp:
1064
1065         * DerivedSources.make:
1066         * WebKit2.xcodeproj/project.pbxproj:
1067
1068 2013-11-19  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
1069
1070         Unreviewed EFL and GTK build fix attempt after r159507
1071
1072         * CMakeLists.txt: Changed Platform/CoreIPC/DataReference.cpp to Platform/IPC/DataReference.cpp
1073         * GNUmakefile.list.am: Ditto
1074
1075 2013-11-19  Anders Carlsson  <andersca@apple.com>
1076
1077         Move DataReference to Platform/IPC.
1078
1079         * Platform/IPC/DataReference.cpp: Renamed from Source/WebKit2/Platform/CoreIPC/DataReference.cpp.
1080         * Platform/IPC/DataReference.h: Renamed from Source/WebKit2/Platform/CoreIPC/DataReference.h.
1081         * WebKit2.xcodeproj/project.pbxproj:
1082
1083 2013-11-19  Anders Carlsson  <andersca@apple.com>
1084
1085         Add and call PageLoadState::reset
1086         https://bugs.webkit.org/show_bug.cgi?id=124591
1087
1088         Reviewed by Dan Bernstein.
1089
1090         * UIProcess/PageLoadState.cpp:
1091         (WebKit::PageLoadState::reset):
1092         * UIProcess/PageLoadState.h:
1093         * UIProcess/WebPageProxy.cpp:
1094         (WebKit::WebPageProxy::processDidCrash):
1095
1096 2013-11-18  Ryuan Choi  <ryuan.choi@samsung.com>
1097
1098         [EFL] Initialize efreet before getting directories
1099         https://bugs.webkit.org/show_bug.cgi?id=124560
1100
1101         Reviewed by Gyuyoung Kim.
1102
1103         efreet is used to get several directories including home dierectory since
1104         r123731, but it does not call efreet_init/efreet_shutdown explicitly.
1105
1106         * UIProcess/API/efl/ewk_main.cpp: Call efreet_init()/efreet_shutdown() explicitly.
1107         (ewk_init):
1108         (ewk_shutdown):
1109
1110 2013-11-18  Mark Rowe  <mrowe@apple.com>
1111
1112         Use hw.activecpu for determining how many processes to spawn.
1113
1114         It's documented as the preferred way to determine the number of threads
1115         or processes to create in a SMP aware application.
1116
1117         Rubber-stamped by Tim Horton.
1118
1119         * WebKit2.xcodeproj/project.pbxproj:
1120
1121 2013-11-18  Anders Carlsson  <andersca@apple.com>
1122
1123         Let's try this again.
1124
1125         * UIProcess/PageLoadState.cpp:
1126
1127 2013-11-18  Anders Carlsson  <andersca@apple.com>
1128
1129         Disable assertions in PageLoadState.cpp for now.
1130
1131         * UIProcess/PageLoadState.cpp:
1132
1133 2013-11-18  Anders Carlsson  <andersca@apple.com>
1134
1135         TestWebKitAPI crashes when running under GuardMalloc
1136         https://bugs.webkit.org/show_bug.cgi?id=124546
1137
1138         Reviewed by Tim Horton.
1139
1140         * UIProcess/Downloads/DownloadProxyMap.cpp:
1141         (WebKit::DownloadProxyMap::downloadFinished):
1142         Grab the download ID before removing the DownloadProxy from the map.
1143
1144 2013-11-18  Ryuan Choi  <ryuan.choi@samsung.com>
1145
1146         Unreviewed build fix attempt on GTK and EFL port after r159461
1147
1148         * CMakeLists.txt: Added APINavigationData.cpp and removed WebNavigationData.cpp
1149         * GNUmakefile.list.am: Ditto.
1150
1151 2013-11-18  Anders Carlsson  <andersca@apple.com>
1152
1153         Rename WebNavigationData to API::NavigationData
1154         https://bugs.webkit.org/show_bug.cgi?id=124542
1155
1156         Reviewed by Dan Bernstein.
1157
1158         * UIProcess/API/C/WKAPICast.h:
1159         * UIProcess/API/C/WKNavigationDataRef.cpp:
1160         (WKNavigationDataGetTypeID):
1161         * UIProcess/API/Cocoa/WKNavigationData.mm:
1162         (-[WKNavigationData dealloc]):
1163         (-[WKNavigationData title]):
1164         (-[WKNavigationData originalRequest]):
1165         (-[WKNavigationData destinationURL]):
1166         (-[WKNavigationData response]):
1167         * UIProcess/API/Cocoa/WKNavigationDataInternal.h:
1168         (WebKit::wrapper):
1169         * UIProcess/API/mac/WKProcessGroup.mm:
1170         * UIProcess/APINavigationData.cpp: Renamed from Source/WebKit2/UIProcess/WebNavigationData.cpp.
1171         (API::NavigationData::NavigationData):
1172         (API::NavigationData::~NavigationData):
1173         * UIProcess/APINavigationData.h: Renamed from Source/WebKit2/UIProcess/WebNavigationData.h.
1174         (API::NavigationData::create):
1175         (API::NavigationData::title):
1176         (API::NavigationData::url):
1177         (API::NavigationData::originalRequest):
1178         (API::NavigationData::response):
1179         * UIProcess/WebHistoryClient.cpp:
1180         (WebKit::WebHistoryClient::didNavigateWithNavigationData):
1181         * WebKit2.xcodeproj/project.pbxproj:
1182
1183 2013-11-18  David Hyatt  <hyatt@apple.com>
1184
1185         Add a quirk to not respect center text-align when positioning
1186
1187         <rdar://problem/15427571>
1188         https://bugs.webkit.org/show_bug.cgi?id=124522
1189
1190         Reviewed by Simon Fraser.
1191
1192         Added fast/block/legacy-text-align-position-quirk.html
1193
1194         * Shared/WebPreferencesStore.h:
1195         * UIProcess/API/C/WKPreferences.cpp:
1196         (WKPreferencesUseLegacyTextAlignPositionedElementBehavior):
1197         (WKPreferencesSetUseLegacyTextAlignPositionedElementBehavior):
1198         * UIProcess/API/C/WKPreferencesPrivate.h:
1199         * WebProcess/WebPage/WebPage.cpp:
1200         (WebKit::WebPage::updatePreferences):
1201
1202 2013-11-18  Anders Carlsson  <andersca@apple.com>
1203
1204         Add State to PageLoadState
1205         https://bugs.webkit.org/show_bug.cgi?id=124538
1206
1207         Reviewed by Tim Horton.
1208
1209         * UIProcess/PageLoadState.cpp:
1210         (WebKit::PageLoadState::PageLoadState):
1211         (WebKit::PageLoadState::didStartProvisionalLoad):
1212         (WebKit::PageLoadState::didReceiveServerRedirectForProvisionalLoad):
1213         (WebKit::PageLoadState::didFailProvisionalLoad):
1214         (WebKit::PageLoadState::didCommitLoad):
1215         (WebKit::PageLoadState::didFinishLoad):
1216         (WebKit::PageLoadState::didSameDocumentNavigation):
1217         * UIProcess/PageLoadState.h:
1218
1219 2013-11-18  Anders Carlsson  <andersca@apple.com>
1220
1221         The PageLoadState object should keep track of the current URL
1222         https://bugs.webkit.org/show_bug.cgi?id=124536
1223
1224         Reviewed by Dan Bernstein.
1225
1226         * UIProcess/PageLoadState.cpp:
1227         (WebKit::PageLoadState::didCommitLoad):
1228         (WebKit::PageLoadState::didFinishLoad):
1229         (WebKit::PageLoadState::didFailLoad):
1230         (WebKit::PageLoadState::didSameDocumentNavigation):
1231         * UIProcess/PageLoadState.h:
1232         * UIProcess/WebPageProxy.cpp:
1233         (WebKit::WebPageProxy::didFinishLoadForFrame):
1234         (WebKit::WebPageProxy::didFailLoadForFrame):
1235         (WebKit::WebPageProxy::didSameDocumentNavigationForFrame):
1236
1237 2013-11-18  Csaba Osztrogonác  <ossy@webkit.org>
1238
1239         URTBF after r159444.
1240
1241         * GNUmakefile.list.am:
1242
1243 2013-11-18  Anders Carlsson  <andersca@apple.com>
1244
1245         PageLoadState should keep track of the provisional URL
1246         https://bugs.webkit.org/show_bug.cgi?id=124535
1247
1248         Reviewed by Dan Bernstein.
1249
1250         * UIProcess/PageLoadState.cpp:
1251         (WebKit::PageLoadState::didStartProvisionalLoad):
1252         (WebKit::PageLoadState::didReceiveServerRedirectForProvisionalLoad):
1253         (WebKit::PageLoadState::didCommitLoad):
1254         * UIProcess/PageLoadState.h:
1255         * UIProcess/WebPageProxy.cpp:
1256         (WebKit::WebPageProxy::didReceiveServerRedirectForProvisionalLoadForFrame):
1257         (WebKit::WebPageProxy::didFailProvisionalLoadForFrame):
1258         (WebKit::WebPageProxy::didCommitLoadForFrame):
1259
1260 2013-11-18  Anders Carlsson  <andersca@apple.com>
1261
1262         Move m_pendingAPIRequestURL to PageLoadState
1263         https://bugs.webkit.org/show_bug.cgi?id=124531
1264
1265         Reviewed by Tim Horton.
1266
1267         * UIProcess/API/C/WKPage.cpp:
1268         (WKPageCopyPendingAPIRequestURL):
1269         * UIProcess/PageLoadState.cpp:
1270         (WebKit::PageLoadState::pendingAPIRequestURL):
1271         (WebKit::PageLoadState::setPendingAPIRequestURL):
1272         (WebKit::PageLoadState::clearPendingAPIRequestURL):
1273         * UIProcess/PageLoadState.h:
1274         * UIProcess/WebPageProxy.cpp:
1275         (WebKit::WebPageProxy::loadURL):
1276         (WebKit::WebPageProxy::loadURLRequest):
1277         (WebKit::WebPageProxy::reload):
1278         (WebKit::WebPageProxy::goForward):
1279         (WebKit::WebPageProxy::goBack):
1280         (WebKit::WebPageProxy::goToBackForwardItem):
1281         (WebKit::WebPageProxy::activeURL):
1282         (WebKit::WebPageProxy::receivedPolicyDecision):
1283         (WebKit::WebPageProxy::estimatedProgress):
1284         (WebKit::WebPageProxy::didStartProvisionalLoadForFrame):
1285         (WebKit::WebPageProxy::didSameDocumentNavigationForFrame):
1286         (WebKit::WebPageProxy::decidePolicyForNavigationAction):
1287         * UIProcess/WebPageProxy.h:
1288         (WebKit::WebPageProxy::pageLoadState):
1289         * UIProcess/cf/WebPageProxyCF.cpp:
1290         (WebKit::WebPageProxy::sessionStateData):
1291         (WebKit::WebPageProxy::restoreFromSessionStateData):
1292
1293 2013-11-18  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
1294
1295         Unreviewed EFL build fix after r159444
1296
1297         * CMakeLists.txt: Added PageLoadState.cpp.
1298
1299 2013-11-18  Anders Carlsson  <andersca@apple.com>
1300
1301         Add PageLoadState class
1302         https://bugs.webkit.org/show_bug.cgi?id=124528
1303
1304         Reviewed by Dan Bernstein.
1305
1306         Trying to use the main frame load state as the page load state was a bad idea,
1307         add a new PageLoadState and use it instead. Ultimately the long term plan is to
1308         transition away from FrameLoadState entirely.
1309
1310         * UIProcess/PageLoadState.cpp: Added.
1311         (WebKit::PageLoadState::PageLoadState):
1312         (WebKit::PageLoadState::~PageLoadState):
1313         (WebKit::PageLoadState::didStartProvisionalLoad):
1314         * UIProcess/PageLoadState.h: Added.
1315         * UIProcess/WebPageProxy.cpp:
1316         (WebKit::WebPageProxy::didStartProvisionalLoadForFrame):
1317         * UIProcess/WebPageProxy.h:
1318         * WebKit2.xcodeproj/project.pbxproj:
1319
1320 2013-11-14  David Farler  <dfarler@apple.com>
1321
1322         [ASAN] WebKit2: Remove calls to dead DownloadAuthenticationClient code
1323         https://bugs.webkit.org/show_bug.cgi?id=124367
1324
1325         Reviewed by Alexey Proskuryakov.
1326
1327         * Shared/Downloads/DownloadAuthenticationClient.cpp:
1328         (WebKit::DownloadAuthenticationClient::receivedCredential):
1329         (WebKit::DownloadAuthenticationClient::receivedRequestToContinueWithoutCredential):
1330         (WebKit::DownloadAuthenticationClient::receivedCancellation):
1331         Remove calls to nowhere:
1332         WebKit::Download::cancelAuthenticationChallenge(WebCore::AuthenticationChallenge const&)
1333         WebKit::Download::continueWithoutCredential(WebCore::AuthenticationChallenge const&)
1334         WebKit::Download::useCredential(WebCore::AuthenticationChallenge const&, WebCore::Credential const&)
1335
1336 2013-11-18  Anders Carlsson  <andersca@apple.com>
1337
1338         Use a strong enum for frame load states
1339         https://bugs.webkit.org/show_bug.cgi?id=124524
1340
1341         Reviewed by Dan Bernstein.
1342
1343         * UIProcess/API/C/WKFrame.cpp:
1344         (WKFrameGetFrameLoadState):
1345         * UIProcess/FrameLoadState.cpp:
1346         (WebKit::FrameLoadState::FrameLoadState):
1347         (WebKit::FrameLoadState::didStartProvisionalLoad):
1348         (WebKit::FrameLoadState::didReceiveServerRedirectForProvisionalLoad):
1349         (WebKit::FrameLoadState::didFailProvisionalLoad):
1350         (WebKit::FrameLoadState::didCommitLoad):
1351         (WebKit::FrameLoadState::didFinishLoad):
1352         (WebKit::FrameLoadState::didFailLoad):
1353         * UIProcess/FrameLoadState.h:
1354         * UIProcess/WebFrameProxy.h:
1355         * UIProcess/WebPageProxy.cpp:
1356         (WebKit::WebPageProxy::WebPageProxy):
1357         (WebKit::WebPageProxy::activeURL):
1358         (WebKit::WebPageProxy::resetStateAfterProcessExited):
1359         * UIProcess/WebPageProxy.h:
1360         (WebKit::WebPageProxy::loadStateAtProcessExit):
1361
1362 2013-11-18  Anders Carlsson  <andersca@apple.com>
1363
1364         Remove unnecessary COMPILER(CLANG) #ifdefs in Mac-only code
1365         https://bugs.webkit.org/show_bug.cgi?id=124523
1366
1367         Reviewed by Dan Bernstein.
1368
1369         * PluginProcess/mac/PluginProcessMac.mm:
1370         (WebKit::beginModal):
1371         * PluginProcess/mac/PluginProcessShim.mm:
1372         * Shared/Plugins/Netscape/NetscapePluginModule.cpp:
1373         (WebKit::NetscapePluginModule::tryLoad):
1374         * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
1375         * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
1376         (WebKit::PluginProcessProxy::getPluginProcessSerialNumber):
1377         (WebKit::PluginProcessProxy::makePluginProcessTheFrontProcess):
1378         (WebKit::PluginProcessProxy::makeUIProcessTheFrontProcess):
1379         (WebKit::PluginProcessProxy::exitFullscreen):
1380
1381 2013-11-18  Ryuan Choi  <ryuan.choi@samsung.com>
1382
1383         [EFL] Add EWebKitConfig.cmake and EWebKit2Config.cmake
1384         https://bugs.webkit.org/show_bug.cgi?id=124478
1385
1386         Reviewed by Gyuyoung Kim.
1387
1388         EWebKit is built using CMake but applications use *.pc to use it.
1389         This patch provides EWebKitConfig.cmake and EWebKit2Config.cmake
1390         for applications which use EWebkit and is compiled by CMake.
1391
1392         * PlatformEfl.cmake:
1393         Configure and install EWebKit2Config.cmake and EWebKit2ConfigVersion.cmake
1394         * efl/EWebKit2Config.cmake.in: Added.
1395         * efl/EWebKit2ConfigVersion.cmake.in: Added.
1396
1397 2013-11-18  Eunmi Lee  <eunmi15.lee@samsung.com>
1398
1399         [EFL][WK2] Process single tap using mouse move, down and up event.
1400         https://bugs.webkit.org/show_bug.cgi?id=106864
1401
1402         Reviewed by Christophe Dumez.
1403
1404         Send mouse events to the web process to perform the clicking when
1405         single tap gesture is recognized.
1406         Additionally, add WKViewSendMouseDownEvent(), WKViewSendMouseUpEvent()
1407         and WKViewSendMouseMoveEvent() to avoid using WK2 internals in the EFL
1408         API implementation.
1409
1410         * UIProcess/API/C/efl/WKViewEfl.cpp:
1411         (WKViewSendMouseDownEvent):
1412         (WKViewSendMouseUpEvent):
1413         (WKViewSendMouseMoveEvent):
1414         * UIProcess/API/C/efl/WKViewEfl.h:
1415         * UIProcess/API/efl/GestureRecognizer.cpp:
1416         (WebKit::GestureHandler::handleSingleTap):
1417         * UIProcess/efl/WebViewEfl.cpp:
1418         (WebKit::WebViewEfl::sendMouseEvent):
1419         * UIProcess/efl/WebViewEfl.h:
1420
1421 2013-11-17  Dan Bernstein  <mitz@apple.com>
1422
1423         Try to fix the EFL build.
1424
1425         * UIProcess/efl/PagePolicyClientEfl.cpp:
1426         (WebKit::PagePolicyClientEfl::decidePolicyForResponseCallback): No need to call
1427         WKFrameCanShowMIMEType now that this information is passed in as a parameter.
1428
1429 2013-11-16  Dan Bernstein  <mitz@apple.com>
1430
1431         No way for policy client to determine if a the response’s MIME type can be shown
1432         https://bugs.webkit.org/show_bug.cgi?id=124445
1433
1434         Reviewed by Sam Weinig.
1435
1436         * Platform/CoreIPC/HandleMessage.h:
1437         (CoreIPC::callMemberFunction): Added a fifth message parameter to this template.
1438
1439         * UIProcess/API/C/WKPage.h: Added a canShowMIMEType parameter to
1440         WKPageDecidePolicyForResponseCallback and deprecated the old version.
1441
1442         * UIProcess/API/mac/WKBrowsingContextController.mm:
1443         (setUpPagePolicyClient): Include whether the response MIME type can be shown under a new key
1444         in the action information dictionary.
1445         * UIProcess/API/mac/WKBrowsingContextPolicyDelegate.h: Declared
1446         WKActionCanShowMIMETypeKey.
1447
1448         * UIProcess/WebInspectorProxy.cpp:
1449         (WebKit::WebInspectorProxy::createInspectorPage): Updated for changes in the policy client.
1450
1451         * UIProcess/WebPageProxy.cpp:
1452         (WebKit::WebPageProxy::decidePolicyForResponse): Added canShowMIMEType parameter, which is
1453         passed to the policy client.
1454         (WebKit::WebPageProxy::decidePolicyForResponseSync): Added canShowMIMEType parameter, which
1455         is passed to the above function.
1456         * UIProcess/WebPageProxy.h:
1457         * UIProcess/WebPageProxy.messages.in: Added canShowMIMEType paramter to
1458         DecidePolicyForResponseSync.
1459
1460         * UIProcess/WebPolicyClient.cpp:
1461         (WebKit::WebPolicyClient::decidePolicyForResponse): Added canShowMIMEType parameter, which
1462         is passed to the client callback.
1463         * UIProcess/WebPolicyClient.h:
1464
1465         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
1466         (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse): Determine if the response
1467         MIME type can be shown and pass this information along in the message to the UI process.
1468
1469 2013-11-15  Ryuan Choi  <ryuan.choi@samsung.com>
1470
1471         Unreviewed EFL build fix after r159358.
1472
1473         * UIProcess/efl/PagePolicyClientEfl.cpp:
1474         (WebKit::PagePolicyClientEfl::decidePolicyForNavigationAction):
1475         * UIProcess/efl/PagePolicyClientEfl.h:
1476
1477 2013-11-15  Brady Eidson  <beidson@apple.com>
1478
1479         Let IDBDatabaseBackend create IDBTransactionBackend's directly
1480         https://bugs.webkit.org/show_bug.cgi?id=124438
1481
1482         Reviewed by Beth Dakin.
1483
1484         Remove maybeCreateTransactionBackend():
1485         * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp:
1486         * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h:
1487
1488 2013-11-15  Brady Eidson  <beidson@apple.com>
1489
1490         Remove last vestiges of IDBBackingStore* from IDBTransactionBackend.
1491         https://bugs.webkit.org/show_bug.cgi?id=124436
1492
1493         Reviewed by Tim Horton.
1494
1495         * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp: Removed createCursorBackend.
1496         * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h:
1497
1498 2013-11-15  Dan Bernstein  <mitz@apple.com>
1499
1500         Give the policy client the originating frame of a navigation action
1501         https://bugs.webkit.org/show_bug.cgi?id=124431
1502
1503         Reviewed by Anders Carlsson.
1504
1505         * Platform/CoreIPC/HandleMessage.h:
1506         (CoreIPC::callMemberFunction): Added a seventh message parameter to this template.
1507
1508         * Shared/APIClientTraits.cpp: Defined API traits for WKPagePolicyClient, which now has two
1509         versions.
1510         * Shared/APIClientTraits.h: Declared APIClientTraits<WKPagePolicyClient>.
1511
1512         * UIProcess/API/C/WKPage.h: Added an originatingFrame parameter to
1513         WKPageDecidePolicyForNavigationActionCallback and deprecated the old version. Bumped the
1514         policy client version to 1.
1515
1516         * UIProcess/API/mac/WKBrowsingContextController.mm:
1517         (setUpPagePolicyClient): Include the originating frame’s URL under a new key in the
1518         action information dictionary.
1519         * UIProcess/API/mac/WKBrowsingContextPolicyDelegate.h: Declared
1520         WKActionOriginatingFrameURLKey.
1521
1522         * UIProcess/WebInspectorProxy.cpp:
1523         (WebKit::decidePolicyForNavigationAction): Added originatingFrame parameter.
1524         (WebKit::WebInspectorProxy::createInspectorPage): Updated to the new version of the policy
1525         client interface.
1526
1527         * UIProcess/WebPageProxy.cpp:
1528         (WebKit::WebPageProxy::decidePolicyForNavigationAction): Added originatingFrameID parameter
1529         and passing the originating frame to the policy client.
1530         * UIProcess/WebPageProxy.h:
1531         * UIProcess/WebPageProxy.messages.in: Added originatingFrameID paremeter to
1532         DecidePolicyForNavigationAction.
1533
1534         * UIProcess/WebPolicyClient.cpp:
1535         (WebKit::WebPolicyClient::decidePolicyForNavigationAction): Added originatingFrame
1536         parameter, which is passed to the client callback.
1537         * UIProcess/WebPolicyClient.h:
1538
1539         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
1540         (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): Determine the
1541         originating frame for link activation and form submission actions and send its ID in the
1542         DecidePolicyForNavigationAction message.
1543
1544 2013-11-15  Brady Eidson  <beidson@apple.com>
1545
1546         Move execution of IDBTransactionBackendOperations to the IDBServerConnection
1547         https://bugs.webkit.org/show_bug.cgi?id=124385
1548
1549         Reviewed by Tim Horton.
1550
1551         * WebProcess/Databases/IndexedDB/WebProcessIDBDatabaseBackend.h:
1552
1553 2013-11-15  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
1554
1555         Fixed incorrectly placed NETWORK_PROCESS guard in NetworkConnectionToWebProcess.cpp
1556         https://bugs.webkit.org/show_bug.cgi?id=124398
1557
1558         Reviewed by Brady Eidson.
1559
1560         * NetworkProcess/NetworkConnectionToWebProcess.cpp:
1561
1562 2013-11-15  Tibor Meszaros  <mtibor@inf.u-szeged.hu>
1563
1564         Cleanup the build from unused parameters in WebKit2
1565         https://bugs.webkit.org/show_bug.cgi?id=124201
1566
1567         Reviewed by Darin Adler.
1568
1569         * Shared/Plugins/Netscape/PluginInformation.cpp:
1570         (WebKit::getPluginModuleInformation):
1571         * UIProcess/API/C/WKBatteryManager.cpp:
1572         (WKBatteryManagerSetProvider):
1573         (WKBatteryManagerProviderDidChangeBatteryStatus):
1574         (WKBatteryManagerProviderUpdateBatteryStatus):
1575         * UIProcess/API/C/WKBatteryStatus.cpp:
1576         (WKBatteryStatusCreate):
1577         * UIProcess/API/C/WKColorPickerResultListener.cpp:
1578         (WKColorPickerResultListenerSetColor):
1579         * UIProcess/API/C/WKContext.cpp:
1580         (WKContextGetBatteryManager):
1581         (WKContextGetDatabaseManager):
1582         (WKContextGetNetworkInfoManager):
1583         * UIProcess/API/C/WKDatabaseManager.cpp:
1584         (WKDatabaseManagerSetClient):
1585         (WKDatabaseManagerGetDatabasesByOrigin):
1586         (WKDatabaseManagerGetDatabaseOrigins):
1587         (WKDatabaseManagerDeleteDatabasesWithNameForOrigin):
1588         (WKDatabaseManagerDeleteDatabasesForOrigin):
1589         (WKDatabaseManagerDeleteAllDatabases):
1590         (WKDatabaseManagerSetQuotaForOrigin):
1591         * UIProcess/API/C/WKNetworkInfo.cpp:
1592         (WKNetworkInfoCreate):
1593         * UIProcess/API/C/WKNetworkInfoManager.cpp:
1594         (WKNetworkInfoManagerSetProvider):
1595         (WKNetworkInfoManagerProviderDidChangeNetworkInformation):
1596         * UIProcess/API/C/WKOpenPanelParameters.cpp:
1597         (WKOpenPanelParametersCopyCapture):
1598         * UIProcess/API/C/WKVibration.cpp:
1599         (WKVibrationSetProvider):
1600         * UIProcess/API/efl/EwkView.cpp:
1601         (EwkView::createNewPage):
1602         * UIProcess/WebPageProxy.cpp:
1603         (WebKit::WebPageProxy::setVisibilityState):
1604         (WebKit::WebPageProxy::unavailablePluginButtonClicked):
1605         * UIProcess/efl/ViewClientEfl.cpp:
1606         (WebKit::ViewClientEfl::didChangeContentsPosition):
1607         (WebKit::ViewClientEfl::didRenderFrame):
1608         (WebKit::ViewClientEfl::didChangeViewportAttributes):
1609         * WebProcess/InjectedBundle/InjectedBundle.cpp:
1610         (WebKit::InjectedBundle::setDatabaseQuota):
1611         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
1612         (WebKit::WebChromeClient::createWindow):
1613
1614 2013-11-14  Dan Bernstein  <mitz@apple.com>
1615
1616         [Cocoa] WKBrowsingContextController's policy client implementation over-releases WKURLRequests and WKURLResponses
1617         https://bugs.webkit.org/show_bug.cgi?id=124386
1618
1619         Reviewed by Sam Weinig.
1620
1621         * UIProcess/API/mac/WKBrowsingContextController.mm:
1622         (setUpPagePolicyClient): Changed to release the Cocoa objects we copy out of the WK objects
1623         passed into the client callbacks, but not the WK objects themselves, which are not owned by
1624         the callbacks.
1625
1626 2013-11-14  Andy Estes  <aestes@apple.com>
1627
1628         Replace calls to deprecated CFPropertyList functions in WebKit2
1629         https://bugs.webkit.org/show_bug.cgi?id=124384
1630
1631         Reviewed by Anders Carlsson.
1632
1633         * UIProcess/cf/WebPageProxyCF.cpp:
1634         (WebKit::WebPageProxy::sessionStateData): Replaced CFPropertyListWriteToStream() with CFPropertyListWrite().
1635         (WebKit::WebPageProxy::restoreFromSessionStateData): Replaced CFPropertyListCreateFromXMLData() with CFPropertyListCreateWithData().
1636
1637 2013-11-14  Gergo Balogh  <geryxyz@inf.u-szeged.hu>
1638
1639         generate-message-receiver.py can't handle nested #ifs
1640         https://bugs.webkit.org/show_bug.cgi?id=121877
1641
1642         Reviewed by Darin Adler.
1643
1644         parser.py was modifieded to collect and combine conditions of nested #ifs.
1645         messages_unittest.py extended to check these modifications.
1646
1647         * Scripts/webkit2/messages_unittest.py:
1648         (LoadSomething):
1649         (std):
1650         (AddEvent):
1651         (LoadSomethingElse):
1652         * Scripts/webkit2/parser.py:
1653         (combine_condition):
1654         (bracket_if_needed):
1655         (parse):
1656
1657 2013-11-14  Dan Bernstein  <mitz@apple.com>
1658
1659         [Cocoa] WKAction keys are not exported
1660         https://bugs.webkit.org/show_bug.cgi?id=124378
1661
1662         Reviewed by Anders Carlsson.
1663
1664         * UIProcess/API/mac/WKBrowsingContextController.mm: Made the keys constant pointers.
1665         * UIProcess/API/mac/WKBrowsingContextPolicyDelegate.h: Exported the keys.
1666
1667 2013-11-14  Ryuan Choi  <ryuan.choi@samsung.com>
1668
1669         [WK2] Move Coordinated Graphics related code out of DrawingAreaProxy
1670         https://bugs.webkit.org/show_bug.cgi?id=124328
1671
1672         Reviewed by Andreas Kling.
1673
1674         Refactored for DrawingAreaProxy not to include Coordinated Graphics specific code.
1675
1676         * PlatformEfl.cmake:
1677         * UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp: Moved from DrawingAreaProxy.cpp.
1678         (WebKit::CoordinatedDrawingAreaProxy::updateViewport):
1679         (WebKit::CoordinatedDrawingAreaProxy::contentsRect):
1680         * UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h: Ditto.
1681         (WebKit::CoordinatedDrawingAreaProxy::coordinatedLayerTreeHostProxy): Refactored to return reference instead of pointer.
1682         (WebKit::CoordinatedDrawingAreaProxy::viewportVisibleRect):
1683         (WebKit::CoordinatedDrawingAreaProxy::page):
1684         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
1685         (WebKit::CoordinatedLayerTreeHostProxy::CoordinatedLayerTreeHostProxy):
1686         * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
1687         * UIProcess/CoordinatedGraphics/PageViewportController.cpp:
1688         Renamed from Source/WebKit2/UIProcess/PageViewportController.cpp because it depends on Coordinated Graphics.
1689         (WebKit::fuzzyCompare):
1690         (WebKit::PageViewportController::PageViewportController):
1691         (WebKit::PageViewportController::innerBoundedViewportScale):
1692         (WebKit::PageViewportController::outerBoundedViewportScale):
1693         (WebKit::PageViewportController::deviceScaleFactor):
1694         (WebKit::isIntegral):
1695         (WebKit::PageViewportController::pixelAlignedFloatPoint):
1696         (WebKit::PageViewportController::boundContentsPositionAtScale):
1697         (WebKit::PageViewportController::boundContentsPosition):
1698         (WebKit::PageViewportController::didCommitLoad):
1699         (WebKit::PageViewportController::didChangeContentsSize):
1700         (WebKit::PageViewportController::didRenderFrame):
1701         (WebKit::PageViewportController::pageTransitionViewportReady):
1702         (WebKit::PageViewportController::pageDidRequestScroll):
1703         (WebKit::PageViewportController::didChangeViewportSize):
1704         (WebKit::PageViewportController::didChangeContentsVisibility):
1705         (WebKit::PageViewportController::syncVisibleContents): Added cast to access CoordinatedDrawingAreaProxy method.
1706         (WebKit::PageViewportController::didChangeViewportAttributes):
1707         (WebKit::PageViewportController::visibleContentsSize):
1708         (WebKit::PageViewportController::applyScaleAfterRenderingContents):
1709         (WebKit::PageViewportController::applyPositionAfterRenderingContents):
1710         (WebKit::PageViewportController::updateMinimumScaleToFit):
1711         * UIProcess/CoordinatedGraphics/PageViewportController.h:
1712         Renamed from Source/WebKit2/UIProcess/PageViewportController.cpp because it depends on Coordinated Graphics.
1713         (WebKit::PageViewportController::~PageViewportController):
1714         (WebKit::PageViewportController::hadUserInteraction):
1715         (WebKit::PageViewportController::allowsUserScaling):
1716         (WebKit::PageViewportController::contentsLayoutSize):
1717         (WebKit::PageViewportController::minimumScale):
1718         (WebKit::PageViewportController::maximumScale):
1719         (WebKit::PageViewportController::currentScale):
1720         (WebKit::PageViewportController::setHadUserInteraction):
1721         * UIProcess/CoordinatedGraphics/WebView.cpp: Added some casts to access CoordinatedDrawingAreaProxy methods.
1722         (WebKit::WebView::coordinatedGraphicsScene): Simplified code using reference.
1723         (WebKit::WebView::updateViewportSize):
1724         * UIProcess/DrawingAreaProxy.cpp: Removed Coordinated Graphics macro and related codes.
1725         * UIProcess/DrawingAreaProxy.h: Ditto.
1726
1727 2013-11-13  Nick Diego Yamane  <nick.yamane@openbossa.org>
1728
1729         Rename some ImmutableArray leftovers
1730         https://bugs.webkit.org/show_bug.cgi?id=124320
1731
1732         Reviewed by Anders Carlsson.
1733
1734         ImmutableArray has been renamed to API::Array in r159234.
1735
1736         * Shared/API/c/WKContextMenuItem.cpp:
1737         * Shared/WebContextMenuItem.cpp:
1738         * Shared/WebContextMenuItem.h:
1739         * UIProcess/API/C/WKBackForwardListRef.cpp:
1740         * UIProcess/API/Cocoa/WKBackForwardList.mm:
1741         * UIProcess/API/gtk/WebKitBackForwardList.cpp:
1742         * UIProcess/API/gtk/WebKitWebViewGroup.cpp:
1743         * UIProcess/WebBackForwardList.cpp:
1744         * UIProcess/WebBackForwardList.h:
1745
1746 2013-11-13  Dan Bernstein  <mitz@apple.com>
1747
1748         REGRESSION (r159263): caused 50+ crashes on all mac webkit2 bots
1749         https://bugs.webkit.org/show_bug.cgi?id=124327
1750
1751         Reviewed by Tim Horton.
1752
1753         * Shared/Cocoa/APIObject.mm:
1754         (API::Object::newObject): Allocate extra memory for the WebError inside the WKNSError.
1755
1756 2013-11-13  Dan Bernstein  <mitz@apple.com>
1757
1758         [Cocoa] Add WKNSError
1759         https://bugs.webkit.org/show_bug.cgi?id=124295
1760
1761         Reviewed by Anders Carlsson.
1762
1763         * Shared/Cocoa/APIObject.mm:
1764         (API::Object::newObject): Allocate a WKNSError if the object is a WebError.
1765         * Shared/Cocoa/WKNSError.h: Added.
1766         (WebKit::wrapper): Added. Returns a WebError’s wrapper as an NSError.
1767         * Shared/Cocoa/WKNSError.mm: Added.
1768         (-[WKNSError _web_createTarget]): Override this WKObject method to return a copy of the
1769         underlying CFError.
1770         (-[WKNSError copyWithZone:]): Retains self.
1771         * WebKit2.xcodeproj/project.pbxproj: Added new files.
1772
1773 2013-11-13  Simon Fraser  <simon.fraser@apple.com>
1774
1775         Tweak the property syntax after https://bugs.webkit.org/show_bug.cgi?id=124317
1776
1777         Reviewed by Dan Bernstein.
1778
1779         * UIProcess/API/mac/WKViewPrivate.h:
1780
1781 2013-11-13  Anders Carlsson  <andersca@apple.com>
1782
1783         Move more state tracking to FrameLoadState
1784         https://bugs.webkit.org/show_bug.cgi?id=124316
1785
1786         Reviewed by Simon Fraser.
1787
1788         * UIProcess/FrameLoadState.cpp:
1789         (WebKit::FrameLoadState::didStartProvisionalLoad):
1790         (WebKit::FrameLoadState::didReceiveServerRedirectForProvisionalLoad):
1791         (WebKit::FrameLoadState::didFailProvisionalLoad):
1792         (WebKit::FrameLoadState::didCommitLoad):
1793         (WebKit::FrameLoadState::didFinishLoad):
1794         (WebKit::FrameLoadState::didFailLoad):
1795         (WebKit::FrameLoadState::didSameDocumentNotification):
1796         (WebKit::FrameLoadState::setUnreachableURL):
1797         * UIProcess/FrameLoadState.h:
1798         * UIProcess/WebFrameProxy.cpp:
1799         (WebKit::WebFrameProxy::didCommitLoad):
1800         (WebKit::WebFrameProxy::didFinishLoad):
1801         (WebKit::WebFrameProxy::didFailLoad):
1802         (WebKit::WebFrameProxy::didSameDocumentNavigation):
1803         (WebKit::WebFrameProxy::setUnreachableURL):
1804
1805 2013-11-13  Simon Fraser  <simon.fraser@apple.com>
1806
1807         Expose a private flag on WKView to indicate whether it's using a remote layer tree drawing area
1808         https://bugs.webkit.org/show_bug.cgi?id=124317
1809
1810         Reviewed by Anders Carlsson.
1811         
1812         Expose isUsingUISideCompositing on WKView in the private header,
1813         which returns YES if the view is using a DrawingAreaTypeRemoteLayerTree.
1814
1815         * UIProcess/API/mac/WKView.mm:
1816         (-[WKView isUsingUISideCompositing]):
1817         * UIProcess/API/mac/WKViewPrivate.h:
1818
1819 2013-11-13  Csaba Osztrogonác  <ossy@webkit.org>
1820
1821         Maybe the last attempt to fix the GTK build.
1822
1823         * UIProcess/API/gtk/WebKitBackForwardListPrivate.h:
1824         * UIProcess/API/gtk/WebKitContextMenuPrivate.h:
1825
1826 2013-11-13  Csaba Osztrogonác  <ossy@webkit.org>
1827
1828         One more attempt to fix the GTK build.
1829
1830         * UIProcess/API/gtk/WebKitWebViewPrivate.h:
1831
1832 2013-11-13  Anders Carlsson  <andersca@apple.com>
1833
1834         Plug-in processes hang around for 10 sec after Safari quits
1835         https://bugs.webkit.org/show_bug.cgi?id=124314
1836         <rdar://problem/15460613>
1837
1838         Reviewed by Simon Fraser.
1839
1840         Call stopRunLoop instead of instead of RunLoop::stop().
1841
1842         * PluginProcess/PluginProcess.cpp:
1843         (WebKit::PluginProcess::didClose):
1844
1845 2013-11-13  Csaba Osztrogonác  <ossy@webkit.org>
1846
1847         URTBF after r159234.
1848
1849         * CMakeLists.txt:
1850         * GNUmakefile.list.am:
1851         * Shared/efl/WebEventFactory.cpp:
1852         (WebKit::WebEventFactory::createWebTouchEvent):
1853         * UIProcess/API/C/WKGrammarDetail.cpp:
1854         * UIProcess/API/C/efl/WKEventEfl.cpp:
1855         * UIProcess/API/gtk/WebKitBackForwardList.cpp:
1856         (webkitBackForwardListCreateList):
1857         (webkitBackForwardListChanged):
1858         (webkit_back_forward_list_get_back_list_with_limit):
1859         (webkit_back_forward_list_get_forward_list_with_limit):
1860         * UIProcess/API/gtk/WebKitBackForwardListPrivate.h:
1861         * UIProcess/API/gtk/WebKitContextMenu.cpp:
1862         (webkitContextMenuCreate):
1863         * UIProcess/API/gtk/WebKitContextMenuItem.cpp:
1864         (webkitContextMenuItemCreate):
1865         * UIProcess/API/gtk/WebKitContextMenuPrivate.h:
1866         * UIProcess/API/gtk/WebKitCookieManager.cpp:
1867         (webkitCookieManagerGetDomainsWithCookiesCallback):
1868         * UIProcess/API/gtk/WebKitFileChooserRequest.cpp:
1869         (webkit_file_chooser_request_get_mime_types):
1870         (webkit_file_chooser_request_get_mime_types_filter):
1871         (webkit_file_chooser_request_select_files):
1872         (webkit_file_chooser_request_get_selected_files):
1873         * UIProcess/API/gtk/WebKitWebView.cpp:
1874         (webkitWebViewPopulateContextMenu):
1875         * UIProcess/API/gtk/WebKitWebViewGroup.cpp:
1876         (toImmutableArray):
1877         (webkit_web_view_group_add_user_style_sheet):
1878         * UIProcess/API/gtk/WebKitWebViewPrivate.h:
1879         * UIProcess/WebGrammarDetail.cpp:
1880         (WebKit::WebGrammarDetail::create):
1881         (WebKit::WebGrammarDetail::WebGrammarDetail):
1882         (WebKit::WebGrammarDetail::guesses):
1883         * UIProcess/WebGrammarDetail.h:
1884         * UIProcess/WebTextCheckerClient.cpp:
1885         (WebKit::WebTextCheckerClient::checkGrammarOfString):
1886         (WebKit::WebTextCheckerClient::guessesForWord):
1887         * UIProcess/efl/WebUIPopupMenuClient.cpp:
1888         (WebUIPopupMenuClient::showPopupMenu):
1889
1890 2013-11-13  Anders Carlsson  <andersca@apple.com>
1891
1892         Fix build.
1893
1894         Not sure why these weren't added.
1895
1896         * Shared/APIArray.cpp: Added.
1897         * Shared/APIArray.h: Added.
1898
1899 2013-11-13  Anders Carlsson  <andersca@apple.com>
1900
1901         Rename ImmutableArray to API::Array
1902         https://bugs.webkit.org/show_bug.cgi?id=124307
1903
1904         Reviewed by Andreas Kling.
1905
1906         * Shared/API/Cocoa/WKRemoteObjectCoder.mm:
1907         (ensureObjectStream):
1908         (-[WKRemoteObjectDecoder initWithInterface:rootObjectDictionary:WebKit::]):
1909         * Shared/API/c/WKArray.cpp:
1910         (WKArrayGetTypeID):
1911         (WKArrayCreate):
1912         (WKArrayCreateAdoptingValues):
1913         * Shared/API/c/WKContextMenuItem.cpp:
1914         * Shared/API/c/WKDictionary.cpp:
1915         (WKDictionaryCopyKeys):
1916         * Shared/API/c/WKMutableArray.cpp:
1917         (WKMutableArrayCreate):
1918         * Shared/API/c/WKRenderObject.cpp:
1919         (WKRenderObjectGetChildren):
1920         * Shared/API/c/WKSharedAPICast.h:
1921         (WebKit::toImpl):
1922         * Shared/API/c/mac/WKWebArchive.cpp:
1923         (WKWebArchiveCopySubresources):
1924         (WKWebArchiveCopySubframeArchives):
1925         * Shared/APIArray.cpp: Renamed from Source/WebKit2/Shared/ImmutableArray.cpp.
1926         (API::Array::create):
1927         (API::Array::createStringArray):
1928         (API::Array::Array):
1929         (API::Array::~Array):
1930         * Shared/APIArray.h: Renamed from Source/WebKit2/Shared/ImmutableArray.h.
1931         * Shared/Cocoa/WKNSArray.h:
1932         (wrapper):
1933         * Shared/Cocoa/WKNSArray.mm:
1934         (-[WKNSArray dealloc]):
1935         (-[WKNSArray count]):
1936         (-[WKNSArray objectAtIndex:]):
1937         (-[WKNSArray API::]):
1938         * Shared/ImmutableDictionary.cpp:
1939         (WebKit::ImmutableDictionary::keys):
1940         * Shared/ImmutableDictionary.h:
1941         * Shared/SecurityOriginData.cpp:
1942         (WebKit::performAPICallbackWithSecurityOriginDataVector):
1943         * Shared/UserMessageCoders.h:
1944         (WebKit::UserMessageEncoder::baseEncode):
1945         (WebKit::UserMessageDecoder::baseDecode):
1946         * Shared/WebArchive.cpp:
1947         (WebKit::WebArchive::create):
1948         (WebKit::WebArchive::WebArchive):
1949         (WebKit::WebArchive::subresources):
1950         (WebKit::WebArchive::subframeArchives):
1951         * Shared/WebArchive.h:
1952         * Shared/WebContextMenuItem.cpp:
1953         (WebKit::WebContextMenuItem::create):
1954         (WebKit::WebContextMenuItem::submenuItemsAsImmutableArray):
1955         * Shared/WebContextMenuItem.h:
1956         * Shared/WebOpenPanelParameters.cpp:
1957         (WebKit::WebOpenPanelParameters::acceptMIMETypes):
1958         (WebKit::WebOpenPanelParameters::selectedFileNames):
1959         * Shared/WebOpenPanelParameters.h:
1960         * Shared/WebRenderLayer.cpp:
1961         (WebKit::WebRenderLayer::create):
1962         (WebKit::WebRenderLayer::createArrayFromLayerList):
1963         (WebKit::WebRenderLayer::WebRenderLayer):
1964         * Shared/WebRenderLayer.h:
1965         (WebKit::WebRenderLayer::negativeZOrderList):
1966         (WebKit::WebRenderLayer::normalFlowList):
1967         (WebKit::WebRenderLayer::positiveZOrderList):
1968         * Shared/WebRenderObject.cpp:
1969         (WebKit::WebRenderObject::create):
1970         (WebKit::WebRenderObject::WebRenderObject):
1971         (WebKit::WebRenderObject::~WebRenderObject):
1972         * Shared/WebRenderObject.h:
1973         (WebKit::WebRenderObject::children):
1974         (WebKit::WebRenderObject::elementClassNames):
1975         * UIProcess/API/C/WKBackForwardListRef.cpp:
1976         * UIProcess/API/C/WKOpenPanelParameters.cpp:
1977         * UIProcess/API/C/WKPage.cpp:
1978         * UIProcess/API/C/mac/WKContextPrivateMac.mm:
1979         (WKContextGetInfoForInstalledPlugIns):
1980         * UIProcess/API/Cocoa/WKBackForwardList.mm:
1981         (-[WKBackForwardList backListWithLimit:]):
1982         (-[WKBackForwardList forwardListWithLimit:]):
1983         * UIProcess/API/mac/WKBrowsingContextGroup.mm:
1984         (createWKArray):
1985         * UIProcess/Notifications/WebNotificationManagerProxy.cpp:
1986         (WebKit::WebNotificationManagerProxy::populateCopyOfNotificationPermissions):
1987         (WebKit::WebNotificationManagerProxy::providerDidCloseNotifications):
1988         (WebKit::WebNotificationManagerProxy::providerDidRemoveNotificationPolicies):
1989         * UIProcess/Notifications/WebNotificationManagerProxy.h:
1990         * UIProcess/Notifications/WebNotificationProvider.cpp:
1991         (WebKit::WebNotificationProvider::clearNotifications):
1992         * UIProcess/Plugins/PlugInAutoStartProvider.cpp:
1993         (WebKit::PlugInAutoStartProvider::setAutoStartOriginsArray):
1994         * UIProcess/Plugins/PlugInAutoStartProvider.h:
1995         * UIProcess/Plugins/WebPluginSiteDataManager.cpp:
1996         (WebKit::WebPluginSiteDataManager::didGetSitesWithData):
1997         (WebKit::WebPluginSiteDataManager::clearSiteData):
1998         * UIProcess/Plugins/WebPluginSiteDataManager.h:
1999         * UIProcess/StatisticsRequest.cpp:
2000         (WebKit::StatisticsRequest::completedRequest):
2001         * UIProcess/WebApplicationCacheManagerProxy.h:
2002         * UIProcess/WebBackForwardList.cpp:
2003         (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
2004         (WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit):
2005         * UIProcess/WebBackForwardList.h:
2006         * UIProcess/WebContext.cpp:
2007         (WebKit::WebContext::setPlugInAutoStartOrigins):
2008         (WebKit::WebContext::pluginInfoStoreDidLoadPlugins):
2009         * UIProcess/WebContext.h:
2010         * UIProcess/WebContextClient.cpp:
2011         (WebKit::WebContextClient::plugInInformationBecameAvailable):
2012         * UIProcess/WebContextClient.h:
2013         * UIProcess/WebCookieManagerProxy.cpp:
2014         (WebKit::WebCookieManagerProxy::didGetHostnamesWithCookies):
2015         * UIProcess/WebCookieManagerProxy.h:
2016         * UIProcess/WebDatabaseManagerProxy.cpp:
2017         (WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin):
2018         (WebKit::WebDatabaseManagerProxy::didGetDatabaseOrigins):
2019         * UIProcess/WebFindClient.cpp:
2020         (WebKit::WebFindMatchesClient::didFindStringMatches):
2021         * UIProcess/WebFindClient.h:
2022         * UIProcess/WebFrameProxy.h:
2023         * UIProcess/WebKeyValueStorageManager.cpp:
2024         (WebKit::didGetKeyValueStorageOrigins):
2025         * UIProcess/WebKeyValueStorageManager.h:
2026         * UIProcess/WebLoaderClient.cpp:
2027         (WebKit::WebLoaderClient::didChangeBackForwardList):
2028         * UIProcess/WebMediaCacheManagerProxy.cpp:
2029         (WebKit::WebMediaCacheManagerProxy::didGetHostnamesWithMediaCache):
2030         * UIProcess/WebMediaCacheManagerProxy.h:
2031         * UIProcess/WebOpenPanelResultListenerProxy.cpp:
2032         (WebKit::WebOpenPanelResultListenerProxy::chooseFiles):
2033         * UIProcess/WebOpenPanelResultListenerProxy.h:
2034         * UIProcess/WebOriginDataManagerProxy.h:
2035         * UIProcess/WebPageContextMenuClient.cpp:
2036         (WebKit::WebPageContextMenuClient::getContextMenuFromProposedMenu):
2037         (WebKit::WebPageContextMenuClient::showContextMenu):
2038         * UIProcess/WebPageGroup.cpp:
2039         (WebKit::toStringVector):
2040         (WebKit::WebPageGroup::addUserStyleSheet):
2041         (WebKit::WebPageGroup::addUserScript):
2042         * UIProcess/WebPageGroup.h:
2043         * UIProcess/WebPageProxy.cpp:
2044         (WebKit::WebPageProxy::relatedPages):
2045         (WebKit::WebPageProxy::didFindStringMatches):
2046         * UIProcess/WebPageProxy.h:
2047         * UIProcess/WebResourceCacheManagerProxy.cpp:
2048         * WebKit2.xcodeproj/project.pbxproj:
2049         * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
2050         (WKBundleCopyOriginsWithApplicationCache):
2051         * WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp:
2052         * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
2053         * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
2054         (contextMenuItems):
2055         * WebProcess/InjectedBundle/InjectedBundle.cpp:
2056         (WebKit::InjectedBundle::originsWithApplicationCache):
2057         (WebKit::toStringVector):
2058         (WebKit::InjectedBundle::addUserScript):
2059         (WebKit::InjectedBundle::addUserStyleSheet):
2060         * WebProcess/InjectedBundle/InjectedBundle.h:
2061         * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp:
2062         (WebKit::InjectedBundleBackForwardListItem::children):
2063         * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.h:
2064         * WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp:
2065         (WebKit::InjectedBundlePageContextMenuClient::getCustomMenuFromDefaultItems):
2066         * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp:
2067         (WebKit::InjectedBundlePageEditorClient::getPasteboardDataForRange):
2068         * WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
2069         (WebKit::InjectedBundlePageFormClient::didAssociateFormControls):
2070         * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
2071         (WebKit::InjectedBundlePageLoaderClient::featuresUsedInPage):
2072         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
2073         (WebKit::findLargestFrameInFrameSet):
2074         * WebProcess/WebPage/WebFrame.cpp:
2075         (WebKit::WebFrame::childFrames):
2076         * WebProcess/WebPage/WebFrame.h:
2077         * WebProcess/WebPage/WebPage.cpp:
2078         (WebKit::WebPage::trackedRepaintRects):
2079         * WebProcess/WebPage/WebPage.h:
2080
2081 2013-11-13  Nick Diego Yamane  <nick.yamane@openbossa.org>
2082
2083         [GTK] Fix build after r159222
2084         https://bugs.webkit.org/show_bug.cgi?id=124305
2085
2086         Reviewed by Tim Horton.
2087
2088         WebGraphicsContext and its API has been removed.
2089
2090         * CMakeLists.txt:
2091         * GNUmakefile.list.am:
2092         * Shared/API/c/gtk/WKGraphicsContextGtk.cpp: Removed.
2093         * Shared/API/c/gtk/WKGraphicsContextGtk.h: Removed.
2094
2095 2013-11-13  Tim Horton  <timothy_horton@apple.com>
2096
2097         Remove redundant return after r159173
2098         https://bugs.webkit.org/show_bug.cgi?id=124303
2099
2100         Reviewed by Geoff Garen.
2101
2102         * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
2103         (WebKit::WebPlatformStrategies::loadResourceSynchronously):
2104         Remove redundant return.
2105
2106 2013-11-13  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
2107
2108         Unreviewed EFL build fix after r159222.
2109
2110         * CMakeLists.txt:
2111
2112 2013-11-13  Anders Carlsson  <andersca@apple.com>
2113
2114         Remove WebGraphicsContext
2115         https://bugs.webkit.org/show_bug.cgi?id=124302
2116
2117         Reviewed by Dan Bernstein.
2118
2119         WebGraphicsContext and its API "object", WKGraphicsContextRef was only used
2120         for the overhang paint callback which has been removed.
2121
2122         * Shared/API/c/WKDeprecatedFunctions.cpp:
2123         (WKGraphicsContextGetCGContext):
2124         * Shared/API/c/WKGraphicsContext.cpp: Removed.
2125         * Shared/API/c/WKGraphicsContext.h: Removed.
2126         * Shared/API/c/cg/WKGraphicsContextCG.cpp: Removed.
2127         * Shared/API/c/cg/WKGraphicsContextCG.h: Removed.
2128         * Shared/APIObject.h:
2129         * Shared/WebGraphicsContext.cpp: Removed.
2130         * Shared/WebGraphicsContext.h: Removed.
2131         * UIProcess/API/C/WebKit2_C.h:
2132         * WebKit2.xcodeproj/project.pbxproj:
2133         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
2134
2135 2013-11-13  Anders Carlsson  <andersca@apple.com>
2136
2137         WKArrayIsMutable should not be mangled
2138         https://bugs.webkit.org/show_bug.cgi?id=124299
2139
2140         Reviewed by Andreas Kling.
2141
2142         * Shared/API/c/WKDeprecatedFunctions.cpp:
2143
2144 2013-11-13  Anders Carlsson  <andersca@apple.com>
2145
2146         Move provisional load state handling to FrameLoadState
2147         https://bugs.webkit.org/show_bug.cgi?id=124291
2148
2149         Reviewed by Dan Bernstein.
2150
2151         * UIProcess/FrameLoadState.cpp:
2152         (WebKit::FrameLoadState::didStartProvisionalLoad):
2153         (WebKit::FrameLoadState::didReceiveServerRedirectForProvisionalLoad):
2154         (WebKit::FrameLoadState::didFailProvisionalLoad):
2155         * UIProcess/FrameLoadState.h:
2156         * UIProcess/WebFrameProxy.cpp:
2157         (WebKit::WebFrameProxy::didStartProvisionalLoad):
2158         (WebKit::WebFrameProxy::didReceiveServerRedirectForProvisionalLoad):
2159         (WebKit::WebFrameProxy::didFailProvisionalLoad):
2160
2161 2013-11-13  Csaba Osztrogonác  <ossy@webkit.org>
2162
2163         One more fix after r159197.
2164
2165         * UIProcess/efl/EwkTouchEvent.h:
2166         * UIProcess/efl/EwkTouchPoint.h:
2167
2168 2013-11-13  Brendan Long  <b.long@cablelabs.com>
2169
2170         [Gtk][EFL] Fix builds by updating Object::TypeX to Object::Type::X
2171         https://bugs.webkit.org/show_bug.cgi?id=124289
2172
2173         Reviewed by Alexey Proskuryakov.
2174
2175         * Shared/API/c/WKContextMenuItem.cpp:
2176         (WKContextMenuItemGetTypeID):
2177         * Shared/WebBatteryStatus.h:
2178         * Shared/WebNetworkInfo.h:
2179         * UIProcess/API/C/WKGrammarDetail.cpp:
2180         (WKGrammarDetailGetTypeID):
2181         * UIProcess/API/C/WKPluginSiteDataManager.cpp:
2182         (WKPluginSiteDataManagerGetTypeID):
2183         * UIProcess/CoordinatedGraphics/WebView.h:
2184         * UIProcess/WebBatteryManagerProxy.h:
2185         * UIProcess/WebNetworkInfoManagerProxy.h:
2186         * UIProcess/WebTextChecker.h:
2187         * UIProcess/WebVibrationProxy.h:
2188         * UIProcess/WebViewportAttributes.h:
2189         * UIProcess/efl/WebPopupItemEfl.h:
2190         * UIProcess/soup/WebSoupRequestManagerProxy.h:
2191
2192 2013-11-13  Tamas Gergely  <gertom@inf.u-szeged.hu>
2193
2194         Remove prefixed template class processing from message receiver generator.
2195         https://bugs.webkit.org/show_bug.cgi?id=123095
2196
2197         Reviewed by Anders Carlsson.
2198
2199         There was a FIXME in messages.py to remove unprefixed WTF template classes,
2200         but in the discussion of the bug report we concluded that in the messages.in
2201         files we should follow the C++ naming convention where none of the WTF
2202         classes require the WTF prefix.
2203
2204         * NetworkProcess/NetworkConnectionToWebProcess.messages.in:
2205         * Scripts/webkit2/messages.py:
2206         (class_template_headers):
2207         * Scripts/webkit2/messages_unittest.py:
2208         (std):
2209         * UIProcess/Storage/StorageManager.messages.in:
2210         * UIProcess/WebPageProxy.messages.in:
2211         * WebProcess/WebPage/WebPage.messages.in:
2212
2213 2013-11-13  Csaba Osztrogonác  <ossy@webkit.org>
2214
2215         URTBF after r159199 to make cmake and GTK build happy.
2216
2217         * CMakeLists.txt:
2218         * GNUmakefile.list.am:
2219
2220 2013-11-13  Anders Carlsson  <andersca@apple.com>
2221
2222         Add WKDeprecatedFunctions.cpp and move WKArrayIsMutable there
2223         https://bugs.webkit.org/show_bug.cgi?id=124284
2224
2225         Reviewed by Andreas Kling.
2226
2227         * Shared/API/c/WKDeprecatedFunctions.cpp: Copied from Source/WebKit2/Shared/API/c/WKMutableArray.h.
2228         (WKArrayIsMutable):
2229         * Shared/API/c/WKMutableArray.cpp:
2230         * Shared/API/c/WKMutableArray.h:
2231         * WebKit2.xcodeproj/project.pbxproj:
2232
2233 2013-11-12  Anders Carlsson  <andersca@apple.com>
2234
2235         API::Object::Type should be a strongly typed enum
2236         https://bugs.webkit.org/show_bug.cgi?id=124258
2237
2238         Reviewed by Tim Horton.
2239
2240         * Shared/API/Cocoa/WKRemoteObjectRegistry.mm:
2241         (-[WKRemoteObjectRegistry _handleMessageWithName:body:]):
2242         * Shared/APIObject.h:
2243         * Shared/Cocoa/APIObject.mm:
2244         (API::Object::newObject):
2245         * Shared/ImmutableArray.h:
2246         * Shared/ImmutableDictionary.h:
2247         * Shared/UserMessageCoders.h:
2248         (WebKit::UserMessageEncoder::baseEncode):
2249         (WebKit::UserMessageDecoder::baseDecode):
2250         * Shared/WebArchive.h:
2251         * Shared/WebArchiveResource.h:
2252         * Shared/WebBackForwardListItem.h:
2253         * Shared/WebCertificateInfo.h:
2254         * Shared/WebConnection.h:
2255         * Shared/WebContextMenuItem.h:
2256         * Shared/WebData.h:
2257         * Shared/WebError.h:
2258         * Shared/WebGeolocationPosition.h:
2259         * Shared/WebGeometry.h:
2260         * Shared/WebGraphicsContext.h:
2261         * Shared/WebHitTestResult.h:
2262         * Shared/WebImage.h:
2263         * Shared/WebNumber.h:
2264         * Shared/WebOpenPanelParameters.h:
2265         * Shared/WebRenderLayer.h:
2266         * Shared/WebRenderObject.h:
2267         * Shared/WebSecurityOrigin.h:
2268         * Shared/WebSerializedScriptValue.h:
2269         * Shared/WebString.h:
2270         * Shared/WebURL.h:
2271         * Shared/WebURLRequest.h:
2272         * Shared/WebURLResponse.h:
2273         * Shared/WebUserContentURLPattern.h:
2274         * Shared/mac/ObjCObjectGraph.h:
2275         * UIProcess/Authentication/AuthenticationChallengeProxy.h:
2276         * UIProcess/Authentication/AuthenticationDecisionListener.h:
2277         * UIProcess/Authentication/WebCredential.h:
2278         * UIProcess/Authentication/WebProtectionSpace.h:
2279         * UIProcess/Downloads/DownloadProxy.h:
2280         * UIProcess/GeolocationPermissionRequestProxy.h:
2281         * UIProcess/Notifications/NotificationPermissionRequest.h:
2282         * UIProcess/Notifications/WebNotification.h:
2283         * UIProcess/Notifications/WebNotificationManagerProxy.h:
2284         * UIProcess/Plugins/WebPluginSiteDataManager.h:
2285         * UIProcess/WebApplicationCacheManagerProxy.h:
2286         * UIProcess/WebBackForwardList.h:
2287         * UIProcess/WebColorPickerResultListenerProxy.h:
2288         * UIProcess/WebContext.h:
2289         * UIProcess/WebContextUserMessageCoders.h:
2290         (WebKit::WebContextUserMessageEncoder::encode):
2291         (WebKit::WebContextUserMessageDecoder::decode):
2292         * UIProcess/WebCookieManagerProxy.h:
2293         * UIProcess/WebDatabaseManagerProxy.h:
2294         * UIProcess/WebEditCommandProxy.h:
2295         * UIProcess/WebFormSubmissionListenerProxy.h:
2296         * UIProcess/WebFramePolicyListenerProxy.h:
2297         * UIProcess/WebFrameProxy.h:
2298         * UIProcess/WebGeolocationManagerProxy.h:
2299         * UIProcess/WebGrammarDetail.h:
2300         * UIProcess/WebIconDatabase.h:
2301         * UIProcess/WebInspectorProxy.h:
2302         * UIProcess/WebKeyValueStorageManager.h:
2303         * UIProcess/WebMediaCacheManagerProxy.h:
2304         * UIProcess/WebNavigationData.h:
2305         * UIProcess/WebOpenPanelResultListenerProxy.h:
2306         * UIProcess/WebOriginDataManagerProxy.h:
2307         * UIProcess/WebPageGroup.h:
2308         * UIProcess/WebPageProxy.h:
2309         * UIProcess/WebPreferences.h:
2310         * UIProcess/WebResourceCacheManagerProxy.h:
2311         * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h:
2312         * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h:
2313         * WebProcess/InjectedBundle/InjectedBundle.h:
2314         * WebProcess/InjectedBundle/InjectedBundleBackForwardList.h:
2315         * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.h:
2316         * WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.h:
2317         * WebProcess/InjectedBundle/InjectedBundleHitTestResult.h:
2318         * WebProcess/InjectedBundle/InjectedBundleNavigationAction.h:
2319         * WebProcess/InjectedBundle/InjectedBundleScriptWorld.h:
2320         * WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
2321         (WebKit::InjectedBundleUserMessageEncoder::encode):
2322         (WebKit::InjectedBundleUserMessageDecoder::decode):
2323         * WebProcess/InjectedBundle/mac/InjectedBundleMac.mm:
2324         (WebKit::InjectedBundle::load):
2325         * WebProcess/WebPage/PageBanner.h:
2326         * WebProcess/WebPage/PageOverlay.h:
2327         * WebProcess/WebPage/WebFrame.h:
2328         * WebProcess/WebPage/WebInspector.h:
2329         * WebProcess/WebPage/WebPage.h:
2330         * WebProcess/WebPage/WebPageGroupProxy.h:
2331         * WebProcess/WebPage/mac/WKAccessibilityWebPageObject.mm:
2332         (-[WKAccessibilityWebPageObject accessibilityParameterizedAttributeNames]):
2333         (-[WKAccessibilityWebPageObject accessibilityAttributeValue:forParameter:]):
2334
2335 2013-11-13  Anders Carlsson  <andersca@apple.com>
2336
2337         Remove custom overhang area painting code
2338         https://bugs.webkit.org/show_bug.cgi?id=124282
2339
2340         Reviewed by Andreas Kling.
2341
2342         This code was only used by the Mac port, to draw the linen background color on Lion.
2343         We now do that on the GPU instead so get rid of this code.
2344
2345         * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
2346         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
2347         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
2348         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
2349         * WebProcess/WebCoreSupport/WebChromeClient.h:
2350
2351 2013-11-13  Sergio Correia  <sergio.correia@openbossa.org>
2352
2353         [EFL][WK2] Convert some more OwnPtr/PassOwnPtr to std::unique_ptr
2354         https://bugs.webkit.org/show_bug.cgi?id=124241
2355
2356         Reviewed by Gyuyoung Kim.
2357
2358         The modified files are located under UIProcess/{efl,API/efl}.
2359
2360         * UIProcess/API/efl/EwkView.cpp:
2361         * UIProcess/API/efl/EwkView.h:
2362         * UIProcess/API/efl/GestureRecognizer.cpp:
2363         * UIProcess/API/efl/GestureRecognizer.h:
2364         * UIProcess/API/efl/ewk_back_forward_list_private.h:
2365         * UIProcess/API/efl/ewk_color_picker_private.h:
2366         * UIProcess/API/efl/ewk_context.cpp:
2367         * UIProcess/API/efl/ewk_context_menu.cpp:
2368         * UIProcess/API/efl/ewk_context_menu_item.cpp:
2369         * UIProcess/API/efl/ewk_context_menu_item_private.h:
2370         * UIProcess/API/efl/ewk_context_private.h:
2371         * UIProcess/API/efl/ewk_cookie_manager.cpp:
2372         * UIProcess/API/efl/ewk_cookie_manager_private.h:
2373         * UIProcess/API/efl/ewk_database_manager_private.h:
2374         * UIProcess/API/efl/ewk_favicon_database_private.h:
2375         * UIProcess/API/efl/ewk_popup_menu.cpp:
2376         * UIProcess/API/efl/ewk_popup_menu_item_private.h:
2377         * UIProcess/API/efl/ewk_popup_menu_private.h:
2378         * UIProcess/API/efl/ewk_settings_private.h:
2379         * UIProcess/API/efl/ewk_storage_manager.cpp:
2380         * UIProcess/API/efl/ewk_storage_manager_private.h:
2381         * UIProcess/API/efl/ewk_view.cpp:
2382         * UIProcess/API/efl/tests/test_ewk2_auth_request.cpp:
2383         * UIProcess/API/efl/tests/test_ewk2_back_forward_list.cpp:
2384         * UIProcess/API/efl/tests/test_ewk2_cookie_manager.cpp:
2385         * UIProcess/API/efl/tests/test_ewk2_download_job.cpp:
2386         * UIProcess/API/efl/tests/test_ewk2_favicon_database.cpp:
2387         * UIProcess/API/efl/tests/test_ewk2_refptr_evas_object.cpp:
2388         * UIProcess/API/efl/tests/test_ewk2_view.cpp:
2389         * UIProcess/efl/ContextHistoryClientEfl.h:
2390         * UIProcess/efl/ContextMenuClientEfl.h:
2391         * UIProcess/efl/DownloadManagerEfl.h:
2392         * UIProcess/efl/FindClientEfl.h:
2393         * UIProcess/efl/FormClientEfl.h:
2394         * UIProcess/efl/PageLoadClientEfl.h:
2395         * UIProcess/efl/PagePolicyClientEfl.h:
2396         * UIProcess/efl/PageUIClientEfl.h:
2397         * UIProcess/efl/PageViewportControllerClientEfl.h:
2398         * UIProcess/efl/RequestManagerClientEfl.h:
2399         * UIProcess/efl/VibrationClientEfl.cpp:
2400         * UIProcess/efl/VibrationClientEfl.h:
2401         * UIProcess/efl/ViewClientEfl.h:
2402
2403 2013-11-12  Alexey Proskuryakov  <ap@apple.com>
2404
2405         Disable WebCrypto on Mountain Lion
2406         https://bugs.webkit.org/show_bug.cgi?id=124261
2407
2408         Rubber-stamped by Sam Weinig.
2409
2410         * Configurations/FeatureDefines.xcconfig:
2411
2412 2013-11-12  Nick Diego Yamane  <nick.yamane@openbossa.org>
2413
2414         [GTK][EFL] More on renaming WebKit::APIObject to API::Object
2415         https://bugs.webkit.org/show_bug.cgi?id=124255
2416
2417         Reviewed by Anders Carlsson.
2418
2419         In r159163 WebKit::APIObject has been renamed to API::Object.
2420         This patch refactors the remaining files which were still
2421         using WebKit::APIObject and WebKit::TypedAPIObject.
2422
2423         * Shared/WebBatteryStatus.h:
2424         * Shared/WebNetworkInfo.h:
2425         * UIProcess/API/C/WKGrammarDetail.cpp:
2426         * UIProcess/API/gtk/WebKitContextMenuItem.cpp:
2427         * UIProcess/API/gtk/WebKitFileChooserRequest.cpp:
2428         * UIProcess/API/gtk/WebKitWebViewGroup.cpp:
2429         * UIProcess/CoordinatedGraphics/WebView.h:
2430         * UIProcess/WebBatteryManagerProxy.cpp:
2431         * UIProcess/WebBatteryManagerProxy.h:
2432         * UIProcess/WebGrammarDetail.cpp:
2433         * UIProcess/WebNetworkInfoManagerProxy.cpp:
2434         * UIProcess/WebNetworkInfoManagerProxy.h:
2435         * UIProcess/WebTextChecker.h:
2436         * UIProcess/WebVibrationProxy.h:
2437         * UIProcess/WebViewportAttributes.h:
2438         * UIProcess/efl/EwkTouchEvent.h:
2439         * UIProcess/efl/EwkTouchPoint.h:
2440         * UIProcess/efl/WebPopupItemEfl.h:
2441         * UIProcess/efl/WebUIPopupMenuClient.cpp:
2442         * UIProcess/gtk/WebFullScreenClientGtk.h:
2443         * UIProcess/gtk/WebInspectorClientGtk.h:
2444         * UIProcess/soup/WebSoupRequestManagerProxy.cpp:
2445         * UIProcess/soup/WebSoupRequestManagerProxy.h:
2446         * WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp:
2447         * WebProcess/InjectedBundle/gtk/InjectedBundleGtk.cpp:
2448
2449 2013-11-12  Anders Carlsson  <andersca@apple.com>
2450
2451         fast/canvas/webgl/draw-arrays-out-of-bounds.html is flaky on Mavericks WK2 testers, fails about 20% of the time
2452         https://bugs.webkit.org/show_bug.cgi?id=124223
2453         <rdar://problem/15333977>
2454
2455         Reviewed by Tim Horton.
2456
2457         It's wrong to use DataReferences in sync IPC replies; the underlying MessageDecoder will be freed after the call to
2458         sendSync returns and the DataReference will point to freed memory. Use a Vector<char> instead.
2459
2460         * NetworkProcess/NetworkConnectionToWebProcess.messages.in:
2461         * NetworkProcess/SynchronousNetworkLoaderClient.cpp:
2462         (WebKit::SynchronousNetworkLoaderClient::didReceiveBuffer):
2463         (WebKit::SynchronousNetworkLoaderClient::sendDelayedReply):
2464         * NetworkProcess/SynchronousNetworkLoaderClient.h:
2465         * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
2466         (WebKit::WebPlatformStrategies::loadResourceSynchronously):
2467
2468 2013-11-12  Gustavo Noronha Silva  <gns@gnome.org>
2469
2470         Unreviewed try at fixing the GTK+ build.
2471
2472         * UIProcess/soup/WebSoupRequestManagerProxy.h: rename TypedAPIObject to API:TypedObject.
2473
2474 2013-11-12  Nick Diego Yamane  <nick.yamane@openbossa.org>
2475
2476         [EFL][GTK] Remove MutableArray leftovers from build systems
2477         https://bugs.webkit.org/show_bug.cgi?id=124248
2478
2479         Reviewed by Anders Carlsson.
2480
2481         MutableArray.cpp and .h file has been removed by r159155.
2482
2483         * CMakeLists.txt:
2484         * GNUmakefile.list.am:
2485
2486 2013-11-12  Anders Carlsson  <andersca@apple.com>
2487
2488         Rename APIObject to API::Object
2489         https://bugs.webkit.org/show_bug.cgi?id=124247
2490
2491         Reviewed by Tim Horton.
2492
2493         * Shared/API/Cocoa/WKRemoteObjectRegistry.mm:
2494         (-[WKRemoteObjectRegistry _handleMessageWithName:body:]):
2495         * Shared/API/c/WKArray.cpp:
2496         (WKArrayCreate):
2497         (WKArrayCreateAdoptingValues):
2498         * Shared/API/c/WKContextMenuItem.cpp:
2499         (WKContextMenuItemGetTypeID):
2500         * Shared/API/c/WKSharedAPICast.h:
2501         (WebKit::toAPI):
2502         * Shared/API/c/WKType.cpp:
2503         (WKGetTypeID):
2504         (WKRetain):
2505         (WKRelease):
2506         * Shared/APIObject.cpp:
2507         (API::Object::Object):
2508         * Shared/APIObject.h:
2509         (API::Object::~Object):
2510         (API::TypedObject::~TypedObject):
2511         (API::TypedObject::TypedObject):
2512         * Shared/Cocoa/APIObject.mm:
2513         (API::Object::ref):
2514         (API::Object::deref):
2515         (API::Object::newObject):
2516         * Shared/Cocoa/WKNSArray.mm:
2517         (-[WKNSArray objectAtIndex:]):
2518         (-[WKNSArray API::]):
2519         * Shared/Cocoa/WKNSDictionary.mm:
2520         (-[WKNSDictionary objectForKey:]):
2521         (-[WKNSDictionary API::]):
2522         * Shared/Cocoa/WKObject.h:
2523         * Shared/Cocoa/WKObject.mm:
2524         (-[WKObject dealloc]):
2525         (-[WKObject API::]):
2526         * Shared/ImmutableArray.cpp:
2527         (WebKit::ImmutableArray::create):
2528         (WebKit::ImmutableArray::createStringArray):
2529         (WebKit::ImmutableArray::ImmutableArray):
2530         * Shared/ImmutableArray.h:
2531         * Shared/ImmutableDictionary.cpp:
2532         (WebKit::ImmutableDictionary::keys):
2533         * Shared/ImmutableDictionary.h:
2534         (WebKit::ImmutableDictionary::get):
2535         * Shared/MutableDictionary.cpp:
2536         (WebKit::MutableDictionary::add):
2537         (WebKit::MutableDictionary::set):
2538         * Shared/MutableDictionary.h:
2539         * Shared/SecurityOriginData.cpp:
2540         (WebKit::performAPICallbackWithSecurityOriginDataVector):
2541         * Shared/UserMessageCoders.h:
2542         (WebKit::UserMessageEncoder::baseEncode):
2543         (WebKit::UserMessageEncoder::UserMessageEncoder):
2544         (WebKit::UserMessageDecoder::baseDecode):
2545         (WebKit::UserMessageDecoder::UserMessageDecoder):
2546         * Shared/WebArchive.cpp:
2547         (WebKit::WebArchive::subresources):
2548         (WebKit::WebArchive::subframeArchives):
2549         * Shared/WebArchive.h:
2550         * Shared/WebArchiveResource.h:
2551         * Shared/WebBackForwardListItem.h:
2552         * Shared/WebCertificateInfo.h:
2553         * Shared/WebConnection.cpp:
2554         (WebKit::WebConnection::postMessage):
2555         (WebKit::WebConnection::handleMessage):
2556         * Shared/WebConnection.h:
2557         * Shared/WebConnectionClient.cpp:
2558         (WebKit::WebConnectionClient::didReceiveMessage):
2559         * Shared/WebConnectionClient.h:
2560         * Shared/WebContextMenuItem.cpp:
2561         (WebKit::WebContextMenuItem::submenuItemsAsImmutableArray):
2562         (WebKit::WebContextMenuItem::userData):
2563         (WebKit::WebContextMenuItem::setUserData):
2564         * Shared/WebContextMenuItem.h:
2565         * Shared/WebContextMenuItemData.cpp:
2566         (WebKit::WebContextMenuItemData::userData):
2567         (WebKit::WebContextMenuItemData::setUserData):
2568         * Shared/WebContextMenuItemData.h:
2569         * Shared/WebData.h:
2570         * Shared/WebError.h:
2571         * Shared/WebGeolocationPosition.h:
2572         * Shared/WebGeometry.h:
2573         * Shared/WebGraphicsContext.h:
2574         * Shared/WebHitTestResult.h:
2575         * Shared/WebImage.h:
2576         * Shared/WebNumber.h:
2577         * Shared/WebOpenPanelParameters.h:
2578         * Shared/WebRenderLayer.cpp:
2579         (WebKit::WebRenderLayer::createArrayFromLayerList):
2580         * Shared/WebRenderLayer.h:
2581         * Shared/WebRenderObject.cpp:
2582         (WebKit::WebRenderObject::WebRenderObject):
2583         * Shared/WebRenderObject.h:
2584         * Shared/WebSecurityOrigin.h:
2585         * Shared/WebSerializedScriptValue.h:
2586         * Shared/WebString.h:
2587         * Shared/WebURL.h:
2588         * Shared/WebURLRequest.h:
2589         * Shared/WebURLResponse.h:
2590         * Shared/WebUserContentURLPattern.h:
2591         * Shared/mac/ObjCObjectGraph.h:
2592         * Shared/mac/ObjCObjectGraphCoders.mm:
2593         (WebKit::WebContextObjCObjectGraphDecoderImpl::decode):
2594         (WebKit::InjectedBundleObjCObjectGraphDecoderImpl::decode):
2595         * UIProcess/API/C/WKPluginSiteDataManager.cpp:
2596         (WKPluginSiteDataManagerGetTypeID):
2597         * UIProcess/API/C/mac/WKContextPrivateMac.mm:
2598         (WKContextGetInfoForInstalledPlugIns):
2599         * UIProcess/API/Cocoa/WKBackForwardList.mm:
2600         (-[WKBackForwardList API::]):
2601         * UIProcess/API/Cocoa/WKBackForwardListItem.mm:
2602         (-[WKBackForwardListItem API::]):
2603         * UIProcess/API/Cocoa/WKNavigationData.mm:
2604         (-[WKNavigationData API::]):
2605         * UIProcess/API/mac/WKBrowsingContextGroup.mm:
2606         (createWKArray):
2607         * UIProcess/Authentication/AuthenticationChallengeProxy.h:
2608         * UIProcess/Authentication/AuthenticationDecisionListener.h:
2609         * UIProcess/Authentication/WebCredential.h:
2610         * UIProcess/Authentication/WebProtectionSpace.h:
2611         * UIProcess/Downloads/DownloadProxy.h:
2612         * UIProcess/GeolocationPermissionRequestProxy.h:
2613         * UIProcess/Notifications/NotificationPermissionRequest.h:
2614         * UIProcess/Notifications/WebNotification.h:
2615         * UIProcess/Notifications/WebNotificationManagerProxy.cpp:
2616         (WebKit::WebNotificationManagerProxy::refWebContextSupplement):
2617         (WebKit::WebNotificationManagerProxy::derefWebContextSupplement):
2618         * UIProcess/Notifications/WebNotificationManagerProxy.h:
2619         * UIProcess/Notifications/WebNotificationProvider.cpp:
2620         (WebKit::WebNotificationProvider::clearNotifications):
2621         * UIProcess/Plugins/WebPluginSiteDataManager.h:
2622         * UIProcess/StatisticsRequest.cpp:
2623         (WebKit::StatisticsRequest::completedRequest):
2624         * UIProcess/WebApplicationCacheManagerProxy.cpp:
2625         (WebKit::WebApplicationCacheManagerProxy::refWebContextSupplement):
2626         (WebKit::WebApplicationCacheManagerProxy::derefWebContextSupplement):
2627         * UIProcess/WebApplicationCacheManagerProxy.h:
2628         * UIProcess/WebBackForwardList.cpp:
2629         (WebKit::WebBackForwardList::addItem):
2630         (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
2631         (WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit):
2632         (WebKit::WebBackForwardList::clear):
2633         * UIProcess/WebBackForwardList.h:
2634         * UIProcess/WebColorPickerResultListenerProxy.h:
2635         * UIProcess/WebConnectionToWebProcess.cpp:
2636         (WebKit::WebConnectionToWebProcess::encodeMessageBody):
2637         (WebKit::WebConnectionToWebProcess::decodeMessageBody):
2638         * UIProcess/WebConnectionToWebProcess.h:
2639         * UIProcess/WebContext.cpp:
2640         (WebKit::WebContext::createNewWebProcess):
2641         (WebKit::WebContext::postMessageToInjectedBundle):
2642         (WebKit::WebContext::didReceiveMessageFromInjectedBundle):
2643         (WebKit::WebContext::didReceiveSynchronousMessageFromInjectedBundle):
2644         (WebKit::WebContext::didReceiveMessage):
2645         (WebKit::WebContext::didReceiveSyncMessage):
2646         (WebKit::WebContext::pluginInfoStoreDidLoadPlugins):
2647         * UIProcess/WebContext.h:
2648         (WebKit::WebContext::setInjectedBundleInitializationUserData):
2649         * UIProcess/WebContextInjectedBundleClient.cpp:
2650         (WebKit::WebContextInjectedBundleClient::didReceiveMessageFromInjectedBundle):
2651         (WebKit::WebContextInjectedBundleClient::didReceiveSynchronousMessageFromInjectedBundle):
2652         (WebKit::WebContextInjectedBundleClient::getInjectedBundleInitializationUserData):
2653         * UIProcess/WebContextInjectedBundleClient.h:
2654         * UIProcess/WebContextUserMessageCoders.h:
2655         (WebKit::WebContextUserMessageEncoder::WebContextUserMessageEncoder):
2656         (WebKit::WebContextUserMessageEncoder::encode):
2657         (WebKit::WebContextUserMessageDecoder::WebContextUserMessageDecoder):
2658         (WebKit::WebContextUserMessageDecoder::decode):
2659         * UIProcess/WebCookieManagerProxy.cpp:
2660         (WebKit::WebCookieManagerProxy::refWebContextSupplement):
2661         (WebKit::WebCookieManagerProxy::derefWebContextSupplement):
2662         * UIProcess/WebCookieManagerProxy.h:
2663         * UIProcess/WebDatabaseManagerProxy.cpp:
2664         (WebKit::WebDatabaseManagerProxy::refWebContextSupplement):
2665         (WebKit::WebDatabaseManagerProxy::derefWebContextSupplement):
2666         (WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin):
2667         (WebKit::WebDatabaseManagerProxy::didGetDatabaseOrigins):
2668         * UIProcess/WebDatabaseManagerProxy.h:
2669         * UIProcess/WebEditCommandProxy.h:
2670         * UIProcess/WebFormClient.cpp:
2671         (WebKit::WebFormClient::willSubmitForm):
2672         * UIProcess/WebFormClient.h:
2673         * UIProcess/WebFrameListenerProxy.h:
2674         * UIProcess/WebFrameProxy.h:
2675         * UIProcess/WebGeolocationManagerProxy.cpp:
2676         (WebKit::WebGeolocationManagerProxy::refWebContextSupplement):
2677         (WebKit::WebGeolocationManagerProxy::derefWebContextSupplement):
2678         * UIProcess/WebGeolocationManagerProxy.h:
2679         * UIProcess/WebGrammarDetail.h:
2680         * UIProcess/WebIconDatabase.h:
2681         * UIProcess/WebIconDatabaseClient.h:
2682         * UIProcess/WebInspectorProxy.h:
2683         * UIProcess/WebKeyValueStorageManager.cpp:
2684         (WebKit::WebKeyValueStorageManager::refWebContextSupplement):
2685         (WebKit::WebKeyValueStorageManager::derefWebContextSupplement):
2686         (WebKit::didGetKeyValueStorageOrigins):
2687         * UIProcess/WebKeyValueStorageManager.h:
2688         * UIProcess/WebLoaderClient.cpp:
2689         (WebKit::WebLoaderClient::didStartProvisionalLoadForFrame):
2690         (WebKit::WebLoaderClient::didReceiveServerRedirectForProvisionalLoadForFrame):
2691         (WebKit::WebLoaderClient::didFailProvisionalLoadWithErrorForFrame):
2692         (WebKit::WebLoaderClient::didCommitLoadForFrame):
2693         (WebKit::WebLoaderClient::didFinishDocumentLoadForFrame):
2694         (WebKit::WebLoaderClient::didFinishLoadForFrame):
2695         (WebKit::WebLoaderClient::didFailLoadWithErrorForFrame):
2696         (WebKit::WebLoaderClient::didSameDocumentNavigationForFrame):
2697         (WebKit::WebLoaderClient::didReceiveTitleForFrame):
2698         (WebKit::WebLoaderClient::didFirstLayoutForFrame):
2699         (WebKit::WebLoaderClient::didFirstVisuallyNonEmptyLayoutForFrame):
2700         (WebKit::WebLoaderClient::didLayout):
2701         (WebKit::WebLoaderClient::didRemoveFrameFromHierarchy):
2702         (WebKit::WebLoaderClient::didDisplayInsecureContentForFrame):
2703         (WebKit::WebLoaderClient::didRunInsecureContentForFrame):
2704         (WebKit::WebLoaderClient::didDetectXSSForFrame):
2705         (WebKit::WebLoaderClient::didChangeBackForwardList):
2706         (WebKit::WebLoaderClient::willGoToBackForwardListItem):
2707         * UIProcess/WebLoaderClient.h:
2708         * UIProcess/WebMediaCacheManagerProxy.cpp:
2709         (WebKit::WebMediaCacheManagerProxy::refWebContextSupplement):
2710         (WebKit::WebMediaCacheManagerProxy::derefWebContextSupplement):
2711         * UIProcess/WebMediaCacheManagerProxy.h:
2712         * UIProcess/WebNavigationData.h:
2713         * UIProcess/WebOpenPanelResultListenerProxy.h:
2714         * UIProcess/WebOriginDataManagerProxy.cpp:
2715         (WebKit::WebOriginDataManagerProxy::refWebContextSupplement):
2716         (WebKit::WebOriginDataManagerProxy::derefWebContextSupplement):
2717         * UIProcess/WebOriginDataManagerProxy.h:
2718         * UIProcess/WebPageContextMenuClient.cpp:
2719         (WebKit::WebPageContextMenuClient::getContextMenuFromProposedMenu):
2720         (WebKit::WebPageContextMenuClient::showContextMenu):
2721         * UIProcess/WebPageContextMenuClient.h:
2722         * UIProcess/WebPageGroup.h:
2723         * UIProcess/WebPageProxy.cpp:
2724         (WebKit::WebPageProxy::relatedPages):
2725         (WebKit::WebPageProxy::loadURL):
2726         (WebKit::WebPageProxy::loadURLRequest):
2727         (WebKit::WebPageProxy::loadFile):
2728         (WebKit::WebPageProxy::loadData):
2729         (WebKit::WebPageProxy::loadHTMLString):
2730         (WebKit::WebPageProxy::loadAlternateHTMLString):
2731         (WebKit::WebPageProxy::loadPlainTextString):
2732         (WebKit::WebPageProxy::loadWebArchiveData):
2733         (WebKit::WebPageProxy::didChangeBackForwardList):
2734         (WebKit::WebPageProxy::willGoToBackForwardListItem):
2735         (WebKit::WebPageProxy::didStartProvisionalLoadForFrame):
2736         (WebKit::WebPageProxy::didReceiveServerRedirectForProvisionalLoadForFrame):
2737         (WebKit::WebPageProxy::didFailProvisionalLoadForFrame):
2738         (WebKit::WebPageProxy::didCommitLoadForFrame):
2739         (WebKit::WebPageProxy::didFinishDocumentLoadForFrame):
2740         (WebKit::WebPageProxy::didFinishLoadForFrame):
2741         (WebKit::WebPageProxy::didFailLoadForFrame):
2742         (WebKit::WebPageProxy::didSameDocumentNavigationForFrame):
2743         (WebKit::WebPageProxy::didReceiveTitleForFrame):
2744         (WebKit::WebPageProxy::didFirstLayoutForFrame):
2745         (WebKit::WebPageProxy::didFirstVisuallyNonEmptyLayoutForFrame):
2746         (WebKit::WebPageProxy::didLayout):
2747         (WebKit::WebPageProxy::didRemoveFrameFromHierarchy):
2748         (WebKit::WebPageProxy::didDisplayInsecureContentForFrame):
2749         (WebKit::WebPageProxy::didRunInsecureContentForFrame):
2750         (WebKit::WebPageProxy::didDetectXSSForFrame):
2751         (WebKit::WebPageProxy::decidePolicyForNavigationAction):
2752         (WebKit::WebPageProxy::decidePolicyForNewWindowAction):
2753         (WebKit::WebPageProxy::decidePolicyForResponse):
2754         (WebKit::WebPageProxy::unableToImplementPolicy):
2755         (WebKit::WebPageProxy::willSubmitForm):
2756         (WebKit::WebPageProxy::mouseDidMoveOverElement):
2757         (WebKit::WebPageProxy::didFindStringMatches):
2758         (WebKit::WebPageProxy::postMessageToInjectedBundle):
2759         (WebKit::WebPageProxy::internalShowContextMenu):
2760         * UIProcess/WebPageProxy.h:
2761         * UIProcess/WebPolicyClient.cpp:
2762         (WebKit::WebPolicyClient::decidePolicyForNavigationAction):
2763         (WebKit::WebPolicyClient::decidePolicyForNewWindowAction):
2764         (WebKit::WebPolicyClient::decidePolicyForResponse):
2765         (WebKit::WebPolicyClient::unableToImplementPolicy):
2766         * UIProcess/WebPolicyClient.h:
2767         * UIProcess/WebPreferences.h:
2768         * UIProcess/WebResourceCacheManagerProxy.cpp:
2769         (WebKit::WebResourceCacheManagerProxy::refWebContextSupplement):
2770         (WebKit::WebResourceCacheManagerProxy::derefWebContextSupplement):
2771         * UIProcess/WebResourceCacheManagerProxy.h:
2772         * UIProcess/WebUIClient.cpp:
2773         (WebKit::WebUIClient::mouseDidMoveOverElement):
2774         * UIProcess/WebUIClient.h:
2775         * UIProcess/mac/WebContextMenuProxyMac.mm:
2776         (-[WKUserDataWrapper initWithUserData:API::]):
2777         (-[WKUserDataWrapper API::]):
2778         * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
2779         (WKBundlePostSynchronousMessage):
2780         * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
2781         (contextMenuItems):
2782         * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h:
2783         * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h:
2784         * WebProcess/InjectedBundle/InjectedBundle.cpp:
2785         (WebKit::InjectedBundle::postMessage):
2786         (WebKit::InjectedBundle::postSynchronousMessage):
2787         (WebKit::InjectedBundle::originsWithApplicationCache):
2788         (WebKit::InjectedBundle::didReceiveMessage):
2789         (WebKit::InjectedBundle::didReceiveMessageToPage):
2790         * WebProcess/InjectedBundle/InjectedBundle.h:
2791         * WebProcess/InjectedBundle/InjectedBundleBackForwardList.h:
2792         * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp:
2793         (WebKit::InjectedBundleBackForwardListItem::children):
2794         * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.h:
2795         * WebProcess/InjectedBundle/InjectedBundleClient.cpp:
2796         (WebKit::InjectedBundleClient::didReceiveMessage):
2797         (WebKit::InjectedBundleClient::didReceiveMessageToPage):
2798         * WebProcess/InjectedBundle/InjectedBundleClient.h:
2799         * WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.h:
2800         * WebProcess/InjectedBundle/InjectedBundleHitTestResult.h:
2801         * WebProcess/InjectedBundle/InjectedBundleNavigationAction.h:
2802         * WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp:
2803         (WebKit::InjectedBundlePageContextMenuClient::getCustomMenuFromDefaultItems):
2804         * WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.h:
2805         * WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.h:
2806         * WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
2807         (WebKit::InjectedBundlePageFormClient::willSubmitForm):
2808         (WebKit::InjectedBundlePageFormClient::didAssociateFormControls):
2809         * WebProcess/InjectedBundle/InjectedBundlePageFormClient.h:
2810         * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
2811         (WebKit::InjectedBundlePageLoaderClient::willLoadURLRequest):
2812         (WebKit::InjectedBundlePageLoaderClient::willLoadDataRequest):
2813         (WebKit::InjectedBundlePageLoaderClient::shouldGoToBackForwardListItem):
2814         (WebKit::InjectedBundlePageLoaderClient::didStartProvisionalLoadForFrame):
2815         (WebKit::InjectedBundlePageLoaderClient::didReceiveServerRedirectForProvisionalLoadForFrame):
2816         (WebKit::InjectedBundlePageLoaderClient::didFailProvisionalLoadWithErrorForFrame):
2817         (WebKit::InjectedBundlePageLoaderClient::didCommitLoadForFrame):
2818         (WebKit::InjectedBundlePageLoaderClient::didFinishDocumentLoadForFrame):
2819         (WebKit::InjectedBundlePageLoaderClient::didFinishLoadForFrame):
2820         (WebKit::InjectedBundlePageLoaderClient::didFailLoadWithErrorForFrame):
2821         (WebKit::InjectedBundlePageLoaderClient::didSameDocumentNavigationForFrame):
2822         (WebKit::InjectedBundlePageLoaderClient::didReceiveTitleForFrame):
2823         (WebKit::InjectedBundlePageLoaderClient::didRemoveFrameFromHierarchy):
2824         (WebKit::InjectedBundlePageLoaderClient::didDisplayInsecureContentForFrame):
2825         (WebKit::InjectedBundlePageLoaderClient::didRunInsecureContentForFrame):
2826         (WebKit::InjectedBundlePageLoaderClient::didDetectXSSForFrame):
2827         (WebKit::InjectedBundlePageLoaderClient::didFirstLayoutForFrame):
2828         (WebKit::InjectedBundlePageLoaderClient::didFirstVisuallyNonEmptyLayoutForFrame):
2829         (WebKit::InjectedBundlePageLoaderClient::didLayout):
2830         * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
2831         * WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp:
2832         (WebKit::InjectedBundlePagePolicyClient::decidePolicyForNavigationAction):
2833         (WebKit::InjectedBundlePagePolicyClient::decidePolicyForNewWindowAction):
2834         (WebKit::InjectedBundlePagePolicyClient::decidePolicyForResponse):
2835         (WebKit::InjectedBundlePagePolicyClient::unableToImplementPolicy):
2836         * WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.h:
2837         * WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.h:
2838         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
2839         (WebKit::InjectedBundlePageUIClient::mouseDidMoveOverElement):
2840         * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
2841         * WebProcess/InjectedBundle/InjectedBundleScriptWorld.h:
2842         * WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
2843         (WebKit::InjectedBundleUserMessageEncoder::InjectedBundleUserMessageEncoder):
2844         (WebKit::InjectedBundleUserMessageEncoder::encode):
2845         (WebKit::InjectedBundleUserMessageDecoder::InjectedBundleUserMessageDecoder):
2846         (WebKit::InjectedBundleUserMessageDecoder::decode):
2847         * WebProcess/InjectedBundle/mac/InjectedBundleMac.mm:
2848         (WebKit::InjectedBundle::load):
2849         * WebProcess/WebConnectionToUIProcess.cpp:
2850         (WebKit::WebConnectionToUIProcess::encodeMessageBody):
2851         (WebKit::WebConnectionToUIProcess::decodeMessageBody):
2852         * WebProcess/WebConnectionToUIProcess.h:
2853         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
2854         (WebKit::WebChromeClient::mouseDidMoveOverElement):
2855         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
2856         (WebKit::WebFrameLoaderClient::detachedFromParent2):
2857         (WebKit::WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
2858         (WebKit::WebFrameLoaderClient::dispatchDidChangeLocationWithinPage):
2859         (WebKit::WebFrameLoaderClient::dispatchDidPushStateWithinPage):
2860         (WebKit::WebFrameLoaderClient::dispatchDidReplaceStateWithinPage):
2861         (WebKit::WebFrameLoaderClient::dispatchDidPopStateWithinPage):
2862         (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
2863         (WebKit::WebFrameLoaderClient::dispatchDidReceiveTitle):
2864         (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):
2865         (WebKit::WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
2866         (WebKit::WebFrameLoaderClient::dispatchDidFailLoad):
2867         (WebKit::WebFrameLoaderClient::dispatchDidFinishDocumentLoad):
2868         (WebKit::WebFrameLoaderClient::dispatchDidFinishLoad):
2869         (WebKit::WebFrameLoaderClient::dispatchDidLayout):
2870         (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse):
2871         (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
2872         (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2873         (WebKit::WebFrameLoaderClient::dispatchUnableToImplementPolicy):
2874         (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
2875         (WebKit::WebFrameLoaderClient::shouldGoToHistoryItem):
2876         (WebKit::WebFrameLoaderClient::didDisplayInsecureContent):
2877         (WebKit::WebFrameLoaderClient::didRunInsecureContent):
2878         (WebKit::WebFrameLoaderClient::didDetectXSS):
2879         * WebProcess/WebPage/PageBanner.h:
2880         * WebProcess/WebPage/PageOverlay.h:
2881         * WebProcess/WebPage/WebContextMenu.cpp:
2882         (WebKit::WebContextMenu::show):
2883         (WebKit::WebContextMenu::menuItemsWithUserData):
2884         (WebKit::WebContextMenu::items):
2885         * WebProcess/WebPage/WebContextMenu.h:
2886         * WebProcess/WebPage/WebFrame.cpp:
2887         (WebKit::WebFrame::childFrames):
2888         * WebProcess/WebPage/WebFrame.h:
2889         * WebProcess/WebPage/WebInspector.h:
2890         * WebProcess/WebPage/WebPage.cpp:
2891         (WebKit::WebPage::trackedRepaintRects):
2892         (WebKit::WebPage::loadURLRequest):
2893         (WebKit::WebPage::loadDataImpl):
2894         (WebKit::WebPage::postInjectedBundleMessage):
2895         * WebProcess/WebPage/WebPage.h:
2896         * WebProcess/WebPage/WebPageGroupProxy.h:
2897         * WebProcess/WebProcess.cpp:
2898         (WebKit::WebProcess::initializeWebProcess):
2899         (WebKit::WebProcess::postInjectedBundleMessage):
2900
2901 2013-11-12  Nick Diego Yamane  <nick.yamane@openbossa.org>
2902
2903         Fix GTK build after r159142
2904         https://bugs.webkit.org/show_bug.cgi?id=124243
2905
2906         Reviewed by Anders Carlsson.
2907
2908         Use Vector + ImmutableArray instead of MutableArray
2909
2910         * UIProcess/API/gtk/WebKitContextMenuItem.cpp:
2911         (webkitContextMenuItemCreate):
2912
2913 2013-11-12  Anders Carlsson  <andersca@apple.com>
2914
2915         Remove ImmutableArray::isMutable
2916         https://bugs.webkit.org/show_bug.cgi?id=124242
2917
2918         Reviewed by Dan Bernstein.
2919
2920         * Shared/API/c/WKMutableArray.cpp:
2921         (WKArrayIsMutable):
2922         * Shared/Cocoa/WKNSArray.mm:
2923         (-[WKNSArray copyWithZone:]):
2924         * Shared/ImmutableArray.h:
2925
2926 2013-11-12  Anders Carlsson  <andersca@apple.com>
2927
2928         WKMutableArrayRef should be an ImmutableArray
2929         https://bugs.webkit.org/show_bug.cgi?id=124239
2930
2931         Reviewed by Sam Weinig.
2932
2933         * Shared/API/Cocoa/WKRemoteObjectCoder.mm:
2934         (ensureObjectStream):
2935         * Shared/API/c/WKMutableArray.cpp:
2936         (WKMutableArrayCreate):
2937         * Shared/API/c/WKSharedAPICast.h:
2938
2939 2013-11-12  Anders Carlsson  <andersca@apple.com>
2940
2941         Remove more functionality from MutableArray
2942         https://bugs.webkit.org/show_bug.cgi?id=124235
2943
2944         Reviewed by Beth Dakin.
2945
2946         * Shared/API/Cocoa/WKRemoteObjectCoder.mm:
2947         (encodeToObjectStream):
2948         * Shared/API/c/WKMutableArray.cpp:
2949         (WKArrayAppendItem):
2950         (WKArrayRemoveItemAtIndex):
2951         * Shared/Cocoa/WKNSArray.mm:
2952         (-[WKNSArray copyWithZone:]):
2953         * Shared/ImmutableArray.h:
2954         (WebKit::ImmutableArray::elements):
2955         * Shared/MutableArray.cpp:
2956         * Shared/MutableArray.h:
2957
2958 2013-11-12  Anders Carlsson  <andersca@apple.com>
2959
2960         Remove most uses of MutableArray
2961         https://bugs.webkit.org/show_bug.cgi?id=124232
2962
2963         Reviewed by Sam Weinig.
2964
2965         * Shared/API/c/WKMutableArray.cpp:
2966         (WKMutableArrayCreate):
2967         * Shared/UserMessageCoders.h:
2968         (WebKit::UserMessageDecoder::baseDecode):
2969         * Shared/WebRenderLayer.h:
2970         (WebKit::WebRenderLayer::create):
2971         (WebKit::WebRenderLayer::WebRenderLayer):
2972         * Shared/WebRenderObject.cpp:
2973         (WebKit::WebRenderObject::WebRenderObject):
2974         * Shared/WebRenderObject.h:
2975         (WebKit::WebRenderObject::create):
2976         (WebKit::WebRenderObject::WebRenderObject):
2977         * WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp:
2978         (WebKit::InjectedBundlePageContextMenuClient::getCustomMenuFromDefaultItems):
2979
2980 2013-11-12  Anders Carlsson  <andersca@apple.com>
2981
2982         Use Vector + ImmutableArray instead of MutableArray
2983         https://bugs.webkit.org/show_bug.cgi?id=124221
2984
2985         Reviewed by Andreas Kling.
2986
2987         * Shared/WebRenderLayer.cpp:
2988         (WebKit::WebRenderLayer::createArrayFromLayerList):
2989         * Shared/WebRenderLayer.h:
2990         * UIProcess/Notifications/WebNotificationProvider.cpp:
2991         (WebKit::WebNotificationProvider::clearNotifications):
2992         * UIProcess/WebPageContextMenuClient.cpp:
2993         (WebKit::WebPageContextMenuClient::getContextMenuFromProposedMenu):
2994         * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
2995         (contextMenuItems):
2996         (WKBundlePageCopyContextMenuItems):
2997         (WKBundlePageCopyContextMenuAtPointInWindow):
2998
2999 2013-11-12  Zan Dobersek  <zdobersek@igalia.com>
3000
3001         Unreviewed GTK build fix after r159129.
3002
3003         * UIProcess/API/gtk/WebKitFileChooserRequest.cpp:
3004         (webkit_file_chooser_request_select_files): Use ImmutableArray::create() instead.
3005         * UIProcess/API/gtk/WebKitWebViewGroup.cpp:
3006         (toImmutableArray): Ditto.
3007
3008 2013-11-12  Anders Carlsson  <andersca@apple.com>
3009
3010         Stop using WKArrayCreate internally
3011         https://bugs.webkit.org/show_bug.cgi?id=124217
3012
3013         Reviewed by Andreas Kling.
3014
3015         * UIProcess/API/mac/WKBrowsingContextGroup.mm:
3016         (createWKArray):
3017         (-[WKBrowsingContextGroup addUserStyleSheet:baseURL:whitelistedURLPatterns:blacklistedURLPatterns:mainFrameOnly:]):
3018         (-[WKBrowsingContextGroup addUserScript:baseURL:whitelistedURLPatterns:blacklistedURLPatterns:injectionTime:mainFrameOnly:]):
3019         * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
3020         (WKBundlePageCopyContextMenuItems):
3021
3022 2013-11-12  Csaba Osztrogonác  <ossy@webkit.org>
3023
3024         URTBF after r159129, use create() instead of adopt() everywhere.
3025
3026         * UIProcess/WebGrammarDetail.cpp:
3027         (WebKit::WebGrammarDetail::guesses):
3028         * UIProcess/efl/WebUIPopupMenuClient.cpp:
3029         (WebUIPopupMenuClient::showPopupMenu):
3030
3031 2013-11-12  Anders Carlsson  <andersca@apple.com>
3032
3033         Simplify ImmutableArray creation
3034         https://bugs.webkit.org/show_bug.cgi?id=124213
3035
3036         Reviewed by Andreas Kling.
3037
3038         Get rid of the various ImmutableArray::adopt functions and have a single create function instead.
3039         Use std::move to avoid unnecessarily copying vector data.
3040
3041         * Shared/API/c/WKArray.cpp:
3042         (WKArrayCreate):
3043         (WKArrayCreateAdoptingValues):
3044         * Shared/Cocoa/WKNSArray.mm:
3045         (-[WKNSArray copyWithZone:]):
3046         * Shared/ImmutableArray.cpp:
3047         (WebKit::ImmutableArray::create):
3048         (WebKit::ImmutableArray::createStringArray):
3049         (WebKit::ImmutableArray::ImmutableArray):
3050         * Shared/ImmutableArray.h:
3051         (WebKit::ImmutableArray::at):
3052         (WebKit::ImmutableArray::size):
3053         (WebKit::ImmutableArray::entries):
3054         * Shared/ImmutableDictionary.cpp:
3055         (WebKit::ImmutableDictionary::keys):
3056         * Shared/MutableArray.cpp:
3057         (WebKit::MutableArray::MutableArray):
3058         (WebKit::MutableArray::append):
3059         (WebKit::MutableArray::reserveCapacity):
3060         (WebKit::MutableArray::removeItemAtIndex):
3061         * Shared/SecurityOriginData.cpp:
3062         (WebKit::performAPICallbackWithSecurityOriginDataVector):
3063         * Shared/UserMessageCoders.h:
3064         (WebKit::UserMessageDecoder::baseDecode):
3065         * Shared/WebArchive.cpp:
3066         (WebKit::WebArchive::subresources):
3067         (WebKit::WebArchive::subframeArchives):
3068         * Shared/WebContextMenuItem.cpp:
3069         (WebKit::WebContextMenuItem::submenuItemsAsImmutableArray):
3070         * UIProcess/API/C/mac/WKContextPrivateMac.mm:
3071         (WKContextGetInfoForInstalledPlugIns):
3072         * UIProcess/StatisticsRequest.cpp:
3073         (WebKit::StatisticsRequest::completedRequest):
3074         * UIProcess/WebBackForwardList.cpp:
3075         (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
3076         (WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit):
3077         * UIProcess/WebContext.cpp:
3078         (WebKit::WebContext::pluginInfoStoreDidLoadPlugins):
3079         * UIProcess/WebDatabaseManagerProxy.cpp:
3080         (WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin):
3081         (WebKit::WebDatabaseManagerProxy::didGetDatabaseOrigins):
3082         * UIProcess/WebKeyValueStorageManager.cpp:
3083         (WebKit::didGetKeyValueStorageOrigins):
3084         * UIProcess/WebLoaderClient.cpp:
3085         (WebKit::WebLoaderClient::didChangeBackForwardList):
3086         * UIProcess/WebPageContextMenuClient.cpp:
3087         (WebKit::WebPageContextMenuClient::showContextMenu):
3088         * UIProcess/WebPageProxy.cpp:
3089         (WebKit::WebPageProxy::relatedPages):
3090         (WebKit::WebPageProxy::didFindStringMatches):
3091         * WebProcess/InjectedBundle/InjectedBundle.cpp:
3092         (WebKit::InjectedBundle::originsWithApplicationCache):
3093         * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp:
3094         (WebKit::InjectedBundleBackForwardListItem::children):
3095         * WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
3096         (WebKit::InjectedBundlePageFormClient::didAssociateFormControls):
3097         * WebProcess/WebPage/WebFrame.cpp:
3098         (WebKit::WebFrame::childFrames):
3099         * WebProcess/WebPage/WebPage.cpp:
3100         (WebKit::WebPage::trackedRepaintRects):
3101
3102 2013-11-12  Csaba Osztrogonác  <ossy@webkit.org>
3103
3104         The last URTBF after r159108 to make GTK happy.
3105
3106         * GNUmakefile.am:
3107
3108 2013-11-12  Csaba Osztrogonác  <ossy@webkit.org>
3109
3110         One more URTBF after r159108, I hope the last one.
3111
3112         * GNUmakefile.am:
3113
3114 2013-11-12  Tim Horton  <timothy_horton@apple.com>
3115
3116         Remote Layer Tree: Assertions during layer flushing after replaceSublayer()
3117         https://bugs.webkit.org/show_bug.cgi?id=124194
3118
3119         Reviewed by Anders Carlsson.
3120
3121         * WebProcess/WebPage/mac/PlatformCALayerRemote.cpp:
3122         (PlatformCALayerRemote::replaceSublayer):
3123         Only remove the old layer from the children array once (via removeFromSuperlayer).
3124         Update the superlayer backpointer on the new layer.
3125
3126 2013-11-12  Anders Carlsson  <andersca@apple.com>
3127
3128         Add ImmutableArray::createStringArray
3129         https://bugs.webkit.org/show_bug.cgi?id=124210
3130
3131         Reviewed by Andreas Kling.
3132
3133         Creating an ImmutableArray of WebStrings is a common operation, so add a 
3134         helper function to ImmutableArray that does this from a Vector of Strings.
3135
3136         * Shared/ImmutableArray.cpp:
3137         (WebKit::ImmutableArray::createStringArray):
3138         * Shared/ImmutableArray.h:
3139         * Shared/ImmutableDictionary.cpp:
3140         (WebKit::ImmutableDictionary::keys):
3141         * Shared/WebOpenPanelParameters.cpp:
3142         (WebKit::WebOpenPanelParameters::acceptMIMETypes):
3143         (WebKit::WebOpenPanelParameters::selectedFileNames):
3144         * UIProcess/Plugins/WebPluginSiteDataManager.cpp:
3145         (WebKit::WebPluginSiteDataManager::didGetSitesWithData):
3146         * UIProcess/WebCookieManagerProxy.cpp:
3147         (WebKit::WebCookieManagerProxy::didGetHostnamesWithCookies):
3148         * UIProcess/WebMediaCacheManagerProxy.cpp:
3149         (WebKit::WebMediaCacheManagerProxy::didGetHostnamesWithMediaCache):
3150         * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
3151         (WebKit::InjectedBundlePageLoaderClient::featuresUsedInPage):
3152
3153 2013-11-12  Csaba Osztrogonác  <ossy@webkit.org>
3154
3155         One more URTBF after r159108.
3156
3157         * GNUmakefile.am:
3158
3159 2013-11-12  Anders Carlsson  <andersca@apple.com>
3160
3161         Begin cleaning up handling of ImmutableArray vectors
3162         https://bugs.webkit.org/show_bug.cgi?id=124208
3163
3164         Reviewed by Andreas Kling.
3165
3166         Use range based for to iterate the loops. Use reserveInitialCapacity + uncheckedAppend
3167         when appending vector elements.
3168
3169         * Shared/SecurityOriginData.cpp:
3170         (WebKit::performAPICallbackWithSecurityOriginDataVector):
3171         * Shared/WebArchive.cpp:
3172         (WebKit::WebArchive::subresources):
3173         (WebKit::WebArchive::subframeArchives):
3174         * Shared/WebContextMenuItem.cpp:
3175         (WebKit::WebContextMenuItem::submenuItemsAsImmutableArray):
3176         * Shared/WebOpenPanelParameters.cpp:
3177         (WebKit::WebOpenPanelParameters::acceptMIMETypes):
3178         (WebKit::WebOpenPanelParameters::selectedFileNames):
3179         * UIProcess/API/C/mac/WKContextPrivateMac.mm:
3180         (WKContextGetInfoForInstalledPlugIns):
3181         * UIProcess/Plugins/WebPluginSiteDataManager.cpp:
3182         (WebKit::WebPluginSiteDataManager::didGetSitesWithData):
3183         * UIProcess/StatisticsRequest.cpp:
3184         (WebKit::StatisticsRequest::completedRequest):
3185         * UIProcess/WebContext.cpp:
3186         (WebKit::WebContext::pluginInfoStoreDidLoadPlugins):
3187         * UIProcess/WebCookieManagerProxy.cpp:
3188         (WebKit::WebCookieManagerProxy::didGetHostnamesWithCookies):
3189         * UIProcess/WebDatabaseManagerProxy.cpp:
3190         (WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin):
3191         (WebKit::WebDatabaseManagerProxy::didGetDatabaseOrigins):
3192         * UIProcess/WebMediaCacheManagerProxy.cpp:
3193         (WebKit::WebMediaCacheManagerProxy::didGetHostnamesWithMediaCache):
3194         * UIProcess/WebPageContextMenuClient.cpp:
3195         (WebKit::WebPageContextMenuClient::showContextMenu):
3196         * UIProcess/WebPageProxy.cpp:
3197         (WebKit::WebPageProxy::relatedPages):
3198         (WebKit::WebPageProxy::didFindStringMatches):
3199         * WebProcess/InjectedBundle/InjectedBundle.cpp:
3200         (WebKit::InjectedBundle::originsWithApplicationCache):
3201         * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp:
3202         (WebKit::InjectedBundleBackForwardListItem::children):
3203         * WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
3204         (WebKit::InjectedBundlePageFormClient::didAssociateFormControls):
3205         * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
3206         (WebKit::InjectedBundlePageLoaderClient::featuresUsedInPage):
3207         * WebProcess/WebPage/WebPage.cpp:
3208         (WebKit::WebPage::trackedRepaintRects):
3209
3210 2013-11-12  Csaba Osztrogonác  <ossy@webkit.org>
3211
3212         One more URTBF after r159108.
3213
3214         * CMakeLists.txt:
3215
3216 2013-11-12  Csaba Osztrogonác  <ossy@webkit.org>
3217
3218         URTBF after r159108.
3219
3220         * CMakeLists.txt:
3221         * GNUmakefile.list.am:
3222
3223 2013-11-12  Anders Carlsson  <andersca@apple.com>
3224
3225         Move StringReference to Platform/IPC
3226         https://bugs.webkit.org/show_bug.cgi?id=124203
3227
3228         Reviewed by Antti Koivisto.
3229
3230         * Platform/IPC/StringReference.cpp: Renamed from Source/WebKit2/Platform/CoreIPC/StringReference.cpp.
3231         (CoreIPC::StringReference::toString):
3232         (CoreIPC::StringReference::encode):
3233         (CoreIPC::StringReference::decode):
3234         (CoreIPC::StringReference::Hash::hash):
3235         * Platform/IPC/StringReference.h: Renamed from Source/WebKit2/Platform/CoreIPC/StringReference.h.
3236         (CoreIPC::StringReference::StringReference):
3237         (CoreIPC::StringReference::isEmpty):
3238         (CoreIPC::StringReference::size):
3239         (CoreIPC::StringReference::data):
3240         (CoreIPC::StringReference::operator==):
3241         (CoreIPC::StringReference::Hash::equal):
3242         * WebKit2.xcodeproj/project.pbxproj:
3243
3244 2013-11-11  Tim Horton  <timothy_horton@apple.com>
3245
3246         Remote Layer Tree: Sporadic memory corruption during painting
3247         https://bugs.webkit.org/show_bug.cgi?id=124191
3248
3249         Reviewed by Brady Eidson.
3250
3251         Fix a logic error (flipped the logic, didn't flip the operator)
3252         made in the last version of r158982 that caused some crashes because
3253         it allowed us to overrun the end of cgPaintingRects.
3254
3255         * Shared/mac/RemoteLayerBackingStore.mm:
3256         (RemoteLayerBackingStore::drawInContext):
3257
3258 2013-11-11  Commit Queue  <commit-queue@webkit.org>
3259
3260         Unreviewed, rolling out r159088.
3261         http://trac.webkit.org/changeset/159088
3262         https://bugs.webkit.org/show_bug.cgi?id=124187
3263
3264         It broke the EFL build, because it removed a used function
3265         (rs=thorton) (Requested by Ossy_night on #webkit).
3266
3267         * UIProcess/WebPageProxy.cpp:
3268         (WebKit::WebPageProxy::WebPageProxy):
3269         (WebKit::WebPageProxy::resetStateAfterProcessExited):
3270         * UIProcess/WebPageProxy.h:
3271         (WebKit::WebPageProxy::urlAtProcessExit):
3272         (WebKit::WebPageProxy::loadStateAtProcessExit):
3273
3274 2013-11-11  Csaba Osztrogonác  <ossy@webkit.org>
3275
3276         URTBF after r159077 to make GTK build happy.
3277
3278         * GNUmakefile.list.am:
3279
3280 2013-11-11  Gustavo Noronha Silva  <gns@gnome.org>
3281
3282         REGRESSION(r158976): Web Inspector: unable to start docked or dock
3283         https://bugs.webkit.org/show_bug.cgi?id=124148
3284
3285         Reviewed by Timothy Hatcher.
3286
3287         * UIProcess/WebInspectorProxy.cpp:
3288         (WebKit::WebInspectorProxy::canAttach): check for a level that is greater than 1 rather than 0
3289         to deny attachment, since 1 is the first level of inspectors.
3290
3291 2013-11-11  Anders Carlsson  <andersca@apple.com>
3292
3293         FrameFilter can just be an std::function instead
3294         https://bugs.webkit.org/show_bug.cgi?id=124176
3295
3296         Reviewed by Tim Horton.
3297
3298         * WebProcess/WebPage/WebFrame.cpp:
3299         (WebKit::WebFrame::webArchiveData):
3300
3301 2013-11-11  Anders Carlsson  <andersca@apple.com>
3302
3303         Remove unused Qt cruft
3304         https://bugs.webkit.org/show_bug.cgi?id=124174
3305
3306         Reviewed by Tim Horton.
3307
3308         * UIProcess/WebPageProxy.cpp:
3309         (WebKit::WebPageProxy::WebPageProxy):
3310         (WebKit::WebPageProxy::resetStateAfterProcessExited):
3311         * UIProcess/WebPageProxy.h:
3312
3313 2013-11-11  Anders Carlsson  <andersca@apple.com>
3314
3315         REGRESSION (r158927): curly-braces-escaping.html is broken on Mac WebKit2
3316         https://bugs.webkit.org/show_bug.cgi?id=124164
3317
3318         Reviewed by Alexey Proskuryakov.
3319
3320         Back out the change to use NSSecureCoding for encoding/decoding NSURLRequest and
3321         NSURLResponse objects; turns out the NSURL encoding/decoding doesn't preserve the raw URL bytes.
3322
3323         * Shared/mac/WebCoreArgumentCodersMac.mm:
3324         (CoreIPC::encodePlatformData):
3325         (CoreIPC::decodePlatformData):
3326
3327 2013-11-11  Ryuan Choi  <ryuan.choi@samsung.com>
3328
3329         Unreviewed build fix on CMake Based port since r159077.
3330
3331         * CMakeLists.txt:
3332
3333 2013-11-11  Tim Horton  <timothy_horton@apple.com>
3334
3335         Remote Layer Tree: Implement Page Overlays
3336         https://bugs.webkit.org/show_bug.cgi?id=124165
3337         <rdar://problem/15199056>
3338
3339         Reviewed by Anders Carlsson.
3340
3341         Implement page overlays, very similar to how they work in TiledCoreAnimationDrawingArea,
3342         but manipulating the PlatformCALayer tree instead of the CALayer tree directly.
3343
3344         * WebProcess/WebPage/mac/RemoteLayerTreeContext.h:
3345         * WebProcess/WebPage/mac/RemoteLayerTreeContext.mm:
3346         (WebKit::RemoteLayerTreeContext::outOfTreeLayerWasAdded):
3347         (WebKit::RemoteLayerTreeContext::outOfTreeLayerWillBeRemoved):
3348         (WebKit::RemoteLayerTreeContext::flushLayers):
3349         Add a list of out-of-tree GraphicsLayers which are flushed in addition
3350         to the page's GraphicsLayer tree, and functions to manipulate this list.
3351
3352         * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
3353         Make RemoteLayerTreeDrawingArea a GraphicsLayerClient, so we can get callbacks
3354         from the GraphicsLayers that drive our page overlays.
3355         Override the relevant page overlay functions.
3356         Add storage for the root layer, view size, and a map of PageOverlay->GraphicsLayer.
3357
3358         * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
3359         (WebKit::RemoteLayerTreeDrawingArea::setRootCompositingLayer):
3360         Store the root GraphicsLayer for later use.
3361
3362         (WebKit::RemoteLayerTreeDrawingArea::updateGeometry):
3363         Update the size of the page overlays when the DrawingArea's geometry changes.
3364
3365         (WebKit::RemoteLayerTreeDrawingArea::updatePreferences):
3366         Update the page overlay settings when necessary.
3367
3368         (WebKit::RemoteLayerTreeDrawingArea::didInstallPageOverlay):
3369         Create a GraphicsLayer for our page overlay, set it up, and parent it.
3370         Inform the RemoteLayerTreeContext that it will need to flush this GraphicsLayer,
3371         since it's not a part of the page's GraphicsLayer tree.
3372
3373         (WebKit::RemoteLayerTreeDrawingArea::didUninstallPageOverlay):
3374         Tear down our page overlay's GraphicsLayer.
3375
3376         (WebKit::RemoteLayerTreeDrawingArea::setPageOverlayNeedsDisplay):
3377         (WebKit::RemoteLayerTreeDrawingArea::setPageOverlayOpacity):
3378         (WebKit::RemoteLayerTreeDrawingArea::paintContents):
3379         (WebKit::RemoteLayerTreeDrawingArea::deviceScaleFactor):
3380
3381 2013-11-11  Anders Carlsson  <andersca@apple.com>
3382
3383         Add a FrameLoadState object and begin moving loading related members from WebFrameProxy
3384         https://bugs.webkit.org/show_bug.cgi?id=124163
3385
3386         Reviewed by Beth Dakin.
3387
3388         * UIProcess/API/C/WKFrame.cpp:
3389         (WKFrameGetFrameLoadState):
3390         * UIProcess/FrameLoadState.cpp: Added.
3391         (WebKit::FrameLoadState::FrameLoadState):
3392         (WebKit::FrameLoadState::~FrameLoadState):
3393         * UIProcess/FrameLoadState.h: Added.
3394         * UIProcess/WebFrameProxy.cpp:
3395         (WebKit::WebFrameProxy::WebFrameProxy):
3396         (WebKit::WebFrameProxy::didStartProvisionalLoad):
3397         (WebKit::WebFrameProxy::didReceiveServerRedirectForProvisionalLoad):
3398         (WebKit::WebFrameProxy::didFailProvisionalLoad):
3399         (WebKit::WebFrameProxy::didCommitLoad):
3400         (WebKit::WebFrameProxy::didFinishLoad):
3401         (WebKit::WebFrameProxy::didFailLoad):
3402         (WebKit::WebFrameProxy::didSameDocumentNavigation):
3403         (WebKit::WebFrameProxy::setUnreachableURL):
3404         * UIProcess/WebFrameProxy.h:
3405         (WebKit::WebFrameProxy::frameLoadState):
3406         (WebKit::WebFrameProxy::loadState):
3407         (WebKit::WebFrameProxy::url):
3408         (WebKit::WebFrameProxy::provisionalURL):
3409         (WebKit::WebFrameProxy::unreachableURL):
3410         * UIProcess/WebPageProxy.cpp:
3411         (WebKit::WebPageProxy::WebPageProxy):
3412         (WebKit::WebPageProxy::activeURL):
3413         * UIProcess/WebPageProxy.h:
3414         (WebKit::WebPageProxy::loadStateAtProcessExit):
3415         * WebKit2.xcodeproj/project.pbxproj:
3416
3417 2013-11-11  Gergo Balogh  <geryxyz@inf.u-szeged.hu>
3418
3419         Remove #include from test input of the *Messages.in processing scripts.
3420         https://bugs.webkit.org/show_bug.cgi?id=123563
3421
3422         Reviewed by Darin Adler.
3423
3424         * Scripts/webkit2/messages_unittest.py:
3425
3426 2013-11-11  Anders Carlsson  <andersca@apple.com>
3427
3428         Remove block based APIs from the WebKit2 C API
3429         https://bugs.webkit.org/show_bug.cgi?id=124157
3430
3431         Reviewed by Sam Weinig.
3432
3433         Remove most of the block based C APIs from WebKit2. We want to discourage people from using
3434         them since any C API "objects" captured by blocks won't be implicitly retained which
3435         can lead to dangling pointer bugs.
3436
3437         * UIProcess/API/C/WKDatabaseManager.cpp:
3438         * UIProcess/API/C/WKDatabaseManager.h:
3439         * UIProcess/API/C/WKFrame.cpp:
3440         * UIProcess/API/C/WKFrame.h:
3441         * UIProcess/API/C/WKPage.cpp:
3442         * UIProcess/API/C/WKPage.h:
3443         * UIProcess/API/C/WKPagePrivate.h:
3444
3445 2013-11-11  Carlos Garcia Campos  <cgarcia@igalia.com>
3446
3447         [GTK] Crash when printing via javascript in WebKit2
3448         https://bugs.webkit.org/show_bug.cgi?id=124043
3449
3450         Reviewed by Martin Robinson.
3451
3452         It happens because the print operation when started by the
3453         WebProcess due to a DOM operation is supposed to be synchronous
3454         and our print operation is always asynchronous. This is currently
3455         handled only in the UI process because other ports print
3456         synchronously in the WebProcess. In the GTK+ port we need to
3457         notify the WebProcess that the print operation should run
3458         synchronously when request by a DOM operation. Together with the
3459         print settings and page setup we now send a print mode that can be
3460         sync or async. When printing in sync mode we run a nested main loop
3461         for the print operation, making sure that print sources have a
3462         higher priority.
3463
3464         * Shared/PrintInfo.cpp:
3465         (WebKit::PrintInfo::encode): Encode the print mode.
3466         (WebKit::PrintInfo::decode): Decode the print mode.
3467         * Shared/PrintInfo.h: Add PrintMode enum.
3468         * Shared/gtk/PrintInfoGtk.cpp:
3469         (WebKit::PrintInfo::PrintInfo): Initialize print mode.
3470         * UIProcess/API/gtk/WebKitPrintOperation.cpp:
3471         (drawPagesForPrintingCompleted): Do not call endPrinting() when
3472         printing synchronously because WebPageProxy already calls it right
3473         after sending the message to the WebProcess.
3474         (webkitPrintOperationPrintPagesForFrame): Create the PrintInfo
3475         struct with a print mode.
3476         (webkitPrintOperationSetPrintMode): Helper private function to set
3477         the print mode of the print operation.
3478         * UIProcess/API/gtk/WebKitPrintOperationPrivate.h:
3479         * UIProcess/API/gtk/WebKitWebView.cpp:
3480         (webkitWebViewPrintFrame): Set sync print mode when printing due
3481         to a UIClient request.
3482         * WebProcess/WebPage/gtk/WebPrintOperationGtk.cpp:
3483         (WebKit::PrintPagesData::PrintPagesData): Create a main loop when
3484         printing synchronously.
3485         (WebKit::WebPrintOperationGtk::WebPrintOperationGtk): Initialize
3486         print mode.
3487         (WebKit::WebPrintOperationGtk::printPagesIdleDone): Finish the
3488         nested main loop when printing synchronously.
3489         (WebKit::WebPrintOperationGtk::print): Run a nested main loop when
3490         printing synchronously.
3491         * WebProcess/WebPage/gtk/WebPrintOperationGtk.h:
3492         (WebKit::WebPrintOperationGtk::printMode): Return the print mode.
3493
3494 2013-11-10  Carlos Garcia Campos  <cgarcia@igalia.com>
3495
3496         [GTK] [WebKit2] Crash when printing to a file via javascript
3497         https://bugs.webkit.org/show_bug.cgi?id=122801
3498
3499         Reviewed by Martin Robinson.
3500
3501         This crash is caused by a GTK+ bug, but we can work around it by
3502         ensuring the print dialog is always shown with a valid
3503         GtkPrintSettings object.
3504
3505         * UIProcess/API/gtk/WebKitPrintOperation.cpp:
3506         (webkitPrintOperationRunDialog):
3507
3508 2013-11-09  Dan Bernstein  <mitz@apple.com>
3509
3510         Use createCFURLFromBuffer when converting a String to a CFURL
3511         https://bugs.webkit.org/show_bug.cgi?id=124113
3512
3513         Reviewed by Anders Carlsson.
3514
3515         * Shared/API/c/cf/WKURLCF.mm:
3516         (WKURLCopyCFURL): Replaced some code with a call to createCFURLFromBuffer(), which does the
3517         same thing.
3518
3519         * Shared/Cocoa/WKNSURLExtras.h: Added.
3520         * Shared/Cocoa/WKNSURLExtras.mm: Added.
3521         (+[NSURL _web_URLWithWTFString:relativeToURL:]): Added. Returns nil for the null String,
3522         otherwise returns the result of createCFURLFromBuffer().
3523
3524         * UIProcess/API/Cocoa/WKBackForwardListItem.mm:
3525         (-[WKBackForwardListItem URL]): Changed to use +_web_URLWithWTFString:relativeToURL:.
3526         (-[WKBackForwardListItem originalURL]): Ditto.
3527
3528         * UIProcess/API/Cocoa/WKNavigationData.mm:
3529         (-[WKNavigationData destinationURL]): Ditto.
3530
3531         * UIProcess/API/mac/WKBrowsingContextController.mm:
3532         (-[WKBrowsingContextController unreachableURL]): Ditto.
3533
3534         * WebKit2.xcodeproj/project.pbxproj: Added references to new files.
3535
3536 2013-11-09  Anders Carlsson  <andersca@apple.com>
3537
3538         Encode form data using the KeyedEncoder
3539         https://bugs.webkit.org/show_bug.cgi?id=124107
3540
3541         Reviewed by Sam Weinig.
3542
3543         * Shared/cf/KeyedEncoder.cpp:
3544         (WebKit::KeyedEncoder::encodeBool):
3545         (WebKit::KeyedEncoder::encodeDouble):
3546         * Shared/cf/KeyedEncoder.h:
3547
3548 2013-11-09  Anders Carlsson  <andersca@apple.com>
3549
3550         Remove an unused file.
3551
3552         Rubber-stamped by Andreas Kling.
3553
3554         * WebProcess/WebPage/gtk/ChunkedUpdateDrawingAreaGtk.cpp: Removed.
3555
3556 2013-11-09  Patrick Gansterer  <paroga@webkit.org>
3557
3558         Move RunLoop from WebCore to WTF
3559         https://bugs.webkit.org/show_bug.cgi?id=116606
3560
3561         Reviewed by Anders Carlsson.
3562
3563         * DatabaseProcess/DatabaseProcess.cpp:
3564         * DatabaseProcess/DatabaseToWebProcessConnection.cpp:
3565         * NetworkProcess/NetworkConnectionToWebProcess.cpp:
3566         * NetworkProcess/NetworkProcess.cpp:
3567         * NetworkProcess/NetworkProcess.h:
3568         * NetworkProcess/NetworkResourceLoader.h:
3569         * NetworkProcess/mac/DiskCacheMonitor.h:
3570         * NetworkProcess/unix/NetworkProcessMainUnix.cpp:
3571         * Platform/CoreIPC/Connection.cpp:
3572         * Platform/CoreIPC/Connection.h:
3573         * Platform/CoreIPC/mac/ConnectionMac.cpp:
3574         * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm:
3575         * PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm:
3576         * PluginProcess/PluginControllerProxy.h:
3577         * PluginProcess/PluginProcess.cpp:
3578         * PluginProcess/PluginProcess.h:
3579         * PluginProcess/WebProcessConnection.cpp:
3580         * PluginProcess/unix/PluginProcessMainUnix.cpp:
3581         * Shared/ChildProcess.cpp:
3582         * Shared/ChildProcess.h:
3583         * Shared/ChildProcessProxy.cpp:
3584         * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h:
3585         * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm:
3586         * Shared/Plugins/NPObjectProxy.cpp:
3587         * Shared/WebKit2Initialize.cpp:
3588         (WebKit::InitializeWebKit2):
3589         * UIProcess/API/gtk/WebKitFaviconDatabase.cpp:
3590         * UIProcess/API/mac/FindIndicatorWindow.h:
3591         * UIProcess/API/mac/WKPrintingView.mm:
3592         * UIProcess/API/mac/WKView.mm:
3593         * UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h:
3594         * UIProcess/DrawingAreaProxyImpl.h:
3595         * UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
3596         * UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
3597         * UIProcess/Launcher/mac/ProcessLauncherMac.mm:
3598         * UIProcess/Network/NetworkProcessProxy.cpp:
3599         * UIProcess/Plugins/PluginProcessProxy.cpp:
3600         * UIProcess/ResponsivenessTimer.cpp:
3601         * UIProcess/ResponsivenessTimer.h:
3602         * UIProcess/VisitedLinkProvider.h:
3603         * UIProcess/WebContext.cpp:
3604         * UIProcess/WebProcessProxy.cpp:
3605         * WebProcess/Databases/WebToDatabaseProcessConnection.cpp:
3606         * WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm:
3607         * WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm:
3608         * WebProcess/Network/WebResourceLoadScheduler.h:
3609         * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h:
3610         * WebProcess/Plugins/Netscape/NetscapePlugin.h:
3611         * WebProcess/Plugins/Netscape/NetscapePluginStream.h:
3612         * WebProcess/Plugins/PluginView.h:
3613         * WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h:
3614         * WebProcess/WebPage/DrawingAreaImpl.h:
3615         * WebProcess/WebPage/EventDispatcher.cpp:
3616         * WebProcess/WebPage/PageOverlay.h:
3617         * WebProcess/WebPage/WebPage.cpp:
3618         * WebProcess/WebPage/WebPage.h:
3619         * WebProcess/WebProcess.cpp:
3620         * WebProcess/efl/WebProcessMainEfl.cpp:
3621         * WebProcess/gtk/WebProcessMainGtk.cpp:
3622
3623 2013-11-08  Brady Eidson  <beidson@apple.com>
3624
3625         Merge IDBDatabaseBackendInterface and IDBDatabaseBackendImpl
3626         https://bugs.webkit.org/show_bug.cgi?id=124088
3627
3628         Reviewed by Tim Horton.
3629
3630         This abstraction is no longer meaningful in its current form in WebCore.
3631         The current groundwork for the WK2 DatabaseProcess relied on this abstraction,
3632         but that will be reworked in a future patch.
3633
3634         * DatabaseProcess/IndexedDB/DatabaseProcessIDBDatabaseBackend.h:
3635
3636         * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp:
3637         (WebKit::WebIDBFactoryBackend::maybeCreateTransactionBackend):
3638         (WebKit::WebIDBFactoryBackend::createCursorBackend):
3639         * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h:
3640
3641         * WebProcess/Databases/IndexedDB/WebProcessIDBDatabaseBackend.cpp:
3642         (WebKit::WebProcessIDBDatabaseBackend::put):
3643         (WebKit::WebProcessIDBDatabaseBackend::openCursor):
3644         * WebProcess/Databases/IndexedDB/WebProcessIDBDatabaseBackend.h:
3645
3646 2013-11-08  Jaehun Lim  <ljaehun.lim@samsung.com>
3647
3648         Unreviewed build fix after r158984.
3649
3650         No needs to include "KeyedEncoder.h".
3651         WebKit/Source/WebKit2/WebProcess/WebPage/WebBackForwardListProxy.cpp:31:26: fatal error: KeyedEncoder.h: No such file or directory
3652
3653         * WebProcess/WebPage/WebBackForwardListProxy.cpp: Removed #include line.
3654
3655 2013-11-08  Anders Carlsson  <andersca@apple.com>
3656
3657         Implement encoding of arrays of objects
3658         https://bugs.webkit.org/show_bug.cgi?id=124091
3659
3660         Reviewed by Beth Dakin.
3661
3662         Add a new array stack and push and pop from it accordingly.
3663
3664         * Shared/cf/KeyedEncoder.cpp:
3665         (WebKit::KeyedEncoder::~KeyedEncoder):
3666         (WebKit::KeyedEncoder::encodeBytes):
3667         (WebKit::KeyedEncoder::encodeUInt32):
3668         (WebKit::KeyedEncoder::encodeInt32):
3669         (WebKit::KeyedEncoder::encodeInt64):
3670         (WebKit::KeyedEncoder::encodeFloat):
3671         (WebKit::KeyedEncoder::beginArray):
3672         (WebKit::KeyedEncoder::beginArrayElement):
3673         (WebKit::KeyedEncoder::endArrayElement):
3674         (WebKit::KeyedEncoder::endArray):
3675         * Shared/cf/KeyedEncoder.h:
3676
3677 2013-11-08  Tim Horton  <timothy_horton@apple.com>
3678
3679         Remote Layer Tree: RemoteLayerBackingStore partial repaint is broken for the tile cache
3680         https://bugs.webkit.org/show_bug.cgi?id=123944
3681
3682         Reviewed by Simon Fraser.
3683
3684         Rework RemoteLayerBackingStore painting to fix some rounding issues
3685         that would cause pixel cracks upon repaint, and to speed it up a bit.
3686
3687         * Shared/mac/RemoteLayerBackingStore.h:
3688         Redefine RepaintRectList because we can't include WebLayer.h here yet.
3689         Remove createBackingStore, which was never implemented.
3690         Remove mapToContentCoordinates, because we don't need it on Mac.
3691
3692         (WebKit::RemoteLayerBackingStore::paintingRects): Added.
3693
3694         * Shared/mac/RemoteLayerBackingStore.mm:
3695         (RemoteLayerBackingStore::setNeedsDisplay):
3696         (RemoteLayerBackingStore::display):
3697         Stop using mapToContentCoordinates.
3698
3699         (RemoteLayerBackingStore::drawInContext):
3700         Use clipping instead of painting the image multiple times.
3701         Never repaint more than the dirty region's bounds.
3702         Don't waste time with all of the drawNativeImage code, just use CG.
3703         Unindent the switch's cases.
3704         Store the rects we're painting so that enumerateRectsBeingDrawn can get them.
3705         Pixel-snap the rects we're painting.
3706         Clip the context before going to paint.
3707
3708         * WebProcess/WebPage/mac/PlatformCALayerRemote.cpp:
3709         (PlatformCALayerRemote::enumerateRectsBeingDrawn):
3710         * WebProcess/WebPage/mac/PlatformCALayerRemote.h:
3711         Retrieve the rects currently being painted from our backing store, and
3712         transform them (mostly) according to the CTM, to match the transformation
3713         that will have occurred underneath wkCALayerEnumerateRectsBeingDrawnWithBlock.
3714
3715 2013-11-08  Anders Carlsson  <andersca@apple.com>
3716
3717         Implement more KeyedEncoder functionality
3718         https://bugs.webkit.org/show_bug.cgi?id=124089
3719
3720         Reviewed by Beth Dakin.
3721
3722         * Shared/cf/KeyedEncoder.cpp:
3723         (WebKit::KeyedEncoder::encodeBytes):
3724         (WebKit::KeyedEncoder::encodeInt32):
3725         (WebKit::KeyedEncoder::encodeFloat):
3726         * Shared/cf/KeyedEncoder.h:
3727
3728 2013-11-08  Anders Carlsson  <andersca@apple.com>
3729
3730         KeyedEncoder should be able to encoder objects
3731         https://bugs.webkit.org/show_bug.cgi?id=124085
3732
3733         Reviewed by Sam Weinig.
3734
3735         Add a dictionary stack to KeyedEncoder that's pushed and popped by
3736         beginObject/endObject.
3737
3738         * Shared/cf/KeyedEncoder.cpp:
3739         (WebKit::KeyedEncoder::KeyedEncoder):
3740         (WebKit::KeyedEncoder::~KeyedEncoder):
3741         (WebKit::KeyedEncoder::encodeUInt32):
3742         (WebKit::KeyedEncoder::encodeString):
3743         (WebKit::KeyedEncoder::beginObject):
3744         (WebKit::KeyedEncoder::endObject):
3745         * Shared/cf/KeyedEncoder.h:
3746
3747 2013-11-08  Alexandru Chiculita  <achicu@adobe.com>
3748
3749         Web Inspector: It should be possible to debug the Inspector code
3750         https://bugs.webkit.org/show_bug.cgi?id=124065
3751
3752         Reviewed by Timothy Hatcher.
3753
3754         When the script is paused, the debugger will pause all the pages in the same PageGroup.
3755         All the Inspector windows were created in the same PageGroup, so pausing one debugger
3756         would stop the other too.
3757
3758         Added WebInspectorPageGroups to manage the PageGroups created for the Inspectors.
3759         The WebInspectors will now use the inspection "level" to figure out which PageGroup to use.
3760         The inspector that debugs the main page will use "__WebInspectorPageGroupLevel1__",
3761         the second inspector (that debugs the first inspector) will use "__WebInspectorPageGroupLevel2__" ...
3762
3763         * UIProcess/WebInspectorProxy.cpp:
3764         (WebKit::WebInspectorPageGroups::shared):
3765         (WebKit::WebInspectorPageGroups::inspectorLevel):
3766         (WebKit::WebInspectorPageGroups::isInspectorPageGroup):
3767         (WebKit::WebInspectorPageGroups::inspectorPageGroupLevel):
3768         (WebKit::WebInspectorPageGroups::inspectorPageGroupForLevel):
3769         (WebKit::WebInspectorPageGroups::createInspectorPageGroup):
3770         (WebKit::WebInspectorProxy::WebInspectorProxy):
3771         (WebKit::WebInspectorProxy::inspectorPageGroup):
3772         (WebKit::WebInspectorProxy::isInspectorPage):
3773         (WebKit::WebInspectorProxy::canAttach):
3774         * UIProcess/WebInspectorProxy.h:
3775
3776 2013-11-08  Anders Carlsson  <andersca@apple.com>
3777
3778         Begin stubbing out a KeyedEncoder class in WebCore
3779         https://bugs.webkit.org/show_bug.cgi?id=124079
3780
3781         Reviewed by Sam Weinig.
3782
3783         * Shared/KeyedEncoder.h: Removed.
3784         * Shared/cf/KeyedCodingValueCF.cpp: Removed.
3785         * Shared/cf/KeyedEncoder.cpp: Added.
3786         Remove old keyed encoders.
3787
3788         (WebKit::createDictionary):
3789         Helper function to create a mutable dictionary.
3790         (WebKit::KeyedEncoder::KeyedEncoder):
3791         Create the root dictionary.
3792
3793         (WebKit::KeyedEncoder::encodeUInt32):
3794         Create a CFNumberRef and add it to the dictionary.
3795
3796         * Shared/cf/KeyedEncoder.h: Added.
3797         * WebKit2.xcodeproj/project.pbxproj:
3798         Add new files.
3799
3800         * WebProcess/WebPage/WebBackForwardListProxy.cpp:
3801         (WebKit::updateBackForwardItem):
3802         Create a KeyedEncoder and encode the history tree.
3803
3804 2013-11-08  Brady Eidson  <beidson@apple.com>
3805
3806         Merge IDBTransactionBackendInterface and IDBTransactionBackendImpl
3807         https://bugs.webkit.org/show_bug.cgi?id=124077
3808
3809         Reviewed by Alexey Proskuryakov.
3810
3811         * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp:
3812         * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h:
3813
3814 2013-11-08  Brady Eidson  <beidson@apple.com>
3815
3816         Merge IDBCursorBackendInterface and IDBCursorBackendImpl
3817         https://bugs.webkit.org/show_bug.cgi?id=124068
3818
3819         Reviewed by Anders Carlsson.
3820
3821         * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp:
3822         (WebKit::WebIDBFactoryBackend::createCursorBackend):
3823         * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h:
3824
3825 2013-11-08  Anders Carlsson  <andersca@apple.com>
3826
3827         Remove a workaround for a bug in malloc on Symbian
3828         https://bugs.webkit.org/show_bug.cgi?id=124069
3829
3830         Reviewed by Sam Weinig.
3831
3832         * Platform/CoreIPC/ArgumentDecoder.cpp:
3833         (CoreIPC::ArgumentDecoder::~ArgumentDecoder):
3834         (CoreIPC::ArgumentDecoder::initialize):
3835         * Platform/CoreIPC/ArgumentDecoder.h:
3836
3837 2013-11-08  Anders Carlsson  <andersca@apple.com>
3838
3839         More build fixes.
3840
3841         * UIProcess/API/mac/WKBrowsingContextController.mm:
3842         * UIProcess/API/mac/WKConnection.mm:
3843         (didReceiveMessage):
3844
3845 2013-11-08  Anders Carlsson  <andersca@apple.com>
3846
3847         More build fixes.
3848
3849         * UIProcess/API/mac/WKConnection.h:
3850         * UIProcess/API/mac/WKConnection.mm:
3851         (didReceiveMessage):
3852
3853 2013-11-08  Anders Carlsson  <andersca@apple.com>
3854
3855         Try to fix the 32-bit build.
3856
3857         * Shared/API/Cocoa/WKBrowsingContextHandleInternal.h:
3858
3859 2013-11-08  Anders Carlsson  <andersca@apple.com>
3860
3861         Replace __alignof with alignof.
3862
3863         Rubber-stamped by Beth Dakin.
3864
3865         * Platform/CoreIPC/ArgumentCoders.cpp:
3866         (CoreIPC::::encode):
3867         (CoreIPC::decodeStringText):
3868         * Platform/CoreIPC/ArgumentCoders.h:
3869         (CoreIPC::SimpleArgumentCoder::encode):
3870         (CoreIPC::SimpleArgumentCoder::decode):
3871         * Platform/CoreIPC/ArgumentDecoder.h:
3872         (CoreIPC::ArgumentDecoder::bufferIsLargeEnoughToContain):
3873         * WebProcess/WebPage/DecoderAdapter.cpp:
3874         (WebKit::DecoderAdapter::decodeString):
3875         * WebProcess/WebPage/EncoderAdapter.cpp:
3876         (WebKit::EncoderAdapter::encodeString):
3877
3878 2013-11-08  Anders Carlsson  <andersca@apple.com>
3879
3880         Add a way to get a WKWebProcessPlugInBrowserContextController from a handle
3881         https://bugs.webkit.org/show_bug.cgi?id=124063
3882
3883         Reviewed by Beth Dakin.
3884
3885         * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:
3886         (+[WKWebProcessPlugInBrowserContextController lookUpBrowsingContextFromHandle:]):
3887         * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h:
3888
3889 2013-11-08  Anders Carlsson  <andersca@apple.com>
3890
3891         More work on WKBrowsingContextHandle
3892         https://bugs.webkit.org/show_bug.cgi?id=124060
3893
3894         Reviewed by Beth Dakin.
3895
3896         Implement -hash and -isEqual: and add -[WKWebProcessPlugInBrowserContextController handle].
3897
3898         * Shared/API/Cocoa/WKBrowsingContextHandle.mm:
3899         (-[WKBrowsingContextHandle hash]):
3900         (-[WKBrowsingContextHandle isEqual:]):
3901         * Shared/API/Cocoa/WKRemoteObjectCoder.mm:
3902         (decodeInvocation):
3903         * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:
3904         (-[WKWebProcessPlugInBrowserContextController mainFrameDocument]):
3905         (-[WKWebProcessPlugInBrowserContextController selectedRange]):
3906         (-[WKWebProcessPlugInBrowserContextController handle]):
3907         * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerInternal.h:
3908         * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h:
3909
3910 2013-11-08  Anders Carlsson  <andersca@apple.com>
3911
3912         Add A WKBrowsingContextHandle class
3913         https://bugs.webkit.org/show_bug.cgi?id=124058
3914
3915         Reviewed by Sam Weinig.
3916
3917         The WKBrowsingContextHandle class represents a browsing context and can be sent across process boundaries.
3918
3919         * Shared/API/Cocoa/WKBrowsingContextHandle.h: Added.
3920         * Shared/API/Cocoa/WKBrowsingContextHandle.mm: Added.
3921         (-[WKBrowsingContextHandle _initWithPageID:]):
3922         (-[WKBrowsingContextHandle encodeWithCoder:]):
3923         (-[WKBrowsingContextHandle initWithCoder:]):
3924         (+[WKBrowsingContextHandle supportsSecureCoding]):
3925         * Shared/API/Cocoa/WKBrowsingContextHandleInternal.h: Added.
3926         * UIProcess/API/mac/WKBrowsingContextController.mm:
3927         (-[WKBrowsingContextController handle]):
3928         * UIProcess/API/mac/WKBrowsingContextControllerInternal.h:
3929         * UIProcess/API/mac/WKBrowsingContextControllerPrivate.h:
3930         (NS_ENUM):
3931         * WebKit2.xcodeproj/project.pbxproj:
3932
3933 2013-11-08  Anders Carlsson  <andersca@apple.com>
3934
3935         Add WKRemoteObjectRegistry to WKConnection
3936         https://bugs.webkit.org/show_bug.cgi?id=124054
3937
3938         Reviewed by Sam Weinig.
3939
3940         * UIProcess/API/mac/WKConnection.h:
3941         * UIProcess/API/mac/WKConnection.mm:
3942         (-[WKConnection delegate]):
3943         (-[WKConnection setDelegate:]):
3944         (-[WKConnection remoteObjectRegistry]):
3945         (didReceiveMessage):
3946
3947 2013-11-08  Anders Carlsson  <andersca@apple.com>
3948
3949         Encode and decode NSURLRequests using NSCoder
3950         https://bugs.webkit.org/show_bug.cgi?id=124051
3951
3952         Reviewed by Sam Weinig.
3953
3954         * Shared/mac/WebCoreArgumentCodersMac.mm:
3955         (CoreIPC::archiveAndEncodeObject):
3956         (CoreIPC::decodeAndUnarchiveObject):
3957         (CoreIPC::::encodePlatformData):
3958         (CoreIPC::::decodePlatformData):
3959
3960 2013-11-07  Anders Carlsson  <andersca@apple.com>
3961
3962         Encode and decode NSURLResponse objects using NSCoder
3963         https://bugs.webkit.org/show_bug.cgi?id=124028
3964
3965         Reviewed by Andreas Kling.
3966
3967         * Shared/mac/WebCoreArgumentCodersMac.mm:
3968         (CoreIPC::::encodePlatformData):
3969         (CoreIPC::::decodePlatformData):
3970
3971 2013-11-07  Anders Carlsson  <andersca@apple.com>
3972
3973         Move m_destinationID to MessageDecoder
3974         https://bugs.webkit.org/show_bug.cgi?id=124026
3975
3976         Reviewed by Andreas Kling.
3977
3978         * Platform/CoreIPC/ArgumentDecoder.h:
3979         * Platform/CoreIPC/MessageDecoder.h:
3980         (CoreIPC::MessageDecoder::destinationID):
3981
3982 2013-11-07  Anders Carlsson  <andersca@apple.com>
3983
3984         Get rid of the out-of-line memory attachment type
3985         https://bugs.webkit.org/show_bug.cgi?id=124023
3986
3987         Reviewed by Andreas Kling.
3988
3989         We're only using out-of-line memory for when the message body is too big, so
3990         isolate that code in Connection and get rid of the out of line attachment type.
3991
3992         * Platform/CoreIPC/Attachment.cpp:
3993         (CoreIPC::Attachment::Attachment):
3994         * Platform/CoreIPC/Attachment.h:
3995         (CoreIPC::Attachment::port):
3996         (CoreIPC::Attachment::disposition):
3997         * Platform/CoreIPC/mac/ConnectionMac.cpp:
3998         (CoreIPC::Connection::sendOutgoingMessage):
3999         (CoreIPC::createMessageDecoder):
4000
4001 2013-11-07  Simon Fraser  <simon.fraser@apple.com>
4002
4003         Lots of layers get solid color but transparent contents layers now
4004         https://bugs.webkit.org/show_bug.cgi?id=123537
4005
4006         Reviewed by Tim Horton.
4007         
4008         Add some properties to the list of things not to implicitly animate.
4009
4010         * Shared/mac/RemoteLayerTreePropertyApplier.mm:
4011         (WebKit::RemoteLayerTreePropertyApplier::disableActionsForLayer):
4012
4013 2013-11-07  Anders Carlsson  <andersca@apple.com>
4014
4015         Remove more dead code
4016         https://bugs.webkit.org/show_bug.cgi?id=124016
4017
4018         Reviewed by Beth Dakin.
4019
4020         We're always layer backed now so we never scroll using the PageClient.
4021
4022         * UIProcess/API/mac/PageClientImpl.mm:
4023         (WebKit::PageClientImpl::canScrollView):
4024         (WebKit::PageClientImpl::scrollView):
4025
4026 2013-11-07  Anders Carlsson  <andersca@apple.com>
4027
4028         Don't repaint the view when the web process crashes
4029         https://bugs.webkit.org/show_bug.cgi?id=124013
4030
4031         Reviewed by Dan Bernstein.
4032
4033         It's up to each individual port to decide whether the view should be repainted when the web process crashes.
4034
4035         * UIProcess/API/mac/PageClientImpl.mm:
4036         (WebKit::PageClientImpl::setViewNeedsDisplay):
4037         (WebKit::PageClientImpl::displayView):
4038         * UIProcess/WebPageProxy.cpp:
4039         (WebKit::WebPageProxy::resetStateAfterProcessExited):
4040
4041 2013-11-07  Tamas Gergely  <gertom@inf.u-szeged.hu>
4042
4043         Report error on unknown template class usage.
4044         https://bugs.webkit.org/show_bug.cgi?id=123096
4045
4046         Reviewed by Darin Adler.
4047
4048         Report error when template class is not found in the dictionary.
4049
4050         * Scripts/webkit2/messages.py:
4051         (class_template_headers):
4052         (class_template_headers.template):
4053
4054 2013-11-07  Denis Nomiyama  <d.nomiyama@samsung.com>
4055
4056         [GTK] Glyphs in vertical text tests are rotated 90 degrees clockwise
4057         https://bugs.webkit.org/show_bug.cgi?id=50619
4058
4059         Reviewed by Martin Robinson.
4060
4061         Added WebCore/platform/graphics/opentype to the include path.
4062
4063         * PlatformEfl.cmake:
4064         * PlatformGTK.cmake:
4065
4066 2013-11-07  Brendan Long  <b.long@cablelabs.com>
4067
4068         [Gtk] Remove old takeFocus() method from PageClientImpl and mark methods as OVERRIDE
4069         https://bugs.webkit.org/show_bug.cgi?id=123919
4070
4071         Reviewed by Carlos Garcia Campos.
4072
4073         * UIProcess/API/gtk/PageClientImpl.cpp: Remove takeFocus().
4074         * UIProcess/API/gtk/PageClientImpl.h: Remove takeFocus() and mark methods as OVERRIDE.
4075
4076 2013-11-06  Dan Bernstein  <mitz@apple.com>
4077
4078         Moved UIProcess/Cocoa to UIProcess/API/Cocoa.
4079
4080         Rubber-stamped by Anders Carlsson.
4081
4082         * UIProcess/API/Cocoa: Copied from Source/WebKit2/UIProcess/Cocoa.
4083         * UIProcess/Cocoa: Removed.
4084         * UIProcess/Cocoa/WKBackForwardList.h: Removed.
4085         * UIProcess/Cocoa/WKBackForwardList.mm: Removed.
4086         * UIProcess/Cocoa/WKBackForwardListInternal.h: Removed.
4087         * UIProcess/Cocoa/WKBackForwardListItem.h: Removed.
4088         * UIProcess/Cocoa/WKBackForwardListItem.mm: Removed.
4089         * UIProcess/Cocoa/WKBackForwardListItemInternal.h: Removed.
4090         * UIProcess/Cocoa/WKBrowsingContextHistoryDelegate.h: Removed.
4091         * UIProcess/Cocoa/WKNavigationData.h: Removed.
4092         * UIProcess/Cocoa/WKNavigationData.mm: Removed.
4093         * UIProcess/Cocoa/WKNavigationDataInternal.h: Removed.
4094         * WebKit2.xcodeproj/project.pbxproj:
4095
4096 2013-11-06  Brendan Long  <b.long@cablelabs.com>
4097
4098         [Gtk][EFL] Fix build after r158759
4099         https://bugs.webkit.org/show_bug.cgi?id=123910
4100
4101         Reviewed by Gyuyoung Kim.
4102
4103         * UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp:
4104         (WebKit::CoordinatedDrawingAreaProxy::incorporateUpdate): Remove call to flashBackingStoreUpdates().
4105
4106 2013-11-06  Tim Horton  <timothy_horton@apple.com>
4107
4108         Remote Layer Tree: RemoteLayerTreeDrawingArea doesn't make layers for fixedpos elements
4109         https://bugs.webkit.org/show_bug.cgi?id=123943
4110
4111         Reviewed by Simon Fraser.
4112
4113         * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
4114         * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
4115         (WebKit::RemoteLayerTreeDrawingArea::updatePreferences):
4116         Make fixed position elements create compositing layers and stacking contexts
4117         in the RemoteLayerTreeDrawingArea just like they do in TiledCoreAnimationDrawingArea.
4118
4119         * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
4120         (WebKit::TiledCoreAnimationDrawingArea::updatePreferences):
4121         Fix the comment, since we have long since achieved this goal.
4122
4123 2013-11-06  Anders Carlsson  <andersca@apple.com>
4124
4125         Implement enough functionality so that NSURLRequest objects can be decoded