Changeset 237300 in webkit
- Timestamp:
- Oct 19, 2018, 2:12:24 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 27 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r237298 r237300 1 2018-10-19 Alex Christensen <achristensen@webkit.org> 2 3 Mark LegacySync IPC messages 4 https://bugs.webkit.org/show_bug.cgi?id=190759 5 6 Reviewed by Tim Horton. 7 8 * NetworkProcess/NetworkConnectionToWebProcess.messages.in: 9 * NetworkProcess/NetworkProcess.messages.in: 10 * NetworkProcess/ServiceWorker/WebSWServerConnection.messages.in: 11 * Platform/IPC/HandleMessage.h: 12 (IPC::handleMessageLegacySync): 13 * PluginProcess/PluginControllerProxy.messages.in: 14 * Scripts/webkit/messages.py: 15 * Shared/Plugins/NPObjectMessageReceiver.messages.in: 16 * UIProcess/ApplePay/WebPaymentCoordinatorProxy.messages.in: 17 * UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in: 18 * UIProcess/Plugins/PluginProcessProxy.messages.in: 19 * UIProcess/WebFullScreenManagerProxy.messages.in: 20 * UIProcess/WebPageProxy.messages.in: 21 * UIProcess/WebPasteboardProxy.messages.in: 22 * UIProcess/WebProcessPool.messages.in: 23 * UIProcess/WebProcessProxy.messages.in: 24 * UIProcess/WebStorage/StorageManager.messages.in: 25 * UIProcess/mac/SecItemShimProxy.messages.in: 26 * WebProcess/Plugins/PluginProcessConnection.messages.in: 27 * WebProcess/Plugins/PluginProxy.messages.in: 28 * WebProcess/WebPage/WebPage.messages.in: 29 * WebProcess/WebProcess.messages.in: 30 1 31 2018-10-19 Alex Christensen <achristensen@webkit.org> 2 32 -
trunk/Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in
r237110 r237300 35 35 ConvertMainResourceLoadToDownload(PAL::SessionID sessionID, uint64_t mainResourceLoadIdentifier, WebKit::DownloadID downloadID, WebCore::ResourceRequest request, WebCore::ResourceResponse response) 36 36 37 CookiesForDOM(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID, enum:bool WebCore::IncludeSecureCookies includeSecureCookies) -> (String cookieString, bool didAccessSecureCookies) 37 CookiesForDOM(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID, enum:bool WebCore::IncludeSecureCookies includeSecureCookies) -> (String cookieString, bool didAccessSecureCookies) LegacySync 38 38 SetCookiesFromDOM(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID, String cookieString) 39 CookiesEnabled(PAL::SessionID sessionID) -> (bool enabled) 40 CookieRequestHeaderFieldValue(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID, enum:bool WebCore::IncludeSecureCookies includeSecureCookies) -> (String cookieString, bool didAccessSecureCookies) 41 GetRawCookies(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID) -> (Vector<WebCore::Cookie> cookies) 39 CookiesEnabled(PAL::SessionID sessionID) -> (bool enabled) LegacySync 40 CookieRequestHeaderFieldValue(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID, enum:bool WebCore::IncludeSecureCookies includeSecureCookies) -> (String cookieString, bool didAccessSecureCookies) LegacySync 41 GetRawCookies(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID) -> (Vector<WebCore::Cookie> cookies) LegacySync 42 42 DeleteCookie(PAL::SessionID sessionID, WebCore::URL url, String cookieName) 43 43 … … 49 49 RegisterBlobURLForSlice(WebCore::URL url, WebCore::URL srcURL, int64_t start, int64_t end) 50 50 UnregisterBlobURL(WebCore::URL url) 51 BlobSize(WebCore::URL url) -> (uint64_t resultSize) 51 BlobSize(WebCore::URL url) -> (uint64_t resultSize) LegacySync 52 52 WriteBlobsToTemporaryFiles(Vector<String> blobURLs, uint64_t requestIdentifier) 53 53 … … 67 67 ResetOriginAccessWhitelists(); 68 68 69 GetNetworkLoadInformationRequest(uint64_t resourceLoadIdentifier) -> (WebCore::ResourceRequest request) ;70 GetNetworkLoadInformationResponse(uint64_t resourceLoadIdentifier) -> (WebCore::ResourceResponse response) ;71 GetNetworkLoadIntermediateInformation(uint64_t resourceLoadIdentifier) -> (Vector<WebCore::NetworkTransactionInformation> transactions) ;72 TakeNetworkLoadInformationMetrics(uint64_t resourceLoadIdentifier) -> (WebCore::NetworkLoadMetrics networkMetrics) ;69 GetNetworkLoadInformationRequest(uint64_t resourceLoadIdentifier) -> (WebCore::ResourceRequest request) LegacySync 70 GetNetworkLoadInformationResponse(uint64_t resourceLoadIdentifier) -> (WebCore::ResourceResponse response) LegacySync 71 GetNetworkLoadIntermediateInformation(uint64_t resourceLoadIdentifier) -> (Vector<WebCore::NetworkTransactionInformation> transactions) LegacySync 72 TakeNetworkLoadInformationMetrics(uint64_t resourceLoadIdentifier) -> (WebCore::NetworkLoadMetrics networkMetrics) LegacySync 73 73 74 74 #if ENABLE(INDEXED_DATABASE) 75 EstablishIDBConnectionToServer(PAL::SessionID sessionID) -> (uint64_t serverConnectionIdentifier) 75 EstablishIDBConnectionToServer(PAL::SessionID sessionID) -> (uint64_t serverConnectionIdentifier) LegacySync 76 76 RemoveIDBConnectionToServer(uint64_t serverConnectionIdentifier) 77 77 #endif 78 78 79 79 #if ENABLE(SERVICE_WORKER) 80 EstablishSWServerConnection(PAL::SessionID sessionID) -> (WebCore::SWServerConnectionIdentifier serverConnectionIdentifier) 80 EstablishSWServerConnection(PAL::SessionID sessionID) -> (WebCore::SWServerConnectionIdentifier serverConnectionIdentifier) LegacySync 81 81 #endif 82 82 } -
trunk/Source/WebKit/NetworkProcess/NetworkProcess.messages.in
r237294 r237300 54 54 SetStorageAccessAPIEnabled(bool enabled) 55 55 #endif 56 SetAllowsAnySSLCertificateForWebSocket(bool enabled) -> () 56 SetAllowsAnySSLCertificateForWebSocket(bool enabled) -> () LegacySync 57 57 58 58 SyncAllCookies() … … 69 69 ProcessDidTransitionToForeground() 70 70 71 ProcessWillSuspendImminently() -> (bool handled) 71 ProcessWillSuspendImminently() -> (bool handled) LegacySync 72 72 PrepareToSuspend() 73 73 CancelPrepareToSuspend() … … 102 102 103 103 #if ENABLE(SERVICE_WORKER) 104 DidNotHandleFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier)105 DidFailFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, WebCore::ResourceError error)106 DidReceiveFetchResponse(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, WebCore::ResourceResponse response)107 DidReceiveFetchData(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, IPC::SharedBufferDataReference data, int64_t encodedDataLength)108 DidReceiveFetchFormData(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, IPC::FormDataReference data)109 DidFinishFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier)110 PostMessageToServiceWorkerClient(struct WebCore::ServiceWorkerClientIdentifier destinationIdentifier, struct WebCore::MessageWithMessagePorts message, WebCore::ServiceWorkerIdentifier sourceIdentifier, String sourceOrigin)104 DidNotHandleFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier) 105 DidFailFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, WebCore::ResourceError error) 106 DidReceiveFetchResponse(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, WebCore::ResourceResponse response) 107 DidReceiveFetchData(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, IPC::SharedBufferDataReference data, int64_t encodedDataLength) 108 DidReceiveFetchFormData(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, IPC::FormDataReference data) 109 DidFinishFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier) 110 PostMessageToServiceWorkerClient(struct WebCore::ServiceWorkerClientIdentifier destinationIdentifier, struct WebCore::MessageWithMessagePorts message, WebCore::ServiceWorkerIdentifier sourceIdentifier, String sourceOrigin) 111 111 112 PostMessageToServiceWorker(WebCore::ServiceWorkerIdentifier destination, struct WebCore::MessageWithMessagePorts message, WebCore::ServiceWorkerOrClientIdentifier source, WebCore::SWServerConnectionIdentifier connectionIdentifier)112 PostMessageToServiceWorker(WebCore::ServiceWorkerIdentifier destination, struct WebCore::MessageWithMessagePorts message, WebCore::ServiceWorkerOrClientIdentifier source, WebCore::SWServerConnectionIdentifier connectionIdentifier) 113 113 114 DisableServiceWorkerProcessTerminationDelay()114 DisableServiceWorkerProcessTerminationDelay() 115 115 #endif 116 116 } -
trunk/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.messages.in
r236477 r237300 43 43 UnregisterServiceWorkerClient(struct WebCore::ServiceWorkerClientIdentifier identifier) 44 44 45 SyncTerminateWorker(WebCore::ServiceWorkerIdentifier workerIdentifier) -> () 45 SyncTerminateWorker(WebCore::ServiceWorkerIdentifier workerIdentifier) -> () LegacySync 46 46 } 47 47 -
trunk/Source/WebKit/Platform/IPC/HandleMessage.h
r237294 r237300 135 135 136 136 template<typename T, typename C, typename MF> 137 void handleMessage (Decoder& decoder, Encoder& replyEncoder, C* object, MF function)137 void handleMessageLegacySync(Decoder& decoder, Encoder& replyEncoder, C* object, MF function) 138 138 { 139 139 typename CodingType<typename T::Arguments>::Type arguments; … … 149 149 150 150 template<typename T, typename C, typename MF> 151 void handleMessage (Connection& connection, Decoder& decoder, Encoder& replyEncoder, C* object, MF function)151 void handleMessageLegacySync(Connection& connection, Decoder& decoder, Encoder& replyEncoder, C* object, MF function) 152 152 { 153 153 typename CodingType<typename T::Arguments>::Type arguments; -
trunk/Source/WebKit/PluginProcess/PluginControllerProxy.messages.in
r191922 r237300 70 70 71 71 # Sent when a mouse wheel event should be processed. 72 HandleWheelEvent(WebKit::WebWheelEvent wheelEvent) -> (bool handled) 72 HandleWheelEvent(WebKit::WebWheelEvent wheelEvent) -> (bool handled) LegacySync 73 73 74 74 # Sent when a mouse enter event should be processed. 75 HandleMouseEnterEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled) 75 HandleMouseEnterEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled) LegacySync 76 76 77 77 # Sent when a mouse leave event should be processed. 78 HandleMouseLeaveEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled) 78 HandleMouseLeaveEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled) LegacySync 79 79 80 80 # Sent when a keyboard should be processed. 81 HandleKeyboardEvent(WebKit::WebKeyboardEvent keyboardEvent) -> (bool handled) 81 HandleKeyboardEvent(WebKit::WebKeyboardEvent keyboardEvent) -> (bool handled) LegacySync 82 82 83 83 # Sent when an editing command should be processed. 84 HandleEditingCommand(String commandName, String argument) -> (bool handled) ;84 HandleEditingCommand(String commandName, String argument) -> (bool handled) LegacySync 85 85 86 86 # Return whether or not a plugin wants to enable the given editing command. 87 IsEditingCommandEnabled(String commandName) -> (bool enabled) ;87 IsEditingCommandEnabled(String commandName) -> (bool enabled) LegacySync 88 88 89 89 # Return whether or not a plugin wants to handle page scale factor itself. 90 HandlesPageScaleFactor() -> (bool enabled) ;90 HandlesPageScaleFactor() -> (bool enabled) LegacySync 91 91 92 92 # Return whether or not a plugin wants page scale, page zoom, and text zoom all to affect page scale. 93 RequiresUnifiedScaleFactor() -> (bool required) ;93 RequiresUnifiedScaleFactor() -> (bool required) LegacySync 94 94 95 95 # Sent when the plug-in focus changes. … … 100 100 101 101 # Paint the entire plug-in. 102 PaintEntirePlugin() -> () 102 PaintEntirePlugin() -> () LegacySync 103 103 104 104 # Get a reference to the plug-in's scriptable NPObject. 105 GetPluginScriptableNPObject() -> (uint64_t pluginScriptableNPObjectID) 105 GetPluginScriptableNPObject() -> (uint64_t pluginScriptableNPObjectID) LegacySync 106 106 107 107 # Sent when the containing NSWindow's focus changes … … 123 123 124 124 # Does the plugin support snapshotting? 125 SupportsSnapshotting() -> (bool isSupported) 125 SupportsSnapshotting() -> (bool isSupported) LegacySync 126 126 127 127 # Return a snapshot of the plugin. 128 Snapshot() -> (WebKit::ShareableBitmap::Handle backingStoreHandle) 128 Snapshot() -> (WebKit::ShareableBitmap::Handle backingStoreHandle) LegacySync 129 129 130 130 # Sent when storage blocking policy changes … … 135 135 136 136 # Gets the string representating the form value of the plug-in 137 GetFormValue() -> (bool returnValue, String formValue) 137 GetFormValue() -> (bool returnValue, String formValue) LegacySync 138 138 139 139 # Sent when the browser wants to mute or unmute the plugin. -
trunk/Source/WebKit/Scripts/webkit/LegacyMessages-expected.h
r231931 r237300 41 41 42 42 namespace IPC { 43 44 45 43 class MachPort; 44 class Connection; 45 class DummyType; 46 46 } 47 47 48 48 namespace WebKit { 49 50 49 class WebTouchEvent; 50 class WebPreferencesStore; 51 51 } 52 52 -
trunk/Source/WebKit/Scripts/webkit/MessageReceiverSuperclass-expected.cpp
r237298 r237300 30 30 #include "Decoder.h" 31 31 #include "HandleMessage.h" 32 #include "TestClassName.h" 32 33 #if ENABLE(TEST_FEATURE) 33 34 #include "TestTwoStateEnum.h" 34 35 #endif 35 36 #include "WebPageMessages.h" 37 #include <wtf/Optional.h> 36 38 #include <wtf/text/WTFString.h> 37 39 … … 66 68 #endif 67 69 70 void TestDelayedMessage::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const std::optional<WebKit::TestClassName>& optionalReply) 71 { 72 *encoder << optionalReply; 73 connection.sendSyncReply(WTFMove(encoder)); 74 } 75 68 76 } // namespace WebPage 69 77 … … 87 95 } 88 96 97 void WebPage::didReceiveSyncMessage(IPC::Connection& connection, IPC::Decoder& decoder, std::unique_ptr<IPC::Encoder>& replyEncoder) 98 { 99 if (decoder.messageName() == Messages::WebPage::TestSyncMessage::name()) { 100 IPC::handleMessage<Messages::WebPage::TestSyncMessage>(decoder, *replyEncoder, this, &WebPage::testSyncMessage); 101 return; 102 } 103 if (decoder.messageName() == Messages::WebPage::TestDelayedMessage::name()) { 104 IPC::handleMessageDelayed<Messages::WebPage::TestDelayedMessage>(connection, decoder, replyEncoder, this, &WebPage::testDelayedMessage); 105 return; 106 } 107 UNUSED_PARAM(connection); 108 UNUSED_PARAM(decoder); 109 UNUSED_PARAM(replyEncoder); 110 ASSERT_NOT_REACHED(); 111 } 112 89 113 } // namespace WebKit 90 114 -
trunk/Source/WebKit/Scripts/webkit/MessagesSuperclass-expected.h
r237298 r237300 26 26 27 27 #include "ArgumentCoders.h" 28 #include "TestClassName.h" 28 29 #include <wtf/Forward.h> 30 #include <wtf/Optional.h> 31 #include <wtf/ThreadSafeRefCounted.h> 29 32 #include <wtf/text/WTFString.h> 30 33 34 namespace IPC { 35 class Connection; 36 } 37 31 38 namespace WebKit { 32 39 enum class TestTwoStateEnum : bool; 33 40 } 34 41 … … 93 100 #endif 94 101 102 class TestSyncMessage { 103 public: 104 typedef std::tuple<uint32_t> Arguments; 105 106 static IPC::StringReference receiverName() { return messageReceiverName(); } 107 static IPC::StringReference name() { return IPC::StringReference("TestSyncMessage"); } 108 static const bool isSync = true; 109 110 typedef std::tuple<uint8_t&> Reply; 111 explicit TestSyncMessage(uint32_t param) 112 : m_arguments(param) 113 { 114 } 115 116 const Arguments& arguments() const 117 { 118 return m_arguments; 119 } 120 121 private: 122 Arguments m_arguments; 123 }; 124 125 class TestDelayedMessage { 126 public: 127 typedef std::tuple<bool> Arguments; 128 129 static IPC::StringReference receiverName() { return messageReceiverName(); } 130 static IPC::StringReference name() { return IPC::StringReference("TestDelayedMessage"); } 131 static const bool isSync = true; 132 133 using DelayedReply = CompletionHandler<void(const std::optional<WebKit::TestClassName>& optionalReply)>; 134 static void send(std::unique_ptr<IPC::Encoder>&&, IPC::Connection&, const std::optional<WebKit::TestClassName>& optionalReply); 135 typedef std::tuple<std::optional<WebKit::TestClassName>&> Reply; 136 explicit TestDelayedMessage(bool value) 137 : m_arguments(value) 138 { 139 } 140 141 const Arguments& arguments() const 142 { 143 return m_arguments; 144 } 145 146 private: 147 Arguments m_arguments; 148 }; 149 95 150 } // namespace WebPage 96 151 } // namespace Messages -
trunk/Source/WebKit/Scripts/webkit/messages.py
r237294 r237300 31 31 DELAYED_ATTRIBUTE = 'Delayed' 32 32 ASYNC_ATTRIBUTE = 'Async' 33 LEGACY_SYNC_ATTRIBUTE = 'LegacySync' 33 34 34 35 _license_header = """/* … … 123 124 if message.reply_parameters != None: 124 125 send_parameters = [(function_parameter_type(x.type, x.kind), x.name) for x in message.reply_parameters] 126 completion_handler_parameters = '%s' % ', '.join([' '.join(x) for x in send_parameters]) 127 if message.has_attribute(ASYNC_ATTRIBUTE): 128 move_parameters = ', '.join([move_type(x.type) for x in message.reply_parameters]) 129 result.append(' static void callReply(IPC::Decoder&, CompletionHandler<void(%s)>&&);\n' % move_parameters) 130 result.append(' static void cancelReply(CompletionHandler<void(%s)>&&);\n' % move_parameters) 131 result.append(' static IPC::StringReference asyncMessageReplyName() { return { "%sReply" }; }\n' % message.name) 132 result.append(' using AsyncReply') 133 elif message.has_attribute(DELAYED_ATTRIBUTE): 134 result.append(' using DelayedReply') 125 135 if message.has_attribute(DELAYED_ATTRIBUTE) or message.has_attribute(ASYNC_ATTRIBUTE): 126 completion_handler_parameters = '%s' % ', '.join([' '.join(x) for x in send_parameters])127 if message.has_attribute(ASYNC_ATTRIBUTE):128 move_parameters = ', '.join([move_type(x.type) for x in message.reply_parameters])129 result.append(' static void callReply(IPC::Decoder&, CompletionHandler<void(%s)>&&);\n' % move_parameters)130 result.append(' static void cancelReply(CompletionHandler<void(%s)>&&);\n' % move_parameters)131 result.append(' static IPC::StringReference asyncMessageReplyName() { return { "%sReply" }; }\n' % message.name)132 result.append(' using AsyncReply')133 else:134 result.append(' using DelayedReply')135 136 result.append(' = CompletionHandler<void(%s)>;\n' % completion_handler_parameters) 136 137 result.append(' static void send(std::unique_ptr<IPC::Encoder>&&, IPC::Connection&') … … 171 172 result = [] 172 173 result.append('namespace %s {\n' % namespace) 173 result += [' 174 result += ['%s;\n' % forward_declaration(namespace, x) for x in kind_and_types] 174 175 result.append('}\n') 175 176 return ''.join(result) … … 308 309 if message.has_attribute(ASYNC_ATTRIBUTE): 309 310 dispatch_function += 'Async' 311 if message.has_attribute(LEGACY_SYNC_ATTRIBUTE): 312 dispatch_function += 'LegacySync' 310 313 311 314 wants_connection = message.has_attribute(DELAYED_ATTRIBUTE) or message.has_attribute(WANTS_CONNECTION_ATTRIBUTE) -
trunk/Source/WebKit/Scripts/webkit/test-superclass-messages.in
r237298 r237300 26 26 TestAsyncMessage(enum:bool WebKit::TestTwoStateEnum twoStateEnum) -> (uint64_t result) Async 27 27 #endif 28 TestSyncMessage(uint32_t param) -> (uint8_t reply) Sync 29 TestDelayedMessage(bool value) -> (std::optional<WebKit::TestClassName> optionalReply) Delayed 28 30 } -
trunk/Source/WebKit/Shared/Plugins/NPObjectMessageReceiver.messages.in
r156069 r237300 24 24 25 25 messages -> NPObjectMessageReceiver LegacyReceiver { 26 Deallocate() -> () 27 HasMethod(WebKit::NPIdentifierData methodName) -> (bool returnValue) 28 Invoke(WebKit::NPIdentifierData methodName, Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) 29 InvokeDefault(Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) 30 HasProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue) 31 GetProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue, WebKit::NPVariantData resultData) 32 SetProperty(WebKit::NPIdentifierData propertyName, WebKit::NPVariantData propertyValueData) -> (bool returnValue) 33 RemoveProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue) 34 Enumerate() -> (bool returnValue, Vector<WebKit::NPIdentifierData> identifiersData) 35 Construct(Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) 26 Deallocate() -> () LegacySync 27 HasMethod(WebKit::NPIdentifierData methodName) -> (bool returnValue) LegacySync 28 Invoke(WebKit::NPIdentifierData methodName, Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) LegacySync 29 InvokeDefault(Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) LegacySync 30 HasProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue) LegacySync 31 GetProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue, WebKit::NPVariantData resultData) LegacySync 32 SetProperty(WebKit::NPIdentifierData propertyName, WebKit::NPVariantData propertyValueData) -> (bool returnValue) LegacySync 33 RemoveProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue) LegacySync 34 Enumerate() -> (bool returnValue, Vector<WebKit::NPIdentifierData> identifiersData) LegacySync 35 Construct(Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) LegacySync 36 36 } 37 37 -
trunk/Source/WebKit/UIProcess/API/wpe/CompositingManagerProxy.messages.in
r216497 r237300 22 22 23 23 messages -> CompositingManagerProxy { 24 EstablishConnection() -> (IPC::Attachment connectionHandle) 24 EstablishConnection() -> (IPC::Attachment connectionHandle) LegacySync 25 25 } -
trunk/Source/WebKit/UIProcess/ApplePay/WebPaymentCoordinatorProxy.messages.in
r227274 r237300 27 27 messages -> WebPaymentCoordinatorProxy { 28 28 29 AvailablePaymentNetworks() -> (Vector<String> availablePaymentNetworks) 30 CanMakePayments() -> (bool result) 29 AvailablePaymentNetworks() -> (Vector<String> availablePaymentNetworks) LegacySync 30 CanMakePayments() -> (bool result) LegacySync 31 31 CanMakePaymentsWithActiveCard(String merchantIdentifier, String domainName, uint64_t requestID) 32 32 OpenPaymentSetup(String merchantIdentifier, String domainName, uint64_t requestID) 33 33 34 ShowPaymentUI(String originatingURLString, Vector<String> linkIconURLStrings, WebCore::ApplePaySessionPaymentRequest paymentRequest) -> (bool result) 34 ShowPaymentUI(String originatingURLString, Vector<String> linkIconURLStrings, WebCore::ApplePaySessionPaymentRequest paymentRequest) -> (bool result) LegacySync 35 35 CompleteMerchantValidation(WebCore::PaymentMerchantSession paymentMerchantSession) 36 36 CompleteShippingMethodSelection(std::optional<WebCore::ShippingMethodUpdate> update) -
trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in
r237281 r237300 25 25 26 26 messages -> UserMediaCaptureManagerProxy { 27 CreateMediaSourceForCaptureDeviceWithConstraints(uint64_t id, WebCore::CaptureDevice device, String hashSalt, struct WebCore::MediaConstraints constraints) -> (bool success, String invalidConstraints, WebCore::RealtimeMediaSourceSettings settings) 27 CreateMediaSourceForCaptureDeviceWithConstraints(uint64_t id, WebCore::CaptureDevice device, String hashSalt, struct WebCore::MediaConstraints constraints) -> (bool success, String invalidConstraints, WebCore::RealtimeMediaSourceSettings settings) LegacySync 28 28 StartProducingData(uint64_t id) 29 29 StopProducingData(uint64_t id) 30 Capabilities(uint64_t id) -> (WebCore::RealtimeMediaSourceCapabilities capabilities) 30 Capabilities(uint64_t id) -> (WebCore::RealtimeMediaSourceCapabilities capabilities) LegacySync 31 31 SetMuted(uint64_t id, bool muted) 32 32 ApplyConstraints(uint64_t id, struct WebCore::MediaConstraints constraints) -
trunk/Source/WebKit/UIProcess/Plugins/PluginProcessProxy.messages.in
r196505 r237300 35 35 36 36 # Returns true if the UI process launched the process. 37 LaunchProcess(String launchPath, Vector<String> arguments) -> (bool result) 37 LaunchProcess(String launchPath, Vector<String> arguments) -> (bool result) LegacySync 38 38 39 39 # Returns true if the UI process launched the application. 40 LaunchApplicationAtURL(String url, Vector<String> arguments) -> (bool result) 40 LaunchApplicationAtURL(String url, Vector<String> arguments) -> (bool result) LegacySync 41 41 42 42 # Returns true if the UI process did open the URL. 43 OpenURL(String urlString) -> (bool result, int32_t status, String launchedURLString) 43 OpenURL(String urlString) -> (bool result, int32_t status, String launchedURLString) LegacySync 44 44 45 45 # Returns true if the UI process did open the file. 46 OpenFile(String fullPath) -> (bool result) 46 OpenFile(String fullPath) -> (bool result) LegacySync 47 47 #endif 48 48 } -
trunk/Source/WebKit/UIProcess/WebFullScreenManagerProxy.messages.in
r142160 r237300 23 23 #if ENABLE(FULLSCREEN_API) 24 24 messages -> WebFullScreenManagerProxy { 25 SupportsFullScreen(bool withKeyboard) -> (bool supportsFullScreen) 25 SupportsFullScreen(bool withKeyboard) -> (bool supportsFullScreen) LegacySync 26 26 EnterFullScreen() 27 27 ExitFullScreen() -
trunk/Source/WebKit/UIProcess/WebPageProxy.messages.in
r237266 r237300 62 62 ScreenToRootView(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint) Delayed 63 63 RootViewToScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame) Delayed 64 GetIsViewVisible() -> (bool result) 64 GetIsViewVisible() -> (bool result) LegacySync 65 65 66 66 #if PLATFORM(COCOA) … … 70 70 71 71 #if PLATFORM(IOS_FAMILY) 72 AccessibilityScreenToRootView(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint) 73 RootViewToAccessibilityScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame) 72 AccessibilityScreenToRootView(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint) LegacySync 73 RootViewToAccessibilityScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame) LegacySync 74 74 #endif 75 75 … … 78 78 RunOpenPanel(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, struct WebCore::FileChooserSettings parameters) 79 79 ShowShareSheet(struct WebCore::ShareDataWithParsedURL shareData, uint64_t callbackID) 80 PrintFrame(uint64_t frameID) -> () 80 PrintFrame(uint64_t frameID) -> () LegacySync 81 81 RunModal() 82 82 NotifyScrollerThumbIsVisibleInRect(WebCore::IntRect scrollerThumb) … … 150 150 DidDestroyNavigation(uint64_t navigationID) 151 151 152 HasInsecureContent() -> (enum:bool WebCore::HasInsecureContent hasInsecureContent) 152 HasInsecureContent() -> (enum:bool WebCore::HasInsecureContent hasInsecureContent) LegacySync 153 153 154 154 MainFramePluginHandlesPageScaleGestureDidChange(bool mainFramePluginHandlesPageScaleGesture) … … 194 194 AutocorrectionContextCallback(String beforeText, String markedText, String selectedText, String afterText, uint64_t location, uint64_t length, WebKit::CallbackID callbackID) 195 195 SelectionContextCallback(String selectedText, String beforeText, String afterText, WebKit::CallbackID callbackID) 196 InterpretKeyEvent(struct WebKit::EditorState state, bool isCharEvent) -> (bool handled) 196 InterpretKeyEvent(struct WebKit::EditorState state, bool isCharEvent) -> (bool handled) LegacySync 197 197 DidReceivePositionInformation(struct WebKit::InteractionInformationAtPosition information) 198 198 SaveImageToLibrary(WebKit::SharedMemory::Handle handle, uint64_t size) … … 229 229 # BackForward messages 230 230 BackForwardAddItem(struct WebKit::BackForwardListItemState itemState) 231 BackForwardGoToItem(struct WebCore::BackForwardItemIdentifier itemID) -> (WebKit::SandboxExtension::Handle sandboxExtensionHandle) 232 BackForwardItemAtIndex(int32_t itemIndex) -> (std::optional<WebCore::BackForwardItemIdentifier> itemID) 233 BackForwardBackListCount() -> (uint32_t count) 234 BackForwardForwardListCount() -> (uint32_t count) 231 BackForwardGoToItem(struct WebCore::BackForwardItemIdentifier itemID) -> (WebKit::SandboxExtension::Handle sandboxExtensionHandle) LegacySync 232 BackForwardItemAtIndex(int32_t itemIndex) -> (std::optional<WebCore::BackForwardItemIdentifier> itemID) LegacySync 233 BackForwardBackListCount() -> (uint32_t count) LegacySync 234 BackForwardForwardListCount() -> (uint32_t count) LegacySync 235 235 BackForwardClear() 236 236 WillGoToBackForwardListItem(struct WebCore::BackForwardItemIdentifier itemID, bool inPageCache) … … 240 240 ClearAllEditCommands() 241 241 RegisterInsertionUndoGrouping() 242 CanUndoRedo(enum:bool WebKit::UndoOrRedo undoOrRedo) -> (bool result) 243 ExecuteUndoRedo(enum:bool WebKit::UndoOrRedo undoOrRedo) -> () 242 CanUndoRedo(enum:bool WebKit::UndoOrRedo undoOrRedo) -> (bool result) LegacySync 243 ExecuteUndoRedo(enum:bool WebKit::UndoOrRedo undoOrRedo) -> () LegacySync 244 244 245 245 # Diagnostic messages logging … … 301 301 # Spelling and grammar messages 302 302 #if USE(UNIFIED_TEXT_CHECKING) 303 CheckTextOfParagraph(String text, OptionSet<WebCore::TextCheckingType> checkingTypes, int32_t insertionPoint) -> (Vector<WebCore::TextCheckingResult> results) 304 #endif 305 CheckSpellingOfString(String text) -> (int32_t misspellingLocation, int32_t misspellingLength) 306 CheckGrammarOfString(String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength) 307 SpellingUIIsShowing() -> (bool isShowing) 303 CheckTextOfParagraph(String text, OptionSet<WebCore::TextCheckingType> checkingTypes, int32_t insertionPoint) -> (Vector<WebCore::TextCheckingResult> results) LegacySync 304 #endif 305 CheckSpellingOfString(String text) -> (int32_t misspellingLocation, int32_t misspellingLength) LegacySync 306 CheckGrammarOfString(String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength) LegacySync 307 SpellingUIIsShowing() -> (bool isShowing) LegacySync 308 308 UpdateSpellingUIWithMisspelledWord(String misspelledWord) 309 309 UpdateSpellingUIWithGrammarString(String badGrammarPhrase, struct WebCore::GrammarDetail grammarDetail) 310 GetGuessesForWord(String word, String context, int32_t insertionPoint) -> (Vector<String> guesses) 311 LearnWord(String word) ;312 IgnoreWord(String word) ;310 GetGuessesForWord(String word, String context, int32_t insertionPoint) -> (Vector<String> guesses) LegacySync 311 LearnWord(String word) 312 IgnoreWord(String word) 313 313 RequestCheckingOfString(uint64_t requestID, WebCore::TextCheckingRequestData request, int32_t insertionPoint) 314 314 … … 341 341 342 342 # Keyboard input support messages 343 ExecuteSavedCommandBySelector(String selector) -> (bool handled) 343 ExecuteSavedCommandBySelector(String selector) -> (bool handled) LegacySync 344 344 345 345 # Remote accessibility messages … … 351 351 352 352 # Speech messages 353 GetIsSpeaking() -> (bool isSpeaking) 353 GetIsSpeaking() -> (bool isSpeaking) LegacySync 354 354 Speak(String string) 355 355 StopSpeaking() … … 369 369 370 370 #if USE(APPKIT) 371 SubstitutionsPanelIsShowing() -> (bool isShowing) 371 SubstitutionsPanelIsShowing() -> (bool isShowing) LegacySync 372 372 #endif 373 373 #if USE(AUTOMATIC_TEXT_REPLACEMENT) … … 382 382 ShowCorrectionPanel(int32_t panelType, WebCore::FloatRect boundingBoxOfReplacedString, String replacedString, String replacementString, Vector<String> alternativeReplacementStrings) 383 383 DismissCorrectionPanel(int32_t reason) 384 DismissCorrectionPanelSoon(int32_t reason) -> (String result) 384 DismissCorrectionPanelSoon(int32_t reason) -> (String result) LegacySync 385 385 RecordAutocorrectionResponse(int32_t response, String replacedString, String replacementString); 386 386 … … 391 391 ShowDictationAlternativeUI(WebCore::FloatRect boundingBoxOfDictatedText, uint64_t dictationContext) 392 392 RemoveDictationAlternatives(uint64_t dictationContext) 393 DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives) 393 DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives) LegacySync 394 394 #endif 395 395 396 396 #if PLATFORM(X11) 397 397 # X11 windowed plugin messages 398 CreatePluginContainer() -> (uint64_t windowID) 398 CreatePluginContainer() -> (uint64_t windowID) LegacySync 399 399 WindowedPluginGeometryDidChange(WebCore::IntRect frameRect, WebCore::IntRect clipRect, uint64_t windowID) 400 400 WindowedPluginVisibilityDidChange(bool isVisible, uint64_t windowID) … … 426 426 # Search popup menus 427 427 SaveRecentSearches(String name, Vector<WebCore::RecentSearch> searchItems) 428 LoadRecentSearches(String name) -> (Vector<WebCore::RecentSearch> result) 428 LoadRecentSearches(String name) -> (Vector<WebCore::RecentSearch> result) LegacySync 429 429 430 430 SavePDFToFileInDownloadsFolder(String suggestedFilename, WebCore::URL originatingURL, IPC::DataReference data) … … 436 436 437 437 #if ENABLE(PDFKIT_PLUGIN) 438 ShowPDFContextMenu(struct WebKit::PDFContextMenu contextMenu) -> (std::optional<int32_t> selectedItem) 438 ShowPDFContextMenu(struct WebKit::PDFContextMenu contextMenu) -> (std::optional<int32_t> selectedItem) LegacySync 439 439 #endif 440 440 … … 448 448 449 449 #if ENABLE(SUBTLE_CRYPTO) 450 WrapCryptoKey(Vector<uint8_t> key) -> (bool succeeded, Vector<uint8_t> wrappedKey) 451 UnwrapCryptoKey(Vector<uint8_t> wrappedKey) -> (bool succeeded, Vector<uint8_t> key) 450 WrapCryptoKey(Vector<uint8_t> key) -> (bool succeeded, Vector<uint8_t> wrappedKey) LegacySync 451 UnwrapCryptoKey(Vector<uint8_t> wrappedKey) -> (bool succeeded, Vector<uint8_t> key) LegacySync 452 452 #endif 453 453 … … 482 482 #endif 483 483 HandleMessage(String messageName, WebKit::UserData messageBody) WantsConnection 484 HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) WantsConnection484 HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) LegacySync WantsConnection 485 485 486 486 HandleAutoFillButtonClick(WebKit::UserData userData) … … 547 547 #endif 548 548 549 SignedPublicKeyAndChallengeString(unsigned keySizeIndex, String challengeString, WebCore::URL url) -> (String result) 549 SignedPublicKeyAndChallengeString(unsigned keySizeIndex, String challengeString, WebCore::URL url) -> (String result) LegacySync 550 550 551 551 } -
trunk/Source/WebKit/UIProcess/WebPasteboardProxy.messages.in
r237266 r237300 27 27 WriteImageToPasteboard(struct WebCore::PasteboardImage pasteboardImage, String pasteboardName) 28 28 WriteStringToPasteboard(String pasteboardType, String text, String pasteboardName) 29 ReadStringFromPasteboard(uint64_t index, String pasteboardType, String pasteboardName) -> (String string) 30 ReadURLFromPasteboard(uint64_t index, String pasteboardName) -> (String url, String title) 31 ReadBufferFromPasteboard(uint64_t index, String pasteboardType, String pasteboardName) -> (WebKit::SharedMemory::Handle handle, uint64_t size) 32 GetPasteboardItemsCount(String pasteboardName) -> (uint64_t itemsCount) 33 AllPasteboardItemInfo(String pasteboardName) -> (Vector<WebCore::PasteboardItemInfo> allInfo) 34 InformationForItemAtIndex(uint64_t index, String pasteboardName) -> (struct WebCore::PasteboardItemInfo info) 29 ReadStringFromPasteboard(uint64_t index, String pasteboardType, String pasteboardName) -> (String string) LegacySync 30 ReadURLFromPasteboard(uint64_t index, String pasteboardName) -> (String url, String title) LegacySync 31 ReadBufferFromPasteboard(uint64_t index, String pasteboardType, String pasteboardName) -> (WebKit::SharedMemory::Handle handle, uint64_t size) LegacySync 32 GetPasteboardItemsCount(String pasteboardName) -> (uint64_t itemsCount) LegacySync 33 AllPasteboardItemInfo(String pasteboardName) -> (Vector<WebCore::PasteboardItemInfo> allInfo) LegacySync 34 InformationForItemAtIndex(uint64_t index, String pasteboardName) -> (struct WebCore::PasteboardItemInfo info) LegacySync 35 35 UpdateSupportedTypeIdentifiers(Vector<String> identifiers, String pasteboardName) 36 GetPasteboardTypesByFidelityForItemAtIndex(uint64_t index, String pasteboardName) -> (Vector<String> types) 36 GetPasteboardTypesByFidelityForItemAtIndex(uint64_t index, String pasteboardName) -> (Vector<String> types) LegacySync 37 37 #endif 38 38 39 WriteCustomData(struct WebCore::PasteboardCustomData data, String pasteboardName) -> (uint64_t changeCount) 40 TypesSafeForDOMToReadAndWrite(String pasteboardName, String origin) -> (Vector<String> types) 39 WriteCustomData(struct WebCore::PasteboardCustomData data, String pasteboardName) -> (uint64_t changeCount) LegacySync 40 TypesSafeForDOMToReadAndWrite(String pasteboardName, String origin) -> (Vector<String> types) LegacySync 41 41 42 42 #if PLATFORM(COCOA) 43 43 # Pasteboard messages. 44 GetNumberOfFiles(String pasteboardName) -> (uint64_t numberOfFiles) 45 GetPasteboardTypes(String pasteboardName) -> (Vector<String> types) 46 GetPasteboardPathnamesForType(String pasteboardName, String pasteboardType) -> (Vector<String> pathnames, WebKit::SandboxExtension::HandleArray sandboxExtensions) WantsConnection47 GetPasteboardStringForType(String pasteboardName, String pasteboardType) -> (String string) 48 GetPasteboardStringsForType(String pasteboardName, String pasteboardType) -> (Vector<String> strings) 49 GetPasteboardBufferForType(String pasteboardName, String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) 50 PasteboardCopy(String fromPasteboard, String toPasteboard) -> (uint64_t changeCount) 51 GetPasteboardChangeCount(String pasteboardName) -> (uint64_t changeCount) 52 GetPasteboardUniqueName() -> (String pasteboardName) 53 GetPasteboardColor(String pasteboardName) -> (WebCore::Color color) 54 GetPasteboardURL(String pasteboardName) -> (String urlString) 55 AddPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount) 56 SetPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount) 57 SetPasteboardURL(struct WebCore::PasteboardURL pasteboardURL, String pasteboardName) -> (uint64_t changeCount) WantsConnection58 SetPasteboardColor(String pasteboardName, WebCore::Color color) -> (uint64_t changeCount) 59 SetPasteboardStringForType(String pasteboardName, String pasteboardType, String string) -> (uint64_t changeCount) 60 SetPasteboardBufferForType(String pasteboardName, String pasteboardType, WebKit::SharedMemory::Handle handle, uint64_t size) -> (uint64_t changeCount) 44 GetNumberOfFiles(String pasteboardName) -> (uint64_t numberOfFiles) LegacySync 45 GetPasteboardTypes(String pasteboardName) -> (Vector<String> types) LegacySync 46 GetPasteboardPathnamesForType(String pasteboardName, String pasteboardType) -> (Vector<String> pathnames, WebKit::SandboxExtension::HandleArray sandboxExtensions) LegacySync WantsConnection 47 GetPasteboardStringForType(String pasteboardName, String pasteboardType) -> (String string) LegacySync 48 GetPasteboardStringsForType(String pasteboardName, String pasteboardType) -> (Vector<String> strings) LegacySync 49 GetPasteboardBufferForType(String pasteboardName, String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) LegacySync 50 PasteboardCopy(String fromPasteboard, String toPasteboard) -> (uint64_t changeCount) LegacySync 51 GetPasteboardChangeCount(String pasteboardName) -> (uint64_t changeCount) LegacySync 52 GetPasteboardUniqueName() -> (String pasteboardName) LegacySync 53 GetPasteboardColor(String pasteboardName) -> (WebCore::Color color) LegacySync 54 GetPasteboardURL(String pasteboardName) -> (String urlString) LegacySync 55 AddPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount) LegacySync 56 SetPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount) LegacySync 57 SetPasteboardURL(struct WebCore::PasteboardURL pasteboardURL, String pasteboardName) -> (uint64_t changeCount) LegacySync WantsConnection 58 SetPasteboardColor(String pasteboardName, WebCore::Color color) -> (uint64_t changeCount) LegacySync 59 SetPasteboardStringForType(String pasteboardName, String pasteboardType, String string) -> (uint64_t changeCount) LegacySync 60 SetPasteboardBufferForType(String pasteboardName, String pasteboardType, WebKit::SharedMemory::Handle handle, uint64_t size) -> (uint64_t changeCount) LegacySync 61 61 #endif 62 62 63 63 #if PLATFORM(GTK) 64 WriteToClipboard(String pasteboardName, struct WebKit::WebSelectionData pasteboardContent) 65 ReadFromClipboard(String pasteboardName) -> (struct WebKit::WebSelectionData pasteboardContent) 64 WriteToClipboard(String pasteboardName, struct WebKit::WebSelectionData pasteboardContent) LegacySync 65 ReadFromClipboard(String pasteboardName) -> (struct WebKit::WebSelectionData pasteboardContent) LegacySync 66 66 #endif 67 67 68 68 #if PLATFORM(WPE) 69 GetPasteboardTypes() -> (Vector<String> types) 70 ReadStringFromPasteboard(uint64_t index, String pasteboardType) -> (String string) 71 WriteWebContentToPasteboard(struct WebCore::PasteboardWebContent content) 72 WriteStringToPasteboard(String pasteboardType, String text) 69 GetPasteboardTypes() -> (Vector<String> types) LegacySync 70 ReadStringFromPasteboard(uint64_t index, String pasteboardType) -> (String string) LegacySync 71 WriteWebContentToPasteboard(struct WebCore::PasteboardWebContent content) LegacySync 72 WriteStringToPasteboard(String pasteboardType, String text) LegacySync 73 73 #endif 74 74 } -
trunk/Source/WebKit/UIProcess/WebProcessPool.messages.in
r228564 r237300 23 23 messages -> WebProcessPool { 24 24 HandleMessage(String messageName, WebKit::UserData messageBody) WantsConnection 25 HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) WantsConnection25 HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) LegacySync WantsConnection 26 26 27 27 DidGetStatistics(struct WebKit::StatisticsData statisticsData, uint64_t callbackID) -
trunk/Source/WebKit/UIProcess/WebProcessProxy.messages.in
r236959 r237300 27 27 DidDestroyUserGestureToken(uint64_t userGestureTokenID) 28 28 29 ShouldTerminate() -> (bool shouldTerminate) 29 ShouldTerminate() -> (bool shouldTerminate) LegacySync 30 30 31 31 EnableSuddenTermination() … … 34 34 # Plugin messages. 35 35 #if ENABLE(NETSCAPE_PLUGIN_API) 36 GetPlugins(bool refresh) -> (Vector<WebCore::PluginInfo> plugins, Vector<WebCore::PluginInfo> applicationPlugins, struct std::optional<Vector<WebCore::SupportedPluginIdentifier>> supportedPluginIdentifiers) 36 GetPlugins(bool refresh) -> (Vector<WebCore::PluginInfo> plugins, Vector<WebCore::PluginInfo> applicationPlugins, struct std::optional<Vector<WebCore::SupportedPluginIdentifier>> supportedPluginIdentifiers) LegacySync 37 37 GetPluginProcessConnection(uint64_t pluginProcessToken) -> (IPC::Attachment connectionHandle, bool supportsAsynchronousInitialization) Delayed 38 38 #endif -
trunk/Source/WebKit/UIProcess/WebStorage/StorageManager.messages.in
r219966 r237300 27 27 DestroyStorageMap(uint64_t storageMapID) WantsConnection 28 28 29 GetValues(uint64_t storageMapID, uint64_t storageMapSeed) -> (HashMap<String, String> values) WantsConnection29 GetValues(uint64_t storageMapID, uint64_t storageMapSeed) -> (HashMap<String, String> values) LegacySync WantsConnection 30 30 31 31 SetItem(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, String key, String value, String urlString) WantsConnection -
trunk/Source/WebKit/UIProcess/mac/SecItemShimProxy.messages.in
r205264 r237300 24 24 25 25 #if ENABLE(SEC_ITEM_SHIM) 26 SecItemRequest(WebKit::SecItemRequestData request) -> (WebKit::SecItemResponseData response) 26 SecItemRequest(WebKit::SecItemRequestData request) -> (WebKit::SecItemResponseData response) LegacySync 27 27 #endif 28 28 -
trunk/Source/WebKit/WebProcess/Plugins/PluginProcessConnection.messages.in
r208329 r237300 25 25 messages -> PluginProcessConnection LegacyReceiver { 26 26 # Set a global JavaScript exception. 27 SetException(String exceptionString) -> () 27 SetException(String exceptionString) -> () LegacySync 28 28 } 29 29 -
trunk/Source/WebKit/WebProcess/Plugins/PluginProxy.messages.in
r221609 r237300 31 31 32 32 # Returns a PAC style string with proxies for the given URL. 33 ProxiesForURL(String urlString) -> (String proxiesString) 33 ProxiesForURL(String urlString) -> (String proxiesString) LegacySync 34 34 35 35 # Returns the cookies for the given URL. 36 CookiesForURL(String urlString) -> (String cookieString) 36 CookiesForURL(String urlString) -> (String cookieString) LegacySync 37 37 38 38 # Sets the cookies for the given URL. … … 40 40 41 41 # Gets the authentication info for the given protection space. 42 GetAuthenticationInfo(WebCore::ProtectionSpace protectionSpace) -> (bool returnValue, String username, String password) 42 GetAuthenticationInfo(WebCore::ProtectionSpace protectionSpace) -> (bool returnValue, String username, String password) LegacySync 43 43 44 44 # Gets a reference to the plug-in element NPObject. 45 GetPluginElementNPObject() -> (uint64_t pluginElementNPObjectID) 45 GetPluginElementNPObject() -> (uint64_t pluginElementNPObjectID) LegacySync 46 46 47 47 # Evaluates the given JavaScript string. 48 Evaluate(WebKit::NPVariantData npObjectAsVariantData, String scriptString, bool allowPopups) -> (bool returnValue, WebKit::NPVariantData resultData) 48 Evaluate(WebKit::NPVariantData npObjectAsVariantData, String scriptString, bool allowPopups) -> (bool returnValue, WebKit::NPVariantData resultData) LegacySync 49 49 50 50 # Cancels the given stream load. … … 73 73 #if PLATFORM(X11) 74 74 # Create the plugin container for windowed plugins 75 CreatePluginContainer() -> (uint64_t windowID) 75 CreatePluginContainer() -> (uint64_t windowID) LegacySync 76 76 77 77 # Update geometry of windowed plugin widget … … 83 83 84 84 # Tells the WebProcess that the plug-in was successfully initialized asynchronously 85 DidCreatePlugin(bool wantsWheelEvents, uint32_t remoteLayerClientID) -> () 85 DidCreatePlugin(bool wantsWheelEvents, uint32_t remoteLayerClientID) -> () LegacySync 86 86 87 87 # Tells the WebProcess that the plug-in failed to initialize. 88 DidFailToCreatePlugin() -> () 88 DidFailToCreatePlugin() -> () LegacySync 89 89 90 90 # Tells the WebProcess that the plug-in has started or stopped playing audio. -
trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in
r237266 r237300 78 78 RequestAutocorrectionData(String textForAutocorrection, WebKit::CallbackID callbackID) 79 79 ApplyAutocorrection(String correction, String originalText, WebKit::CallbackID callbackID) 80 SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied) 80 SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied) LegacySync 81 81 RequestAutocorrectionContext(WebKit::CallbackID callbackID) 82 GetAutocorrectionContext() -> (String beforeContext, String markedText, String selectedText, String afterContext, uint64_t location, uint64_t length) 83 GetPositionInformation(struct WebKit::InteractionInformationRequest request) -> (struct WebKit::InteractionInformationAtPosition information) 82 GetAutocorrectionContext() -> (String beforeContext, String markedText, String selectedText, String afterContext, uint64_t location, uint64_t length) LegacySync 83 GetPositionInformation(struct WebKit::InteractionInformationRequest request) -> (struct WebKit::InteractionInformationAtPosition information) LegacySync 84 84 RequestPositionInformation(struct WebKit::InteractionInformationRequest request) 85 85 StartInteractionWithElementAtPosition(WebCore::IntPoint point) … … 117 117 118 118 #if ENABLE(IOS_TOUCH_EVENTS) 119 TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled) 119 TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled) LegacySync 120 120 #endif 121 121 #if !ENABLE(IOS_TOUCH_EVENTS) && ENABLE(TOUCH_EVENTS) … … 383 383 384 384 #if PLATFORM (GTK) && HAVE(GTK_GESTURES) 385 GetCenterForZoomGesture(WebCore::IntPoint centerInViewCoordinates) -> (WebCore::IntPoint center) 385 GetCenterForZoomGesture(WebCore::IntPoint centerInViewCoordinates) -> (WebCore::IntPoint center) LegacySync 386 386 #endif 387 387 … … 393 393 SetMainFrameIsScrollable(bool isScrollable) 394 394 RegisterUIProcessAccessibilityTokens(IPC::DataReference elemenToken, IPC::DataReference windowToken) 395 GetStringSelectionForPasteboard() -> (String stringValue) 396 GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) 397 ReadSelectionFromPasteboard(String pasteboardName) -> (bool result) 395 GetStringSelectionForPasteboard() -> (String stringValue) LegacySync 396 GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) LegacySync 397 ReadSelectionFromPasteboard(String pasteboardName) -> (bool result) LegacySync 398 398 399 399 #if ENABLE(SERVICE_CONTROLS) … … 401 401 #endif 402 402 403 ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result) 404 AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result) 403 ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result) LegacySync 404 AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result) LegacySync 405 405 406 406 SetTextAsync(String text) -
trunk/Source/WebKit/WebProcess/WebProcess.messages.in
r237267 r237300 83 83 ReleasePageCache() 84 84 85 FetchWebsiteData(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes) -> (struct WebKit::WebsiteData websiteData) 86 DeleteWebsiteData(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes, WallTime modifiedSince) -> () 87 DeleteWebsiteDataForOrigins(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes, Vector<WebCore::SecurityOriginData> origins) -> () 85 FetchWebsiteData(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes) -> (struct WebKit::WebsiteData websiteData) LegacySync 86 DeleteWebsiteData(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes, WallTime modifiedSince) -> () LegacySync 87 DeleteWebsiteDataForOrigins(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes, Vector<WebCore::SecurityOriginData> origins) -> () LegacySync 88 88 89 89 SetHiddenPageDOMTimerThrottlingIncreaseLimit(int milliseconds) … … 101 101 DestroyAutomationSessionProxy() 102 102 103 ProcessWillSuspendImminently() -> (bool handled) 103 ProcessWillSuspendImminently() -> (bool handled) LegacySync 104 104 PrepareToSuspend() 105 105 CancelPrepareToSuspend() … … 130 130 131 131 UpdateActivePages() 132 GetActivePagesOriginsForTesting() -> (Vector<String> activeOrigins) 132 GetActivePagesOriginsForTesting() -> (Vector<String> activeOrigins) LegacySync 133 133 134 134 #if PLATFORM(MAC)
Note:
See TracChangeset
for help on using the changeset viewer.