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

Unified Diff: ios/chrome/browser/ui/payments/credit_card_edit_view_controller.h

Issue 2908033002: [Payment Request] Refactors edit view controller (Closed)
Patch Set: Addressed comments 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/payments/credit_card_edit_view_controller.h
diff --git a/ios/chrome/browser/ui/payments/credit_card_edit_view_controller.h b/ios/chrome/browser/ui/payments/credit_card_edit_view_controller.h
deleted file mode 100644
index 0073807bdc424a2bd9ea6745b976d16b40b9e9f4..0000000000000000000000000000000000000000
--- a/ios/chrome/browser/ui/payments/credit_card_edit_view_controller.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// 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.
-
-#ifndef IOS_CHROME_BROWSER_UI_PAYMENTS_CREDIT_CARD_EDIT_VIEW_CONTROLLER_H_
-#define IOS_CHROME_BROWSER_UI_PAYMENTS_CREDIT_CARD_EDIT_VIEW_CONTROLLER_H_
-
-#import "ios/chrome/browser/ui/payments/credit_card_edit_view_controller_data_source.h"
-#import "ios/chrome/browser/ui/payments/payment_request_edit_view_controller.h"
-
-@class CreditCardEditViewController;
-
-// Delegate protocol for CreditCardEditViewController.
-@protocol CreditCardEditViewControllerDelegate<
- PaymentRequestEditViewControllerDelegate>
-
-// Notifies the delegate that the user has finished editing the credit card
-// editor fields.
-- (void)creditCardEditViewController:(CreditCardEditViewController*)controller
- didFinishEditingFields:(NSArray<EditorField*>*)fields
- saveCreditCard:(BOOL)saveCard;
-
-// Notifies the delegate that the user has chosen to discard entries in the
-// credit card editor fields and return to the previous screen.
-- (void)creditCardEditViewControllerDidCancel:
- (CreditCardEditViewController*)controller;
-
-@end
-
-// View controller responsible for presenting a credit card edit form. The form
-// features text fields for the field definitions passed to the initializer in
-// addition to an item displaying the billing address associated with the credit
-// card, if any.
-@interface CreditCardEditViewController : PaymentRequestEditViewController
-
-// The delegate to be notified when the user returns or finishes editing the
-// credit card editor fields.
-@property(nonatomic, weak) id<CreditCardEditViewControllerDelegate> delegate;
-
-// The data source for this view controller.
-@property(nonatomic, weak) id<CreditCardEditViewControllerDataSource>
- dataSource;
-
-@end
-
-#endif // IOS_CHROME_BROWSER_UI_PAYMENTS_CREDIT_CARD_EDIT_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698