[Curl] Update method declarations in WebKit
[WebKit-https.git] / Source / WebKit / ChangeLog
1 2018-01-05  Don Olmstead  <don.olmstead@sony.com>
2
3         [Curl] Update method declarations in WebKit
4         https://bugs.webkit.org/show_bug.cgi?id=181342
5
6         Reviewed by Alex Christensen.
7
8         * NetworkProcess/Downloads/curl/DownloadCurl.cpp:
9         (WebKit::Download::resume):
10         * NetworkProcess/curl/RemoteNetworkingContextCurl.cpp:
11         (WebKit::RemoteNetworkingContext::ensurePrivateBrowsingSession): Deleted.
12         (WebKit::RemoteNetworkingContext::blockedError const): Deleted.
13
14 2018-01-05  Don Olmstead  <don.olmstead@sony.com>
15
16         WebFullScreenManager should compile when ENABLE(VIDEO) is off
17         https://bugs.webkit.org/show_bug.cgi?id=181338
18
19         Reviewed by Alex Christensen.
20
21         * WebProcess/FullScreen/WebFullScreenManager.cpp:
22         (WebKit::WebFullScreenManager::didEnterFullScreen):
23         (WebKit::WebFullScreenManager::willExitFullScreen):
24         * WebProcess/FullScreen/WebFullScreenManager.h:
25
26 2018-01-05  Andy Estes  <aestes@apple.com>
27
28         [Apple Pay] Disable Apple Pay on platforms that don't have PassKit.framework
29         https://bugs.webkit.org/show_bug.cgi?id=181335
30         <rdar://problem/36311296>
31
32         Reviewed by Brady Eidson.
33
34         When Safari is running in the macOS Base System, PassKit.framework is not available.
35         If we fail to dlopen PassKit, we should disable Apple Pay.
36
37         * UIProcess/API/C/WKPreferences.cpp:
38         (WKPreferencesSetApplePayEnabled):
39         * UIProcess/API/Cocoa/WKWebView.mm:
40         (-[WKWebView _initializeWithConfiguration:]):
41         * UIProcess/ApplePay/WebPaymentCoordinatorProxy.h:
42         * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
43         (WebKit::WebPaymentCoordinatorProxy::availablePaymentNetworks):
44         (WebKit::WebPaymentCoordinatorProxy::platformSupportsPayments):
45
46 2018-01-05  Dan Bernstein  <mitz@apple.com>
47
48         Fixed the build following AppKit API deprecations in a recent SDKs
49
50         * UIProcess/mac/WKFullScreenWindowController.mm:
51         (-[WKFullScreenWindowController enterFullScreen:]): Suppressed deprecation warnings.
52         (-[WKFullScreenWindowController finishedEnterFullScreenAnimation:]): Ditto.
53         (-[WKFullScreenWindowController exitFullScreen]): Ditto.
54         (-[WKFullScreenWindowController finishedExitFullScreenAnimation:]): Ditto.
55         (-[WKFullScreenWindowController completeFinishExitFullScreenAnimationAfterRepaint]): Ditto.
56         (-[WKFullScreenWindowController _startEnterFullScreenAnimationWithDuration:]): Ditto.
57         (-[WKFullScreenWindowController _startExitFullScreenAnimationWithDuration:]): Ditto.
58         * UIProcess/mac/WKPrintingView.mm:
59         (-[WKPrintingView _setAutodisplay:]): Ditto.
60
61 2018-01-05  Matt Lewis  <jlewis3@apple.com>
62
63         Unreviewed, rolling out r226401.
64
65         This caused timeouts on multiple platforms.
66
67         Reverted changeset:
68
69         "Implement Cache API partitioning based on ClientOrigin"
70         https://bugs.webkit.org/show_bug.cgi?id=181240
71         https://trac.webkit.org/changeset/226401
72
73 2018-01-05  Joseph Pecoraro  <pecoraro@apple.com>
74
75         ServiceWorkers: Enable UserTiming / ResourceTiming
76         https://bugs.webkit.org/show_bug.cgi?id=181297
77         <rdar://problem/36307306>
78
79         Reviewed by Youenn Fablet.
80
81         * WebProcess/Storage/WebSWContextManagerConnection.cpp:
82         (WebKit::WebSWContextManagerConnection::updatePreferencesStore):
83         Enable Resource Timing / User Timing for the ServiceWorker process.
84
85 2018-01-04  Zan Dobersek  <zdobersek@igalia.com>
86
87         Unreviewed GTK+ build fix.
88
89         * UIProcess/API/glib/WebKitUserMediaPermissionRequest.cpp:
90         (webkit_user_media_permission_is_for_audio_device):
91         Call UserMediaPermissionRequestProxy::requiresAudioCapture().
92         (webkit_user_media_permission_is_for_video_device):
93         Call UserMediaPermissionRequestProxy::requiresVideoCapture().
94
95 2018-01-04  Don Olmstead  <don.olmstead@sony.com>
96
97         [Curl] Fix compilation error in WebFrameNetworkingContext
98         https://bugs.webkit.org/show_bug.cgi?id=181312
99
100         Reviewed by Alex Christensen.
101
102         * WebProcess/WebCoreSupport/curl/WebFrameNetworkingContext.cpp:
103         (WebKit::WebFrameNetworkingContext::ensureWebsiteDataStoreSession):
104
105 2018-01-04  Tim Horton  <timothy_horton@apple.com>
106
107         WKWebView loses minimum layout size overrides that happen while the process is terminated
108         https://bugs.webkit.org/show_bug.cgi?id=181306
109         <rdar://problem/34398288>
110
111         Reviewed by Dan Bernstein.
112
113         * Shared/WebPageCreationParameters.cpp:
114         (WebKit::WebPageCreationParameters::encode const):
115         (WebKit::WebPageCreationParameters::decode):
116         * Shared/WebPageCreationParameters.h:
117         * UIProcess/API/Cocoa/WKWebView.mm:
118         (-[WKWebView _didRelaunchProcess]): Deleted.
119         * UIProcess/API/Cocoa/WKWebViewPrivate.h:
120         * UIProcess/WebPageProxy.cpp:
121         (WebKit::WebPageProxy::creationParameters):
122         * UIProcess/WebPageProxy.h:
123         * UIProcess/ios/PageClientImplIOS.mm:
124         (WebKit::PageClientImpl::didRelaunchProcess):
125         * UIProcess/ios/WebPageProxyIOS.mm:
126         (WebKit::WebPageProxy::setViewportConfigurationMinimumLayoutSize):
127         (WebKit::WebPageProxy::setForceAlwaysUserScalable):
128         (WebKit::WebPageProxy::setMaximumUnobscuredSize):
129         * WebProcess/WebPage/WebPage.cpp:
130         (WebKit::WebPage::WebPage):
131         Pass the current viewport minimum layout size and maximum unobscured size
132         in the WebPageCreationParameters instead of re-sending them in _didRelaunchProcess.
133
134         The previous approach was problematic when _dispatchSetMinimumLayoutSize:
135         was changed to not re-send identical updates, because if the client calls 
136         _overrideLayoutParametersWithMinimumLayoutSize before the Web Content process
137         is re-launched (after terminating), we would cache the size, attempt to send it,
138         fail silently (because the process is not launched), and then in _didRelaunchProcess
139         we would choose not to re-send (after the process is successfully relaunched)
140         because we think we already sent the new value.
141
142         Add isValid() checks to our message sends. Ideally send() would assert
143         if the process is not alive to avoid problems like this, but it doesn't (yet).
144
145         Get rid of WKWebView's _didRelaunchProcess, because it does nothing now.
146
147 2018-01-04  Stephan Szabo  <stephan.szabo@sony.com>
148
149         NetworkProcess cache files use functions from unistd.h without explicitly including it
150         https://bugs.webkit.org/show_bug.cgi?id=181261
151
152         Reviewed by Alex Christensen.
153
154         * NetworkProcess/cache/NetworkCacheBlobStorage.cpp:
155         * NetworkProcess/cache/NetworkCacheData.cpp:
156
157 2018-01-04  Keith Rollin  <krollin@apple.com>
158
159         Add commas
160         https://bugs.webkit.org/show_bug.cgi?id=181295
161         <rdar://problem/35802295>
162
163         Reviewed by Brent Fulgham.
164
165         Fix a problem introduced in r226226 where the emitted JSON didn't
166         include some required commas.
167
168         * NetworkProcess/NetworkResourceLoader.cpp:
169         (WebKit::NetworkResourceLoader::logCookieInformation const):
170
171 2018-01-04  Eric Carlson  <eric.carlson@apple.com>
172
173         [MediaStream] Add Mock screen capture source
174         https://bugs.webkit.org/show_bug.cgi?id=181291
175         <rdar://problem/36298164>
176
177         Reviewed by Dean Jackson.
178
179         * Shared/WebCoreArgumentCoders.cpp:
180         (IPC::ArgumentCoder<MediaConstraints>::decode):
181         (IPC::ArgumentCoder<CaptureDevice>::encode): Deleted, moved to CaptureDevice.h
182         (IPC::ArgumentCoder<CaptureDevice>::decode): Ditto.
183         * Shared/WebCoreArgumentCoders.h:
184
185         * UIProcess/API/Cocoa/WKWebViewPrivate.h: Add _WKCaptureDeviceDisplay.
186         * UIProcess/Cocoa/UIDelegate.mm:
187         (WebKit::requestUserMediaAuthorizationForDevices): Deal with display capture.
188         (WebKit::UIDelegate::UIClient::decidePolicyForUserMediaPermissionRequest): Ditto.
189
190         * UIProcess/UserMediaPermissionRequestManagerProxy.cpp:
191         (WebKit::UserMediaPermissionRequestManagerProxy::userMediaAccessWasDenied): requiresAudio -> requiresAudioCapture.
192         (WebKit::UserMediaPermissionRequestManagerProxy::searchForGrantedRequest const): Never reuse
193         a previously granted display capture request.
194
195         * UIProcess/UserMediaPermissionRequestProxy.cpp:
196         (WebKit::UserMediaPermissionRequestProxy::allow): Search the eligible devices instead of asking
197         the source center to find devices.
198         * UIProcess/UserMediaPermissionRequestProxy.h:
199         (WebKit::UserMediaPermissionRequestProxy::requiresAudioCapture const): Renamed.
200         (WebKit::UserMediaPermissionRequestProxy::requiresVideoCapture const): Ditto.
201         (WebKit::UserMediaPermissionRequestProxy::requiresDisplayCapture const): New.
202         (WebKit::UserMediaPermissionRequestProxy::requiresAudio const): Deleted.
203         (WebKit::UserMediaPermissionRequestProxy::requiresVideo const): Deleted.
204
205 2018-01-04  Youenn Fablet  <youenn@apple.com>
206
207         FetchResponse should set its internal response text encoding name
208         https://bugs.webkit.org/show_bug.cgi?id=181284
209
210         Reviewed by Alex Christensen.
211
212         * WebProcess/Storage/ServiceWorkerClientFetch.cpp:
213         (WebKit::ServiceWorkerClientFetch::didReceiveResponse): Set default encoding to UTF-8.
214
215 2018-01-04  Youenn Fablet  <youenn@apple.com>
216
217         Implement Cache API partitioning based on ClientOrigin
218         https://bugs.webkit.org/show_bug.cgi?id=181240
219
220         Reviewed by Alex Christensen.
221
222         open and retrieveCaches now take a ClientOrigin instead of a String.
223         Updated cache filesystem path computation to take both client origin and top origin.
224
225         When clearing an origin, caches whose client origin or top origin matches the origin are cleared.
226         Caches are added to the web site data of their client origin with their corresponding cache size.
227         Caches are added to the web site data of their top origin with a size equal to 0.
228
229         Updated memory representation dumping used for test to include both top and client origins.
230
231         * NetworkProcess/NetworkProcess.cpp:
232         (WebKit::NetworkProcess::deleteWebsiteDataForOrigins):
233         * NetworkProcess/cache/CacheStorageEngine.cpp:
234         (WebKit::CacheStorage::Engine::cachesRootPath):
235         (WebKit::CacheStorage::Engine::open):
236         (WebKit::CacheStorage::Engine::remove):
237         (WebKit::CacheStorage::Engine::retrieveCaches):
238         (WebKit::CacheStorage::Engine::readCachesFromDisk):
239         (WebKit::CacheStorage::Engine::removeCaches):
240         (WebKit::CacheStorage::Engine::fetchEntries):
241         (WebKit::CacheStorage::Engine::clearCachesForOrigin):
242         (WebKit::CacheStorage::Engine::clearMemoryRepresentation):
243         (WebKit::CacheStorage::Engine::representation):
244         * NetworkProcess/cache/CacheStorageEngine.h:
245         * NetworkProcess/cache/CacheStorageEngineCache.cpp:
246         (WebKit::CacheStorage::Cache::Cache):
247         * NetworkProcess/cache/CacheStorageEngineCaches.cpp:
248         (WebKit::CacheStorage::Caches::retrieveOriginFromDirectory):
249         (WebKit::CacheStorage::Caches::Caches):
250         (WebKit::CacheStorage::Caches::storeOrigin):
251         (WebKit::CacheStorage::Caches::readOrigin):
252         (WebKit::CacheStorage::Caches::open):
253         * NetworkProcess/cache/CacheStorageEngineCaches.h:
254         (WebKit::CacheStorage::Caches::create):
255         (WebKit::CacheStorage::Caches::origin const):
256         * NetworkProcess/cache/CacheStorageEngineConnection.cpp:
257         (WebKit::CacheStorageEngineConnection::open):
258         (WebKit::CacheStorageEngineConnection::caches):
259         (WebKit::CacheStorageEngineConnection::clearMemoryRepresentation):
260         * NetworkProcess/cache/CacheStorageEngineConnection.h:
261         * NetworkProcess/cache/CacheStorageEngineConnection.messages.in:
262         * WebProcess/Cache/WebCacheStorageConnection.cpp:
263         (WebKit::WebCacheStorageConnection::doOpen):
264         (WebKit::WebCacheStorageConnection::doRetrieveCaches):
265         (WebKit::WebCacheStorageConnection::clearMemoryRepresentation):
266         * WebProcess/Cache/WebCacheStorageConnection.h:
267
268 2018-01-04  Youenn Fablet  <youenn@apple.com>
269
270         Service Worker should expose redirect mode for navigation loads as manual
271         https://bugs.webkit.org/show_bug.cgi?id=181067
272
273         Reviewed by Alex Christensen.
274
275         * WebProcess/Storage/ServiceWorkerClientFetch.cpp:
276         (WebKit::ServiceWorkerClientFetch::didReceiveResponse):
277
278 2018-01-03  Wenson Hsieh  <wenson_hsieh@apple.com>
279
280         [Attachment Support] Create attachment elements when dropping files on iOS
281         https://bugs.webkit.org/show_bug.cgi?id=181192
282         <rdar://problem/36280945>
283
284         Reviewed by Tim Horton.
285
286         Make some minor adjustments for changes to the pasteboard in WebCore. See WebCore/ChangeLog for more detail.
287         Teaches WebPasteboardProxy et. al. to plumb PasteboardItemInfo from the UI process to the web process via the
288         new `InformationForItemAtIndex` codepath.
289
290         * UIProcess/Cocoa/WebPasteboardProxyCocoa.mm:
291         (WebKit::WebPasteboardProxy::informationForItemAtIndex):
292         (WebKit::WebPasteboardProxy::getFilenamesForDataInteraction): Deleted.
293         * UIProcess/WebPasteboardProxy.h:
294         * UIProcess/WebPasteboardProxy.messages.in:
295         * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
296         (WebKit::WebPlatformStrategies::informationForItemAtIndex):
297         (WebKit::WebPlatformStrategies::getFilenamesForDataInteraction): Deleted.
298         * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
299
300 2018-01-03  Ting-Wei Lan  <lantw44@gmail.com>
301
302         Replace hard-coded paths in shebangs with #!/usr/bin/env
303         https://bugs.webkit.org/show_bug.cgi?id=181040
304
305         Reviewed by Alex Christensen.
306
307         * Scripts/generate-forwarding-headers.pl:
308
309 2018-01-03  Wenson Hsieh  <wenson_hsieh@apple.com>
310
311         [Attachment Support] Add plumbing for starting a drag with promised blob data
312         https://bugs.webkit.org/show_bug.cgi?id=181201
313
314         Reviewed by Tim Horton.
315
316         Add boilerplate plumbing for PrepareToDragPromisedBlob, which delivers blob promises to the UI process when
317         dragging, respectively.
318
319         * Scripts/webkit/messages.py:
320         (headers_for_type):
321         * Shared/WebCoreArgumentCoders.cpp:
322         (IPC::encodeTypesAndData):
323         (IPC::decodeTypesAndData):
324         (IPC::ArgumentCoder<PasteboardWebContent>::encode):
325         (IPC::ArgumentCoder<PasteboardWebContent>::decode):
326         (IPC::ArgumentCoder<PasteboardImage>::encode):
327         (IPC::ArgumentCoder<PasteboardImage>::decode):
328         (IPC::ArgumentCoder<PromisedBlobInfo>::encode):
329         (IPC::ArgumentCoder<PromisedBlobInfo>::decode):
330
331         Add IPC support PromisedBlobInfo's additionalTypes and additionalData.
332
333         (IPC::encodeClientTypesAndData): Deleted.
334         (IPC::decodeClientTypesAndData): Deleted.
335
336         Rename these helper functions and move them to the top of the file.
337
338         * UIProcess/Cocoa/WebViewImpl.h:
339         * UIProcess/Cocoa/WebViewImpl.mm:
340         (WebKit::WebViewImpl::prepareToDragPromisedBlob):
341         * UIProcess/PageClient.h:
342         (WebKit::PageClient::prepareToDragPromisedBlob):
343         * UIProcess/WebPageProxy.cpp:
344         (WebKit::WebPageProxy::prepareToDragPromisedBlob):
345         * UIProcess/WebPageProxy.h:
346         * UIProcess/WebPageProxy.messages.in:
347         * UIProcess/ios/PageClientImplIOS.h:
348         * UIProcess/ios/PageClientImplIOS.mm:
349         (WebKit::PageClientImpl::prepareToDragPromisedBlob):
350         * UIProcess/ios/WKContentViewInteraction.h:
351         * UIProcess/ios/WKContentViewInteraction.mm:
352         (-[WKContentView _prepareToDragPromisedBlob:]):
353         * UIProcess/mac/PageClientImplMac.h:
354         * UIProcess/mac/PageClientImplMac.mm:
355         (WebKit::PageClientImpl::prepareToDragPromisedBlob):
356         * WebProcess/WebCoreSupport/WebDragClient.cpp:
357         (WebKit::WebDragClient::prepareToDragPromisedBlob):
358         * WebProcess/WebCoreSupport/WebDragClient.h:
359         * WebProcess/WebPage/WebPage.cpp:
360         (WebKit::WebPage::prepareToDragPromisedBlob):
361         * WebProcess/WebPage/WebPage.h:
362
363 2018-01-03  David Kilzer  <ddkilzer@apple.com>
364
365         REGRESSION (r212929): WKSnapshotConfiguration may leak an NSNumber when deallocated
366         <https://webkit.org/b/181274>
367
368         Reviewed by Joseph Pecoraro.
369
370         * UIProcess/API/Cocoa/WKSnapshotConfiguration.mm:
371         (-[WKSnapshotConfiguration dealloc]): Implement method and
372         release _snapshotWidth.
373
374 2018-01-03  John Wilander  <wilander@apple.com>
375
376         Storage Access API: Refactor XPC for access removal to go straight from the web process to the network process
377         https://bugs.webkit.org/show_bug.cgi?id=181270
378         <rdar://problem/36289544>
379
380         Reviewed by Alex Christensen.
381
382         This change refactors how the web process tells the network process
383         to remove storage access. Previously, this was done over the UI process
384         just like requests for storage access. But since no further reasoning
385         is needed, the message should go straight from the web process to the
386         network process for performance reasons and to minimize the risk of a
387         race.
388
389         As a consequence, the XPC code for storage access removal in the UI
390         process is deleted.
391
392         * NetworkProcess/NetworkConnectionToWebProcess.cpp:
393         (WebKit::NetworkConnectionToWebProcess::removeStorageAccess):
394         * NetworkProcess/NetworkConnectionToWebProcess.h:
395         * NetworkProcess/NetworkConnectionToWebProcess.messages.in:
396         * NetworkProcess/NetworkProcess.cpp:
397         (WebKit::NetworkProcess::removeStorageAccess): Deleted.
398         * NetworkProcess/NetworkProcess.h:
399         * NetworkProcess/NetworkProcess.messages.in:
400         * UIProcess/Network/NetworkProcessProxy.cpp:
401         (WebKit::NetworkProcessProxy::removeStorageAccess): Deleted.
402         * UIProcess/Network/NetworkProcessProxy.h:
403         * UIProcess/WebPageProxy.cpp:
404         (WebKit::WebPageProxy::requestStorageAccess):
405         (WebKit::WebPageProxy::removeStorageAccess): Deleted.
406         * UIProcess/WebPageProxy.h:
407         * UIProcess/WebPageProxy.messages.in:
408         * UIProcess/WebsiteData/WebsiteDataStore.cpp:
409         (WebKit::WebsiteDataStore::requestStorageAccess):
410         (WebKit::WebsiteDataStore::removeStorageAccess): Deleted.
411         * UIProcess/WebsiteData/WebsiteDataStore.h:
412         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
413         (WebKit::WebFrameLoaderClient::detachedFromParent2):
414         (WebKit::WebFrameLoaderClient::dispatchWillChangeDocument):
415
416 2018-01-03  David Kilzer  <ddkilzer@apple.com>
417
418         com.apple.WebKit.Networking crash in com.apple.Foundation: -[__NSOperationInternal _start:]
419         <https://webkit.org/b/181272>
420         <rdar://problem/35657310>
421
422         Reviewed by Alex Christensen.
423
424         * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
425         (downgradeRequest): Remove unnecessary -autorelease.
426
427 2018-01-03  Brent Fulgham  <bfulgham@apple.com>
428
429         [macOS] Constant frame dropping during Flash video playback
430         https://bugs.webkit.org/show_bug.cgi?id=181249
431         <rdar://problem/34843448>
432
433         Reviewed by Eric Carlson.
434
435         Review of logs during jerky flash video playback shows a few IOKit properties are being blocked by the sandbox,
436         which prevents some high-efficiency codecs from being used. Add 'AppleGVAKeyDoesNotExist', 'IODVDBundleName', and
437         'IOGVA*Encode' to the whitelist.
438
439         * PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in:
440
441 2018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
442
443         [GTK] Add web process API to detect when form is submitted via JavaScript
444         https://bugs.webkit.org/show_bug.cgi?id=173915
445
446         Reviewed by Carlos Garcia Campos.
447
448         Epiphany relies on the DOM submit event to detect when a form has been submitted. However,
449         for historical reasons, the submit event is not emitted when a form is submitted by
450         JavaScript. It is therefore not currently possible for a web browser to reliably detect form
451         submission and not possible to implement a robust password storage feature. In order to
452         avoid this problem, this patch adds a new WebKitWebPage signal, will-submit-form, that
453         browsers can use in preference to a DOM event listener.
454
455         Unfortunately, this signal is not available for WPE because it depends on the DOM API.
456
457         There are two submission events, WEBKIT_FORM_SUBMISSION_WILL_SEND_DOM_EVENT and
458         WEBKIT_FORM_SUBMISSION_WILL_COMPLETE. WEBKIT_FORM_SUBMISSION_WILL_SEND_DOM_EVENT
459         occurs earlier than WEBKIT_FORM_SUBMISSION_WILL_COMPLETE and can be used to retrieve form
460         values before websites receive the DOM submit event. This is useful as some websites like
461         to delete form values right before a submit would normally happen in order to attempt to
462         defeat browser password managers. There are two tricks to note: JavaScript can cancel form
463         submission immediately after this event occurs (by returning false in an onsubmit handler),
464         and, for historical reasons, this event will not occur at all when form submission is
465         triggered by JavaScript. WEBKIT_FORM_SUBMISSION_WILL_COMPLETE occurs next, and is more
466         straightforward: it is always emitted when a form is about to be submitted, when it is too
467         late to cancel.
468
469         The recommended way to reliably retrieve password form values would be to watch for both
470         events, use the form value detected in WEBKIT_FORM_SUBMISSION_WILL_SEND_DOM_EVENT
471         if that event is emitted, and use the value detected later in
472         WEBKIT_FORM_SUBMISSION_WILL_COMPLETE otherwise.
473
474         Since one of the signal arguments is an enum, we now have to run glib-mkenums for the web
475         process API. And that has resulted in this patch also adding GType goo for
476         WebKitConsoleMessageLevel and WebKitConsoleMessageSource that was previously missing. Any
477         applications that for some unlikely reason want to use these enums in properties or signals
478         will be happy.
479
480         * PlatformGTK.cmake:
481         * UIProcess/API/gtk/docs/webkit2gtk-4.0-sections.txt:
482         * WebProcess/InjectedBundle/API/glib/WebKitWebPage.cpp:
483         (webkit_web_page_class_init):
484         * WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h:
485         * WebProcess/InjectedBundle/API/gtk/WebKitWebProcessEnumTypes.cpp.template: Added.
486         * WebProcess/InjectedBundle/API/gtk/WebKitWebProcessEnumTypes.h.template: Added.
487
488 2018-01-03  Carlos Garcia Campos  <cgarcia@igalia.com>
489
490         Unreviewed. Really fix plugin process after r226327.
491
492         * PluginProcess/unix/PluginProcessMainUnix.cpp:
493
494 2018-01-02  Brent Fulgham  <bfulgham@apple.com>
495
496         [macOS, iOS] Adopt new secure coding APIs in WebKit
497         https://bugs.webkit.org/show_bug.cgi?id=181085
498         <rdar://problem/34837397>
499
500         Reviewed by Tim Horton.
501
502         Update WebKit code to use NSSecureCoding when the underlying operating system supports it. Use new
503         wrapper functions so the same code can be built on all supported OS releases, while enabling
504         seure coding when possible.
505
506         Note that NSView-based classes cannot be migrated at present due to AppKit not supporting NSSecureCoding
507         in its class hierarchy.
508
509         Tested by exising TestWebKitAPI tests for Coding and data transfer.
510
511         * Platform/ios/AccessibilityIOS.mm:
512         (WebKit::newAccessibilityRemoteToken): Encode using NSSecureCoding.
513         * UIProcess/API/Cocoa/WKPreferences.h:
514         * UIProcess/API/Cocoa/WKPreferences.mm:
515         (+[WKPreferences supportsSecureCoding]): Added to enable NSSecureCoding.
516         * UIProcess/API/Cocoa/WKProcessPool.h:
517         * UIProcess/API/Cocoa/WKProcessPool.mm:
518         (+[WKProcessPool supportsSecureCoding]): Ditto.
519         * UIProcess/API/Cocoa/WKUserContentController.h:
520         * UIProcess/API/Cocoa/WKUserContentController.mm:
521         (+[WKUserContentController supportsSecureCoding]): Ditto.
522         * UIProcess/API/Cocoa/WKWebView.mm:
523         (-[WKWebView initWithCoder:]): Use coding initialization that supports secure coding if
524         it is available in the supplied class.
525         * UIProcess/API/Cocoa/WKWebViewConfiguration.h:
526         * UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
527         (+[WKWebViewConfiguration supportsSecureCoding]): Added to enable NSSecureCoding.
528         (-[WKWebViewConfiguration initWithCoder:]): Use secure coding when possible.
529         * UIProcess/API/Cocoa/WKWebsiteDataStore.h:
530         * UIProcess/API/Cocoa/WKWebsiteDataStore.mm:
531         (+[WKWebsiteDataStore supportsSecureCoding]): Added to enable NSSecureCoding.
532         * UIProcess/API/Cocoa/_WKApplicationManifest.h:
533         * UIProcess/API/Cocoa/_WKApplicationManifest.mm:
534         (+[_WKApplicationManifest supportsSecureCoding]): Added to enable NSSecureCoding.
535         (-[_WKApplicationManifest initWithCoder:]): Use secure coding when possible.
536
537 2017-12-28  Yusuke Suzuki  <utatane.tea@gmail.com>
538
539         Remove std::chrono completely
540         https://bugs.webkit.org/show_bug.cgi?id=181186
541
542         Reviewed by Alex Christensen.
543
544         Use MonotonicTime, WallTime, and Seconds instead.
545         Changes are mechanical ones.
546
547         * NetworkProcess/NetworkProcess.cpp:
548         (WebKit::NetworkProcess::deleteWebsiteData):
549         * NetworkProcess/NetworkProcess.h:
550         * NetworkProcess/NetworkProcess.messages.in:
551         * NetworkProcess/cache/CacheStorageEngineCaches.cpp:
552         (WebKit::CacheStorage::Caches::clear):
553         * NetworkProcess/cache/NetworkCache.cpp:
554         (WebKit::NetworkCache::responseHasExpired):
555         (WebKit::NetworkCache::responseNeedsRevalidation):
556         (WebKit::NetworkCache::makeStoreDecision):
557         (WebKit::NetworkCache::Cache::clear):
558         (WebKit::NetworkCache::Cache::storeData):
559         * NetworkProcess/cache/NetworkCache.h:
560         * NetworkProcess/cache/NetworkCacheEntry.cpp:
561         (WebKit::NetworkCache::Entry::Entry):
562         (WebKit::NetworkCache::Entry::asJSON const):
563         * NetworkProcess/cache/NetworkCacheEntry.h:
564         (WebKit::NetworkCache::Entry::timeStamp const):
565         * NetworkProcess/cache/NetworkCacheFileSystem.cpp:
566         (WebKit::NetworkCache::fileTimes):
567         (WebKit::NetworkCache::updateFileModificationTimeIfNeeded):
568         * NetworkProcess/cache/NetworkCacheFileSystem.h:
569         * NetworkProcess/cache/NetworkCacheIOChannelSoup.cpp:
570         (WebKit::NetworkCache::IOChannel::IOChannel):
571         * NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.cpp:
572         (WebKit::NetworkCache::responseNeedsRevalidation):
573         (WebKit::NetworkCache::canRevalidate):
574         * NetworkProcess/cache/NetworkCacheStorage.cpp:
575         (WebKit::NetworkCache::Storage::readRecord):
576         (WebKit::NetworkCache::Storage::clear):
577         (WebKit::NetworkCache::computeRecordWorth):
578         * NetworkProcess/cache/NetworkCacheStorage.h:
579         Bump the cache version. We now change the data in persistent cache.
580         * NetworkProcess/cache/NetworkCacheSubresourcesEntry.cpp:
581         (WebKit::NetworkCache::SubresourceInfo::SubresourceInfo):
582         (WebKit::NetworkCache::SubresourcesEntry::SubresourcesEntry):
583         * NetworkProcess/cache/NetworkCacheSubresourcesEntry.h:
584         (WebKit::NetworkCache::SubresourceInfo::lastSeen const):
585         (WebKit::NetworkCache::SubresourceInfo::firstSeen const):
586         (WebKit::NetworkCache::SubresourcesEntry::timeStamp const):
587         * NetworkProcess/cocoa/NetworkProcessCocoa.mm:
588         (WebKit::NetworkProcess::clearHSTSCache):
589         (WebKit::clearNSURLCache):
590         (WebKit::NetworkProcess::clearDiskCache):
591         * NetworkProcess/curl/NetworkProcessCurl.cpp:
592         (WebKit::NetworkProcess::clearDiskCache):
593         * NetworkProcess/mac/NetworkProcessMac.mm:
594         (WebKit::NetworkProcess::clearCacheForAllOrigins):
595         * NetworkProcess/soup/NetworkProcessSoup.cpp:
596         (WebKit::NetworkProcess::clearCacheForAllOrigins):
597         (WebKit::NetworkProcess::clearDiskCache):
598         * Platform/IPC/ArgumentCoders.cpp:
599         (IPC::ArgumentCoder<WallTime>::encode):
600         (IPC::ArgumentCoder<WallTime>::decode):
601         (IPC::ArgumentCoder<std::chrono::system_clock::time_point>::encode): Deleted.
602         (IPC::ArgumentCoder<std::chrono::system_clock::time_point>::decode): Deleted.
603         * Platform/IPC/ArgumentCoders.h:
604         * PluginProcess/PluginProcess.cpp:
605         (WebKit::PluginProcess::deleteWebsiteData):
606         * PluginProcess/PluginProcess.h:
607         * PluginProcess/PluginProcess.messages.in:
608         * Scripts/webkit/messages.py:
609         (headers_for_type):
610         * Shared/RemoteLayerTree/RemoteLayerBackingStore.h:
611         (WebKit::RemoteLayerBackingStore::lastDisplayTime const):
612         * Shared/RemoteLayerTree/RemoteLayerBackingStore.mm:
613         (WebKit::RemoteLayerBackingStore::RemoteLayerBackingStore):
614         (WebKit::RemoteLayerBackingStore::display):
615         * Shared/RemoteLayerTree/RemoteLayerBackingStoreCollection.h:
616         * Shared/RemoteLayerTree/RemoteLayerBackingStoreCollection.mm:
617         (WebKit::RemoteLayerBackingStoreCollection::markBackingStoreVolatile):
618         (WebKit::RemoteLayerBackingStoreCollection::volatilityTimerFired):
619         * Shared/WebCoreArgumentCoders.cpp:
620         (IPC::ArgumentCoder<RecentSearch>::decode):
621         (IPC::ArgumentCoder<WallTime>::encode): Deleted.
622         (IPC::ArgumentCoder<WallTime>::decode): Deleted.
623         * Shared/WebCoreArgumentCoders.h:
624         * StorageProcess/StorageProcess.cpp:
625         (WebKit::StorageProcess::deleteWebsiteData):
626         * StorageProcess/StorageProcess.h:
627         * StorageProcess/StorageProcess.messages.in:
628         * UIProcess/API/C/WKApplicationCacheManager.cpp:
629         (WKApplicationCacheManagerDeleteAllEntries):
630         * UIProcess/API/C/WKCookieManager.cpp:
631         (WKCookieManagerDeleteAllCookiesModifiedAfterDate):
632         * UIProcess/API/C/WKKeyValueStorageManager.cpp:
633         (WKKeyValueStorageManagerDeleteAllEntries):
634         * UIProcess/API/C/WKResourceCacheManager.cpp:
635         (WKResourceCacheManagerClearCacheForAllOrigins):
636         * UIProcess/API/C/WKWebsiteDataStoreRef.cpp:
637         (WKWebsiteDataStoreStatisticsClearInMemoryAndPersistentStoreModifiedSinceHours):
638         (WKWebsiteDataStoreStatisticsClearThroughWebsiteDataRemoval):
639         (WKWebsiteDataStoreRemoveAllFetchCaches):
640         (WKWebsiteDataStoreRemoveAllIndexedDatabases):
641         (WKWebsiteDataStoreRemoveAllServiceWorkerRegistrations):
642         * UIProcess/API/Cocoa/WKWebsiteDataStore.mm:
643         (toSystemClockTime):
644         (-[WKWebsiteDataStore _resourceLoadStatisticsClearInMemoryAndPersistentStoreModifiedSinceHours:]):
645         * UIProcess/API/glib/WebKitWebContext.cpp:
646         (webkit_web_context_clear_cache):
647         * UIProcess/API/glib/WebKitWebsiteDataManager.cpp:
648         (webkit_website_data_manager_clear):
649         * UIProcess/DrawingAreaProxy.h:
650         * UIProcess/Network/NetworkProcessProxy.cpp:
651         (WebKit::NetworkProcessProxy::deleteWebsiteData):
652         * UIProcess/Network/NetworkProcessProxy.h:
653         * UIProcess/Plugins/PluginProcessManager.cpp:
654         (WebKit::PluginProcessManager::deleteWebsiteData):
655         * UIProcess/Plugins/PluginProcessManager.h:
656         * UIProcess/Plugins/PluginProcessProxy.cpp:
657         (WebKit::PluginProcessProxy::deleteWebsiteData):
658         * UIProcess/Plugins/PluginProcessProxy.h:
659         * UIProcess/Storage/StorageProcessProxy.cpp:
660         (WebKit::StorageProcessProxy::deleteWebsiteData):
661         * UIProcess/Storage/StorageProcessProxy.h:
662         * UIProcess/WebCookieManagerProxy.cpp:
663         (WebKit::WebCookieManagerProxy::deleteAllCookiesModifiedSince):
664         * UIProcess/WebCookieManagerProxy.h:
665         * UIProcess/WebProcessProxy.cpp:
666         (WebKit::WebProcessProxy::deleteWebsiteData):
667         * UIProcess/WebProcessProxy.h:
668         * UIProcess/WebResourceLoadStatisticsStore.cpp:
669         (WebKit::WebResourceLoadStatisticsStore::scheduleClearInMemoryAndPersistent):
670         * UIProcess/WebResourceLoadStatisticsStore.h:
671         * UIProcess/WebStorage/LocalStorageDatabaseTracker.cpp:
672         (WebKit::LocalStorageDatabaseTracker::deleteDatabasesModifiedSince):
673         * UIProcess/WebStorage/LocalStorageDatabaseTracker.h:
674         * UIProcess/WebStorage/StorageManager.cpp:
675         (WebKit::StorageManager::deleteLocalStorageOriginsModifiedSince):
676         * UIProcess/WebStorage/StorageManager.h:
677         * UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:
678         (WebKit::WebsiteDataStore::platformRemoveRecentSearches):
679         * UIProcess/WebsiteData/WebsiteDataStore.cpp:
680         (WebKit::WebsiteDataStore::removeData):
681         (WebKit::WebsiteDataStore::removeMediaKeys):
682         * UIProcess/WebsiteData/WebsiteDataStore.h:
683         * UIProcess/gtk/WebPageProxyGtk.cpp:
684         (WebKit::WebsiteDataStore::platformRemoveRecentSearches):
685         * UIProcess/wpe/WebPageProxyWPE.cpp:
686         (WebKit::WebsiteDataStore::platformRemoveRecentSearches):
687         * WebProcess/Cookies/WebCookieManager.cpp:
688         (WebKit::WebCookieManager::deleteAllCookiesModifiedSince):
689         * WebProcess/Cookies/WebCookieManager.h:
690         * WebProcess/Cookies/WebCookieManager.messages.in:
691         * WebProcess/Plugins/PluginView.cpp:
692         (WebKit::lastModifiedDateMS):
693         * WebProcess/WebProcess.cpp:
694         (WebKit::WebProcess::deleteWebsiteData):
695         * WebProcess/WebProcess.h:
696         * WebProcess/WebProcess.messages.in:
697
698 2018-01-02  Wenson Hsieh  <wenson_hsieh@apple.com>
699
700         [Attachment Support] Introduce data structures and IPC support for writing promised blobs
701         https://bugs.webkit.org/show_bug.cgi?id=181189
702
703         Reviewed by Tim Horton.
704
705         Add IPC support for PromisedBlobInfo and PromisedBlobData. See WebCore/ChangeLog for more detail.
706
707         * Shared/WebCoreArgumentCoders.cpp:
708         (IPC::ArgumentCoder<PromisedBlobData>::encode):
709         (IPC::ArgumentCoder<PromisedBlobData>::decode):
710         (IPC::ArgumentCoder<PromisedBlobInfo>::encode):
711         (IPC::ArgumentCoder<PromisedBlobInfo>::decode):
712         * Shared/WebCoreArgumentCoders.h:
713
714 2018-01-02  Michael Catanzaro  <mcatanzaro@igalia.com>
715
716         REGRESSION(r223253): Broke ResourceLoadStatistics layout tests for non-Cocoa ports
717         https://bugs.webkit.org/show_bug.cgi?id=181231
718
719         Reviewed by Alex Christensen.
720
721         Add new C API for use by WebKitTestRunner.
722
723         * UIProcess/API/C/WKWebsiteDataStoreRef.cpp:
724         (WKWebsiteDataStoreIsStatisticsRegisteredAsSubFrameUnder):
725         (WKWebsiteDataStoreIsStatisticsRegisteredAsRedirectingTo):
726         * UIProcess/API/C/WKWebsiteDataStoreRef.h:
727
728 2018-01-02  Jiewen Tan  <jiewen_tan@apple.com>
729
730         Add a WebAuthentication runtime feature flag
731         https://bugs.webkit.org/show_bug.cgi?id=181220
732         <rdar://problem/36055305>
733
734         Reviewed by Brent Fulgham.
735
736         Renames the CredentialManagement runtime feature flag into WebAuthentication.
737
738         * Shared/WebPreferences.yaml:
739         * UIProcess/API/C/WKPreferences.cpp:
740         (WKPreferencesSetWebAuthenticationEnabled):
741         (WKPreferencesGetWebAuthenticationEnabled):
742         (WKPreferencesSetCredentialManagementEnabled): Deleted.
743         (WKPreferencesGetCredentialManagementEnabled): Deleted.
744         * UIProcess/API/C/WKPreferencesRefPrivate.h:
745         * WebProcess/WebPage/WebPage.cpp:
746         (WebKit::WebPage::updatePreferences):
747
748 2018-01-02  Michael Catanzaro  <mcatanzaro@igalia.com>
749
750         REGRESSION(r226327): [GTK] Plugin process is broken
751         https://bugs.webkit.org/show_bug.cgi?id=181187
752
753         Unreviewed, fix PluginProcessMainUnix after r226327.
754
755         * PluginProcess/unix/PluginProcessMainUnix.cpp:
756
757 2018-01-02  Tim Horton  <timothy_horton@apple.com>
758
759         Fix the build on platforms where UICurrentUserInterfaceIdiomIsPad is defined to false
760         https://bugs.webkit.org/show_bug.cgi?id=181218
761
762         Reviewed by Alex Christensen.
763
764         * Platform/spi/ios/UIKitSPI.h:
765         (currentUserInterfaceIdiomIsPad):
766         * UIProcess/ios/SmartMagnificationController.mm:
767         (WebKit::SmartMagnificationController::didCollectGeometryForSmartMagnificationGesture):
768         * UIProcess/ios/WKContentViewInteraction.mm:
769         (-[WKFormInputSession setAccessoryViewCustomButtonTitle:]):
770         (-[WKContentView _requiresKeyboardWhenFirstResponder]):
771         (-[WKContentView _displayFormNodeInputView]):
772         (-[WKContentView requiresAccessoryView]):
773         (-[WKContentView _updateAccessory]):
774         * UIProcess/ios/forms/WKAirPlayRoutePicker.mm:
775         (-[WKAirPlayRoutePicker show:fromRect:]):
776         * UIProcess/ios/forms/WKFileUploadPanel.mm:
777         (-[WKFileUploadPanel _showPhotoPickerWithSourceType:]):
778         (-[WKFileUploadPanel _presentMenuOptionForCurrentInterfaceIdiom:]):
779         * UIProcess/ios/forms/WKFormInputControl.mm:
780         (-[WKDateTimePicker initWithView:datePickerMode:]):
781         (-[WKFormInputControl initWithView:]):
782         * UIProcess/ios/forms/WKFormSelectControl.mm:
783         (-[WKFormSelectControl initWithView:]):
784         On platforms where UICurrentUserInterfaceIdiomIsPad is defined to false,
785         blocks that conditionally execute based on its value are unreachable.
786         This causes the compiler to complain. Hide it away inside an inline function
787         and make use of that everywhere we used to use the macro.
788
789 2018-01-02  Alex Christensen  <achristensen@webkit.org>
790
791         Remove SVN file accidentally added in r226160
792         https://bugs.webkit.org/show_bug.cgi?id=180934
793
794         * UIProcess/WebPageProxy.cpp.orig: Removed.
795
796 2018-01-02  Alex Christensen  <achristensen@webkit.org>
797
798         Use BlockPtrs and lambdas instead of new/delete to pass parameters to blocks in WebViewImpl::performDragOperation
799         https://bugs.webkit.org/show_bug.cgi?id=180795
800
801         Reviewed by Brent Fulgham.
802
803         * UIProcess/Cocoa/WebViewImpl.mm:
804         (WebKit::WebViewImpl::performDragOperation):
805
806 2018-01-02  Michael Catanzaro  <mcatanzaro@igalia.com>
807
808         [WPE][GTK] Implement the assignment of ProcessIdentifiers to child processes
809         https://bugs.webkit.org/show_bug.cgi?id=181187
810
811         Reviewed by Brady Eidson.
812
813         * Shared/ChildProcess.cpp: Make the ProcessIdentifier mandatory.
814         (WebKit::ChildProcess::initialize):
815         * Shared/unix/ChildProcessMain.cpp: Initialize ChildProcessInitializationParameters with the
816         ProcessIdentifier.
817         (WebKit::ChildProcessMainBase::parseCommandLine):
818         * UIProcess/Launcher/glib/ProcessLauncherGLib.cpp: Copy the ProcessIdentifier from
819         LaunchOptions into argv.
820         (WebKit::ProcessLauncher::launchProcess):
821         * WebProcess/wpe/WebProcessMainWPE.cpp: Expect the WPE socket ID later in the command line.
822
823 2018-01-02  Alex Christensen  <achristensen@webkit.org>
824
825         Use new WebsiteDataStore passed in through decidePolicyForNavigation SPI
826         https://bugs.webkit.org/show_bug.cgi?id=180897
827         <rdar://problem/35535328>
828
829         Reviewed by Brent Fulgham.
830
831         * Shared/WebsitePoliciesData.cpp:
832         (WebKit::WebsitePoliciesData::applyToDocumentLoader):
833         * UIProcess/Cocoa/NavigationState.mm:
834         (WebKit::NavigationState::NavigationClient::decidePolicyForNavigationAction):
835         * UIProcess/WebPageProxy.cpp:
836         (WebKit::WebPageProxy::changeWebsiteDataStore):
837         * UIProcess/WebPageProxy.h:
838         * UIProcess/WebProcessPool.cpp:
839         (WebKit::WebProcessPool::pageBeginUsingWebsiteDataStore):
840         (WebKit::WebProcessPool::pageEndUsingWebsiteDataStore):
841         (WebKit::WebProcessPool::pageAddedToProcess): Deleted.
842         (WebKit::WebProcessPool::pageRemovedFromProcess): Deleted.
843         * UIProcess/WebProcessPool.h:
844         * UIProcess/WebProcessProxy.cpp:
845         (WebKit::WebProcessProxy::addExistingWebPage):
846         (WebKit::WebProcessProxy::removeWebPage):
847         * WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm:
848         (WebKit::WebFrameNetworkingContext::ensureWebsiteDataStoreSession):
849
850 2018-01-02  Alex Christensen  <achristensen@webkit.org>
851
852         Only use CookieStorageShim when we aren't using NetworkSession
853         https://bugs.webkit.org/show_bug.cgi?id=180766
854
855         Reviewed by Brent Fulgham.
856
857         * Shared/mac/CookieStorageShim.h:
858         * Shared/mac/CookieStorageShim.mm:
859         * WebProcess/WebProcess.cpp:
860         (WebKit::WebProcess::initializeWebProcess):
861
862 2018-01-02  Alex Christensen  <achristensen@webkit.org>
863
864         Clean up context menu code
865         https://bugs.webkit.org/show_bug.cgi?id=181074
866
867         Reviewed by Brent Fulgham.
868
869         Use Ref instead of RefPtr where possible.
870         Use move semantics instead of copying from const references when possible.
871         Remove dead iOS code.  Reduce allocations.  Add stub for WPE.
872
873         * UIProcess/API/APIContextMenuClient.h:
874         (API::ContextMenuClient::getContextMenuFromProposedMenu):
875         (API::ContextMenuClient::getContextMenuFromProposedMenuAsync):
876         (API::ContextMenuClient::showContextMenu):
877         * UIProcess/API/C/WKPage.cpp:
878         (WKPageSetPageContextMenuClient):
879         * UIProcess/API/gtk/PageClientImpl.cpp:
880         (WebKit::PageClientImpl::createContextMenuProxy):
881         * UIProcess/API/gtk/PageClientImpl.h:
882         * UIProcess/PageClient.h:
883         * UIProcess/WebContextMenuListenerProxy.cpp:
884         (WebKit::WebContextMenuListenerProxy::useContextMenuItems):
885         * UIProcess/WebContextMenuProxy.cpp:
886         (WebKit::WebContextMenuProxy::WebContextMenuProxy):
887         * UIProcess/WebContextMenuProxy.h:
888         * UIProcess/WebPageProxy.cpp:
889         (WebKit::WebPageProxy::showContextMenu):
890         (WebKit::WebPageProxy::internalShowContextMenu): Deleted.
891         * UIProcess/WebPageProxy.h:
892         * UIProcess/gtk/WebContextMenuProxyGtk.cpp:
893         (WebKit::WebContextMenuProxyGtk::showContextMenuWithItems):
894         (WebKit::WebContextMenuProxyGtk::WebContextMenuProxyGtk):
895         * UIProcess/gtk/WebContextMenuProxyGtk.h:
896         (WebKit::WebContextMenuProxyGtk::create):
897         * UIProcess/ios/PageClientImplIOS.h:
898         * UIProcess/ios/PageClientImplIOS.mm:
899         (WebKit::PageClientImpl::createContextMenuProxy): Deleted.
900         * UIProcess/mac/PageClientImplMac.h:
901         * UIProcess/mac/PageClientImplMac.mm:
902         (WebKit::PageClientImpl::createContextMenuProxy):
903         * UIProcess/mac/WebContextMenuProxyMac.h:
904         (WebKit::WebContextMenuProxyMac::create):
905         * UIProcess/mac/WebContextMenuProxyMac.mm:
906         (WebKit::WebContextMenuProxyMac::WebContextMenuProxyMac):
907         (WebKit::WebContextMenuProxyMac::showContextMenuWithItems):
908         (WebKit::WebContextMenuProxyMac::showContextMenu):
909
910 == Rolled over to ChangeLog-2018-01-01 ==