[Cocoa] WKCustomProtocolLoader should store a WeakPtr to its LegacyCustomProtocolMana...
[WebKit-https.git] / Source / WebKit / UIProcess / WebProcessProxy.messages.in
1 # Copyright (C) 2010, 2011 Apple Inc. All rights reserved.
2 #
3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions
5 # are met:
6 # 1.  Redistributions of source code must retain the above copyright
7 #     notice, this list of conditions and the following disclaimer.
8 # 2.  Redistributions in binary form must reproduce the above copyright
9 #     notice, this list of conditions and the following disclaimer in the
10 #     documentation and/or other materials provided with the distribution.
11 #
12 # THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
13 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15 # DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR
16 # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
18 # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
19 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
20 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
21 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
23 messages -> WebProcessProxy LegacyReceiver {
24     UpdateBackForwardItem(struct WebKit::BackForwardListItemState backForwardListItemState)
25     DidDestroyFrame(uint64_t frameID) 
26
27     DidDestroyUserGestureToken(uint64_t userGestureTokenID) 
28
29     ShouldTerminate() -> (bool shouldTerminate) Synchronous
30
31     EnableSuddenTermination()
32     DisableSuddenTermination()
33
34     # Plugin messages.
35 #if ENABLE(NETSCAPE_PLUGIN_API)
36     GetPlugins(bool refresh) -> (Vector<WebCore::PluginInfo> plugins, Vector<WebCore::PluginInfo> applicationPlugins, struct Optional<Vector<WebCore::SupportedPluginIdentifier>> supportedPluginIdentifiers) Synchronous
37     GetPluginProcessConnection(uint64_t pluginProcessToken) -> (IPC::Attachment connectionHandle, bool supportsAsynchronousInitialization) Synchronous
38 #endif
39     GetNetworkProcessConnection() -> (IPC::Attachment connectionHandle) Synchronous
40     ProcessReadyToSuspend()
41     DidCancelProcessSuspension()
42
43     SetIsHoldingLockedFiles(bool isHoldingLockedFiles)
44
45     DidExceedActiveMemoryLimit()
46     DidExceedInactiveMemoryLimit()
47     DidExceedCPULimit()
48
49     StopResponsivenessTimer()
50
51     DidReceiveMainThreadPing()
52     DidReceiveBackgroundResponsivenessPing()
53
54     MemoryPressureStatusChanged(bool isUnderMemoryPressure)
55     DidExceedInactiveMemoryLimitWhileActive()
56
57     CreateNewMessagePortChannel(struct WebCore::MessagePortIdentifier port1, struct WebCore::MessagePortIdentifier port2)
58     EntangleLocalPortInThisProcessToRemote(struct WebCore::MessagePortIdentifier local, struct WebCore::MessagePortIdentifier remote)
59     MessagePortDisentangled(struct WebCore::MessagePortIdentifier local)
60     MessagePortClosed(struct WebCore::MessagePortIdentifier local)
61     TakeAllMessagesForPort(struct WebCore::MessagePortIdentifier port, uint64_t messagesCallbackIdentifier)
62     PostMessageToRemote(struct WebCore::MessageWithMessagePorts message, struct WebCore::MessagePortIdentifier remote)
63     CheckRemotePortForActivity(struct WebCore::MessagePortIdentifier port, uint64_t callbackIdentifier)
64     DidDeliverMessagePortMessages(uint64_t messageBatchIdentifier)
65     DidCheckProcessLocalPortForActivity(uint64_t callbackIdentifier, bool isLocallyReachable)
66
67     DidCollectPrewarmInformation(WebCore::RegistrableDomain domain, struct WebCore::PrewarmInformation prewarmInformation)
68
69 #if PLATFORM(COCOA)
70     CacheMediaMIMETypes(Vector<String> types)
71 #endif
72
73 #if PLATFORM(MAC)
74     RequestHighPerformanceGPU()
75     ReleaseHighPerformanceGPU()
76 #endif
77
78 #if PLATFORM(MAC) && ENABLE(WEBPROCESS_WINDOWSERVER_BLOCKING)
79     StartDisplayLink(unsigned observerID, uint32_t displayID)
80     StopDisplayLink(unsigned observerID, uint32_t displayID)
81 #endif
82
83 #if HAVE(VISIBILITY_PROPAGATION_VIEW)
84     DidCreateContextForVisibilityPropagation(WebKit::LayerHostingContextID contextID);
85 #endif
86
87 #if PLATFORM(IOS_FAMILY)
88     ProcessWasUnexpectedlyUnsuspended() -> () Async
89 #endif
90 }