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

Side by Side Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h

Issue 1619703002: Implement notificationclose event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test expectations and compile error Created 4 years, 10 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) 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 // WebServiceWorkerContextProxy overrides: 74 // WebServiceWorkerContextProxy overrides:
75 void setRegistration(WebPassOwnPtr<WebServiceWorkerRegistration::Handle>) ov erride; 75 void setRegistration(WebPassOwnPtr<WebServiceWorkerRegistration::Handle>) ov erride;
76 void dispatchActivateEvent(int) override; 76 void dispatchActivateEvent(int) override;
77 void dispatchCrossOriginMessageEvent(const WebCrossOriginServiceWorkerClient &, const WebString& message, const WebMessagePortChannelArray&) override; 77 void dispatchCrossOriginMessageEvent(const WebCrossOriginServiceWorkerClient &, const WebString& message, const WebMessagePortChannelArray&) override;
78 void dispatchFetchEvent(int, const WebServiceWorkerRequest&) override; 78 void dispatchFetchEvent(int, const WebServiceWorkerRequest&) override;
79 void dispatchGeofencingEvent(int, WebGeofencingEventType, const WebString& r egionID, const WebCircularGeofencingRegion&) override; 79 void dispatchGeofencingEvent(int, WebGeofencingEventType, const WebString& r egionID, const WebCircularGeofencingRegion&) override;
80 void dispatchInstallEvent(int) override; 80 void dispatchInstallEvent(int) override;
81 void dispatchMessageEvent(const WebString& message, const WebMessagePortChan nelArray&) override; 81 void dispatchMessageEvent(const WebString& message, const WebMessagePortChan nelArray&) override;
82 void dispatchNotificationClickEvent(int, int64_t notificationID, const WebNo tificationData&, int actionIndex) override; 82 void dispatchNotificationClickEvent(int, int64_t notificationID, const WebNo tificationData&, int actionIndex) override;
83 void dispatchNotificationCloseEvent(int, int64_t notificationID, const WebNo tificationData&) override;
83 void dispatchPushEvent(int, const WebString& data) override; 84 void dispatchPushEvent(int, const WebString& data) override;
84 void dispatchServicePortConnectEvent(WebServicePortConnectEventCallbacks*, c onst WebURL& targetURL, const WebString& origin, WebServicePortID) override; 85 void dispatchServicePortConnectEvent(WebServicePortConnectEventCallbacks*, c onst WebURL& targetURL, const WebString& origin, WebServicePortID) override;
85 void dispatchSyncEvent(int, const WebSyncRegistration&, LastChanceOption) ov erride; 86 void dispatchSyncEvent(int, const WebSyncRegistration&, LastChanceOption) ov erride;
86 87
87 // WorkerReportingProxy overrides: 88 // WorkerReportingProxy overrides:
88 void reportException(const String& errorMessage, int lineNumber, int columnN umber, const String& sourceURL, int exceptionId) override; 89 void reportException(const String& errorMessage, int lineNumber, int columnN umber, const String& sourceURL, int exceptionId) override;
89 void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) override; 90 void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) override;
90 void postMessageToPageInspector(const String&) override; 91 void postMessageToPageInspector(const String&) override;
91 void postWorkerConsoleAgentEnabled() override { } 92 void postWorkerConsoleAgentEnabled() override { }
92 void didEvaluateWorkerScript(bool success) override; 93 void didEvaluateWorkerScript(bool success) override;
(...skipping 26 matching lines...) Expand all
119 KURL m_documentURL; 120 KURL m_documentURL;
120 121
121 WebServiceWorkerContextClient* m_client; 122 WebServiceWorkerContextClient* m_client;
122 123
123 RawPtrWillBeMember<ServiceWorkerGlobalScope> m_workerGlobalScope; 124 RawPtrWillBeMember<ServiceWorkerGlobalScope> m_workerGlobalScope;
124 }; 125 };
125 126
126 } // namespace blink 127 } // namespace blink
127 128
128 #endif // ServiceWorkerGlobalScopeProxy_h 129 #endif // ServiceWorkerGlobalScopeProxy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698