| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 double eventDispatchTime) = 0; | 94 double eventDispatchTime) = 0; |
| 95 virtual void didHandleNotificationClickEvent(int eventID, | 95 virtual void didHandleNotificationClickEvent(int eventID, |
| 96 WebServiceWorkerEventResult, | 96 WebServiceWorkerEventResult, |
| 97 double eventDispatchTime) = 0; | 97 double eventDispatchTime) = 0; |
| 98 virtual void didHandleNotificationCloseEvent(int eventID, | 98 virtual void didHandleNotificationCloseEvent(int eventID, |
| 99 WebServiceWorkerEventResult, | 99 WebServiceWorkerEventResult, |
| 100 double eventDispatchTime) = 0; | 100 double eventDispatchTime) = 0; |
| 101 virtual void didHandlePushEvent(int pushEventID, | 101 virtual void didHandlePushEvent(int pushEventID, |
| 102 WebServiceWorkerEventResult, | 102 WebServiceWorkerEventResult, |
| 103 double eventDispatchTime) = 0; | 103 double eventDispatchTime) = 0; |
| 104 virtual void didHandleSyncEvent(int syncEventID, | |
| 105 WebServiceWorkerEventResult, | |
| 106 double eventDispatchTime) = 0; | |
| 107 virtual void postMessageToClient( | 104 virtual void postMessageToClient( |
| 108 const WebString& clientUUID, | 105 const WebString& clientUUID, |
| 109 const WebString& message, | 106 const WebString& message, |
| 110 std::unique_ptr<WebMessagePortChannelArray>) = 0; | 107 std::unique_ptr<WebMessagePortChannelArray>) = 0; |
| 111 virtual void postMessageToCrossOriginClient( | 108 virtual void postMessageToCrossOriginClient( |
| 112 const WebCrossOriginServiceWorkerClient&, | 109 const WebCrossOriginServiceWorkerClient&, |
| 113 const WebString& message, | 110 const WebString& message, |
| 114 std::unique_ptr<WebMessagePortChannelArray>) = 0; | 111 std::unique_ptr<WebMessagePortChannelArray>) = 0; |
| 115 virtual void skipWaiting(WebServiceWorkerSkipWaitingCallbacks*) = 0; | 112 virtual void skipWaiting(WebServiceWorkerSkipWaitingCallbacks*) = 0; |
| 116 virtual void claim(WebServiceWorkerClientsClaimCallbacks*) = 0; | 113 virtual void claim(WebServiceWorkerClientsClaimCallbacks*) = 0; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 130 ServiceWorkerGlobalScopeClient() {} | 127 ServiceWorkerGlobalScopeClient() {} |
| 131 }; | 128 }; |
| 132 | 129 |
| 133 MODULES_EXPORT void provideServiceWorkerGlobalScopeClientToWorker( | 130 MODULES_EXPORT void provideServiceWorkerGlobalScopeClientToWorker( |
| 134 WorkerClients*, | 131 WorkerClients*, |
| 135 ServiceWorkerGlobalScopeClient*); | 132 ServiceWorkerGlobalScopeClient*); |
| 136 | 133 |
| 137 } // namespace blink | 134 } // namespace blink |
| 138 | 135 |
| 139 #endif // ServiceWorkerGlobalScopeClient_h | 136 #endif // ServiceWorkerGlobalScopeClient_h |
| OLD | NEW |