| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventI
D, WebServiceWorkerEventResult result) | 95 void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventI
D, WebServiceWorkerEventResult result) |
| 96 { | 96 { |
| 97 m_client.didHandleInstallEvent(installEventID, result); | 97 m_client.didHandleInstallEvent(installEventID, result); |
| 98 } | 98 } |
| 99 | 99 |
| 100 void ServiceWorkerGlobalScopeClientImpl::didHandleNotificationClickEvent(int eve
ntID, WebServiceWorkerEventResult result) | 100 void ServiceWorkerGlobalScopeClientImpl::didHandleNotificationClickEvent(int eve
ntID, WebServiceWorkerEventResult result) |
| 101 { | 101 { |
| 102 m_client.didHandleNotificationClickEvent(eventID, result); | 102 m_client.didHandleNotificationClickEvent(eventID, result); |
| 103 } | 103 } |
| 104 | 104 |
| 105 void ServiceWorkerGlobalScopeClientImpl::didHandleNotificationCloseEvent(int eve
ntID, WebServiceWorkerEventResult result) |
| 106 { |
| 107 m_client.didHandleNotificationCloseEvent(eventID, result); |
| 108 } |
| 109 |
| 105 void ServiceWorkerGlobalScopeClientImpl::didHandlePushEvent(int pushEventID, Web
ServiceWorkerEventResult result) | 110 void ServiceWorkerGlobalScopeClientImpl::didHandlePushEvent(int pushEventID, Web
ServiceWorkerEventResult result) |
| 106 { | 111 { |
| 107 m_client.didHandlePushEvent(pushEventID, result); | 112 m_client.didHandlePushEvent(pushEventID, result); |
| 108 } | 113 } |
| 109 | 114 |
| 110 void ServiceWorkerGlobalScopeClientImpl::didHandleSyncEvent(int syncEventID, Web
ServiceWorkerEventResult result) | 115 void ServiceWorkerGlobalScopeClientImpl::didHandleSyncEvent(int syncEventID, Web
ServiceWorkerEventResult result) |
| 111 { | 116 { |
| 112 m_client.didHandleSyncEvent(syncEventID, result); | 117 m_client.didHandleSyncEvent(syncEventID, result); |
| 113 } | 118 } |
| 114 | 119 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 { | 151 { |
| 147 m_client.registerForeignFetchScopes(subScopes); | 152 m_client.registerForeignFetchScopes(subScopes); |
| 148 } | 153 } |
| 149 | 154 |
| 150 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) | 155 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) |
| 151 : m_client(client) | 156 : m_client(client) |
| 152 { | 157 { |
| 153 } | 158 } |
| 154 | 159 |
| 155 } // namespace blink | 160 } // namespace blink |
| OLD | NEW |