Changeset 141361 in webkit
- Timestamp:
- Jan 30, 2013 6:30:09 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 97 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r141359 r141361 1 2013-01-30 Anders Carlsson <andersca@apple.com> 2 3 Remove MessageID from MessageSender 4 https://bugs.webkit.org/show_bug.cgi?id=108413 5 6 Reviewed by Andreas Kling. 7 8 This is another step towards eliminating MessageID. 9 10 * NetworkProcess/NetworkConnectionToWebProcess.cpp: 11 (WebKit::NetworkConnectionToWebProcess::didReceiveMessage): 12 (WebKit::NetworkConnectionToWebProcess::didReceiveSyncMessage): 13 * NetworkProcess/NetworkConnectionToWebProcess.h: 14 (NetworkConnectionToWebProcess): 15 * NetworkProcess/NetworkProcess.cpp: 16 (WebKit::NetworkProcess::didReceiveMessage): 17 (WebKit::NetworkProcess::didReceiveSyncMessage): 18 * NetworkProcess/NetworkProcess.h: 19 (NetworkProcess): 20 * Platform/CoreIPC/Connection.cpp: 21 (CoreIPC::Connection::processIncomingMessage): 22 (CoreIPC::Connection::dispatchSyncMessage): 23 (CoreIPC::Connection::dispatchMessage): 24 * Platform/CoreIPC/Connection.h: 25 (QueueClient): 26 (CoreIPC::Connection::waitForAndDispatchImmediately): 27 * Platform/CoreIPC/MessageReceiver.h: 28 (MessageReceiver): 29 (CoreIPC::MessageReceiver::didReceiveSyncMessage): 30 * Platform/CoreIPC/MessageReceiverMap.cpp: 31 (CoreIPC::MessageReceiverMap::dispatchMessage): 32 (CoreIPC::MessageReceiverMap::dispatchSyncMessage): 33 * Platform/CoreIPC/MessageReceiverMap.h: 34 (MessageReceiverMap): 35 * PluginProcess/PluginProcess.cpp: 36 (WebKit::PluginProcess::didReceiveMessage): 37 * PluginProcess/PluginProcess.h: 38 (PluginProcess): 39 * PluginProcess/WebProcessConnection.cpp: 40 (WebKit::WebProcessConnection::didReceiveMessage): 41 (WebKit::WebProcessConnection::didReceiveSyncMessage): 42 * PluginProcess/WebProcessConnection.h: 43 (WebProcessConnection): 44 * Scripts/webkit2/messages.py: 45 (forward_declarations_and_headers): 46 (generate_message_handler): 47 * Scripts/webkit2/messages_unittest.py: 48 * Shared/Authentication/AuthenticationManager.cpp: 49 (WebKit::AuthenticationManager::didReceiveMessage): 50 * Shared/Authentication/AuthenticationManager.h: 51 (AuthenticationManager): 52 * Shared/ChildProcessProxy.cpp: 53 (WebKit::ChildProcessProxy::sendMessage): 54 * Shared/ChildProcessProxy.h: 55 (ChildProcessProxy): 56 (WebKit::ChildProcessProxy::send): 57 * Shared/Network/CustomProtocols/CustomProtocolManager.h: 58 (CustomProtocolManager): 59 * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm: 60 (WebKit::CustomProtocolManager::didReceiveMessage): 61 * Shared/Plugins/NPRemoteObjectMap.cpp: 62 (WebKit::NPRemoteObjectMap::didReceiveSyncMessage): 63 * Shared/Plugins/NPRemoteObjectMap.h: 64 (NPRemoteObjectMap): 65 * Shared/WebConnection.cpp: 66 (WebKit::WebConnection::didReceiveMessage): 67 * Shared/WebConnection.h: 68 (WebConnection): 69 * Shared/mac/SecItemShim.cpp: 70 (WebKit::SecItemShim::didReceiveMessageOnConnectionWorkQueue): 71 * Shared/mac/SecItemShim.h: 72 (SecItemShim): 73 * SharedWorkerProcess/SharedWorkerProcess.cpp: 74 (WebKit::SharedWorkerProcess::didReceiveMessage): 75 * SharedWorkerProcess/SharedWorkerProcess.h: 76 (SharedWorkerProcess): 77 * UIProcess/Downloads/DownloadProxy.cpp: 78 (WebKit::DownloadProxy::didReceiveMessage): 79 (WebKit::DownloadProxy::didReceiveSyncMessage): 80 * UIProcess/Downloads/DownloadProxy.h: 81 (DownloadProxy): 82 * UIProcess/DrawingAreaProxy.cpp: 83 (WebKit::DrawingAreaProxy::didReceiveCoordinatedLayerTreeHostProxyMessage): 84 * UIProcess/DrawingAreaProxy.h: 85 (DrawingAreaProxy): 86 * UIProcess/DrawingAreaProxyImpl.cpp: 87 (WebKit::DrawingAreaProxyImpl::didReceiveCoordinatedLayerTreeHostProxyMessage): 88 * UIProcess/DrawingAreaProxyImpl.h: 89 * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h: 90 (CustomProtocolManagerProxy): 91 * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm: 92 (WebKit::CustomProtocolManagerProxy::didReceiveMessage): 93 * UIProcess/Network/NetworkProcessProxy.cpp: 94 (WebKit::NetworkProcessProxy::didReceiveMessage): 95 (WebKit::NetworkProcessProxy::didReceiveSyncMessage): 96 * UIProcess/Network/NetworkProcessProxy.h: 97 (NetworkProcessProxy): 98 * UIProcess/Notifications/WebNotificationManagerProxy.h: 99 (WebNotificationManagerProxy): 100 * UIProcess/Plugins/PluginProcessProxy.cpp: 101 (WebKit::PluginProcessProxy::didReceiveMessage): 102 * UIProcess/Plugins/PluginProcessProxy.h: 103 (PluginProcessProxy): 104 * UIProcess/SharedWorkers/SharedWorkerProcessProxy.cpp: 105 (WebKit::SharedWorkerProcessProxy::didReceiveMessage): 106 * UIProcess/SharedWorkers/SharedWorkerProcessProxy.h: 107 (SharedWorkerProcessProxy): 108 * UIProcess/WebApplicationCacheManagerProxy.cpp: 109 (WebKit::WebApplicationCacheManagerProxy::didReceiveMessage): 110 * UIProcess/WebApplicationCacheManagerProxy.h: 111 (WebApplicationCacheManagerProxy): 112 * UIProcess/WebContext.cpp: 113 (WebKit::WebContext::dispatchMessage): 114 (WebKit::WebContext::dispatchSyncMessage): 115 (WebKit::WebContext::didReceiveMessage): 116 (WebKit::WebContext::didReceiveSyncMessage): 117 * UIProcess/WebContext.h: 118 (WebContext): 119 * UIProcess/WebCookieManagerProxy.cpp: 120 (WebKit::WebCookieManagerProxy::didReceiveMessage): 121 * UIProcess/WebCookieManagerProxy.h: 122 (WebCookieManagerProxy): 123 * UIProcess/WebDatabaseManagerProxy.cpp: 124 (WebKit::WebDatabaseManagerProxy::didReceiveMessage): 125 * UIProcess/WebDatabaseManagerProxy.h: 126 (WebDatabaseManagerProxy): 127 * UIProcess/WebFullScreenManagerProxy.cpp: 128 (WebKit::WebFullScreenManagerProxy::didReceiveMessage): 129 (WebKit::WebFullScreenManagerProxy::didReceiveSyncMessage): 130 * UIProcess/WebFullScreenManagerProxy.h: 131 (WebFullScreenManagerProxy): 132 * UIProcess/WebGeolocationManagerProxy.h: 133 (WebGeolocationManagerProxy): 134 * UIProcess/WebIconDatabase.h: 135 (WebIconDatabase): 136 * UIProcess/WebKeyValueStorageManagerProxy.h: 137 (WebKeyValueStorageManagerProxy): 138 * UIProcess/WebMediaCacheManagerProxy.h: 139 (WebMediaCacheManagerProxy): 140 * UIProcess/WebPageProxy.cpp: 141 (WebKit::WebPageProxy::didReceiveMessage): 142 (WebKit::WebPageProxy::didReceiveSyncMessage): 143 * UIProcess/WebPageProxy.h: 144 (WebPageProxy): 145 * UIProcess/WebProcessProxy.cpp: 146 (WebKit::WebProcessProxy::didReceiveMessage): 147 (WebKit::WebProcessProxy::didReceiveSyncMessage): 148 (WebKit::WebProcessProxy::didReceiveMessageOnConnectionWorkQueue): 149 * UIProcess/WebProcessProxy.h: 150 (WebProcessProxy): 151 * UIProcess/WebResourceCacheManagerProxy.h: 152 (WebResourceCacheManagerProxy): 153 * UIProcess/mac/RemoteLayerTreeHost.h: 154 (RemoteLayerTreeHost): 155 * UIProcess/mac/RemoteLayerTreeHost.mm: 156 (WebKit::RemoteLayerTreeHost::didReceiveMessage): 157 * UIProcess/mac/SecItemShimProxy.cpp: 158 (WebKit::SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue): 159 * UIProcess/mac/SecItemShimProxy.h: 160 (SecItemShimProxy): 161 * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp: 162 (WebKit::WebApplicationCacheManager::didReceiveMessage): 163 * WebProcess/ApplicationCache/WebApplicationCacheManager.h: 164 (WebApplicationCacheManager): 165 * WebProcess/Cookies/WebCookieManager.cpp: 166 (WebKit::WebCookieManager::didReceiveMessage): 167 * WebProcess/Cookies/WebCookieManager.h: 168 (WebCookieManager): 169 * WebProcess/FullScreen/WebFullScreenManager.cpp: 170 (WebKit::WebFullScreenManager::didReceiveMessage): 171 * WebProcess/FullScreen/WebFullScreenManager.h: 172 (WebFullScreenManager): 173 * WebProcess/Geolocation/WebGeolocationManager.h: 174 (WebGeolocationManager): 175 * WebProcess/IconDatabase/WebIconDatabaseProxy.h: 176 (WebIconDatabaseProxy): 177 * WebProcess/MediaCache/WebMediaCacheManager.h: 178 (WebMediaCacheManager): 179 * WebProcess/Network/NetworkProcessConnection.cpp: 180 (WebKit::NetworkProcessConnection::didReceiveMessage): 181 (WebKit::NetworkProcessConnection::didReceiveSyncMessage): 182 * WebProcess/Network/NetworkProcessConnection.h: 183 (NetworkProcessConnection): 184 * WebProcess/Notifications/WebNotificationManager.h: 185 (WebNotificationManager): 186 * WebProcess/Plugins/PluginProcessConnection.cpp: 187 (WebKit::PluginProcessConnection::didReceiveMessage): 188 (WebKit::PluginProcessConnection::didReceiveSyncMessage): 189 * WebProcess/Plugins/PluginProcessConnection.h: 190 (PluginProcessConnection): 191 * WebProcess/ResourceCache/WebResourceCacheManager.h: 192 (WebResourceCacheManager): 193 * WebProcess/Storage/WebKeyValueStorageManager.h: 194 (WebKeyValueStorageManager): 195 * WebProcess/WebCoreSupport/WebDatabaseManager.cpp: 196 (WebKit::WebDatabaseManager::didReceiveMessage): 197 * WebProcess/WebCoreSupport/WebDatabaseManager.h: 198 (WebDatabaseManager): 199 * WebProcess/WebPage/DrawingArea.h: 200 (DrawingArea): 201 * WebProcess/WebPage/DrawingAreaImpl.cpp: 202 (WebKit::DrawingAreaImpl::didReceiveCoordinatedLayerTreeHostMessage): 203 * WebProcess/WebPage/DrawingAreaImpl.h: 204 (DrawingAreaImpl): 205 * WebProcess/WebPage/EventDispatcher.cpp: 206 (WebKit::EventDispatcher::didReceiveMessageOnConnectionWorkQueue): 207 * WebProcess/WebPage/EventDispatcher.h: 208 (EventDispatcher): 209 * WebProcess/WebPage/LayerTreeHost.h: 210 (LayerTreeHost): 211 * WebProcess/WebPage/WebPage.cpp: 212 (WebKit::WebPage::didReceiveMessage): 213 (WebKit::WebPage::didReceiveSyncMessage): 214 * WebProcess/WebPage/WebPage.h: 215 (WebPage): 216 * WebProcess/WebPage/WebPageGroupProxy.h: 217 (WebPageGroupProxy): 218 * WebProcess/WebProcess.cpp: 219 (WebKit::WebProcess::didReceiveSyncMessage): 220 (WebKit::WebProcess::didReceiveMessage): 221 (WebKit::WebProcess::didReceiveMessageOnConnectionWorkQueue): 222 * WebProcess/WebProcess.h: 223 (WebProcess): 224 1 225 2013-01-30 Tim Horton <timothy_horton@apple.com> 2 226 -
trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp
r141322 r141361 61 61 } 62 62 63 void NetworkConnectionToWebProcess::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)63 void NetworkConnectionToWebProcess::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 64 64 { 65 65 if (decoder.messageReceiverName() == Messages::NetworkConnectionToWebProcess::messageReceiverName()) { … … 71 71 } 72 72 73 void NetworkConnectionToWebProcess::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& reply)73 void NetworkConnectionToWebProcess::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& reply) 74 74 { 75 75 if (decoder.messageReceiverName() == Messages::NetworkConnectionToWebProcess::messageReceiverName()) { -
trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.h
r141322 r141361 60 60 61 61 // CoreIPC::Connection::Client 62 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);63 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&);62 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 63 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&); 64 64 virtual void didClose(CoreIPC::Connection*); 65 65 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference messageReceiverName, CoreIPC::StringReference messageName); -
trunk/Source/WebKit2/NetworkProcess/NetworkProcess.cpp
r141322 r141361 96 96 } 97 97 98 void NetworkProcess::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)99 { 100 if (messageReceiverMap().dispatchMessage(connection, messageID,decoder))98 void NetworkProcess::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 99 { 100 if (messageReceiverMap().dispatchMessage(connection, decoder)) 101 101 return; 102 102 … … 104 104 } 105 105 106 void NetworkProcess::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)107 { 108 messageReceiverMap().dispatchSyncMessage(connection, messageID,decoder, replyEncoder);106 void NetworkProcess::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 107 { 108 messageReceiverMap().dispatchSyncMessage(connection, decoder, replyEncoder); 109 109 } 110 110 -
trunk/Source/WebKit2/NetworkProcess/NetworkProcess.h
r141322 r141361 85 85 86 86 // CoreIPC::Connection::Client 87 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;88 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&);87 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 88 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&); 89 89 virtual void didClose(CoreIPC::Connection*) OVERRIDE; 90 90 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference messageReceiverName, CoreIPC::StringReference messageName) OVERRIDE; -
trunk/Source/WebKit2/Platform/CoreIPC/Connection.cpp
r141209 r141361 602 602 603 603 MessageDecoder* decoder = incomingMessage.arguments(); 604 m_connectionQueueClients[i]->didReceiveMessageOnConnectionWorkQueue(this, incomingMessage.messageID(),*decoder, didHandleMessage);604 m_connectionQueueClients[i]->didReceiveMessageOnConnectionWorkQueue(this, *decoder, didHandleMessage); 605 605 if (didHandleMessage) { 606 606 // A connection queue client handled the message, our work here is done. … … 697 697 698 698 // Hand off both the decoder and encoder to the client. 699 m_client->didReceiveSyncMessage(this, messageID,decoder, replyEncoder);699 m_client->didReceiveSyncMessage(this, decoder, replyEncoder); 700 700 701 701 // FIXME: If the message was invalid, we should send back a SyncMessageError. … … 726 726 void Connection::dispatchMessage(MessageID messageID, MessageDecoder& decoder) 727 727 { 728 m_client->didReceiveMessage(this, messageID,decoder);728 m_client->didReceiveMessage(this, decoder); 729 729 } 730 730 -
trunk/Source/WebKit2/Platform/CoreIPC/Connection.h
r141191 r141361 32 32 #include "MessageDecoder.h" 33 33 #include "MessageEncoder.h" 34 #include "MessageID.h" 34 35 #include "MessageReceiver.h" 35 36 #include "WorkQueue.h" … … 95 96 class QueueClient { 96 97 public: 97 virtual void didReceiveMessageOnConnectionWorkQueue(Connection*, Message ID, MessageDecoder&, bool& didHandleMessage) = 0;98 virtual void didReceiveMessageOnConnectionWorkQueue(Connection*, MessageDecoder&, bool& didHandleMessage) = 0; 98 99 99 100 protected: … … 435 436 436 437 ASSERT(decoder->destinationID() == destinationID); 437 m_client->didReceiveMessage(this, MessageID(),*decoder);438 m_client->didReceiveMessage(this, *decoder); 438 439 return true; 439 440 } -
trunk/Source/WebKit2/Platform/CoreIPC/MessageReceiver.h
r131807 r141361 27 27 #define MessageReceiver_h 28 28 29 #include "MessageID.h"30 29 #include <wtf/Assertions.h> 31 30 #include <wtf/OwnPtr.h> … … 41 40 virtual ~MessageReceiver() { } 42 41 43 virtual void didReceiveMessage(Connection*, Message ID, MessageDecoder&) = 0;44 virtual void didReceiveSyncMessage(Connection*, Message ID, MessageDecoder&, OwnPtr<MessageEncoder>&)42 virtual void didReceiveMessage(Connection*, MessageDecoder&) = 0; 43 virtual void didReceiveSyncMessage(Connection*, MessageDecoder&, OwnPtr<MessageEncoder>&) 45 44 { 46 45 ASSERT_NOT_REACHED(); -
trunk/Source/WebKit2/Platform/CoreIPC/MessageReceiverMap.cpp
r132386 r141361 74 74 } 75 75 76 bool MessageReceiverMap::dispatchMessage(Connection* connection, Message ID messageID, MessageDecoder& decoder)76 bool MessageReceiverMap::dispatchMessage(Connection* connection, MessageDecoder& decoder) 77 77 { 78 78 if (MessageReceiver* messageReceiver = m_globalMessageReceivers.get(decoder.messageReceiverName())) { 79 79 ASSERT(!decoder.destinationID()); 80 80 81 messageReceiver->didReceiveMessage(connection, messageID,decoder);81 messageReceiver->didReceiveMessage(connection, decoder); 82 82 return true; 83 83 } 84 84 85 85 if (MessageReceiver* messageReceiver = m_messageReceivers.get(std::make_pair(decoder.messageReceiverName(), decoder.destinationID()))) { 86 messageReceiver->didReceiveMessage(connection, messageID,decoder);86 messageReceiver->didReceiveMessage(connection, decoder); 87 87 return true; 88 88 } … … 91 91 } 92 92 93 bool MessageReceiverMap::dispatchSyncMessage(Connection* connection, Message ID messageID, MessageDecoder& decoder, OwnPtr<MessageEncoder>& replyEncoder)93 bool MessageReceiverMap::dispatchSyncMessage(Connection* connection, MessageDecoder& decoder, OwnPtr<MessageEncoder>& replyEncoder) 94 94 { 95 95 if (MessageReceiver* messageReceiver = m_globalMessageReceivers.get(decoder.messageReceiverName())) { 96 96 ASSERT(!decoder.destinationID()); 97 97 98 messageReceiver->didReceiveSyncMessage(connection, messageID,decoder, replyEncoder);98 messageReceiver->didReceiveSyncMessage(connection, decoder, replyEncoder); 99 99 return true; 100 100 } 101 101 102 102 if (MessageReceiver* messageReceiver = m_messageReceivers.get(std::make_pair(decoder.messageReceiverName(), decoder.destinationID()))) { 103 messageReceiver->didReceiveSyncMessage(connection, messageID,decoder, replyEncoder);103 messageReceiver->didReceiveSyncMessage(connection, decoder, replyEncoder); 104 104 return true; 105 105 } -
trunk/Source/WebKit2/Platform/CoreIPC/MessageReceiverMap.h
r132386 r141361 27 27 #define MessageReceiverMap_h 28 28 29 #include "MessageID.h"30 29 #include "StringReference.h" 31 30 #include <wtf/HashMap.h> … … 52 51 void invalidate(); 53 52 54 bool dispatchMessage(Connection*, Message ID, MessageDecoder&);55 bool dispatchSyncMessage(Connection*, Message ID, MessageDecoder&, OwnPtr<MessageEncoder>&);53 bool dispatchMessage(Connection*, MessageDecoder&); 54 bool dispatchSyncMessage(Connection*, MessageDecoder&, OwnPtr<MessageEncoder>&); 56 55 57 56 private: -
trunk/Source/WebKit2/PluginProcess/PluginProcess.cpp
r141322 r141361 131 131 } 132 132 133 void PluginProcess::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)133 void PluginProcess::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 134 134 { 135 135 didReceivePluginProcessMessage(connection, decoder); -
trunk/Source/WebKit2/PluginProcess/PluginProcess.h
r141322 r141361 77 77 78 78 // CoreIPC::Connection::Client 79 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;79 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 80 80 virtual void didClose(CoreIPC::Connection*) OVERRIDE; 81 81 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference messageReceiverName, CoreIPC::StringReference messageName) OVERRIDE; -
trunk/Source/WebKit2/PluginProcess/WebProcessConnection.cpp
r141322 r141361 117 117 } 118 118 119 void WebProcessConnection::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)119 void WebProcessConnection::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 120 120 { 121 121 ConnectionStack::CurrentConnectionPusher currentConnection(ConnectionStack::shared(), connection); … … 139 139 } 140 140 141 void WebProcessConnection::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)141 void WebProcessConnection::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 142 142 { 143 143 ConnectionStack::CurrentConnectionPusher currentConnection(ConnectionStack::shared(), connection); … … 151 151 152 152 if (decoder.messageReceiverName() == Messages::NPObjectMessageReceiver::messageReceiverName()) { 153 m_npRemoteObjectMap->didReceiveSyncMessage(connection, messageID,decoder, replyEncoder);153 m_npRemoteObjectMap->didReceiveSyncMessage(connection, decoder, replyEncoder); 154 154 return; 155 155 } -
trunk/Source/WebKit2/PluginProcess/WebProcessConnection.h
r141322 r141361 63 63 64 64 // CoreIPC::Connection::Client 65 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;66 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE;65 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 66 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE; 67 67 virtual void didClose(CoreIPC::Connection*); 68 68 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference messageReceiverName, CoreIPC::StringReference messageName); -
trunk/Source/WebKit2/Scripts/webkit2/messages.py
r141322 r141361 224 224 '"Arguments.h"', 225 225 '"MessageEncoder.h"', 226 '"MessageID.h"',227 226 '"StringReference.h"', 228 227 ]) … … 548 547 result.append('void %s::didReceive%sMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder& decoder)\n' % (receiver.name, receiver.name)) 549 548 else: 550 result.append('void %s::didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder& decoder)\n' % (receiver.name))549 result.append('void %s::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder& decoder)\n' % (receiver.name)) 551 550 552 551 result.append('{\n') … … 560 559 result.append('void %s::didReceiveSync%sMessage(CoreIPC::Connection*%s, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)\n' % (receiver.name, receiver.name, ' connection' if sync_delayed_messages else '')) 561 560 else: 562 result.append('void %s::didReceiveSyncMessage(CoreIPC::Connection*%s, CoreIPC::MessageID,CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)\n' % (receiver.name, ' connection' if sync_delayed_messages else ''))561 result.append('void %s::didReceiveSyncMessage(CoreIPC::Connection*%s, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)\n' % (receiver.name, ' connection' if sync_delayed_messages else '')) 563 562 result.append('{\n') 564 563 result += [sync_message_statement(receiver, message) for message in sync_messages] -
trunk/Source/WebKit2/Scripts/webkit2/messages_unittest.py
r141322 r141361 317 317 #include "Connection.h" 318 318 #include "MessageEncoder.h" 319 #include "MessageID.h"320 319 #include "Plugin.h" 321 320 #include "StringReference.h" -
trunk/Source/WebKit2/Shared/Authentication/AuthenticationManager.cpp
r141322 r141361 65 65 } 66 66 67 void AuthenticationManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)67 void AuthenticationManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 68 68 { 69 69 didReceiveAuthenticationManagerMessage(connection, decoder); -
trunk/Source/WebKit2/Shared/Authentication/AuthenticationManager.h
r141322 r141361 66 66 private: 67 67 // CoreIPC::MessageReceiver 68 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;68 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 69 69 void didReceiveAuthenticationManagerMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 70 70 -
trunk/Source/WebKit2/Shared/ChildProcessProxy.cpp
r141191 r141361 76 76 } 77 77 78 bool ChildProcessProxy::sendMessage( CoreIPC::MessageID messageID,PassOwnPtr<CoreIPC::MessageEncoder> encoder, unsigned messageSendFlags)78 bool ChildProcessProxy::sendMessage(PassOwnPtr<CoreIPC::MessageEncoder> encoder, unsigned messageSendFlags) 79 79 { 80 80 // If we're waiting for the web process to launch, we need to stash away the messages so we can send them once we have 81 81 // a CoreIPC connection. 82 82 if (isLaunching()) { 83 m_pendingMessages.append(std::make_pair(CoreIPC::Connection::OutgoingMessage( messageID, encoder), messageSendFlags));83 m_pendingMessages.append(std::make_pair(CoreIPC::Connection::OutgoingMessage(CoreIPC::MessageID(), encoder), messageSendFlags)); 84 84 return true; 85 85 } -
trunk/Source/WebKit2/Shared/ChildProcessProxy.h
r141183 r141361 69 69 virtual void getLaunchOptions(ProcessLauncher::LaunchOptions&) = 0; 70 70 71 bool sendMessage( CoreIPC::MessageID,PassOwnPtr<CoreIPC::MessageEncoder>, unsigned messageSendFlags);71 bool sendMessage(PassOwnPtr<CoreIPC::MessageEncoder>, unsigned messageSendFlags); 72 72 73 73 Vector<std::pair<CoreIPC::Connection::OutgoingMessage, unsigned> > m_pendingMessages; … … 85 85 encoder->encode(message); 86 86 87 return sendMessage( CoreIPC::MessageID(),encoder.release(), messageSendFlags);87 return sendMessage(encoder.release(), messageSendFlags); 88 88 } 89 89 -
trunk/Source/WebKit2/Shared/Network/CustomProtocols/CustomProtocolManager.h
r141322 r141361 84 84 85 85 // CoreIPC::MessageReceiver 86 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;86 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 87 87 void didReceiveCustomProtocolManagerMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 88 88 -
trunk/Source/WebKit2/Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm
r141322 r141361 176 176 } 177 177 178 void CustomProtocolManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)178 void CustomProtocolManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 179 179 { 180 180 didReceiveCustomProtocolManagerMessage(connection, decoder); -
trunk/Source/WebKit2/Shared/Plugins/NPRemoteObjectMap.cpp
r141322 r141361 228 228 } 229 229 230 void NPRemoteObjectMap::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)230 void NPRemoteObjectMap::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 231 231 { 232 232 NPObjectMessageReceiver* messageReceiver = m_registeredNPObjects.get(decoder.destinationID()); -
trunk/Source/WebKit2/Shared/Plugins/NPRemoteObjectMap.h
r131807 r141361 65 65 void pluginDestroyed(Plugin*); 66 66 67 void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&);67 void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&); 68 68 69 69 private: -
trunk/Source/WebKit2/Shared/WebConnection.cpp
r141322 r141361 64 64 } 65 65 66 void WebConnection::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)66 void WebConnection::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 67 67 { 68 68 didReceiveWebConnectionMessage(connection, decoder); -
trunk/Source/WebKit2/Shared/WebConnection.h
r141322 r141361 57 57 58 58 // CoreIPC::MessageReceiver 59 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;59 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 60 60 61 61 // Implemented in generated WebConnectionMessageReceiver.cpp -
trunk/Source/WebKit2/Shared/mac/SecItemShim.cpp
r141322 r141361 133 133 } 134 134 135 void SecItemShim::didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, bool& didHandleMessage)135 void SecItemShim::didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, bool& didHandleMessage) 136 136 { 137 137 if (decoder.messageReceiverName() == Messages::SecItemShim::messageReceiverName()) { -
trunk/Source/WebKit2/Shared/mac/SecItemShim.h
r141322 r141361 47 47 48 48 // QueueClient 49 virtual void didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, bool& didHandleMessage) OVERRIDE;49 virtual void didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection*, CoreIPC::MessageDecoder&, bool& didHandleMessage) OVERRIDE; 50 50 51 51 // Implemented in generated SecItemShimMessageReceiver.cpp. -
trunk/Source/WebKit2/SharedWorkerProcess/SharedWorkerProcess.cpp
r141322 r141361 95 95 } 96 96 97 void SharedWorkerProcess::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)97 void SharedWorkerProcess::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 98 98 { 99 99 didReceiveSharedWorkerProcessMessage(connection, decoder); -
trunk/Source/WebKit2/SharedWorkerProcess/SharedWorkerProcess.h
r141322 r141361 52 52 53 53 // CoreIPC::Connection::Client 54 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);54 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 55 55 virtual void didClose(CoreIPC::Connection*); 56 56 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference messageReceiverName, CoreIPC::StringReference messageName) OVERRIDE; -
trunk/Source/WebKit2/UIProcess/Downloads/DownloadProxy.cpp
r141322 r141361 98 98 } 99 99 100 void DownloadProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)100 void DownloadProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 101 101 { 102 102 didReceiveDownloadProxyMessage(connection, decoder); 103 103 } 104 104 105 void DownloadProxy::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)105 void DownloadProxy::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 106 106 { 107 107 didReceiveSyncDownloadProxyMessage(connection, decoder, replyEncoder); -
trunk/Source/WebKit2/UIProcess/Downloads/DownloadProxy.h
r141322 r141361 76 76 77 77 // CoreIPC::MessageReceiver 78 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;79 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE;78 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 79 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE; 80 80 81 81 // Message handlers. -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxy.cpp
r137358 r141361 70 70 } 71 71 72 void DrawingAreaProxy::didReceiveCoordinatedLayerTreeHostProxyMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&)72 void DrawingAreaProxy::didReceiveCoordinatedLayerTreeHostProxyMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) 73 73 { 74 74 } -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxy.h
r141322 r141361 88 88 CoordinatedLayerTreeHostProxy* coordinatedLayerTreeHostProxy() const { return m_coordinatedLayerTreeHostProxy.get(); } 89 89 virtual void setVisibleContentsRect(const WebCore::FloatRect& /* visibleContentsRect */, const WebCore::FloatPoint& /* trajectoryVector */) { } 90 virtual void didReceiveCoordinatedLayerTreeHostProxyMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);90 virtual void didReceiveCoordinatedLayerTreeHostProxyMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 91 91 92 92 WebPageProxy* page() { return m_webPageProxy; } -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.cpp
r141310 r141361 371 371 372 372 #if USE(COORDINATED_GRAPHICS) 373 void DrawingAreaProxyImpl::didReceiveCoordinatedLayerTreeHostProxyMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)373 void DrawingAreaProxyImpl::didReceiveCoordinatedLayerTreeHostProxyMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 374 374 { 375 375 if (m_coordinatedLayerTreeHostProxy) -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.h
r141310 r141361 85 85 #if USE(COORDINATED_GRAPHICS) 86 86 virtual void setVisibleContentsRect(const WebCore::FloatRect& visibleContentsRect, const WebCore::FloatPoint& trajectory) OVERRIDE; 87 void didReceiveCoordinatedLayerTreeHostProxyMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);87 void didReceiveCoordinatedLayerTreeHostProxyMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 88 88 #endif 89 89 #else -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h
r141322 r141361 54 54 explicit CustomProtocolManagerProxy(ChildProcessProxy*); 55 55 56 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);56 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 57 57 void startLoading(uint64_t customProtocolID, const WebCore::ResourceRequest&); 58 58 void stopLoading(uint64_t customProtocolID); -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm
r141322 r141361 128 128 } 129 129 130 void CustomProtocolManagerProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)130 void CustomProtocolManagerProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 131 131 { 132 132 didReceiveCustomProtocolManagerProxyMessage(connection, decoder); -
trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp
r141322 r141361 110 110 } 111 111 112 void NetworkProcessProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)113 { 114 if (m_messageReceiverMap.dispatchMessage(connection, messageID,decoder))115 return; 116 117 if (m_webContext->dispatchMessage(connection, messageID,decoder))112 void NetworkProcessProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 113 { 114 if (m_messageReceiverMap.dispatchMessage(connection, decoder)) 115 return; 116 117 if (m_webContext->dispatchMessage(connection, decoder)) 118 118 return; 119 119 120 120 #if ENABLE(CUSTOM_PROTOCOLS) 121 121 if (decoder.messageReceiverName() == Messages::CustomProtocolManagerProxy::messageReceiverName()) { 122 m_customProtocolManagerProxy.didReceiveMessage(connection, messageID,decoder);122 m_customProtocolManagerProxy.didReceiveMessage(connection, decoder); 123 123 return; 124 124 } … … 128 128 } 129 129 130 void NetworkProcessProxy::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)131 { 132 if (m_messageReceiverMap.dispatchSyncMessage(connection, messageID,decoder, replyEncoder))130 void NetworkProcessProxy::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 131 { 132 if (m_messageReceiverMap.dispatchSyncMessage(connection, decoder, replyEncoder)) 133 133 return; 134 134 -
trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.h
r141322 r141361 73 73 74 74 // CoreIPC::Connection::Client 75 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;76 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE;75 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 76 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE; 77 77 virtual void didClose(CoreIPC::Connection*) OVERRIDE; 78 78 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference messageReceiverName, CoreIPC::StringReference messageName) OVERRIDE; -
trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationManagerProxy.h
r140607 r141361 78 78 79 79 // CoreIPC::MessageReceiver 80 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;80 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 81 81 82 82 // Message handlers -
trunk/Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp
r141322 r141361 158 158 } 159 159 160 void PluginProcessProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)160 void PluginProcessProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 161 161 { 162 162 didReceivePluginProcessProxyMessage(connection, decoder); -
trunk/Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.h
r141322 r141361 106 106 107 107 // CoreIPC::Connection::Client 108 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;108 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 109 109 virtual void didClose(CoreIPC::Connection*) OVERRIDE; 110 110 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference messageReceiverName, CoreIPC::StringReference messageName) OVERRIDE; -
trunk/Source/WebKit2/UIProcess/SharedWorkers/SharedWorkerProcessProxy.cpp
r141322 r141361 116 116 } 117 117 118 void SharedWorkerProcessProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)118 void SharedWorkerProcessProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 119 119 { 120 120 didReceiveSharedWorkerProcessProxyMessage(connection, decoder); -
trunk/Source/WebKit2/UIProcess/SharedWorkers/SharedWorkerProcessProxy.h
r141322 r141361 69 69 70 70 // CoreIPC::Connection::Client 71 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);71 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 72 72 virtual void didClose(CoreIPC::Connection*); 73 73 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference messageReceiverName, CoreIPC::StringReference messageName); -
trunk/Source/WebKit2/UIProcess/WebApplicationCacheManagerProxy.cpp
r141322 r141361 82 82 } 83 83 84 void WebApplicationCacheManagerProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)84 void WebApplicationCacheManagerProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 85 85 { 86 86 didReceiveWebApplicationCacheManagerProxyMessage(connection, decoder); -
trunk/Source/WebKit2/UIProcess/WebApplicationCacheManagerProxy.h
r141322 r141361 79 79 80 80 // CoreIPC::MessageReceiver 81 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;81 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 82 82 void didReceiveWebApplicationCacheManagerProxyMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 83 83 -
trunk/Source/WebKit2/UIProcess/WebContext.cpp
r141322 r141361 882 882 } 883 883 884 bool WebContext::dispatchMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)885 { 886 return m_messageReceiverMap.dispatchMessage(connection, messageID,decoder);887 } 888 889 bool WebContext::dispatchSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)890 { 891 return m_messageReceiverMap.dispatchSyncMessage(connection, messageID,decoder, replyEncoder);892 } 893 894 void WebContext::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)884 bool WebContext::dispatchMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 885 { 886 return m_messageReceiverMap.dispatchMessage(connection, decoder); 887 } 888 889 bool WebContext::dispatchSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 890 { 891 return m_messageReceiverMap.dispatchSyncMessage(connection, decoder, replyEncoder); 892 } 893 894 void WebContext::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 895 895 { 896 896 if (decoder.messageReceiverName() == Messages::WebContext::messageReceiverName()) { … … 916 916 } 917 917 918 void WebContext::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)918 void WebContext::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 919 919 { 920 920 if (decoder.messageReceiverName() == Messages::WebContext::messageReceiverName()) { -
trunk/Source/WebKit2/UIProcess/WebContext.h
r141322 r141361 109 109 void removeMessageReceiver(CoreIPC::StringReference messageReceiverName, uint64_t destinationID); 110 110 111 bool dispatchMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);112 bool dispatchSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&);111 bool dispatchMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 112 bool dispatchSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&); 113 113 114 114 void initializeClient(const WKContextClient*); … … 177 177 178 178 // MessageReceiver. 179 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;180 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE;179 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 180 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE; 181 181 182 182 void setCacheModel(CacheModel); -
trunk/Source/WebKit2/UIProcess/WebCookieManagerProxy.cpp
r141322 r141361 102 102 // CoreIPC::MessageReceiver 103 103 104 void WebCookieManagerProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)104 void WebCookieManagerProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 105 105 { 106 106 didReceiveWebCookieManagerProxyMessage(connection, decoder); -
trunk/Source/WebKit2/UIProcess/WebCookieManagerProxy.h
r141322 r141361 102 102 103 103 // CoreIPC::MessageReceiver 104 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;104 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 105 105 void didReceiveWebCookieManagerProxyMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 106 106 -
trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp
r141322 r141361 143 143 // CoreIPC::MessageReceiver 144 144 145 void WebDatabaseManagerProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)145 void WebDatabaseManagerProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 146 146 { 147 147 didReceiveWebDatabaseManagerProxyMessage(connection, decoder); -
trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.h
r141322 r141361 90 90 91 91 // CoreIPC::MessageReceiver 92 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;92 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 93 93 void didReceiveWebDatabaseManagerProxyMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 94 94 -
trunk/Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp
r141322 r141361 55 55 } 56 56 57 void WebFullScreenManagerProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)57 void WebFullScreenManagerProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 58 58 { 59 59 didReceiveWebFullScreenManagerProxyMessage(connection, decoder); 60 60 } 61 61 62 void WebFullScreenManagerProxy::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)62 void WebFullScreenManagerProxy::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 63 63 { 64 64 didReceiveSyncWebFullScreenManagerProxyMessage(connection, decoder, replyEncoder); -
trunk/Source/WebKit2/UIProcess/WebFullScreenManagerProxy.h
r141322 r141361 77 77 void close(); 78 78 79 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);80 void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&);79 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 80 void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&); 81 81 82 82 void willEnterFullScreen(); -
trunk/Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h
r140607 r141361 67 67 68 68 // CoreIPC::MessageReceiver 69 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;69 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 70 70 71 71 void startUpdating(); -
trunk/Source/WebKit2/UIProcess/WebIconDatabase.h
r140607 r141361 104 104 105 105 // CoreIPC::MessageReceiver 106 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;107 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE;106 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 107 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE; 108 108 109 109 void notifyIconDataReadyForPageURL(const String&); -
trunk/Source/WebKit2/UIProcess/WebKeyValueStorageManagerProxy.h
r140607 r141361 76 76 77 77 // CoreIPC::MessageReceiver 78 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;78 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 79 79 80 80 HashMap<uint64_t, RefPtr<ArrayCallback> > m_arrayCallbacks; -
trunk/Source/WebKit2/UIProcess/WebMediaCacheManagerProxy.h
r140607 r141361 74 74 75 75 // CoreIPC::MessageReceiver 76 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;76 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 77 77 78 78 HashMap<uint64_t, RefPtr<ArrayCallback> > m_arrayCallbacks; -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r141322 r141361 1926 1926 } 1927 1927 1928 void WebPageProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)1928 void WebPageProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 1929 1929 { 1930 1930 if (decoder.messageReceiverName() == Messages::DrawingAreaProxy::messageReceiverName()) { … … 1950 1950 #if ENABLE(FULLSCREEN_API) 1951 1951 if (decoder.messageReceiverName() == Messages::WebFullScreenManagerProxy::messageReceiverName()) { 1952 fullScreenManager()->didReceiveMessage(connection, messageID,decoder);1952 fullScreenManager()->didReceiveMessage(connection, decoder); 1953 1953 return; 1954 1954 } … … 1958 1958 } 1959 1959 1960 void WebPageProxy::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)1960 void WebPageProxy::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 1961 1961 { 1962 1962 #if ENABLE(INSPECTOR) … … 1970 1970 #if ENABLE(FULLSCREEN_API) 1971 1971 if (decoder.messageReceiverName() == Messages::WebFullScreenManagerProxy::messageReceiverName()) { 1972 fullScreenManager()->didReceiveSyncMessage(connection, messageID,decoder, replyEncoder);1972 fullScreenManager()->didReceiveSyncMessage(connection, decoder, replyEncoder); 1973 1973 return; 1974 1974 } -
trunk/Source/WebKit2/UIProcess/WebPageProxy.h
r141322 r141361 601 601 #endif 602 602 603 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);604 void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&);603 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 604 void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&); 605 605 606 606 void processDidBecomeUnresponsive(); -
trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp
r141322 r141361 416 416 #endif // ENABLE(NETWORK_PROCESS) 417 417 418 void WebProcessProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)419 { 420 if (m_messageReceiverMap.dispatchMessage(connection, messageID,decoder))421 return; 422 423 if (m_context->dispatchMessage(connection, messageID,decoder))418 void WebProcessProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 419 { 420 if (m_messageReceiverMap.dispatchMessage(connection, decoder)) 421 return; 422 423 if (m_context->dispatchMessage(connection, decoder)) 424 424 return; 425 425 … … 434 434 ASSERT(!context()->usesNetworkProcess()); 435 435 #endif 436 m_customProtocolManagerProxy.didReceiveMessage(connection, messageID,decoder);436 m_customProtocolManagerProxy.didReceiveMessage(connection, decoder); 437 437 return; 438 438 } … … 447 447 return; 448 448 449 pageProxy->didReceiveMessage(connection, messageID,decoder);450 } 451 452 void WebProcessProxy::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)453 { 454 if (m_messageReceiverMap.dispatchSyncMessage(connection, messageID,decoder, replyEncoder))455 return; 456 457 if (m_context->dispatchSyncMessage(connection, messageID,decoder, replyEncoder))449 pageProxy->didReceiveMessage(connection, decoder); 450 } 451 452 void WebProcessProxy::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 453 { 454 if (m_messageReceiverMap.dispatchSyncMessage(connection, decoder, replyEncoder)) 455 return; 456 457 if (m_context->dispatchSyncMessage(connection, decoder, replyEncoder)) 458 458 return; 459 459 … … 471 471 return; 472 472 473 pageProxy->didReceiveSyncMessage(connection, messageID,decoder, replyEncoder);474 } 475 476 void WebProcessProxy::didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, bool& didHandleMessage)473 pageProxy->didReceiveSyncMessage(connection, decoder, replyEncoder); 474 } 475 476 void WebProcessProxy::didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, bool& didHandleMessage) 477 477 { 478 478 if (decoder.messageReceiverName() == Messages::WebProcessProxy::messageReceiverName()) -
trunk/Source/WebKit2/UIProcess/WebProcessProxy.h
r141322 r141361 161 161 // CoreIPC::Connection::Client 162 162 friend class WebConnectionToWebProcess; 163 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;164 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE;163 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 164 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE; 165 165 virtual void didClose(CoreIPC::Connection*) OVERRIDE; 166 166 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference messageReceiverName, CoreIPC::StringReference messageName) OVERRIDE; 167 167 168 168 // CoreIPC::Connection::QueueClient 169 virtual void didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, bool& didHandleMessage) OVERRIDE;169 virtual void didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection*, CoreIPC::MessageDecoder&, bool& didHandleMessage) OVERRIDE; 170 170 171 171 // ResponsivenessTimer::Client -
trunk/Source/WebKit2/UIProcess/WebResourceCacheManagerProxy.h
r140607 r141361 74 74 75 75 // CoreIPC::MessageReceiver 76 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;76 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 77 77 78 78 // Message handlers. -
trunk/Source/WebKit2/UIProcess/mac/RemoteLayerTreeHost.h
r141322 r141361 43 43 private: 44 44 // CoreIPC::MessageReceiver. 45 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;45 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 46 46 47 47 // WebCore::GraphicsLayerClient. -
trunk/Source/WebKit2/UIProcess/mac/RemoteLayerTreeHost.mm
r141322 r141361 49 49 } 50 50 51 void RemoteLayerTreeHost::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder&decoder)51 void RemoteLayerTreeHost::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder&decoder) 52 52 { 53 53 didReceiveRemoteLayerTreeHostMessage(connection, decoder); -
trunk/Source/WebKit2/UIProcess/mac/SecItemShimProxy.cpp
r141322 r141361 107 107 } 108 108 109 void SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, bool& didHandleMessage)109 void SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, bool& didHandleMessage) 110 110 { 111 111 if (decoder.messageReceiverName() == Messages::SecItemShimProxy::messageReceiverName()) { -
trunk/Source/WebKit2/UIProcess/mac/SecItemShimProxy.h
r141322 r141361 44 44 45 45 // QueueClient 46 virtual void didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, bool& didHandleMessage);46 virtual void didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection*, CoreIPC::MessageDecoder&, bool& didHandleMessage); 47 47 48 48 // Implemented in generated SecItemShimProxyMessageReceiver.cpp. -
trunk/Source/WebKit2/WebProcess/ApplicationCache/WebApplicationCacheManager.cpp
r141322 r141361 53 53 } 54 54 55 void WebApplicationCacheManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)55 void WebApplicationCacheManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 56 56 { 57 57 didReceiveWebApplicationCacheManagerMessage(connection, decoder); -
trunk/Source/WebKit2/WebProcess/ApplicationCache/WebApplicationCacheManager.h
r141322 r141361 51 51 void deleteEntriesForOrigin(const SecurityOriginData&); 52 52 53 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;53 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 54 54 void didReceiveWebApplicationCacheManagerMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 55 55 -
trunk/Source/WebKit2/WebProcess/Cookies/WebCookieManager.cpp
r141322 r141361 59 59 } 60 60 61 void WebCookieManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)61 void WebCookieManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 62 62 { 63 63 didReceiveWebCookieManagerMessage(connection, decoder); -
trunk/Source/WebKit2/WebProcess/Cookies/WebCookieManager.h
r141322 r141361 70 70 void dispatchCookiesDidChange(); 71 71 72 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;72 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 73 73 void didReceiveWebCookieManagerMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 74 74 -
trunk/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp
r141322 r141361 78 78 } 79 79 80 void WebFullScreenManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)80 void WebFullScreenManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 81 81 { 82 82 didReceiveWebFullScreenManagerMessage(connection, decoder); -
trunk/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.h
r141322 r141361 53 53 virtual ~WebFullScreenManager(); 54 54 55 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);55 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 56 56 57 57 bool supportsFullScreen(bool withKeyboard); -
trunk/Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.h
r140607 r141361 59 59 private: 60 60 // CoreIPC::MessageReceiver 61 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;61 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 62 62 63 63 void didChangePosition(const WebGeolocationPosition::Data&); -
trunk/Source/WebKit2/WebProcess/IconDatabase/WebIconDatabaseProxy.h
r140607 r141361 65 65 private: 66 66 // CoreIPC::MessageReceiver 67 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;67 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 68 68 69 69 // Callbacks from the UIProcess -
trunk/Source/WebKit2/WebProcess/MediaCache/WebMediaCacheManager.h
r140607 r141361 45 45 46 46 private: 47 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;47 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 48 48 49 49 void getHostnamesWithMediaCache(uint64_t callbackID); -
trunk/Source/WebKit2/WebProcess/Network/NetworkProcessConnection.cpp
r141322 r141361 52 52 } 53 53 54 void NetworkProcessConnection::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)54 void NetworkProcessConnection::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 55 55 { 56 56 if (decoder.messageReceiverName() == Messages::WebResourceLoader::messageReceiverName()) { … … 64 64 } 65 65 66 void NetworkProcessConnection::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)66 void NetworkProcessConnection::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 67 67 { 68 68 if (decoder.messageReceiverName() == Messages::WebResourceLoader::messageReceiverName()) { -
trunk/Source/WebKit2/WebProcess/Network/NetworkProcessConnection.h
r139516 r141361 61 61 62 62 // CoreIPC::Connection::Client 63 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);64 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&);63 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 64 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&); 65 65 virtual void didClose(CoreIPC::Connection*); 66 66 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference messageReceiverName, CoreIPC::StringReference messageName) OVERRIDE; -
trunk/Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h
r140607 r141361 74 74 // CoreIPC::MessageReceiver 75 75 // Implemented in generated WebNotificationManagerMessageReceiver.cpp 76 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;76 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 77 77 78 78 void didShowNotification(uint64_t notificationID); -
trunk/Source/WebKit2/WebProcess/Plugins/PluginProcessConnection.cpp
r141322 r141361 90 90 } 91 91 92 void PluginProcessConnection::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)92 void PluginProcessConnection::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 93 93 { 94 94 ASSERT(decoder.destinationID()); … … 101 101 } 102 102 103 void PluginProcessConnection::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)103 void PluginProcessConnection::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 104 104 { 105 105 if (decoder.messageReceiverName() == Messages::NPObjectMessageReceiver::messageReceiverName()) { 106 m_npRemoteObjectMap->didReceiveSyncMessage(connection, messageID,decoder, replyEncoder);106 m_npRemoteObjectMap->didReceiveSyncMessage(connection, decoder, replyEncoder); 107 107 return; 108 108 } -
trunk/Source/WebKit2/WebProcess/Plugins/PluginProcessConnection.h
r141322 r141361 68 68 69 69 // CoreIPC::Connection::Client 70 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;71 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE;70 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 71 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE; 72 72 virtual void didClose(CoreIPC::Connection*); 73 73 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference messageReceiverName, CoreIPC::StringReference messageName) OVERRIDE; -
trunk/Source/WebKit2/WebProcess/ResourceCache/WebResourceCacheManager.h
r140607 r141361 49 49 // CoreIPC::MessageReceiver 50 50 // Implemented in generated WebResourceCacheManagerMessageReceiver.cpp 51 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;51 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 52 52 53 53 void getCacheOrigins(uint64_t callbackID) const; -
trunk/Source/WebKit2/WebProcess/Storage/WebKeyValueStorageManager.h
r140711 r141361 56 56 57 57 // CoreIPC::MessageReceiver 58 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;58 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 59 59 60 60 void getKeyValueStorageOrigins(uint64_t callbackID); -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.cpp
r141322 r141361 61 61 } 62 62 63 void WebDatabaseManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)63 void WebDatabaseManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 64 64 { 65 65 didReceiveWebDatabaseManagerMessage(connection, decoder); -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.h
r141322 r141361 54 54 55 55 // CoreIPC::MessageReceiver 56 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;56 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 57 57 // Implemented in generated WebDatabaseManagerMessageReceiver.cpp 58 58 void didReceiveWebDatabaseManagerMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); -
trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.h
r141322 r141361 95 95 96 96 #if USE(COORDINATED_GRAPHICS) 97 virtual void didReceiveCoordinatedLayerTreeHostMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) = 0;97 virtual void didReceiveCoordinatedLayerTreeHostMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) = 0; 98 98 #endif 99 99 -
trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp
r141171 r141361 727 727 728 728 #if USE(COORDINATED_GRAPHICS) 729 void DrawingAreaImpl::didReceiveCoordinatedLayerTreeHostMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)729 void DrawingAreaImpl::didReceiveCoordinatedLayerTreeHostMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 730 730 { 731 731 if (m_layerTreeHost) -
trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h
r139023 r141361 80 80 81 81 #if USE(COORDINATED_GRAPHICS) 82 virtual void didReceiveCoordinatedLayerTreeHostMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);82 virtual void didReceiveCoordinatedLayerTreeHostMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 83 83 #endif 84 84 -
trunk/Source/WebKit2/WebProcess/WebPage/EventDispatcher.cpp
r141322 r141361 74 74 #endif 75 75 76 void EventDispatcher::didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, bool& didHandleMessage)76 void EventDispatcher::didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, bool& didHandleMessage) 77 77 { 78 78 if (decoder.messageReceiverName() == Messages::EventDispatcher::messageReceiverName()) { -
trunk/Source/WebKit2/WebProcess/WebPage/EventDispatcher.h
r141322 r141361 61 61 private: 62 62 // CoreIPC::Connection::QueueClient 63 virtual void didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, bool& didHandleMessage) OVERRIDE;63 virtual void didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection*, CoreIPC::MessageDecoder&, bool& didHandleMessage) OVERRIDE; 64 64 65 65 // Implemented in generated EventDispatcherMessageReceiver.cpp -
trunk/Source/WebKit2/WebProcess/WebPage/LayerTreeHost.h
r141171 r141361 89 89 virtual void renderNextFrame() { } 90 90 virtual void purgeBackingStores() { } 91 virtual void didReceiveCoordinatedLayerTreeHostMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) = 0;91 virtual void didReceiveCoordinatedLayerTreeHostMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) = 0; 92 92 #endif 93 93 -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp
r141322 r141361 2986 2986 } 2987 2987 2988 void WebPage::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)2988 void WebPage::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 2989 2989 { 2990 2990 if (decoder.messageReceiverName() == Messages::DrawingArea::messageReceiverName()) { … … 3012 3012 #if ENABLE(FULLSCREEN_API) 3013 3013 if (decoder.messageReceiverName() == Messages::WebFullScreenManager::messageReceiverName()) { 3014 fullScreenManager()->didReceiveMessage(connection, messageID,decoder);3014 fullScreenManager()->didReceiveMessage(connection, decoder); 3015 3015 return; 3016 3016 } … … 3020 3020 } 3021 3021 3022 void WebPage::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)3022 void WebPage::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 3023 3023 { 3024 3024 didReceiveSyncWebPageMessage(connection, decoder, replyEncoder); -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h
r141322 r141361 245 245 void setActiveOpenPanelResultListener(PassRefPtr<WebOpenPanelResultListener>); 246 246 247 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&) OVERRIDE;248 void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE;247 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 248 void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&) OVERRIDE; 249 249 250 250 // -- InjectedBundle methods -
trunk/Source/WebKit2/WebProcess/WebPage/WebPageGroupProxy.h
r140607 r141361 55 55 bool isVisibleToHistoryClient() const { return m_data.visibleToHistoryClient; } 56 56 57 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);57 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 58 58 59 59 private: -
trunk/Source/WebKit2/WebProcess/WebProcess.cpp
r141322 r141361 585 585 } 586 586 587 void WebProcess::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)588 { 589 messageReceiverMap().dispatchSyncMessage(connection, messageID,decoder, replyEncoder);590 } 591 592 void WebProcess::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder)593 { 594 if (messageReceiverMap().dispatchMessage(connection, messageID,decoder))587 void WebProcess::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder) 588 { 589 messageReceiverMap().dispatchSyncMessage(connection, decoder, replyEncoder); 590 } 591 592 void WebProcess::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder) 593 { 594 if (messageReceiverMap().dispatchMessage(connection, decoder)) 595 595 return; 596 596 … … 609 609 return; 610 610 611 pageGroupProxy->didReceiveMessage(connection, messageID,decoder);611 pageGroupProxy->didReceiveMessage(connection, decoder); 612 612 } 613 613 } … … 639 639 } 640 640 641 void WebProcess::didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection* connection, CoreIPC::Message ID messageID, CoreIPC::MessageDecoder& decoder, bool& didHandleMessage)641 void WebProcess::didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, bool& didHandleMessage) 642 642 { 643 643 if (decoder.messageReceiverName() == Messages::WebProcess::messageReceiverName()) { -
trunk/Source/WebKit2/WebProcess/WebProcess.h
r141322 r141361 277 277 // CoreIPC::Connection::Client 278 278 friend class WebConnectionToUIProcess; 279 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&);280 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&);279 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&); 280 virtual void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&, OwnPtr<CoreIPC::MessageEncoder>&); 281 281 virtual void didClose(CoreIPC::Connection*); 282 282 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::StringReference messageReceiverName, CoreIPC::StringReference messageName) OVERRIDE; 283 283 284 284 // CoreIPC::Connection::QueueClient 285 virtual void didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection*, CoreIPC::Message ID, CoreIPC::MessageDecoder&, bool& didHandleMessage) OVERRIDE;285 virtual void didReceiveMessageOnConnectionWorkQueue(CoreIPC::Connection*, CoreIPC::MessageDecoder&, bool& didHandleMessage) OVERRIDE; 286 286 287 287 // Implemented in generated WebProcessMessageReceiver.cpp
Note: See TracChangeset
for help on using the changeset viewer.