OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 void DispatchNotificationClickEvent(int, | 112 void DispatchNotificationClickEvent(int, |
113 const WebString& notification_id, | 113 const WebString& notification_id, |
114 const WebNotificationData&, | 114 const WebNotificationData&, |
115 int action_index, | 115 int action_index, |
116 const WebString& reply) override; | 116 const WebString& reply) override; |
117 void DispatchNotificationCloseEvent(int, | 117 void DispatchNotificationCloseEvent(int, |
118 const WebString& notification_id, | 118 const WebString& notification_id, |
119 const WebNotificationData&) override; | 119 const WebNotificationData&) override; |
120 void DispatchPushEvent(int, const WebString& data) override; | 120 void DispatchPushEvent(int, const WebString& data) override; |
121 void DispatchSyncEvent(int, const WebString& tag, LastChanceOption) override; | 121 void DispatchSyncEvent(int, const WebString& tag, LastChanceOption) override; |
122 void DispatchPaymentRequestEvent(int, const WebPaymentAppRequest&) override; | 122 void DispatchPaymentRequestEvent(int, |
| 123 const WebPaymentRequestEventData&) override; |
123 bool HasFetchEventHandler() override; | 124 bool HasFetchEventHandler() override; |
124 void OnNavigationPreloadResponse( | 125 void OnNavigationPreloadResponse( |
125 int fetch_event_id, | 126 int fetch_event_id, |
126 std::unique_ptr<WebURLResponse>, | 127 std::unique_ptr<WebURLResponse>, |
127 std::unique_ptr<WebDataConsumerHandle>) override; | 128 std::unique_ptr<WebDataConsumerHandle>) override; |
128 void OnNavigationPreloadError( | 129 void OnNavigationPreloadError( |
129 int fetch_event_id, | 130 int fetch_event_id, |
130 std::unique_ptr<WebServiceWorkerError>) override; | 131 std::unique_ptr<WebServiceWorkerError>) override; |
131 void OnNavigationPreloadComplete(int fetch_event_id, | 132 void OnNavigationPreloadComplete(int fetch_event_id, |
132 double completion_time, | 133 double completion_time, |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 HashMap<int, CrossThreadPersistent<FetchEvent>> pending_preload_fetch_events_; | 190 HashMap<int, CrossThreadPersistent<FetchEvent>> pending_preload_fetch_events_; |
190 | 191 |
191 WebServiceWorkerContextClient* client_; | 192 WebServiceWorkerContextClient* client_; |
192 | 193 |
193 CrossThreadPersistent<ServiceWorkerGlobalScope> worker_global_scope_; | 194 CrossThreadPersistent<ServiceWorkerGlobalScope> worker_global_scope_; |
194 }; | 195 }; |
195 | 196 |
196 } // namespace blink | 197 } // namespace blink |
197 | 198 |
198 #endif // ServiceWorkerGlobalScopeProxy_h | 199 #endif // ServiceWorkerGlobalScopeProxy_h |
OLD | NEW |