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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 void ServiceWorkerGlobalScopeClientImpl::didHandleCrossOriginConnectEvent(int co
nnectEventID, bool acceptConnect) | 116 void ServiceWorkerGlobalScopeClientImpl::didHandleCrossOriginConnectEvent(int co
nnectEventID, bool acceptConnect) |
117 { | 117 { |
118 m_client.didHandleCrossOriginConnectEvent(connectEventID, acceptConnect); | 118 m_client.didHandleCrossOriginConnectEvent(connectEventID, acceptConnect); |
119 } | 119 } |
120 | 120 |
121 void ServiceWorkerGlobalScopeClientImpl::postMessageToClient(int clientID, const
WebString& message, PassOwnPtr<WebMessagePortChannelArray> webChannels) | 121 void ServiceWorkerGlobalScopeClientImpl::postMessageToClient(int clientID, const
WebString& message, PassOwnPtr<WebMessagePortChannelArray> webChannels) |
122 { | 122 { |
123 m_client.postMessageToClient(clientID, message, webChannels.leakPtr()); | 123 m_client.postMessageToClient(clientID, message, webChannels.leakPtr()); |
124 } | 124 } |
125 | 125 |
| 126 void ServiceWorkerGlobalScopeClientImpl::postMessageToClient(const WebString& cl
ientUUID, const WebString& message, PassOwnPtr<WebMessagePortChannelArray> webCh
annels) |
| 127 { |
| 128 m_client.postMessageToClient(clientUUID, message, webChannels.leakPtr()); |
| 129 } |
| 130 |
126 void ServiceWorkerGlobalScopeClientImpl::postMessageToCrossOriginClient(const We
bCrossOriginServiceWorkerClient& client, const WebString& message, PassOwnPtr<We
bMessagePortChannelArray> webChannels) | 131 void ServiceWorkerGlobalScopeClientImpl::postMessageToCrossOriginClient(const We
bCrossOriginServiceWorkerClient& client, const WebString& message, PassOwnPtr<We
bMessagePortChannelArray> webChannels) |
127 { | 132 { |
128 m_client.postMessageToCrossOriginClient(client, message, webChannels.leakPtr
()); | 133 m_client.postMessageToCrossOriginClient(client, message, webChannels.leakPtr
()); |
129 } | 134 } |
130 | 135 |
131 void ServiceWorkerGlobalScopeClientImpl::skipWaiting(WebServiceWorkerSkipWaiting
Callbacks* callbacks) | 136 void ServiceWorkerGlobalScopeClientImpl::skipWaiting(WebServiceWorkerSkipWaiting
Callbacks* callbacks) |
132 { | 137 { |
133 m_client.skipWaiting(callbacks); | 138 m_client.skipWaiting(callbacks); |
134 } | 139 } |
135 | 140 |
136 void ServiceWorkerGlobalScopeClientImpl::claim(WebServiceWorkerClientsClaimCallb
acks* callbacks) | 141 void ServiceWorkerGlobalScopeClientImpl::claim(WebServiceWorkerClientsClaimCallb
acks* callbacks) |
137 { | 142 { |
138 m_client.claim(callbacks); | 143 m_client.claim(callbacks); |
139 } | 144 } |
140 | 145 |
141 void ServiceWorkerGlobalScopeClientImpl::focus(int clientID, WebServiceWorkerCli
entCallbacks* callback) | 146 void ServiceWorkerGlobalScopeClientImpl::focus(int clientID, WebServiceWorkerCli
entCallbacks* callback) |
142 { | 147 { |
143 m_client.focus(clientID, callback); | 148 m_client.focus(clientID, callback); |
144 } | 149 } |
145 | 150 |
| 151 void ServiceWorkerGlobalScopeClientImpl::focus(const WebString& clientUUID, WebS
erviceWorkerClientCallbacks* callback) |
| 152 { |
| 153 m_client.focus(clientUUID, callback); |
| 154 } |
| 155 |
146 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) | 156 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) |
147 : m_client(client) | 157 : m_client(client) |
148 { | 158 { |
149 } | 159 } |
150 | 160 |
151 } // namespace blink | 161 } // namespace blink |
OLD | NEW |