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

Side by Side Diff: third_party/WebKit/Source/modules/payments/PaymentRequestEvent.cpp

Issue 2510833002: PaymentApp: Add interfaces for PaymentRequestEvent. (Closed)
Patch Set: Created 4 years, 1 month 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
(Empty)
1 #include "modules/payments/PaymentRequestEvent.h"
haraken 2016/11/21 00:15:54 Add a copyright.
zino 2016/11/21 09:31:04 Done.
2
3 #include "wtf/text/AtomicString.h"
4
5 namespace blink {
6
7 const AtomicString& PaymentRequestEvent::interfaceName() const {
8 return EventNames::PaymentRequestEvent;
9 }
10
11 void PaymentRequestEvent::data(PaymentAppRequestData& data) const {}
haraken 2016/11/21 00:15:55 Do you want to add NOT_IMPLEMENTED to these method
zino 2016/11/21 09:31:04 Done.
12
13 void PaymentRequestEvent::respondWith(ScriptPromise) {}
14
15 DEFINE_TRACE(PaymentRequestEvent) {
16 ExtendableEvent::trace(visitor);
17 }
18
19 PaymentRequestEvent::PaymentRequestEvent(const AtomicString& type,
20 const PaymentAppRequestData& data,
21 WaitUntilObserver* observer)
22 : ExtendableEvent(type, ExtendableEventInit(), observer) {}
23
24 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698