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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp

Issue 1619703002: Implement notificationclose event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
index 3fc7b3d348e656f25474ee1935ecaeab9c3cc88e..dfcdaeef4859398767aec05c2192490e4d28d02f 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
@@ -177,6 +177,9 @@ void WaitUntilObserver::decrementPendingActivity()
m_consumeWindowInteractionTimer.stop();
consumeWindowInteraction(nullptr);
break;
+ case NotificationClose:
+ client->didHandleNotificationCloseEvent(m_eventID, result);
+ break;
case Push:
client->didHandlePushEvent(m_eventID, result);
break;

Powered by Google App Engine
This is Rietveld 408576698