 Chromium Code Reviews
 Chromium Code Reviews Issue 2510833002:
  PaymentApp: Add interfaces for PaymentRequestEvent.  (Closed)
    
  
    Issue 2510833002:
  PaymentApp: Add interfaces for PaymentRequestEvent.  (Closed) 
  | OLD | NEW | 
|---|---|
| (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 | |
| OLD | NEW |