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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 double eventDispatchTime) override; | 86 double eventDispatchTime) override; |
87 void didHandlePushEvent(int pushEventID, | 87 void didHandlePushEvent(int pushEventID, |
88 WebServiceWorkerEventResult, | 88 WebServiceWorkerEventResult, |
89 double eventDispatchTime) override; | 89 double eventDispatchTime) override; |
90 void didHandleSyncEvent(int syncEventID, | 90 void didHandleSyncEvent(int syncEventID, |
91 WebServiceWorkerEventResult, | 91 WebServiceWorkerEventResult, |
92 double eventDispatchTime) override; | 92 double eventDispatchTime) override; |
93 void didHandlePaymentRequestEvent(int paymentRequestEventID, | 93 void didHandlePaymentRequestEvent(int paymentRequestEventID, |
94 WebServiceWorkerEventResult, | 94 WebServiceWorkerEventResult, |
95 double eventDispatchTime) override; | 95 double eventDispatchTime) override; |
96 void postMessageToClient( | 96 void postMessageToClient(const WebString& clientUUID, |
97 const WebString& clientUUID, | 97 const WebString& message, |
98 const WebString& message, | 98 WebMessagePortChannelArray) override; |
99 std::unique_ptr<WebMessagePortChannelArray>) override; | |
100 void skipWaiting( | 99 void skipWaiting( |
101 std::unique_ptr<WebServiceWorkerSkipWaitingCallbacks>) override; | 100 std::unique_ptr<WebServiceWorkerSkipWaitingCallbacks>) override; |
102 void claim(std::unique_ptr<WebServiceWorkerClientsClaimCallbacks>) override; | 101 void claim(std::unique_ptr<WebServiceWorkerClientsClaimCallbacks>) override; |
103 void focus(const WebString& clientUUID, | 102 void focus(const WebString& clientUUID, |
104 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; | 103 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; |
105 void navigate(const WebString& clientUUID, | 104 void navigate(const WebString& clientUUID, |
106 const WebURL&, | 105 const WebURL&, |
107 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; | 106 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; |
108 void registerForeignFetchScopes(const WebVector<WebURL>& subScopes, | 107 void registerForeignFetchScopes(const WebVector<WebURL>& subScopes, |
109 const WebVector<WebSecurityOrigin>&) override; | 108 const WebVector<WebSecurityOrigin>&) override; |
110 | 109 |
111 DEFINE_INLINE_VIRTUAL_TRACE() { | 110 DEFINE_INLINE_VIRTUAL_TRACE() { |
112 ServiceWorkerGlobalScopeClient::trace(visitor); | 111 ServiceWorkerGlobalScopeClient::trace(visitor); |
113 } | 112 } |
114 | 113 |
115 private: | 114 private: |
116 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&); | 115 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&); |
117 | 116 |
118 WebServiceWorkerContextClient& m_client; | 117 WebServiceWorkerContextClient& m_client; |
119 }; | 118 }; |
120 | 119 |
121 } // namespace blink | 120 } // namespace blink |
122 | 121 |
123 #endif // ServiceWorkerGlobalScopeClientImpl_h | 122 #endif // ServiceWorkerGlobalScopeClientImpl_h |
OLD | NEW |