Changeset 243345 in webkit
- Timestamp:
- Mar 21, 2019, 4:35:39 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 37 edited
-
ChangeLog (modified) (1 diff)
-
NetworkProcess/NetworkConnectionToWebProcess.messages.in (modified) (4 diffs)
-
NetworkProcess/NetworkProcess.messages.in (modified) (2 diffs)
-
NetworkProcess/ServiceWorker/WebSWServerConnection.cpp (modified) (1 diff)
-
NetworkProcess/ServiceWorker/WebSWServerConnection.h (modified) (1 diff)
-
NetworkProcess/ServiceWorker/WebSWServerConnection.messages.in (modified) (1 diff)
-
Platform/IPC/Connection.cpp (modified) (1 diff)
-
Platform/IPC/HandleMessage.h (modified) (6 diffs)
-
PluginProcess/PluginControllerProxy.messages.in (modified) (4 diffs)
-
PluginProcess/WebProcessConnection.messages.in (modified) (2 diffs)
-
Scripts/webkit/LegacyMessageReceiver-expected.cpp (modified) (1 diff)
-
Scripts/webkit/MessageReceiver-expected.cpp (modified) (1 diff)
-
Scripts/webkit/MessageReceiverSuperclass-expected.cpp (modified) (2 diffs)
-
Scripts/webkit/MessagesSuperclass-expected.h (modified) (3 diffs)
-
Scripts/webkit/messages.py (modified) (4 diffs)
-
Scripts/webkit/messages_unittest.py (modified) (1 diff)
-
Scripts/webkit/test-legacy-messages.in (modified) (1 diff)
-
Scripts/webkit/test-messages.in (modified) (1 diff)
-
Scripts/webkit/test-superclass-messages.in (modified) (1 diff)
-
Shared/ApplePay/WebPaymentCoordinatorProxy.messages.in (modified) (1 diff)
-
Shared/Plugins/NPObjectMessageReceiver.messages.in (modified) (1 diff)
-
UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in (modified) (1 diff)
-
UIProcess/Plugins/PluginProcessProxy.messages.in (modified) (1 diff)
-
UIProcess/ProvisionalPageProxy.cpp (modified) (1 diff)
-
UIProcess/WebFullScreenManagerProxy.messages.in (modified) (1 diff)
-
UIProcess/WebPageProxy.messages.in (modified) (23 diffs)
-
UIProcess/WebPasteboardProxy.messages.in (modified) (1 diff)
-
UIProcess/WebProcessPool.messages.in (modified) (1 diff)
-
UIProcess/WebProcessProxy.messages.in (modified) (2 diffs)
-
UIProcess/WebStorage/StorageManager.messages.in (modified) (1 diff)
-
UIProcess/mac/SecItemShimProxy.messages.in (modified) (1 diff)
-
WebProcess/Plugins/PluginProcessConnection.messages.in (modified) (1 diff)
-
WebProcess/Plugins/PluginProxy.messages.in (modified) (4 diffs)
-
WebProcess/Storage/WebSWClientConnection.cpp (modified) (1 diff)
-
WebProcess/Storage/WebSWContextManagerConnection.messages.in (modified) (1 diff)
-
WebProcess/WebPage/WebPage.messages.in (modified) (6 diffs)
-
WebProcess/WebProcess.messages.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r243340 r243345 1 2019-03-21 Alex Christensen <achristensen@webkit.org> 2 3 Remove last use of LegacySync IPC messages 4 https://bugs.webkit.org/show_bug.cgi?id=196113 5 6 Reviewed by Chris Dumez. 7 8 Also rename "Delayed" to "Synchronous" now that there's only one type of synchronous message. 9 10 * NetworkProcess/NetworkConnectionToWebProcess.messages.in: 11 * NetworkProcess/NetworkProcess.messages.in: 12 * NetworkProcess/ServiceWorker/WebSWServerConnection.cpp: 13 (WebKit::WebSWServerConnection::syncTerminateWorkerFromClient): 14 * NetworkProcess/ServiceWorker/WebSWServerConnection.h: 15 * NetworkProcess/ServiceWorker/WebSWServerConnection.messages.in: 16 * Platform/IPC/Connection.cpp: 17 (IPC::Connection::dispatchMessage): 18 * Platform/IPC/HandleMessage.h: 19 (IPC::handleMessageSynchronous): 20 (IPC::handleMessageSynchronousWantsConnection): 21 (IPC::handleMessageLegacySync): Deleted. 22 (IPC::handleMessageDelayed): Deleted. 23 (IPC::handleMessageDelayedWantsConnection): Deleted. 24 * PluginProcess/PluginControllerProxy.messages.in: 25 * PluginProcess/WebProcessConnection.messages.in: 26 * Scripts/webkit/LegacyMessageReceiver-expected.cpp: 27 (WebKit::WebPage::didReceiveSyncWebPageMessage): 28 * Scripts/webkit/MessageReceiver-expected.cpp: 29 (WebKit::WebPage::didReceiveSyncMessage): 30 * Scripts/webkit/MessageReceiverSuperclass-expected.cpp: 31 (Messages::WebPage::TestSyncMessage::send): 32 (Messages::WebPage::TestSynchronousMessage::send): 33 (WebKit::WebPage::didReceiveSyncMessage): 34 (Messages::WebPage::TestDelayedMessage::send): Deleted. 35 * Scripts/webkit/MessagesSuperclass-expected.h: 36 (Messages::WebPage::TestSynchronousMessage::name): 37 (Messages::WebPage::TestSynchronousMessage::TestSynchronousMessage): 38 (Messages::WebPage::TestDelayedMessage::receiverName): Deleted. 39 (Messages::WebPage::TestDelayedMessage::name): Deleted. 40 (Messages::WebPage::TestDelayedMessage::TestDelayedMessage): Deleted. 41 (Messages::WebPage::TestDelayedMessage::arguments const): Deleted. 42 * Scripts/webkit/messages.py: 43 * Scripts/webkit/messages_unittest.py: 44 * Scripts/webkit/test-legacy-messages.in: 45 * Scripts/webkit/test-messages.in: 46 * Scripts/webkit/test-superclass-messages.in: 47 * Shared/ApplePay/WebPaymentCoordinatorProxy.messages.in: 48 * Shared/Plugins/NPObjectMessageReceiver.messages.in: 49 * UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in: 50 * UIProcess/Plugins/PluginProcessProxy.messages.in: 51 * UIProcess/WebFullScreenManagerProxy.messages.in: 52 * UIProcess/WebPageProxy.messages.in: 53 * UIProcess/WebPasteboardProxy.messages.in: 54 * UIProcess/WebProcessPool.messages.in: 55 * UIProcess/WebProcessProxy.messages.in: 56 * UIProcess/WebStorage/StorageManager.messages.in: 57 * UIProcess/mac/SecItemShimProxy.messages.in: 58 * WebProcess/Plugins/PluginProcessConnection.messages.in: 59 * WebProcess/Plugins/PluginProxy.messages.in: 60 * WebProcess/Storage/WebSWClientConnection.cpp: 61 (WebKit::WebSWClientConnection::syncTerminateWorker): 62 * WebProcess/Storage/WebSWContextManagerConnection.messages.in: 63 * WebProcess/WebPage/WebPage.messages.in: 64 * WebProcess/WebProcess.messages.in: 65 1 66 2019-03-21 Brian Burg <bburg@apple.com> 2 67 -
trunk/Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in
r243258 r243345 24 24 25 25 ScheduleResourceLoad(WebKit::NetworkResourceLoadParameters resourceLoadParameters) 26 PerformSynchronousLoad(WebKit::NetworkResourceLoadParameters resourceLoadParameters) -> (WebCore::ResourceError error, WebCore::ResourceResponse response, Vector<char> data) Delayed26 PerformSynchronousLoad(WebKit::NetworkResourceLoadParameters resourceLoadParameters) -> (WebCore::ResourceError error, WebCore::ResourceResponse response, Vector<char> data) Synchronous 27 27 LoadPing(WebKit::NetworkResourceLoadParameters resourceLoadParameters) 28 28 RemoveLoadIdentifier(uint64_t resourceLoadIdentifier) … … 34 34 ConvertMainResourceLoadToDownload(PAL::SessionID sessionID, uint64_t mainResourceLoadIdentifier, WebKit::DownloadID downloadID, WebCore::ResourceRequest request, WebCore::ResourceResponse response) 35 35 36 CookiesForDOM(PAL::SessionID sessionID, URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, URL url, Optional<uint64_t> frameID, Optional<uint64_t> pageID, enum:bool WebCore::IncludeSecureCookies includeSecureCookies) -> (String cookieString, bool didAccessSecureCookies) Delayed36 CookiesForDOM(PAL::SessionID sessionID, URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, URL url, Optional<uint64_t> frameID, Optional<uint64_t> pageID, enum:bool WebCore::IncludeSecureCookies includeSecureCookies) -> (String cookieString, bool didAccessSecureCookies) Synchronous 37 37 SetCookiesFromDOM(PAL::SessionID sessionID, URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, URL url, Optional<uint64_t> frameID, Optional<uint64_t> pageID, String cookieString) 38 CookiesEnabled(PAL::SessionID sessionID) -> (bool enabled) Delayed39 CookieRequestHeaderFieldValue(PAL::SessionID sessionID, URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, URL url, Optional<uint64_t> frameID, Optional<uint64_t> pageID, enum:bool WebCore::IncludeSecureCookies includeSecureCookies) -> (String cookieString, bool didAccessSecureCookies) Delayed40 GetRawCookies(PAL::SessionID sessionID, URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, URL url, Optional<uint64_t> frameID, Optional<uint64_t> pageID) -> (Vector<WebCore::Cookie> cookies) Delayed38 CookiesEnabled(PAL::SessionID sessionID) -> (bool enabled) Synchronous 39 CookieRequestHeaderFieldValue(PAL::SessionID sessionID, URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, URL url, Optional<uint64_t> frameID, Optional<uint64_t> pageID, enum:bool WebCore::IncludeSecureCookies includeSecureCookies) -> (String cookieString, bool didAccessSecureCookies) Synchronous 40 GetRawCookies(PAL::SessionID sessionID, URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, URL url, Optional<uint64_t> frameID, Optional<uint64_t> pageID) -> (Vector<WebCore::Cookie> cookies) Synchronous 41 41 DeleteCookie(PAL::SessionID sessionID, URL url, String cookieName) 42 42 … … 47 47 RegisterBlobURLForSlice(URL url, URL srcURL, int64_t start, int64_t end) 48 48 UnregisterBlobURL(URL url) 49 BlobSize(URL url) -> (uint64_t resultSize) Delayed49 BlobSize(URL url) -> (uint64_t resultSize) Synchronous 50 50 WriteBlobsToTemporaryFiles(Vector<String> blobURLs) -> (Vector<String> fileNames) Async 51 51 … … 72 72 ResetOriginAccessWhitelists(); 73 73 74 GetNetworkLoadInformationRequest(uint64_t resourceLoadIdentifier) -> (WebCore::ResourceRequest request) Delayed75 GetNetworkLoadInformationResponse(uint64_t resourceLoadIdentifier) -> (WebCore::ResourceResponse response) Delayed76 GetNetworkLoadIntermediateInformation(uint64_t resourceLoadIdentifier) -> (Vector<WebCore::NetworkTransactionInformation> transactions) Delayed77 TakeNetworkLoadInformationMetrics(uint64_t resourceLoadIdentifier) -> (WebCore::NetworkLoadMetrics networkMetrics) Delayed74 GetNetworkLoadInformationRequest(uint64_t resourceLoadIdentifier) -> (WebCore::ResourceRequest request) Synchronous 75 GetNetworkLoadInformationResponse(uint64_t resourceLoadIdentifier) -> (WebCore::ResourceResponse response) Synchronous 76 GetNetworkLoadIntermediateInformation(uint64_t resourceLoadIdentifier) -> (Vector<WebCore::NetworkTransactionInformation> transactions) Synchronous 77 TakeNetworkLoadInformationMetrics(uint64_t resourceLoadIdentifier) -> (WebCore::NetworkLoadMetrics networkMetrics) Synchronous 78 78 79 79 #if ENABLE(INDEXED_DATABASE) 80 EstablishIDBConnectionToServer(PAL::SessionID sessionID) -> (uint64_t serverConnectionIdentifier) Delayed80 EstablishIDBConnectionToServer(PAL::SessionID sessionID) -> (uint64_t serverConnectionIdentifier) Synchronous 81 81 #endif 82 82 83 83 #if ENABLE(SERVICE_WORKER) 84 EstablishSWServerConnection(PAL::SessionID sessionID) -> (WebCore::SWServerConnectionIdentifier serverConnectionIdentifier) Delayed84 EstablishSWServerConnection(PAL::SessionID sessionID) -> (WebCore::SWServerConnectionIdentifier serverConnectionIdentifier) Synchronous 85 85 #endif 86 86 -
trunk/Source/WebKit/NetworkProcess/NetworkProcess.messages.in
r243276 r243345 63 63 SetStorageAccessAPIEnabled(bool enabled) 64 64 #endif 65 SetAllowsAnySSLCertificateForWebSocket(bool enabled) -> () Delayed65 SetAllowsAnySSLCertificateForWebSocket(bool enabled) -> () Synchronous 66 66 67 67 SyncAllCookies() … … 78 78 ProcessDidTransitionToForeground() 79 79 80 ProcessWillSuspendImminently() -> (bool handled) Delayed80 ProcessWillSuspendImminently() -> (bool handled) Synchronous 81 81 PrepareToSuspend() 82 82 CancelPrepareToSuspend() -
trunk/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.cpp
r242905 r243345 291 291 } 292 292 293 void WebSWServerConnection::syncTerminateWorkerFromClient(WebCore::ServiceWorkerIdentifier&& identifier, CompletionHandler<void()>&& completionHandler) 294 { 295 syncTerminateWorker(WTFMove(identifier)); 296 completionHandler(); 297 } 298 293 299 template<typename U> void WebSWServerConnection::sendToContextProcess(WebCore::SWServerToContextConnection& connection, U&& message) 294 300 { -
trunk/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.h
r242503 r243345 93 93 void registerServiceWorkerClient(WebCore::SecurityOriginData&& topOrigin, WebCore::ServiceWorkerClientData&&, const Optional<WebCore::ServiceWorkerRegistrationIdentifier>&, String&& userAgent); 94 94 void unregisterServiceWorkerClient(const WebCore::ServiceWorkerClientIdentifier&); 95 void syncTerminateWorkerFromClient(WebCore::ServiceWorkerIdentifier&&, CompletionHandler<void()>&&); 95 96 96 97 IPC::Connection* messageSenderConnection() const final { return m_contentConnection.ptr(); } -
trunk/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.messages.in
r241603 r243345 44 44 UnregisterServiceWorkerClient(struct WebCore::ServiceWorkerClientIdentifier identifier) 45 45 46 SyncTerminateWorker (WebCore::ServiceWorkerIdentifier workerIdentifier) -> () LegacySync46 SyncTerminateWorkerFromClient(WebCore::ServiceWorkerIdentifier workerIdentifier) -> () Synchronous 47 47 } 48 48 -
trunk/Source/WebKit/Platform/IPC/Connection.cpp
r242682 r243345 1013 1013 m_inDispatchMessageCount--; 1014 1014 1015 // FIXME: For Delayedsynchronous messages, we should not decrement the counter until we send a response.1015 // FIXME: For synchronous messages, we should not decrement the counter until we send a response. 1016 1016 // Otherwise, we would deadlock if processing the message results in a sync message back after we exit this function. 1017 1017 if (message->shouldDispatchMessageWhenWaitingForSyncReply()) -
trunk/Source/WebKit/Platform/IPC/HandleMessage.h
r241595 r243345 48 48 } 49 49 50 // Dispatch functions with reply arguments. 51 52 template <typename C, typename MF, typename ArgsTuple, size_t... ArgsIndex, typename ReplyArgsTuple, size_t... ReplyArgsIndex> 53 void callMemberFunctionImpl(C* object, MF function, ArgsTuple&& args, ReplyArgsTuple& replyArgs, std::index_sequence<ArgsIndex...>, std::index_sequence<ReplyArgsIndex...>) 54 { 55 (object->*function)(std::get<ArgsIndex>(std::forward<ArgsTuple>(args))..., std::get<ReplyArgsIndex>(replyArgs)...); 56 } 57 58 template <typename C, typename MF, typename ArgsTuple, typename ArgsIndicies = std::make_index_sequence<std::tuple_size<ArgsTuple>::value>, typename ReplyArgsTuple, typename ReplyArgsIndicies = std::make_index_sequence<std::tuple_size<ReplyArgsTuple>::value>> 59 void callMemberFunction(ArgsTuple&& args, ReplyArgsTuple& replyArgs, C* object, MF function) 60 { 61 callMemberFunctionImpl(object, function, std::forward<ArgsTuple>(args), replyArgs, ArgsIndicies(), ReplyArgsIndicies()); 62 } 63 64 // Dispatch functions with delayed reply arguments. 50 // Dispatch functions with synchronous reply arguments. 65 51 66 52 template <typename C, typename MF, typename CH, typename ArgsTuple, size_t... ArgsIndex> … … 76 62 } 77 63 78 // Dispatch functions with connection parameter with delayedreply arguments.64 // Dispatch functions with connection parameter with synchronous reply arguments. 79 65 80 66 template <typename C, typename MF, typename CH, typename ArgsTuple, size_t... ArgsIndex> … … 102 88 { 103 89 callMemberFunctionImpl(object, function, connection, std::forward<ArgsTuple>(args), ArgsIndicies()); 104 }105 106 // Dispatch functions with connection parameter with reply arguments.107 108 template <typename C, typename MF, typename ArgsTuple, size_t... ArgsIndex, typename ReplyArgsTuple, size_t... ReplyArgsIndex>109 void callMemberFunctionImpl(C* object, MF function, Connection& connection, ArgsTuple&& args, ReplyArgsTuple& replyArgs, std::index_sequence<ArgsIndex...>, std::index_sequence<ReplyArgsIndex...>)110 {111 (object->*function)(connection, std::get<ArgsIndex>(std::forward<ArgsTuple>(args))..., std::get<ReplyArgsIndex>(replyArgs)...);112 }113 114 template <typename C, typename MF, typename ArgsTuple, typename ArgsIndicies = std::make_index_sequence<std::tuple_size<ArgsTuple>::value>, typename ReplyArgsTuple, typename ReplyArgsIndicies = std::make_index_sequence<std::tuple_size<ReplyArgsTuple>::value>>115 void callMemberFunction(Connection& connection, ArgsTuple&& args, ReplyArgsTuple& replyArgs, C* object, MF function)116 {117 callMemberFunctionImpl(object, function, connection, std::forward<ArgsTuple>(args), replyArgs, ArgsIndicies(), ReplyArgsIndicies());118 90 } 119 91 … … 149 121 150 122 template<typename T, typename C, typename MF> 151 void handleMessageLegacySync(Decoder& decoder, Encoder& replyEncoder, C* object, MF function)152 {153 typename CodingType<typename T::Arguments>::Type arguments;154 if (!decoder.decode(arguments)) {155 ASSERT(decoder.isInvalid());156 return;157 }158 159 typename CodingType<typename T::Reply>::Type replyArguments;160 callMemberFunction(WTFMove(arguments), replyArguments, object, function);161 replyEncoder << replyArguments;162 }163 164 template<typename T, typename C, typename MF>165 void handleMessageLegacySync(Connection& connection, Decoder& decoder, Encoder& replyEncoder, C* object, MF function)166 {167 typename CodingType<typename T::Arguments>::Type arguments;168 if (!decoder.decode(arguments)) {169 ASSERT(decoder.isInvalid());170 return;171 }172 173 typename CodingType<typename T::Reply>::Type replyArguments;174 callMemberFunction(connection, WTFMove(arguments), replyArguments, object, function);175 replyEncoder << replyArguments;176 }177 178 template<typename T, typename C, typename MF>179 123 void handleMessage(Connection& connection, Decoder& decoder, C* object, MF function) 180 124 { … … 188 132 189 133 template<typename T, typename C, typename MF> 190 void handleMessage Delayed(Connection& connection, Decoder& decoder, std::unique_ptr<Encoder>& replyEncoder, C* object, MF function)134 void handleMessageSynchronous(Connection& connection, Decoder& decoder, std::unique_ptr<Encoder>& replyEncoder, C* object, MF function) 191 135 { 192 136 typename CodingType<typename T::Arguments>::Type arguments; … … 203 147 204 148 template<typename T, typename C, typename MF> 205 void handleMessage DelayedWantsConnection(Connection& connection, Decoder& decoder, std::unique_ptr<Encoder>& replyEncoder, C* object, MF function)149 void handleMessageSynchronousWantsConnection(Connection& connection, Decoder& decoder, std::unique_ptr<Encoder>& replyEncoder, C* object, MF function) 206 150 { 207 151 typename CodingType<typename T::Arguments>::Type arguments; -
trunk/Source/WebKit/PluginProcess/PluginControllerProxy.messages.in
r241441 r243345 70 70 71 71 # Sent when a mouse wheel event should be processed. 72 HandleWheelEvent(WebKit::WebWheelEvent wheelEvent) -> (bool handled) Delayed72 HandleWheelEvent(WebKit::WebWheelEvent wheelEvent) -> (bool handled) Synchronous 73 73 74 74 # Sent when a mouse enter event should be processed. 75 HandleMouseEnterEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled) Delayed75 HandleMouseEnterEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled) Synchronous 76 76 77 77 # Sent when a mouse leave event should be processed. 78 HandleMouseLeaveEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled) Delayed78 HandleMouseLeaveEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled) Synchronous 79 79 80 80 # Sent when a keyboard should be processed. 81 HandleKeyboardEvent(WebKit::WebKeyboardEvent keyboardEvent) -> (bool handled) Delayed81 HandleKeyboardEvent(WebKit::WebKeyboardEvent keyboardEvent) -> (bool handled) Synchronous 82 82 83 83 # Sent when an editing command should be processed. 84 HandleEditingCommand(String commandName, String argument) -> (bool handled) Delayed84 HandleEditingCommand(String commandName, String argument) -> (bool handled) Synchronous 85 85 86 86 # Return whether or not a plugin wants to enable the given editing command. 87 IsEditingCommandEnabled(String commandName) -> (bool enabled) Delayed87 IsEditingCommandEnabled(String commandName) -> (bool enabled) Synchronous 88 88 89 89 # Return whether or not a plugin wants to handle page scale factor itself. 90 HandlesPageScaleFactor() -> (bool enabled) Delayed90 HandlesPageScaleFactor() -> (bool enabled) Synchronous 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) Delayed93 RequiresUnifiedScaleFactor() -> (bool required) Synchronous 94 94 95 95 # Sent when the plug-in focus changes. … … 100 100 101 101 # Paint the entire plug-in. 102 PaintEntirePlugin() -> () Delayed102 PaintEntirePlugin() -> () Synchronous 103 103 104 104 # Get a reference to the plug-in's scriptable NPObject. 105 GetPluginScriptableNPObject() -> (uint64_t pluginScriptableNPObjectID) Delayed105 GetPluginScriptableNPObject() -> (uint64_t pluginScriptableNPObjectID) Synchronous 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) Delayed125 SupportsSnapshotting() -> (bool isSupported) Synchronous 126 126 127 127 # Return a snapshot of the plugin. 128 Snapshot() -> (WebKit::ShareableBitmap::Handle backingStoreHandle) Delayed128 Snapshot() -> (WebKit::ShareableBitmap::Handle backingStoreHandle) Synchronous 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) Delayed137 GetFormValue() -> (bool returnValue, String formValue) Synchronous 138 138 139 139 # Sent when the browser wants to mute or unmute the plugin. -
trunk/Source/WebKit/PluginProcess/WebProcessConnection.messages.in
r177608 r243345 25 25 messages -> WebProcessConnection LegacyReceiver { 26 26 # Creates a plug-in instance using the given creation parameters. 27 CreatePlugin(struct WebKit::PluginCreationParameters pluginCreationParameters) -> (bool creationResult, bool wantsWheelEvents, uint32_t remoteLayerClientID) Delayed27 CreatePlugin(struct WebKit::PluginCreationParameters pluginCreationParameters) -> (bool creationResult, bool wantsWheelEvents, uint32_t remoteLayerClientID) Synchronous 28 28 29 29 # Creates a plug-in instance asynchronously using the given creation parameters. … … 31 31 32 32 # Destroys the plug-in instance with the given instance ID. 33 DestroyPlugin(uint64_t pluginInstanceID, bool asynchronousCreationIncomplete) -> () Delayed33 DestroyPlugin(uint64_t pluginInstanceID, bool asynchronousCreationIncomplete) -> () Synchronous 34 34 } 35 35 -
trunk/Source/WebKit/Scripts/webkit/LegacyMessageReceiver-expected.cpp
r241604 r243345 177 177 } 178 178 if (decoder.messageName() == Messages::WebPage::GetPluginProcessConnection::name()) { 179 IPC::handleMessage Delayed<Messages::WebPage::GetPluginProcessConnection>(connection, decoder, replyEncoder, this, &WebPage::getPluginProcessConnection);179 IPC::handleMessageSynchronous<Messages::WebPage::GetPluginProcessConnection>(connection, decoder, replyEncoder, this, &WebPage::getPluginProcessConnection); 180 180 return; 181 181 } 182 182 if (decoder.messageName() == Messages::WebPage::TestMultipleAttributes::name()) { 183 IPC::handleMessage DelayedWantsConnection<Messages::WebPage::TestMultipleAttributes>(connection, decoder, replyEncoder, this, &WebPage::testMultipleAttributes);183 IPC::handleMessageSynchronousWantsConnection<Messages::WebPage::TestMultipleAttributes>(connection, decoder, replyEncoder, this, &WebPage::testMultipleAttributes); 184 184 return; 185 185 } -
trunk/Source/WebKit/Scripts/webkit/MessageReceiver-expected.cpp
r241604 r243345 177 177 } 178 178 if (decoder.messageName() == Messages::WebPage::GetPluginProcessConnection::name()) { 179 IPC::handleMessage Delayed<Messages::WebPage::GetPluginProcessConnection>(connection, decoder, replyEncoder, this, &WebPage::getPluginProcessConnection);179 IPC::handleMessageSynchronous<Messages::WebPage::GetPluginProcessConnection>(connection, decoder, replyEncoder, this, &WebPage::getPluginProcessConnection); 180 180 return; 181 181 } 182 182 if (decoder.messageName() == Messages::WebPage::TestMultipleAttributes::name()) { 183 IPC::handleMessage DelayedWantsConnection<Messages::WebPage::TestMultipleAttributes>(connection, decoder, replyEncoder, this, &WebPage::testMultipleAttributes);183 IPC::handleMessageSynchronousWantsConnection<Messages::WebPage::TestMultipleAttributes>(connection, decoder, replyEncoder, this, &WebPage::testMultipleAttributes); 184 184 return; 185 185 } -
trunk/Source/WebKit/Scripts/webkit/MessageReceiverSuperclass-expected.cpp
r239427 r243345 120 120 #endif 121 121 122 void TestDelayedMessage::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const Optional<WebKit::TestClassName>& optionalReply) 122 void TestSyncMessage::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, uint8_t reply) 123 { 124 *encoder << reply; 125 connection.sendSyncReply(WTFMove(encoder)); 126 } 127 128 void TestSynchronousMessage::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const Optional<WebKit::TestClassName>& optionalReply) 123 129 { 124 130 *encoder << optionalReply; … … 162 168 { 163 169 if (decoder.messageName() == Messages::WebPage::TestSyncMessage::name()) { 164 IPC::handleMessage <Messages::WebPage::TestSyncMessage>(decoder, *replyEncoder, this, &WebPage::testSyncMessage);170 IPC::handleMessageSynchronous<Messages::WebPage::TestSyncMessage>(connection, decoder, replyEncoder, this, &WebPage::testSyncMessage); 165 171 return; 166 172 } 167 if (decoder.messageName() == Messages::WebPage::Test DelayedMessage::name()) {168 IPC::handleMessage Delayed<Messages::WebPage::TestDelayedMessage>(connection, decoder, replyEncoder, this, &WebPage::testDelayedMessage);173 if (decoder.messageName() == Messages::WebPage::TestSynchronousMessage::name()) { 174 IPC::handleMessageSynchronous<Messages::WebPage::TestSynchronousMessage>(connection, decoder, replyEncoder, this, &WebPage::testSynchronousMessage); 169 175 return; 170 176 } -
trunk/Source/WebKit/Scripts/webkit/MessagesSuperclass-expected.h
r241622 r243345 155 155 static const bool isSync = true; 156 156 157 using DelayedReply = CompletionHandler<void(uint8_t reply)>; 158 static void send(std::unique_ptr<IPC::Encoder>&&, IPC::Connection&, uint8_t reply); 157 159 typedef std::tuple<uint8_t&> Reply; 158 160 explicit TestSyncMessage(uint32_t param) … … 170 172 }; 171 173 172 class Test DelayedMessage {174 class TestSynchronousMessage { 173 175 public: 174 176 typedef std::tuple<bool> Arguments; 175 177 176 178 static IPC::StringReference receiverName() { return messageReceiverName(); } 177 static IPC::StringReference name() { return IPC::StringReference("Test DelayedMessage"); }179 static IPC::StringReference name() { return IPC::StringReference("TestSynchronousMessage"); } 178 180 static const bool isSync = true; 179 181 … … 181 183 static void send(std::unique_ptr<IPC::Encoder>&&, IPC::Connection&, const Optional<WebKit::TestClassName>& optionalReply); 182 184 typedef std::tuple<Optional<WebKit::TestClassName>&> Reply; 183 explicit Test DelayedMessage(bool value)185 explicit TestSynchronousMessage(bool value) 184 186 : m_arguments(value) 185 187 { -
trunk/Source/WebKit/Scripts/webkit/messages.py
r242891 r243345 29 29 WANTS_CONNECTION_ATTRIBUTE = 'WantsConnection' 30 30 LEGACY_RECEIVER_ATTRIBUTE = 'LegacyReceiver' 31 DELAYED_ATTRIBUTE = 'Delayed'31 SYNCHRONOUS_ATTRIBUTE = 'Synchronous' 32 32 ASYNC_ATTRIBUTE = 'Async' 33 LEGACY_SYNC_ATTRIBUTE = 'LegacySync'34 33 35 34 _license_header = """/* … … 131 130 result.append(' static IPC::StringReference asyncMessageReplyName() { return { "%sReply" }; }\n' % message.name) 132 131 result.append(' using AsyncReply') 133 elif message.has_attribute( DELAYED_ATTRIBUTE):132 elif message.has_attribute(SYNCHRONOUS_ATTRIBUTE): 134 133 result.append(' using DelayedReply') 135 if message.has_attribute( DELAYED_ATTRIBUTE) or message.has_attribute(ASYNC_ATTRIBUTE):134 if message.has_attribute(SYNCHRONOUS_ATTRIBUTE) or message.has_attribute(ASYNC_ATTRIBUTE): 136 135 result.append(' = CompletionHandler<void(%s)>;\n' % completion_handler_parameters) 137 136 result.append(' static void send(std::unique_ptr<IPC::Encoder>&&, IPC::Connection&') … … 305 304 def sync_message_statement(receiver, message): 306 305 dispatch_function = 'handleMessage' 307 if message.has_attribute( DELAYED_ATTRIBUTE):308 dispatch_function += ' Delayed'306 if message.has_attribute(SYNCHRONOUS_ATTRIBUTE): 307 dispatch_function += 'Synchronous' 309 308 if message.has_attribute(WANTS_CONNECTION_ATTRIBUTE): 310 309 dispatch_function += 'WantsConnection' 311 310 if message.has_attribute(ASYNC_ATTRIBUTE): 312 311 dispatch_function += 'Async' 313 if message.has_attribute(LEGACY_SYNC_ATTRIBUTE): 314 dispatch_function += 'LegacySync' 315 316 wants_connection = message.has_attribute(DELAYED_ATTRIBUTE) or message.has_attribute(WANTS_CONNECTION_ATTRIBUTE) 312 313 wants_connection = message.has_attribute(SYNCHRONOUS_ATTRIBUTE) or message.has_attribute(WANTS_CONNECTION_ATTRIBUTE) 317 314 318 315 result = [] 319 316 result.append(' if (decoder.messageName() == Messages::%s::%s::name()) {\n' % (receiver.name, message.name)) 320 result.append(' IPC::%s<Messages::%s::%s>(%sdecoder, %sreplyEncoder, this, &%s);\n' % (dispatch_function, receiver.name, message.name, 'connection, ' if wants_connection else '', '' if message.has_attribute( DELAYED_ATTRIBUTE) or message.has_attribute(ASYNC_ATTRIBUTE) else '*', handler_function(receiver, message)))317 result.append(' IPC::%s<Messages::%s::%s>(%sdecoder, %sreplyEncoder, this, &%s);\n' % (dispatch_function, receiver.name, message.name, 'connection, ' if wants_connection else '', '' if message.has_attribute(SYNCHRONOUS_ATTRIBUTE) or message.has_attribute(ASYNC_ATTRIBUTE) else '*', handler_function(receiver, message))) 321 318 result.append(' return;\n') 322 319 result.append(' }\n') … … 556 553 delayed_or_async_messages = [] 557 554 for message in receiver.messages: 558 if message.reply_parameters != None and (message.has_attribute( DELAYED_ATTRIBUTE) or message.has_attribute(ASYNC_ATTRIBUTE)):555 if message.reply_parameters != None and (message.has_attribute(SYNCHRONOUS_ATTRIBUTE) or message.has_attribute(ASYNC_ATTRIBUTE)): 559 556 delayed_or_async_messages.append(message) 560 557 -
trunk/Source/WebKit/Scripts/webkit/messages_unittest.py
r239427 r243345 281 281 }, 282 282 { 283 'name': 'Test DelayedMessage',283 'name': 'TestSynchronousMessage', 284 284 'parameters': ( 285 285 ('bool', 'value'), -
trunk/Source/WebKit/Scripts/webkit/test-legacy-messages.in
r164171 r243345 46 46 RunJavaScriptAlert(uint64_t frameID, String message) -> () 47 47 GetPlugins(bool refresh) -> (Vector<WebCore::PluginInfo> plugins) 48 GetPluginProcessConnection(String pluginPath) -> (IPC::Connection::Handle connectionHandle) Delayed48 GetPluginProcessConnection(String pluginPath) -> (IPC::Connection::Handle connectionHandle) Synchronous 49 49 50 TestMultipleAttributes() -> () WantsConnection Delayed50 TestMultipleAttributes() -> () WantsConnection Synchronous 51 51 52 52 TestParameterAttributes([AttributeOne AttributeTwo] uint64_t foo, double bar, [AttributeThree] double baz) -
trunk/Source/WebKit/Scripts/webkit/test-messages.in
r238577 r243345 53 53 RunJavaScriptAlert(uint64_t frameID, String message) -> () 54 54 GetPlugins(bool refresh) -> (Vector<WebCore::PluginInfo> plugins) 55 GetPluginProcessConnection(String pluginPath) -> (IPC::Connection::Handle connectionHandle) Delayed55 GetPluginProcessConnection(String pluginPath) -> (IPC::Connection::Handle connectionHandle) Synchronous 56 56 57 TestMultipleAttributes() -> () WantsConnection Delayed57 TestMultipleAttributes() -> () WantsConnection Synchronous 58 58 59 59 TestParameterAttributes([AttributeOne AttributeTwo] uint64_t foo, double bar, [AttributeThree] double baz) -
trunk/Source/WebKit/Scripts/webkit/test-superclass-messages.in
r239427 r243345 28 28 TestAsyncMessageWithMultipleArguments() -> (bool flag, uint64_t value) Async 29 29 #endif 30 TestSyncMessage(uint32_t param) -> (uint8_t reply) Sync 31 Test DelayedMessage(bool value) -> (Optional<WebKit::TestClassName> optionalReply) Delayed30 TestSyncMessage(uint32_t param) -> (uint8_t reply) Synchronous 31 TestSynchronousMessage(bool value) -> (Optional<WebKit::TestClassName> optionalReply) Synchronous 32 32 } -
trunk/Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.messages.in
r242748 r243345 27 27 messages -> WebPaymentCoordinatorProxy { 28 28 29 AvailablePaymentNetworks() -> (Vector<String> availablePaymentNetworks) Delayed30 CanMakePayments() -> (bool result) Delayed29 AvailablePaymentNetworks() -> (Vector<String> availablePaymentNetworks) Synchronous 30 CanMakePayments() -> (bool result) Synchronous 31 31 CanMakePaymentsWithActiveCard(String merchantIdentifier, String domainName, PAL::SessionID sessionID) -> (bool canMakePayments) Async 32 32 OpenPaymentSetup(String merchantIdentifier, String domainName) -> (bool result) Async 33 33 34 ShowPaymentUI(uint64_t destinationID, PAL::SessionID sessionID, String originatingURLString, Vector<String> linkIconURLStrings, WebCore::ApplePaySessionPaymentRequest paymentRequest) -> (bool result) Delayed34 ShowPaymentUI(uint64_t destinationID, PAL::SessionID sessionID, String originatingURLString, Vector<String> linkIconURLStrings, WebCore::ApplePaySessionPaymentRequest paymentRequest) -> (bool result) Synchronous 35 35 CompleteMerchantValidation(WebCore::PaymentMerchantSession paymentMerchantSession) 36 36 CompleteShippingMethodSelection(Optional<WebCore::ShippingMethodUpdate> update) -
trunk/Source/WebKit/Shared/Plugins/NPObjectMessageReceiver.messages.in
r241441 r243345 24 24 25 25 messages -> NPObjectMessageReceiver LegacyReceiver { 26 Deallocate() -> () Delayed27 HasMethod(WebKit::NPIdentifierData methodName) -> (bool returnValue) Delayed28 Invoke(WebKit::NPIdentifierData methodName, Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) Delayed29 InvokeDefault(Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) Delayed30 HasProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue) Delayed31 GetProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue, WebKit::NPVariantData resultData) Delayed32 SetProperty(WebKit::NPIdentifierData propertyName, WebKit::NPVariantData propertyValueData) -> (bool returnValue) Delayed33 RemoveProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue) Delayed34 Enumerate() -> (bool returnValue, Vector<WebKit::NPIdentifierData> identifiersData) Delayed35 Construct(Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) Delayed26 Deallocate() -> () Synchronous 27 HasMethod(WebKit::NPIdentifierData methodName) -> (bool returnValue) Synchronous 28 Invoke(WebKit::NPIdentifierData methodName, Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) Synchronous 29 InvokeDefault(Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) Synchronous 30 HasProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue) Synchronous 31 GetProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue, WebKit::NPVariantData resultData) Synchronous 32 SetProperty(WebKit::NPIdentifierData propertyName, WebKit::NPVariantData propertyValueData) -> (bool returnValue) Synchronous 33 RemoveProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue) Synchronous 34 Enumerate() -> (bool returnValue, Vector<WebKit::NPIdentifierData> identifiersData) Synchronous 35 Construct(Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) Synchronous 36 36 } 37 37 -
trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in
r243258 r243345 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) Delayed27 CreateMediaSourceForCaptureDeviceWithConstraints(uint64_t id, WebCore::CaptureDevice device, String hashSalt, struct WebCore::MediaConstraints constraints) -> (bool success, String invalidConstraints, WebCore::RealtimeMediaSourceSettings settings) Synchronous 28 28 StartProducingData(uint64_t id) 29 29 StopProducingData(uint64_t id) 30 30 End(uint64_t id) 31 Capabilities(uint64_t id) -> (WebCore::RealtimeMediaSourceCapabilities capabilities) Delayed31 Capabilities(uint64_t id) -> (WebCore::RealtimeMediaSourceCapabilities capabilities) Synchronous 32 32 SetMuted(uint64_t id, bool muted) 33 33 ApplyConstraints(uint64_t id, struct WebCore::MediaConstraints constraints) -
trunk/Source/WebKit/UIProcess/Plugins/PluginProcessProxy.messages.in
r243258 r243345 35 35 36 36 # Returns true if the UI process launched the process. 37 LaunchProcess(String launchPath, Vector<String> arguments) -> (bool result) Delayed37 LaunchProcess(String launchPath, Vector<String> arguments) -> (bool result) Synchronous 38 38 39 39 # Returns true if the UI process launched the application. 40 LaunchApplicationAtURL(String url, Vector<String> arguments) -> (bool result) Delayed40 LaunchApplicationAtURL(String url, Vector<String> arguments) -> (bool result) Synchronous 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) Delayed43 OpenURL(String urlString) -> (bool result, int32_t status, String launchedURLString) Synchronous 44 44 45 45 # Returns true if the UI process did open the file. 46 OpenFile(String fullPath) -> (bool result) Delayed46 OpenFile(String fullPath) -> (bool result) Synchronous 47 47 #endif 48 48 } -
trunk/Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
r243327 r243345 446 446 { 447 447 if (decoder.messageName() == Messages::WebPageProxy::BackForwardGoToItem::name()) { 448 IPC::handleMessage Delayed<Messages::WebPageProxy::BackForwardGoToItem>(connection, decoder, replyEncoder, this, &ProvisionalPageProxy::backForwardGoToItem);448 IPC::handleMessageSynchronous<Messages::WebPageProxy::BackForwardGoToItem>(connection, decoder, replyEncoder, this, &ProvisionalPageProxy::backForwardGoToItem); 449 449 return; 450 450 } 451 451 452 452 if (decoder.messageName() == Messages::WebPageProxy::DecidePolicyForNavigationActionSync::name()) { 453 IPC::handleMessage Delayed<Messages::WebPageProxy::DecidePolicyForNavigationActionSync>(connection, decoder, replyEncoder, this, &ProvisionalPageProxy::decidePolicyForNavigationActionSync);453 IPC::handleMessageSynchronous<Messages::WebPageProxy::DecidePolicyForNavigationActionSync>(connection, decoder, replyEncoder, this, &ProvisionalPageProxy::decidePolicyForNavigationActionSync); 454 454 return; 455 455 } -
trunk/Source/WebKit/UIProcess/WebFullScreenManagerProxy.messages.in
r243258 r243345 23 23 #if ENABLE(FULLSCREEN_API) 24 24 messages -> WebFullScreenManagerProxy { 25 SupportsFullScreen(bool withKeyboard) -> (bool supportsFullScreen) Delayed25 SupportsFullScreen(bool withKeyboard) -> (bool supportsFullScreen) Synchronous 26 26 EnterFullScreen() 27 27 ExitFullScreen() -
trunk/Source/WebKit/UIProcess/WebPageProxy.messages.in
r243328 r243345 23 23 messages -> WebPageProxy { 24 24 # UI messages 25 CreateNewPage(struct WebKit::FrameInfoData originatingFrameInfoData, uint64_t originatingPageID, WebCore::ResourceRequest request, struct WebCore::WindowFeatures windowFeatures, struct WebKit::NavigationActionData navigationActionData) -> (uint64_t newPageID, Optional<WebKit::WebPageCreationParameters> newPageParameters) Delayed25 CreateNewPage(struct WebKit::FrameInfoData originatingFrameInfoData, uint64_t originatingPageID, WebCore::ResourceRequest request, struct WebCore::WindowFeatures windowFeatures, struct WebKit::NavigationActionData navigationActionData) -> (uint64_t newPageID, Optional<WebKit::WebPageCreationParameters> newPageParameters) Synchronous 26 26 ShowPage() 27 27 ClosePage(bool stopResponsivenessTimer) 28 RunJavaScriptAlert(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, String message) -> () Delayed29 RunJavaScriptConfirm(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, String message) -> (bool result) Delayed30 RunJavaScriptPrompt(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, String message, String defaultValue) -> (String result) Delayed28 RunJavaScriptAlert(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, String message) -> () Synchronous 29 RunJavaScriptConfirm(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, String message) -> (bool result) Synchronous 30 RunJavaScriptPrompt(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, String message, String defaultValue) -> (String result) Synchronous 31 31 MouseDidMoveOverElement(struct WebKit::WebHitTestResultData hitTestResultData, uint32_t modifiers, WebKit::UserData userData) 32 32 … … 35 35 #endif // ENABLE(NETSCAPE_PLUGIN_API) 36 36 #if ENABLE(WEBGL) 37 WebGLPolicyForURL(URL url) -> (uint32_t loadPolicy) Delayed38 ResolveWebGLPolicyForURL(URL url) -> (uint32_t loadPolicy) Delayed37 WebGLPolicyForURL(URL url) -> (uint32_t loadPolicy) Synchronous 38 ResolveWebGLPolicyForURL(URL url) -> (uint32_t loadPolicy) Synchronous 39 39 #endif // ENABLE(WEBGL) 40 40 DidChangeViewportProperties(struct WebCore::ViewportAttributes attributes) … … 52 52 SetRenderTreeSize(uint64_t treeSize) 53 53 SetToolbarsAreVisible(bool toolbarsAreVisible) 54 GetToolbarsAreVisible() -> (bool toolbarsAreVisible) Delayed54 GetToolbarsAreVisible() -> (bool toolbarsAreVisible) Synchronous 55 55 SetMenuBarIsVisible(bool menuBarIsVisible) 56 GetMenuBarIsVisible() -> (bool menuBarIsVisible) Delayed56 GetMenuBarIsVisible() -> (bool menuBarIsVisible) Synchronous 57 57 SetStatusBarIsVisible(bool statusBarIsVisible) 58 GetStatusBarIsVisible() -> (bool statusBarIsVisible) Delayed58 GetStatusBarIsVisible() -> (bool statusBarIsVisible) Synchronous 59 59 SetIsResizable(bool isResizable) 60 60 SetWindowFrame(WebCore::FloatRect windowFrame) 61 GetWindowFrame() -> (WebCore::FloatRect windowFrame) Delayed62 ScreenToRootView(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint) Delayed63 RootViewToScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame) Delayed64 AccessibilityScreenToRootView(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint) Delayed65 RootViewToAccessibilityScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame) Delayed61 GetWindowFrame() -> (WebCore::FloatRect windowFrame) Synchronous 62 ScreenToRootView(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint) Synchronous 63 RootViewToScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame) Synchronous 64 AccessibilityScreenToRootView(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint) Synchronous 65 RootViewToAccessibilityScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame) Synchronous 66 66 67 67 #if PLATFORM(COCOA) … … 70 70 #endif 71 71 72 RunBeforeUnloadConfirmPanel(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, String message) -> (bool shouldClose) Delayed72 RunBeforeUnloadConfirmPanel(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, String message) -> (bool shouldClose) Synchronous 73 73 PageDidScroll() 74 74 RunOpenPanel(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, struct WebCore::FileChooserSettings parameters) 75 75 ShowShareSheet(struct WebCore::ShareDataWithParsedURL shareData, uint64_t callbackID) 76 PrintFrame(uint64_t frameID) -> () Delayed76 PrintFrame(uint64_t frameID) -> () Synchronous 77 77 RunModal() 78 78 NotifyScrollerThumbIsVisibleInRect(WebCore::IntRect scrollerThumb) … … 105 105 DecidePolicyForResponse(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, WebCore::PolicyCheckIdentifier policyCheckIdentifier, uint64_t navigationID, WebCore::ResourceResponse response, WebCore::ResourceRequest request, bool canShowMIMEType, uint64_t listenerID, WebKit::UserData userData) 106 106 DecidePolicyForNavigationActionAsync(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, WebCore::PolicyCheckIdentifier policyCheckIdentifier, uint64_t navigationID, struct WebKit::NavigationActionData navigationActionData, struct WebKit::FrameInfoData originatingFrameInfoData, uint64_t originatingPageID, WebCore::ResourceRequest originalRequest, WebCore::ResourceRequest request, IPC::FormDataReference requestBody, WebCore::ResourceResponse redirectResponse, WebKit::UserData userData, uint64_t listenerID) 107 DecidePolicyForNavigationActionSync(uint64_t frameID, bool isMainFrame, struct WebCore::SecurityOriginData frameSecurityOrigin, WebCore::PolicyCheckIdentifier policyCheckIdentifier, uint64_t navigationID, struct WebKit::NavigationActionData navigationActionData, struct WebKit::FrameInfoData originatingFrameInfoData, uint64_t originatingPageID, WebCore::ResourceRequest originalRequest, WebCore::ResourceRequest request, IPC::FormDataReference requestBody, WebCore::ResourceResponse redirectResponse, WebKit::UserData userData) -> (WebCore::PolicyCheckIdentifier policyCheckIdentifier, enum:uint8_t WebCore::PolicyAction policyAction, uint64_t newNavigationID, WebKit::DownloadID downloadID, Optional<WebKit::WebsitePoliciesData> websitePolicies) Delayed107 DecidePolicyForNavigationActionSync(uint64_t frameID, bool isMainFrame, struct WebCore::SecurityOriginData frameSecurityOrigin, WebCore::PolicyCheckIdentifier policyCheckIdentifier, uint64_t navigationID, struct WebKit::NavigationActionData navigationActionData, struct WebKit::FrameInfoData originatingFrameInfoData, uint64_t originatingPageID, WebCore::ResourceRequest originalRequest, WebCore::ResourceRequest request, IPC::FormDataReference requestBody, WebCore::ResourceResponse redirectResponse, WebKit::UserData userData) -> (WebCore::PolicyCheckIdentifier policyCheckIdentifier, enum:uint8_t WebCore::PolicyAction policyAction, uint64_t newNavigationID, WebKit::DownloadID downloadID, Optional<WebKit::WebsitePoliciesData> websitePolicies) Synchronous 108 108 DecidePolicyForNewWindowAction(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, WebCore::PolicyCheckIdentifier policyCheckIdentifier, struct WebKit::NavigationActionData navigationActionData, WebCore::ResourceRequest request, String frameName, uint64_t listenerID, WebKit::UserData userData) 109 109 UnableToImplementPolicy(uint64_t frameID, WebCore::ResourceError error, WebKit::UserData userData) … … 144 144 DidDestroyNavigation(uint64_t navigationID) 145 145 146 HasInsecureContent() -> (enum:bool WebCore::HasInsecureContent hasInsecureContent) Delayed146 HasInsecureContent() -> (enum:bool WebCore::HasInsecureContent hasInsecureContent) Synchronous 147 147 148 148 MainFramePluginHandlesPageScaleGestureDidChange(bool mainFramePluginHandlesPageScaleGesture) … … 188 188 AutocorrectionContextCallback(struct WebKit::WebAutocorrectionContext context, WebKit::CallbackID callbackID) 189 189 SelectionContextCallback(String selectedText, String beforeText, String afterText, WebKit::CallbackID callbackID) 190 InterpretKeyEvent(struct WebKit::EditorState state, bool isCharEvent) -> (bool handled) Delayed190 InterpretKeyEvent(struct WebKit::EditorState state, bool isCharEvent) -> (bool handled) Synchronous 191 191 DidReceivePositionInformation(struct WebKit::InteractionInformationAtPosition information) 192 192 SaveImageToLibrary(WebKit::SharedMemory::Handle handle, uint64_t size) … … 224 224 # BackForward messages 225 225 BackForwardAddItem(struct WebKit::BackForwardListItemState itemState) 226 BackForwardGoToItem(struct WebCore::BackForwardItemIdentifier itemID) -> (WebKit::SandboxExtension::Handle sandboxExtensionHandle) Delayed227 BackForwardItemAtIndex(int32_t itemIndex) -> (Optional<WebCore::BackForwardItemIdentifier> itemID) Delayed228 BackForwardBackListCount() -> (uint32_t count) Delayed229 BackForwardForwardListCount() -> (uint32_t count) Delayed226 BackForwardGoToItem(struct WebCore::BackForwardItemIdentifier itemID) -> (WebKit::SandboxExtension::Handle sandboxExtensionHandle) Synchronous 227 BackForwardItemAtIndex(int32_t itemIndex) -> (Optional<WebCore::BackForwardItemIdentifier> itemID) Synchronous 228 BackForwardBackListCount() -> (uint32_t count) Synchronous 229 BackForwardForwardListCount() -> (uint32_t count) Synchronous 230 230 BackForwardClear() 231 231 WillGoToBackForwardListItem(struct WebCore::BackForwardItemIdentifier itemID, bool inPageCache) … … 235 235 ClearAllEditCommands() 236 236 RegisterInsertionUndoGrouping() 237 CanUndoRedo(enum:bool WebKit::UndoOrRedo undoOrRedo) -> (bool result) Delayed238 ExecuteUndoRedo(enum:bool WebKit::UndoOrRedo undoOrRedo) -> () Delayed237 CanUndoRedo(enum:bool WebKit::UndoOrRedo undoOrRedo) -> (bool result) Synchronous 238 ExecuteUndoRedo(enum:bool WebKit::UndoOrRedo undoOrRedo) -> () Synchronous 239 239 240 240 # Diagnostic messages logging … … 253 253 SetIsTouchBarUpdateSupressedForHiddenContentEditable(bool isTouchBarUpdateSupressed) 254 254 SetIsNeverRichlyEditableForTouchBar(bool isNeverRichlyEditable) 255 RequestDOMPasteAccess(WebCore::IntRect elementRect, String originIdentifier) -> (enum:uint8_t WebCore::DOMPasteAccessResponse response) Delayed255 RequestDOMPasteAccess(WebCore::IntRect elementRect, String originIdentifier) -> (enum:uint8_t WebCore::DOMPasteAccessResponse response) Synchronous 256 256 257 257 # Find messages … … 273 273 274 274 # Database messages 275 ExceededDatabaseQuota(uint64_t frameID, String originIdentifier, String databaseName, String databaseDisplayName, uint64_t currentQuota, uint64_t currentOriginUsage, uint64_t currentDatabaseUsage, uint64_t expectedUsage) -> (uint64_t newQuota) Delayed275 ExceededDatabaseQuota(uint64_t frameID, String originIdentifier, String databaseName, String databaseDisplayName, uint64_t currentQuota, uint64_t currentOriginUsage, uint64_t currentDatabaseUsage, uint64_t expectedUsage) -> (uint64_t newQuota) Synchronous 276 276 277 277 # Application cache messages 278 ReachedApplicationCacheOriginQuota(String originIdentifier, uint64_t currentQuota, uint64_t totalBytesNeeded) -> (uint64_t newQuota) Delayed278 ReachedApplicationCacheOriginQuota(String originIdentifier, uint64_t currentQuota, uint64_t totalBytesNeeded) -> (uint64_t newQuota) Synchronous 279 279 280 280 # Geolocation messages … … 297 297 # Spelling and grammar messages 298 298 #if USE(UNIFIED_TEXT_CHECKING) 299 CheckTextOfParagraph(String text, OptionSet<WebCore::TextCheckingType> checkingTypes, int32_t insertionPoint) -> (Vector<WebCore::TextCheckingResult> results) Delayed300 #endif 301 CheckSpellingOfString(String text) -> (int32_t misspellingLocation, int32_t misspellingLength) Delayed302 CheckGrammarOfString(String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength) Delayed303 SpellingUIIsShowing() -> (bool isShowing) Delayed299 CheckTextOfParagraph(String text, OptionSet<WebCore::TextCheckingType> checkingTypes, int32_t insertionPoint) -> (Vector<WebCore::TextCheckingResult> results) Synchronous 300 #endif 301 CheckSpellingOfString(String text) -> (int32_t misspellingLocation, int32_t misspellingLength) Synchronous 302 CheckGrammarOfString(String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength) Synchronous 303 SpellingUIIsShowing() -> (bool isShowing) Synchronous 304 304 UpdateSpellingUIWithMisspelledWord(String misspelledWord) 305 305 UpdateSpellingUIWithGrammarString(String badGrammarPhrase, struct WebCore::GrammarDetail grammarDetail) 306 GetGuessesForWord(String word, String context, int32_t insertionPoint) -> (Vector<String> guesses) Delayed306 GetGuessesForWord(String word, String context, int32_t insertionPoint) -> (Vector<String> guesses) Synchronous 307 307 LearnWord(String word) 308 308 IgnoreWord(String word) … … 337 337 338 338 # Keyboard input support messages 339 ExecuteSavedCommandBySelector(String selector) -> (bool handled) Delayed339 ExecuteSavedCommandBySelector(String selector) -> (bool handled) Synchronous 340 340 341 341 # Remote accessibility messages … … 347 347 348 348 # Speech messages 349 GetIsSpeaking() -> (bool isSpeaking) Delayed349 GetIsSpeaking() -> (bool isSpeaking) Synchronous 350 350 Speak(String string) 351 351 StopSpeaking() … … 365 365 366 366 #if USE(APPKIT) 367 SubstitutionsPanelIsShowing() -> (bool isShowing) Delayed367 SubstitutionsPanelIsShowing() -> (bool isShowing) Synchronous 368 368 #endif 369 369 #if USE(AUTOMATIC_TEXT_REPLACEMENT) … … 378 378 ShowCorrectionPanel(int32_t panelType, WebCore::FloatRect boundingBoxOfReplacedString, String replacedString, String replacementString, Vector<String> alternativeReplacementStrings) 379 379 DismissCorrectionPanel(int32_t reason) 380 DismissCorrectionPanelSoon(int32_t reason) -> (String result) Delayed380 DismissCorrectionPanelSoon(int32_t reason) -> (String result) Synchronous 381 381 RecordAutocorrectionResponse(int32_t response, String replacedString, String replacementString); 382 382 … … 387 387 ShowDictationAlternativeUI(WebCore::FloatRect boundingBoxOfDictatedText, uint64_t dictationContext) 388 388 RemoveDictationAlternatives(uint64_t dictationContext) 389 DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives) Delayed389 DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives) Synchronous 390 390 #endif 391 391 392 392 #if PLATFORM(X11) 393 393 # X11 windowed plugin messages 394 CreatePluginContainer() -> (uint64_t windowID) Delayed394 CreatePluginContainer() -> (uint64_t windowID) Synchronous 395 395 WindowedPluginGeometryDidChange(WebCore::IntRect frameRect, WebCore::IntRect clipRect, uint64_t windowID) 396 396 WindowedPluginVisibilityDidChange(bool isVisible, uint64_t windowID) … … 430 430 # Search popup menus 431 431 SaveRecentSearches(String name, Vector<WebCore::RecentSearch> searchItems) 432 LoadRecentSearches(String name) -> (Vector<WebCore::RecentSearch> result) Delayed432 LoadRecentSearches(String name) -> (Vector<WebCore::RecentSearch> result) Synchronous 433 433 434 434 SavePDFToFileInDownloadsFolder(String suggestedFilename, URL originatingURL, IPC::DataReference data) … … 440 440 441 441 #if ENABLE(PDFKIT_PLUGIN) 442 ShowPDFContextMenu(struct WebKit::PDFContextMenu contextMenu) -> (Optional<int32_t> selectedItem) Delayed442 ShowPDFContextMenu(struct WebKit::PDFContextMenu contextMenu) -> (Optional<int32_t> selectedItem) Synchronous 443 443 #endif 444 444 445 445 #if ENABLE(NETSCAPE_PLUGIN_API) 446 FindPlugin(String mimeType, uint32_t processType, String urlString, String frameURLString, String pageURLString, bool allowOnlyApplicationPlugins) -> (uint64_t pluginProcessToken, String newMIMEType, uint32_t pluginLoadPolicy, String unavailabilityDescription, bool isUnsupported) Delayed446 FindPlugin(String mimeType, uint32_t processType, String urlString, String frameURLString, String pageURLString, bool allowOnlyApplicationPlugins) -> (uint64_t pluginProcessToken, String newMIMEType, uint32_t pluginLoadPolicy, String unavailabilityDescription, bool isUnsupported) Synchronous 447 447 #endif 448 448 … … 452 452 453 453 #if ENABLE(WEB_CRYPTO) 454 WrapCryptoKey(Vector<uint8_t> key) -> (bool succeeded, Vector<uint8_t> wrappedKey) Delayed455 UnwrapCryptoKey(Vector<uint8_t> wrappedKey) -> (bool succeeded, Vector<uint8_t> key) Delayed454 WrapCryptoKey(Vector<uint8_t> key) -> (bool succeeded, Vector<uint8_t> wrappedKey) Synchronous 455 UnwrapCryptoKey(Vector<uint8_t> wrappedKey) -> (bool succeeded, Vector<uint8_t> key) Synchronous 456 456 #endif 457 457 … … 486 486 #endif 487 487 HandleMessage(String messageName, WebKit::UserData messageBody) WantsConnection 488 HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) DelayedWantsConnection488 HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) Synchronous WantsConnection 489 489 490 490 HandleAutoFillButtonClick(WebKit::UserData userData) … … 533 533 StartURLSchemeTask(struct WebKit::URLSchemeTaskParameters parameters) 534 534 StopURLSchemeTask(uint64_t handlerIdentifier, uint64_t taskIdentifier) 535 LoadSynchronousURLSchemeTask(struct WebKit::URLSchemeTaskParameters parameters) -> (WebCore::ResourceResponse response, WebCore::ResourceError error, IPC::DataReference data) Delayed535 LoadSynchronousURLSchemeTask(struct WebKit::URLSchemeTaskParameters parameters) -> (WebCore::ResourceResponse response, WebCore::ResourceError error, IPC::DataReference data) Synchronous 536 536 537 537 #if ENABLE(DEVICE_ORIENTATION) … … 547 547 DidInsertAttachmentWithIdentifier(String identifier, String source, bool hasEnclosingImage) 548 548 DidRemoveAttachmentWithIdentifier(String identifier) 549 SerializedAttachmentDataForIdentifiers(Vector<String> identifiers) -> (Vector<WebCore::SerializedAttachmentData> seralizedData) Delayed550 #endif 551 552 SignedPublicKeyAndChallengeString(unsigned keySizeIndex, String challengeString, URL url) -> (String result) Delayed549 SerializedAttachmentDataForIdentifiers(Vector<String> identifiers) -> (Vector<WebCore::SerializedAttachmentData> seralizedData) Synchronous 550 #endif 551 552 SignedPublicKeyAndChallengeString(unsigned keySizeIndex, String challengeString, URL url) -> (String result) Synchronous 553 553 554 554 #if ENABLE(SPEECH_SYNTHESIS) 555 SpeechSynthesisVoiceList() -> (Vector<WebKit::WebSpeechSynthesisVoice> voiceList) Delayed555 SpeechSynthesisVoiceList() -> (Vector<WebKit::WebSpeechSynthesisVoice> voiceList) Synchronous 556 556 SpeechSynthesisSpeak(String text, String lang, float volume, float rate, float pitch, MonotonicTime startTime, String voiceURI, String voiceName, String voiceLang, bool localService, bool defaultVoice) -> () Async 557 557 SpeechSynthesisCancel() -
trunk/Source/WebKit/UIProcess/WebPasteboardProxy.messages.in
r243325 r243345 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) Delayed30 ReadURLFromPasteboard(uint64_t index, String pasteboardName) -> (String url, String title) Delayed31 ReadBufferFromPasteboard(uint64_t index, String pasteboardType, String pasteboardName) -> (WebKit::SharedMemory::Handle handle, uint64_t size) Delayed32 GetPasteboardItemsCount(String pasteboardName) -> (uint64_t itemsCount) Delayed33 AllPasteboardItemInfo(String pasteboardName) -> (Vector<WebCore::PasteboardItemInfo> allInfo) Delayed34 InformationForItemAtIndex(uint64_t index, String pasteboardName) -> (struct WebCore::PasteboardItemInfo info) Delayed29 ReadStringFromPasteboard(uint64_t index, String pasteboardType, String pasteboardName) -> (String string) Synchronous 30 ReadURLFromPasteboard(uint64_t index, String pasteboardName) -> (String url, String title) Synchronous 31 ReadBufferFromPasteboard(uint64_t index, String pasteboardType, String pasteboardName) -> (WebKit::SharedMemory::Handle handle, uint64_t size) Synchronous 32 GetPasteboardItemsCount(String pasteboardName) -> (uint64_t itemsCount) Synchronous 33 AllPasteboardItemInfo(String pasteboardName) -> (Vector<WebCore::PasteboardItemInfo> allInfo) Synchronous 34 InformationForItemAtIndex(uint64_t index, String pasteboardName) -> (struct WebCore::PasteboardItemInfo info) Synchronous 35 35 UpdateSupportedTypeIdentifiers(Vector<String> identifiers, String pasteboardName) 36 36 #endif 37 37 38 WriteCustomData(struct WebCore::PasteboardCustomData data, String pasteboardName) -> (uint64_t changeCount) Delayed39 TypesSafeForDOMToReadAndWrite(String pasteboardName, String origin) -> (Vector<String> types) Delayed38 WriteCustomData(struct WebCore::PasteboardCustomData data, String pasteboardName) -> (uint64_t changeCount) Synchronous 39 TypesSafeForDOMToReadAndWrite(String pasteboardName, String origin) -> (Vector<String> types) Synchronous 40 40 41 41 #if PLATFORM(COCOA) 42 42 # Pasteboard messages. 43 GetNumberOfFiles(String pasteboardName) -> (uint64_t numberOfFiles) Delayed44 GetPasteboardTypes(String pasteboardName) -> (Vector<String> types) Delayed45 GetPasteboardPathnamesForType(String pasteboardName, String pasteboardType) -> (Vector<String> pathnames, WebKit::SandboxExtension::HandleArray sandboxExtensions) DelayedWantsConnection46 GetPasteboardStringForType(String pasteboardName, String pasteboardType) -> (String string) Delayed47 GetPasteboardStringsForType(String pasteboardName, String pasteboardType) -> (Vector<String> strings) Delayed48 GetPasteboardBufferForType(String pasteboardName, String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) Delayed49 PasteboardCopy(String fromPasteboard, String toPasteboard) -> (uint64_t changeCount) Delayed50 GetPasteboardChangeCount(String pasteboardName) -> (uint64_t changeCount) Delayed51 GetPasteboardUniqueName() -> (String pasteboardName) Delayed52 GetPasteboardColor(String pasteboardName) -> (WebCore::Color color) Delayed53 GetPasteboardURL(String pasteboardName) -> (String urlString) Delayed54 AddPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount) Delayed55 SetPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount) Delayed56 SetPasteboardURL(struct WebCore::PasteboardURL pasteboardURL, String pasteboardName) -> (uint64_t changeCount) DelayedWantsConnection57 SetPasteboardColor(String pasteboardName, WebCore::Color color) -> (uint64_t changeCount) Delayed58 SetPasteboardStringForType(String pasteboardName, String pasteboardType, String string) -> (uint64_t changeCount) Delayed59 SetPasteboardBufferForType(String pasteboardName, String pasteboardType, WebKit::SharedMemory::Handle handle, uint64_t size) -> (uint64_t changeCount) Delayed43 GetNumberOfFiles(String pasteboardName) -> (uint64_t numberOfFiles) Synchronous 44 GetPasteboardTypes(String pasteboardName) -> (Vector<String> types) Synchronous 45 GetPasteboardPathnamesForType(String pasteboardName, String pasteboardType) -> (Vector<String> pathnames, WebKit::SandboxExtension::HandleArray sandboxExtensions) Synchronous WantsConnection 46 GetPasteboardStringForType(String pasteboardName, String pasteboardType) -> (String string) Synchronous 47 GetPasteboardStringsForType(String pasteboardName, String pasteboardType) -> (Vector<String> strings) Synchronous 48 GetPasteboardBufferForType(String pasteboardName, String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) Synchronous 49 PasteboardCopy(String fromPasteboard, String toPasteboard) -> (uint64_t changeCount) Synchronous 50 GetPasteboardChangeCount(String pasteboardName) -> (uint64_t changeCount) Synchronous 51 GetPasteboardUniqueName() -> (String pasteboardName) Synchronous 52 GetPasteboardColor(String pasteboardName) -> (WebCore::Color color) Synchronous 53 GetPasteboardURL(String pasteboardName) -> (String urlString) Synchronous 54 AddPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount) Synchronous 55 SetPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount) Synchronous 56 SetPasteboardURL(struct WebCore::PasteboardURL pasteboardURL, String pasteboardName) -> (uint64_t changeCount) Synchronous WantsConnection 57 SetPasteboardColor(String pasteboardName, WebCore::Color color) -> (uint64_t changeCount) Synchronous 58 SetPasteboardStringForType(String pasteboardName, String pasteboardType, String string) -> (uint64_t changeCount) Synchronous 59 SetPasteboardBufferForType(String pasteboardName, String pasteboardType, WebKit::SharedMemory::Handle handle, uint64_t size) -> (uint64_t changeCount) Synchronous 60 60 #endif 61 61 62 62 #if PLATFORM(GTK) 63 63 WriteToClipboard(String pasteboardName, struct WebKit::WebSelectionData pasteboardContent) 64 ReadFromClipboard(String pasteboardName) -> (struct WebKit::WebSelectionData pasteboardContent) Delayed64 ReadFromClipboard(String pasteboardName) -> (struct WebKit::WebSelectionData pasteboardContent) Synchronous 65 65 #endif 66 66 67 67 #if USE(LIBWPE) 68 GetPasteboardTypes() -> (Vector<String> types) Delayed69 ReadStringFromPasteboard(uint64_t index, String pasteboardType) -> (String string) Delayed68 GetPasteboardTypes() -> (Vector<String> types) Synchronous 69 ReadStringFromPasteboard(uint64_t index, String pasteboardType) -> (String string) Synchronous 70 70 WriteWebContentToPasteboard(struct WebCore::PasteboardWebContent content) 71 71 WriteStringToPasteboard(String pasteboardType, String text) -
trunk/Source/WebKit/UIProcess/WebProcessPool.messages.in
r242891 r243345 23 23 messages -> WebProcessPool { 24 24 HandleMessage(String messageName, WebKit::UserData messageBody) WantsConnection 25 HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) DelayedWantsConnection25 HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) Synchronous WantsConnection 26 26 27 27 DidGetStatistics(struct WebKit::StatisticsData statisticsData, uint64_t callbackID) -
trunk/Source/WebKit/UIProcess/WebProcessProxy.messages.in
r242889 r243345 27 27 DidDestroyUserGestureToken(uint64_t userGestureTokenID) 28 28 29 ShouldTerminate() -> (bool shouldTerminate) Delayed29 ShouldTerminate() -> (bool shouldTerminate) Synchronous 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 Optional<Vector<WebCore::SupportedPluginIdentifier>> supportedPluginIdentifiers) Delayed37 GetPluginProcessConnection(uint64_t pluginProcessToken) -> (IPC::Attachment connectionHandle, bool supportsAsynchronousInitialization) Delayed36 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 38 #endif 39 GetNetworkProcessConnection() -> (IPC::Attachment connectionHandle) Delayed39 GetNetworkProcessConnection() -> (IPC::Attachment connectionHandle) Synchronous 40 40 ProcessReadyToSuspend() 41 41 DidCancelProcessSuspension() -
trunk/Source/WebKit/UIProcess/WebStorage/StorageManager.messages.in
r242122 r243345 27 27 DestroyStorageMap(uint64_t storageMapID) WantsConnection 28 28 29 GetValues(struct WebCore::SecurityOriginData securityOriginData, uint64_t storageMapID, uint64_t storageMapSeed) -> (HashMap<String, String> values) DelayedWantsConnection29 GetValues(struct WebCore::SecurityOriginData securityOriginData, uint64_t storageMapID, uint64_t storageMapSeed) -> (HashMap<String, String> values) Synchronous WantsConnection 30 30 31 31 SetItem(struct WebCore::SecurityOriginData securityOriginData, uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, String key, String value, String urlString) WantsConnection -
trunk/Source/WebKit/UIProcess/mac/SecItemShimProxy.messages.in
r241441 r243345 24 24 25 25 #if ENABLE(SEC_ITEM_SHIM) 26 SecItemRequest(WebKit::SecItemRequestData request) -> (WebKit::SecItemResponseData response) Delayed26 SecItemRequest(WebKit::SecItemRequestData request) -> (WebKit::SecItemResponseData response) Synchronous 27 27 #endif 28 28 -
trunk/Source/WebKit/WebProcess/Plugins/PluginProcessConnection.messages.in
r241778 r243345 25 25 messages -> PluginProcessConnection LegacyReceiver { 26 26 # Set a global JavaScript exception. 27 SetException(String exceptionString) -> () Delayed27 SetException(String exceptionString) -> () Synchronous 28 28 } 29 29 -
trunk/Source/WebKit/WebProcess/Plugins/PluginProxy.messages.in
r241778 r243345 31 31 32 32 # Returns a PAC style string with proxies for the given URL. 33 ProxiesForURL(String urlString) -> (String proxiesString) Delayed33 ProxiesForURL(String urlString) -> (String proxiesString) Synchronous 34 34 35 35 # Returns the cookies for the given URL. 36 CookiesForURL(String urlString) -> (String cookieString) Delayed36 CookiesForURL(String urlString) -> (String cookieString) Synchronous 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) Delayed42 GetAuthenticationInfo(WebCore::ProtectionSpace protectionSpace) -> (bool returnValue, String username, String password) Synchronous 43 43 44 44 # Gets a reference to the plug-in element NPObject. 45 GetPluginElementNPObject() -> (uint64_t pluginElementNPObjectID) Delayed45 GetPluginElementNPObject() -> (uint64_t pluginElementNPObjectID) Synchronous 46 46 47 47 # Evaluates the given JavaScript string. 48 Evaluate(WebKit::NPVariantData npObjectAsVariantData, String scriptString, bool allowPopups) -> (bool returnValue, WebKit::NPVariantData resultData) Delayed48 Evaluate(WebKit::NPVariantData npObjectAsVariantData, String scriptString, bool allowPopups) -> (bool returnValue, WebKit::NPVariantData resultData) Synchronous 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) Delayed75 CreatePluginContainer() -> (uint64_t windowID) Synchronous 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) -> () Delayed85 DidCreatePlugin(bool wantsWheelEvents, uint32_t remoteLayerClientID) -> () Synchronous 86 86 87 87 # Tells the WebProcess that the plug-in failed to initialize. 88 DidFailToCreatePlugin() -> () Delayed88 DidFailToCreatePlugin() -> () Synchronous 89 89 90 90 # Tells the WebProcess that the plug-in has started or stopped playing audio. -
trunk/Source/WebKit/WebProcess/Storage/WebSWClientConnection.cpp
r241603 r243345 234 234 void WebSWClientConnection::syncTerminateWorker(ServiceWorkerIdentifier identifier) 235 235 { 236 sendSync(Messages::WebSWServerConnection::SyncTerminateWorker (identifier), Messages::WebSWServerConnection::SyncTerminateWorker::Reply());236 sendSync(Messages::WebSWServerConnection::SyncTerminateWorkerFromClient(identifier), Messages::WebSWServerConnection::SyncTerminateWorkerFromClient::Reply()); 237 237 } 238 238 -
trunk/Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.messages.in
r241603 r243345 32 32 FireActivateEvent(WebCore::ServiceWorkerIdentifier identifier) 33 33 TerminateWorker(WebCore::ServiceWorkerIdentifier identifier) 34 SyncTerminateWorker(WebCore::ServiceWorkerIdentifier identifier) -> () Delayed34 SyncTerminateWorker(WebCore::ServiceWorkerIdentifier identifier) -> () Synchronous 35 35 FindClientByIdentifierCompleted(uint64_t clientIdRequestIdentifier, Optional<WebCore::ServiceWorkerClientData> data, bool hasSecurityError) 36 36 MatchAllCompleted(uint64_t matchAllRequestIdentifier, Vector<WebCore::ServiceWorkerClientData> clientsData) -
trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in
r243326 r243345 79 79 RequestAutocorrectionData(String textForAutocorrection, WebKit::CallbackID callbackID) 80 80 ApplyAutocorrection(String correction, String originalText, WebKit::CallbackID callbackID) 81 SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied) Delayed81 SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied) Synchronous 82 82 RequestAutocorrectionContext() 83 83 RequestEvasionRectsAboveSelection() -> (Vector<WebCore::FloatRect> rects) Async 84 GetPositionInformation(struct WebKit::InteractionInformationRequest request) -> (struct WebKit::InteractionInformationAtPosition information) Delayed84 GetPositionInformation(struct WebKit::InteractionInformationRequest request) -> (struct WebKit::InteractionInformationAtPosition information) Synchronous 85 85 RequestPositionInformation(struct WebKit::InteractionInformationRequest request) 86 86 StartInteractionWithElementAtPosition(WebCore::IntPoint point) … … 124 124 125 125 #if ENABLE(IOS_TOUCH_EVENTS) 126 TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled) Delayed126 TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled) Synchronous 127 127 #endif 128 128 #if !ENABLE(IOS_TOUCH_EVENTS) && ENABLE(TOUCH_EVENTS) … … 378 378 DrawPagesToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, uint32_t first, uint32_t count, WebKit::CallbackID callbackID) 379 379 #if PLATFORM(IOS_FAMILY) 380 ComputePagesForPrintingAndDrawToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebKit::CallbackID callbackID) -> (uint32_t pageCount) Delayed380 ComputePagesForPrintingAndDrawToPDF(uint64_t frameID, struct WebKit::PrintInfo printInfo, WebKit::CallbackID callbackID) -> (uint32_t pageCount) Synchronous 381 381 #endif 382 382 #endif … … 408 408 409 409 #if PLATFORM (GTK) && HAVE(GTK_GESTURES) 410 GetCenterForZoomGesture(WebCore::IntPoint centerInViewCoordinates) -> (WebCore::IntPoint center) Delayed410 GetCenterForZoomGesture(WebCore::IntPoint centerInViewCoordinates) -> (WebCore::IntPoint center) Synchronous 411 411 #endif 412 412 … … 418 418 SetMainFrameIsScrollable(bool isScrollable) 419 419 RegisterUIProcessAccessibilityTokens(IPC::DataReference elemenToken, IPC::DataReference windowToken) 420 GetStringSelectionForPasteboard() -> (String stringValue) Delayed421 GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) Delayed422 ReadSelectionFromPasteboard(String pasteboardName) -> (bool result) Delayed420 GetStringSelectionForPasteboard() -> (String stringValue) Synchronous 421 GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) Synchronous 422 ReadSelectionFromPasteboard(String pasteboardName) -> (bool result) Synchronous 423 423 424 424 #if ENABLE(SERVICE_CONTROLS) … … 426 426 #endif 427 427 428 ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result) Delayed429 AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result) Delayed428 ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result) Synchronous 429 AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result) Synchronous 430 430 431 431 SetTextAsync(String text) -
trunk/Source/WebKit/WebProcess/WebProcess.messages.in
r243258 r243345 78 78 ReleasePageCache() 79 79 80 FetchWebsiteData(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes) -> (struct WebKit::WebsiteData websiteData) Delayed81 DeleteWebsiteData(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes, WallTime modifiedSince) -> () Delayed82 DeleteWebsiteDataForOrigins(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes, Vector<WebCore::SecurityOriginData> origins) -> () Delayed80 FetchWebsiteData(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes) -> (struct WebKit::WebsiteData websiteData) Synchronous 81 DeleteWebsiteData(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes, WallTime modifiedSince) -> () Synchronous 82 DeleteWebsiteDataForOrigins(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes, Vector<WebCore::SecurityOriginData> origins) -> () Synchronous 83 83 84 84 SetHiddenPageDOMTimerThrottlingIncreaseLimit(int milliseconds) … … 96 96 DestroyAutomationSessionProxy() 97 97 98 ProcessWillSuspendImminently() -> (bool handled) Delayed98 ProcessWillSuspendImminently() -> (bool handled) Synchronous 99 99 PrepareToSuspend() 100 100 CancelPrepareToSuspend()
Note:
See TracChangeset
for help on using the changeset viewer.