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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 104 virtual void didHandleSyncEvent(int syncEventID, |
105 WebServiceWorkerEventResult, | 105 WebServiceWorkerEventResult, |
106 double eventDispatchTime) = 0; | 106 double eventDispatchTime) = 0; |
| 107 virtual void didHandlePaymentRequestEvent(int paymentRequestEventID, |
| 108 WebServiceWorkerEventResult, |
| 109 double eventDispatchTime) = 0; |
107 virtual void postMessageToClient( | 110 virtual void postMessageToClient( |
108 const WebString& clientUUID, | 111 const WebString& clientUUID, |
109 const WebString& message, | 112 const WebString& message, |
110 std::unique_ptr<WebMessagePortChannelArray>) = 0; | 113 std::unique_ptr<WebMessagePortChannelArray>) = 0; |
111 virtual void postMessageToCrossOriginClient( | 114 virtual void postMessageToCrossOriginClient( |
112 const WebCrossOriginServiceWorkerClient&, | 115 const WebCrossOriginServiceWorkerClient&, |
113 const WebString& message, | 116 const WebString& message, |
114 std::unique_ptr<WebMessagePortChannelArray>) = 0; | 117 std::unique_ptr<WebMessagePortChannelArray>) = 0; |
115 virtual void skipWaiting(WebServiceWorkerSkipWaitingCallbacks*) = 0; | 118 virtual void skipWaiting(WebServiceWorkerSkipWaitingCallbacks*) = 0; |
116 virtual void claim(WebServiceWorkerClientsClaimCallbacks*) = 0; | 119 virtual void claim(WebServiceWorkerClientsClaimCallbacks*) = 0; |
(...skipping 13 matching lines...) Expand all Loading... |
130 ServiceWorkerGlobalScopeClient() {} | 133 ServiceWorkerGlobalScopeClient() {} |
131 }; | 134 }; |
132 | 135 |
133 MODULES_EXPORT void provideServiceWorkerGlobalScopeClientToWorker( | 136 MODULES_EXPORT void provideServiceWorkerGlobalScopeClientToWorker( |
134 WorkerClients*, | 137 WorkerClients*, |
135 ServiceWorkerGlobalScopeClient*); | 138 ServiceWorkerGlobalScopeClient*); |
136 | 139 |
137 } // namespace blink | 140 } // namespace blink |
138 | 141 |
139 #endif // ServiceWorkerGlobalScopeClient_h | 142 #endif // ServiceWorkerGlobalScopeClient_h |
OLD | NEW |