OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 void ServiceWorkerGlobalScopeClientImpl::didHandlePushEvent(int pushEventID, Web
ServiceWorkerEventResult result) | 101 void ServiceWorkerGlobalScopeClientImpl::didHandlePushEvent(int pushEventID, Web
ServiceWorkerEventResult result) |
102 { | 102 { |
103 m_client.didHandlePushEvent(pushEventID, result); | 103 m_client.didHandlePushEvent(pushEventID, result); |
104 } | 104 } |
105 | 105 |
106 void ServiceWorkerGlobalScopeClientImpl::didHandleSyncEvent(int syncEventID, Web
ServiceWorkerEventResult result) | 106 void ServiceWorkerGlobalScopeClientImpl::didHandleSyncEvent(int syncEventID, Web
ServiceWorkerEventResult result) |
107 { | 107 { |
108 m_client.didHandleSyncEvent(syncEventID, result); | 108 m_client.didHandleSyncEvent(syncEventID, result); |
109 } | 109 } |
110 | 110 |
111 void ServiceWorkerGlobalScopeClientImpl::didHandleCrossOriginConnectEvent(int co
nnectEventID, bool acceptConnect) | |
112 { | |
113 m_client.didHandleCrossOriginConnectEvent(connectEventID, acceptConnect); | |
114 } | |
115 | |
116 void ServiceWorkerGlobalScopeClientImpl::postMessageToClient(const WebString& cl
ientUUID, const WebString& message, PassOwnPtr<WebMessagePortChannelArray> webCh
annels) | 111 void ServiceWorkerGlobalScopeClientImpl::postMessageToClient(const WebString& cl
ientUUID, const WebString& message, PassOwnPtr<WebMessagePortChannelArray> webCh
annels) |
117 { | 112 { |
118 m_client.postMessageToClient(clientUUID, message, webChannels.leakPtr()); | 113 m_client.postMessageToClient(clientUUID, message, webChannels.leakPtr()); |
119 } | 114 } |
120 | 115 |
121 void ServiceWorkerGlobalScopeClientImpl::postMessageToCrossOriginClient(const We
bCrossOriginServiceWorkerClient& client, const WebString& message, PassOwnPtr<We
bMessagePortChannelArray> webChannels) | 116 void ServiceWorkerGlobalScopeClientImpl::postMessageToCrossOriginClient(const We
bCrossOriginServiceWorkerClient& client, const WebString& message, PassOwnPtr<We
bMessagePortChannelArray> webChannels) |
122 { | 117 { |
123 m_client.postMessageToCrossOriginClient(client, message, webChannels.leakPtr
()); | 118 m_client.postMessageToCrossOriginClient(client, message, webChannels.leakPtr
()); |
124 } | 119 } |
125 | 120 |
(...skipping 16 matching lines...) Expand all Loading... |
142 { | 137 { |
143 m_client.navigate(clientUUID, url, callback); | 138 m_client.navigate(clientUUID, url, callback); |
144 } | 139 } |
145 | 140 |
146 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) | 141 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) |
147 : m_client(client) | 142 : m_client(client) |
148 { | 143 { |
149 } | 144 } |
150 | 145 |
151 } // namespace blink | 146 } // namespace blink |
OLD | NEW |