f34c99e8bb0c3c9f36220b2c3101fcf74998ef21
[WebKit-https.git] / Source / WebKit / ChangeLog
1 2018-01-02  Alex Christensen  <achristensen@webkit.org>
2
3         Only use CookieStorageShim when we aren't using NetworkSession
4         https://bugs.webkit.org/show_bug.cgi?id=180766
5
6         Reviewed by Brent Fulgham.
7
8         * Shared/mac/CookieStorageShim.h:
9         * Shared/mac/CookieStorageShim.mm:
10         * WebProcess/WebProcess.cpp:
11         (WebKit::WebProcess::initializeWebProcess):
12
13 2018-01-02  Alex Christensen  <achristensen@webkit.org>
14
15         Clean up context menu code
16         https://bugs.webkit.org/show_bug.cgi?id=181074
17
18         Reviewed by Brent Fulgham.
19
20         Use Ref instead of RefPtr where possible.
21         Use move semantics instead of copying from const references when possible.
22         Remove dead iOS code.  Reduce allocations.  Add stub for WPE.
23
24         * UIProcess/API/APIContextMenuClient.h:
25         (API::ContextMenuClient::getContextMenuFromProposedMenu):
26         (API::ContextMenuClient::getContextMenuFromProposedMenuAsync):
27         (API::ContextMenuClient::showContextMenu):
28         * UIProcess/API/C/WKPage.cpp:
29         (WKPageSetPageContextMenuClient):
30         * UIProcess/API/gtk/PageClientImpl.cpp:
31         (WebKit::PageClientImpl::createContextMenuProxy):
32         * UIProcess/API/gtk/PageClientImpl.h:
33         * UIProcess/PageClient.h:
34         * UIProcess/WebContextMenuListenerProxy.cpp:
35         (WebKit::WebContextMenuListenerProxy::useContextMenuItems):
36         * UIProcess/WebContextMenuProxy.cpp:
37         (WebKit::WebContextMenuProxy::WebContextMenuProxy):
38         * UIProcess/WebContextMenuProxy.h:
39         * UIProcess/WebPageProxy.cpp:
40         (WebKit::WebPageProxy::showContextMenu):
41         (WebKit::WebPageProxy::internalShowContextMenu): Deleted.
42         * UIProcess/WebPageProxy.h:
43         * UIProcess/gtk/WebContextMenuProxyGtk.cpp:
44         (WebKit::WebContextMenuProxyGtk::showContextMenuWithItems):
45         (WebKit::WebContextMenuProxyGtk::WebContextMenuProxyGtk):
46         * UIProcess/gtk/WebContextMenuProxyGtk.h:
47         (WebKit::WebContextMenuProxyGtk::create):
48         * UIProcess/ios/PageClientImplIOS.h:
49         * UIProcess/ios/PageClientImplIOS.mm:
50         (WebKit::PageClientImpl::createContextMenuProxy): Deleted.
51         * UIProcess/mac/PageClientImplMac.h:
52         * UIProcess/mac/PageClientImplMac.mm:
53         (WebKit::PageClientImpl::createContextMenuProxy):
54         * UIProcess/mac/WebContextMenuProxyMac.h:
55         (WebKit::WebContextMenuProxyMac::create):
56         * UIProcess/mac/WebContextMenuProxyMac.mm:
57         (WebKit::WebContextMenuProxyMac::WebContextMenuProxyMac):
58         (WebKit::WebContextMenuProxyMac::showContextMenuWithItems):
59         (WebKit::WebContextMenuProxyMac::showContextMenu):
60
61 == Rolled over to ChangeLog-2018-01-01 ==