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

Side by Side Diff: chrome/browser/ui/views/payments/payment_request_dialog_view.h

Issue 2815763002: Prevent usage of web payments API over insecure HTTPS. (Closed)
Patch Set: Fix typo Created 3 years, 8 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 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 bool Cancel() override; 84 bool Cancel() override;
85 bool ShouldShowCloseButton() const override; 85 bool ShouldShowCloseButton() const override;
86 int GetDialogButtons() const override; 86 int GetDialogButtons() const override;
87 87
88 // payments::PaymentRequestDialog: 88 // payments::PaymentRequestDialog:
89 void ShowDialog() override; 89 void ShowDialog() override;
90 void CloseDialog() override; 90 void CloseDialog() override;
91 void ShowErrorMessage() override; 91 void ShowErrorMessage() override;
92 92
93 // PaymentRequestSpec::Observer: 93 // PaymentRequestSpec::Observer:
94 void OnInvalidSpecProvided() override {}
95 void OnSpecUpdated() override; 94 void OnSpecUpdated() override;
96 95
97 void Pay(); 96 void Pay();
98 void GoBack(); 97 void GoBack();
99 void GoBackToPaymentSheet(); 98 void GoBackToPaymentSheet();
100 void ShowContactProfileSheet(); 99 void ShowContactProfileSheet();
101 void ShowOrderSummary(); 100 void ShowOrderSummary();
102 void ShowShippingProfileSheet(); 101 void ShowShippingProfileSheet();
103 void ShowPaymentMethodSheet(); 102 void ShowPaymentMethodSheet();
104 void ShowShippingOptionSheet(); 103 void ShowShippingOptionSheet();
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // Used when the dialog is being closed to avoid re-entrancy into the 153 // Used when the dialog is being closed to avoid re-entrancy into the
155 // controller_map_. 154 // controller_map_.
156 bool being_closed_; 155 bool being_closed_;
157 156
158 DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialogView); 157 DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialogView);
159 }; 158 };
160 159
161 } // namespace payments 160 } // namespace payments
162 161
163 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_ 162 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698