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

Side by Side Diff: components/payments/mojom/payment_request.mojom

Issue 2869893002: Warn web developer on missing favicon for PaymentRequest UI. (Closed)
Patch Set: Ganggui's comment Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [JavaPackage="org.chromium.payments.mojom"] 5 [JavaPackage="org.chromium.payments.mojom"]
6 module payments.mojom; 6 module payments.mojom;
7 7
8 // The shipping address that the browser process provides to the renderer 8 // The shipping address that the browser process provides to the renderer
9 // process. Built either by the browser or a payment app. 9 // process. Built either by the browser or a payment app.
10 struct PaymentAddress { 10 struct PaymentAddress {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 }; 89 };
90 90
91 interface PaymentRequestClient { 91 interface PaymentRequestClient {
92 OnShippingAddressChange(PaymentAddress address); 92 OnShippingAddressChange(PaymentAddress address);
93 OnShippingOptionChange(string shipping_option_id); 93 OnShippingOptionChange(string shipping_option_id);
94 OnPaymentResponse(PaymentResponse response); 94 OnPaymentResponse(PaymentResponse response);
95 OnError(PaymentErrorReason error); 95 OnError(PaymentErrorReason error);
96 OnComplete(); 96 OnComplete();
97 OnAbort(bool aborted_successfully); 97 OnAbort(bool aborted_successfully);
98 OnCanMakePayment(CanMakePaymentQueryResult result); 98 OnCanMakePayment(CanMakePaymentQueryResult result);
99 WarnNoFavicon();
99 }; 100 };
100 101
101 struct PaymentItem { 102 struct PaymentItem {
102 string label; 103 string label;
103 PaymentCurrencyAmount amount; 104 PaymentCurrencyAmount amount;
104 bool pending; 105 bool pending;
105 }; 106 };
106 107
107 struct PaymentShippingOption { 108 struct PaymentShippingOption {
108 string id; 109 string id;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 Init(PaymentRequestClient client, 225 Init(PaymentRequestClient client,
225 array<PaymentMethodData> method_data, 226 array<PaymentMethodData> method_data,
226 PaymentDetails details, 227 PaymentDetails details,
227 PaymentOptions options); 228 PaymentOptions options);
228 Show(); 229 Show();
229 UpdateWith(PaymentDetails details); 230 UpdateWith(PaymentDetails details);
230 Abort(); 231 Abort();
231 Complete(PaymentComplete result); 232 Complete(PaymentComplete result);
232 CanMakePayment(); 233 CanMakePayment();
233 }; 234 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698