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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentInstrument.idl

Issue 2775343002: PaymentHandler: Initial implementation for PaymentInstruments. (Closed)
Patch Set: PaymentHandler: Initial implementation for PaymentInstruments. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/payments/PaymentInstrument.idl
diff --git a/third_party/WebKit/Source/modules/payments/PaymentInstrument.idl b/third_party/WebKit/Source/modules/payments/PaymentInstrument.idl
new file mode 100644
index 0000000000000000000000000000000000000000..5132410e47268220123ebc64ea922e7d3ea21c66
--- /dev/null
+++ b/third_party/WebKit/Source/modules/payments/PaymentInstrument.idl
@@ -0,0 +1,12 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// https://w3c.github.io/webpayments-payment-apps-api/#payment-instrument
+
+dictionary PaymentInstrument {
please use gerrit instead 2017/03/28 16:33:29 Let's put the RuntimeEnabled=PaymentApp in here ju
zino 2017/03/29 15:51:23 Is it possible? I didn't find any case of use. As
+ required DOMString name;
+ // TODO(zino): sequence<ImageObject> icons;
please use gerrit instead 2017/03/28 16:33:29 Why comment this out?
zino 2017/03/29 15:51:23 The icons is not be clear yet. There is no ImageOb
+ sequence<DOMString> enabledMethods;
+ object capabilities;
+};

Powered by Google App Engine
This is Rietveld 408576698