[WPE][GTK] Implement the assignment of ProcessIdentifiers to child processes
[WebKit-https.git] / Source / WebKit / ChangeLog
1 2018-01-02  Michael Catanzaro  <mcatanzaro@igalia.com>
2
3         [WPE][GTK] Implement the assignment of ProcessIdentifiers to child processes
4         https://bugs.webkit.org/show_bug.cgi?id=181187
5
6         Reviewed by Brady Eidson.
7
8         * Shared/ChildProcess.cpp: Make the ProcessIdentifier mandatory.
9         (WebKit::ChildProcess::initialize):
10         * Shared/unix/ChildProcessMain.cpp: Initialize ChildProcessInitializationParameters with the
11         ProcessIdentifier.
12         (WebKit::ChildProcessMainBase::parseCommandLine):
13         * UIProcess/Launcher/glib/ProcessLauncherGLib.cpp: Copy the ProcessIdentifier from
14         LaunchOptions into argv.
15         (WebKit::ProcessLauncher::launchProcess):
16         * WebProcess/wpe/WebProcessMainWPE.cpp: Expect the WPE socket ID later in the command line.
17
18 2018-01-02  Alex Christensen  <achristensen@webkit.org>
19
20         Use new WebsiteDataStore passed in through decidePolicyForNavigation SPI
21         https://bugs.webkit.org/show_bug.cgi?id=180897
22         <rdar://problem/35535328>
23
24         Reviewed by Brent Fulgham.
25
26         * Shared/WebsitePoliciesData.cpp:
27         (WebKit::WebsitePoliciesData::applyToDocumentLoader):
28         * UIProcess/Cocoa/NavigationState.mm:
29         (WebKit::NavigationState::NavigationClient::decidePolicyForNavigationAction):
30         * UIProcess/WebPageProxy.cpp:
31         (WebKit::WebPageProxy::changeWebsiteDataStore):
32         * UIProcess/WebPageProxy.h:
33         * UIProcess/WebProcessPool.cpp:
34         (WebKit::WebProcessPool::pageBeginUsingWebsiteDataStore):
35         (WebKit::WebProcessPool::pageEndUsingWebsiteDataStore):
36         (WebKit::WebProcessPool::pageAddedToProcess): Deleted.
37         (WebKit::WebProcessPool::pageRemovedFromProcess): Deleted.
38         * UIProcess/WebProcessPool.h:
39         * UIProcess/WebProcessProxy.cpp:
40         (WebKit::WebProcessProxy::addExistingWebPage):
41         (WebKit::WebProcessProxy::removeWebPage):
42         * WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm:
43         (WebKit::WebFrameNetworkingContext::ensureWebsiteDataStoreSession):
44
45 2018-01-02  Alex Christensen  <achristensen@webkit.org>
46
47         Only use CookieStorageShim when we aren't using NetworkSession
48         https://bugs.webkit.org/show_bug.cgi?id=180766
49
50         Reviewed by Brent Fulgham.
51
52         * Shared/mac/CookieStorageShim.h:
53         * Shared/mac/CookieStorageShim.mm:
54         * WebProcess/WebProcess.cpp:
55         (WebKit::WebProcess::initializeWebProcess):
56
57 2018-01-02  Alex Christensen  <achristensen@webkit.org>
58
59         Clean up context menu code
60         https://bugs.webkit.org/show_bug.cgi?id=181074
61
62         Reviewed by Brent Fulgham.
63
64         Use Ref instead of RefPtr where possible.
65         Use move semantics instead of copying from const references when possible.
66         Remove dead iOS code.  Reduce allocations.  Add stub for WPE.
67
68         * UIProcess/API/APIContextMenuClient.h:
69         (API::ContextMenuClient::getContextMenuFromProposedMenu):
70         (API::ContextMenuClient::getContextMenuFromProposedMenuAsync):
71         (API::ContextMenuClient::showContextMenu):
72         * UIProcess/API/C/WKPage.cpp:
73         (WKPageSetPageContextMenuClient):
74         * UIProcess/API/gtk/PageClientImpl.cpp:
75         (WebKit::PageClientImpl::createContextMenuProxy):
76         * UIProcess/API/gtk/PageClientImpl.h:
77         * UIProcess/PageClient.h:
78         * UIProcess/WebContextMenuListenerProxy.cpp:
79         (WebKit::WebContextMenuListenerProxy::useContextMenuItems):
80         * UIProcess/WebContextMenuProxy.cpp:
81         (WebKit::WebContextMenuProxy::WebContextMenuProxy):
82         * UIProcess/WebContextMenuProxy.h:
83         * UIProcess/WebPageProxy.cpp:
84         (WebKit::WebPageProxy::showContextMenu):
85         (WebKit::WebPageProxy::internalShowContextMenu): Deleted.
86         * UIProcess/WebPageProxy.h:
87         * UIProcess/gtk/WebContextMenuProxyGtk.cpp:
88         (WebKit::WebContextMenuProxyGtk::showContextMenuWithItems):
89         (WebKit::WebContextMenuProxyGtk::WebContextMenuProxyGtk):
90         * UIProcess/gtk/WebContextMenuProxyGtk.h:
91         (WebKit::WebContextMenuProxyGtk::create):
92         * UIProcess/ios/PageClientImplIOS.h:
93         * UIProcess/ios/PageClientImplIOS.mm:
94         (WebKit::PageClientImpl::createContextMenuProxy): Deleted.
95         * UIProcess/mac/PageClientImplMac.h:
96         * UIProcess/mac/PageClientImplMac.mm:
97         (WebKit::PageClientImpl::createContextMenuProxy):
98         * UIProcess/mac/WebContextMenuProxyMac.h:
99         (WebKit::WebContextMenuProxyMac::create):
100         * UIProcess/mac/WebContextMenuProxyMac.mm:
101         (WebKit::WebContextMenuProxyMac::WebContextMenuProxyMac):
102         (WebKit::WebContextMenuProxyMac::showContextMenuWithItems):
103         (WebKit::WebContextMenuProxyMac::showContextMenu):
104
105 == Rolled over to ChangeLog-2018-01-01 ==