Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp

Issue 1619703002: Implement notificationclose event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed some logging statements Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventI D, WebServiceWorkerEventResult result) 90 void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventI D, WebServiceWorkerEventResult result)
91 { 91 {
92 m_client.didHandleInstallEvent(installEventID, result); 92 m_client.didHandleInstallEvent(installEventID, result);
93 } 93 }
94 94
95 void ServiceWorkerGlobalScopeClientImpl::didHandleNotificationClickEvent(int eve ntID, WebServiceWorkerEventResult result) 95 void ServiceWorkerGlobalScopeClientImpl::didHandleNotificationClickEvent(int eve ntID, WebServiceWorkerEventResult result)
96 { 96 {
97 m_client.didHandleNotificationClickEvent(eventID, result); 97 m_client.didHandleNotificationClickEvent(eventID, result);
98 } 98 }
99 99
100 void ServiceWorkerGlobalScopeClientImpl::didHandleNotificationCloseEvent(int eve ntID, WebServiceWorkerEventResult result)
101 {
102 m_client.didHandleNotificationCloseEvent(eventID, result);
103 }
104
100 void ServiceWorkerGlobalScopeClientImpl::didHandlePushEvent(int pushEventID, Web ServiceWorkerEventResult result) 105 void ServiceWorkerGlobalScopeClientImpl::didHandlePushEvent(int pushEventID, Web ServiceWorkerEventResult result)
101 { 106 {
102 m_client.didHandlePushEvent(pushEventID, result); 107 m_client.didHandlePushEvent(pushEventID, result);
103 } 108 }
104 109
105 void ServiceWorkerGlobalScopeClientImpl::didHandleSyncEvent(int syncEventID, Web ServiceWorkerEventResult result) 110 void ServiceWorkerGlobalScopeClientImpl::didHandleSyncEvent(int syncEventID, Web ServiceWorkerEventResult result)
106 { 111 {
107 m_client.didHandleSyncEvent(syncEventID, result); 112 m_client.didHandleSyncEvent(syncEventID, result);
108 } 113 }
109 114
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 { 146 {
142 m_client.registerForeignFetchScopes(subScopes); 147 m_client.registerForeignFetchScopes(subScopes);
143 } 148 }
144 149
145 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic eWorkerContextClient& client) 150 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic eWorkerContextClient& client)
146 : m_client(client) 151 : m_client(client)
147 { 152 {
148 } 153 }
149 154
150 } // namespace blink 155 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698