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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h

Issue 2528683002: PaymentApp: Blink side of payment request event dispatching in service worker. (Closed)
Patch Set: PaymentApp: Blink side of payment request event dispatching in service worker. Created 4 years 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 double eventDispatchTime) = 0; 99 double eventDispatchTime) = 0;
100 virtual void didHandleNotificationCloseEvent(int eventID, 100 virtual void didHandleNotificationCloseEvent(int eventID,
101 WebServiceWorkerEventResult, 101 WebServiceWorkerEventResult,
102 double eventDispatchTime) = 0; 102 double eventDispatchTime) = 0;
103 virtual void didHandlePushEvent(int pushEventID, 103 virtual void didHandlePushEvent(int pushEventID,
104 WebServiceWorkerEventResult, 104 WebServiceWorkerEventResult,
105 double eventDispatchTime) = 0; 105 double eventDispatchTime) = 0;
106 virtual void didHandleSyncEvent(int syncEventID, 106 virtual void didHandleSyncEvent(int syncEventID,
107 WebServiceWorkerEventResult, 107 WebServiceWorkerEventResult,
108 double eventDispatchTime) = 0; 108 double eventDispatchTime) = 0;
109 virtual void didHandlePaymentRequestEvent(int paymentRequestEventID,
110 WebServiceWorkerEventResult,
111 double eventDispatchTime) = 0;
109 virtual void postMessageToClient( 112 virtual void postMessageToClient(
110 const WebString& clientUUID, 113 const WebString& clientUUID,
111 const WebString& message, 114 const WebString& message,
112 std::unique_ptr<WebMessagePortChannelArray>) = 0; 115 std::unique_ptr<WebMessagePortChannelArray>) = 0;
113 virtual void postMessageToCrossOriginClient( 116 virtual void postMessageToCrossOriginClient(
114 const WebCrossOriginServiceWorkerClient&, 117 const WebCrossOriginServiceWorkerClient&,
115 const WebString& message, 118 const WebString& message,
116 std::unique_ptr<WebMessagePortChannelArray>) = 0; 119 std::unique_ptr<WebMessagePortChannelArray>) = 0;
117 virtual void skipWaiting( 120 virtual void skipWaiting(
118 std::unique_ptr<WebServiceWorkerSkipWaitingCallbacks>) = 0; 121 std::unique_ptr<WebServiceWorkerSkipWaitingCallbacks>) = 0;
(...skipping 15 matching lines...) Expand all
134 ServiceWorkerGlobalScopeClient() {} 137 ServiceWorkerGlobalScopeClient() {}
135 }; 138 };
136 139
137 MODULES_EXPORT void provideServiceWorkerGlobalScopeClientToWorker( 140 MODULES_EXPORT void provideServiceWorkerGlobalScopeClientToWorker(
138 WorkerClients*, 141 WorkerClients*,
139 ServiceWorkerGlobalScopeClient*); 142 ServiceWorkerGlobalScopeClient*);
140 143
141 } // namespace blink 144 } // namespace blink
142 145
143 #endif // ServiceWorkerGlobalScopeClient_h 146 #endif // ServiceWorkerGlobalScopeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698