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

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

Issue 2510833002: PaymentApp: Add interfaces for PaymentRequestEvent. (Closed)
Patch Set: PaymentApp: Add interfaces for PaymentRequestEvent. 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 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PaymentRequestEvent_h
6 #define PaymentRequestEvent_h
7
8 #include "modules/EventModules.h"
9 #include "modules/payments/PaymentAppRequestData.h"
10 #include "modules/serviceworkers/ExtendableEvent.h"
11 #include "platform/heap/Handle.h"
12
13 namespace WTF {
14 class AtomicString;
15 } // namespace WTF
please use gerrit instead 2016/11/21 20:31:36 Nit: Short blocks of forward declarations usually
zino 2016/11/21 23:22:13 Done.
16
17 namespace blink {
18
19 class MODULES_EXPORT PaymentRequestEvent final : public ExtendableEvent {
20 DEFINE_WRAPPERTYPEINFO();
21 WTF_MAKE_NONCOPYABLE(PaymentRequestEvent);
22
23 public:
24 const AtomicString& interfaceName() const override;
25
26 void data(PaymentAppRequestData&) const;
27 void respondWith(ScriptPromise);
28
29 DECLARE_VIRTUAL_TRACE();
30
31 private:
32 PaymentRequestEvent(const AtomicString& type,
33 const PaymentAppRequestData&,
34 WaitUntilObserver*);
please use gerrit instead 2016/11/21 20:31:36 Please provide a destructor with "override" keywor
zino 2016/11/21 23:22:13 Done.
35 };
36
37 } // namespace blink
38
39 #endif // PaymentRequestEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698