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

Unified Diff: ios/chrome/browser/ui/payments/address_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/address_edit_view_controller.h
diff --git a/ios/chrome/browser/ui/payments/address_edit_view_controller.h b/ios/chrome/browser/ui/payments/address_edit_view_controller.h
deleted file mode 100644
index be84f492331f76d7215d07e4da66fee722761b20..0000000000000000000000000000000000000000
--- a/ios/chrome/browser/ui/payments/address_edit_view_controller.h
+++ /dev/null
@@ -1,39 +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_ADDRESS_EDIT_VIEW_CONTROLLER_H_
-#define IOS_CHROME_BROWSER_UI_PAYMENTS_ADDRESS_EDIT_VIEW_CONTROLLER_H_
-
-#import "ios/chrome/browser/ui/payments/payment_request_edit_view_controller.h"
-
-@class AddressEditViewController;
-@class EditorField;
-
-// Delegate protocol for AddressEditViewController.
-@protocol
- AddressEditViewControllerDelegate<PaymentRequestEditViewControllerDelegate>
-
-// Notifies the delegate that the user has finished editing the address editor
-// fields.
-- (void)addressEditViewController:(AddressEditViewController*)controller
- didFinishEditingFields:(NSArray<EditorField*>*)fields;
-
-// Notifies the delegate that the user has chosen to discard entries in the
-// address editor fields and return to the previous screen.
-- (void)addressEditViewControllerDidCancel:
- (AddressEditViewController*)controller;
-
-@end
-
-// View controller responsible for presenting an address edit form. The form
-// features text fields for the field definitions passed to the initializer.
-@interface AddressEditViewController : PaymentRequestEditViewController
-
-// The delegate to be notified when the user returns or finishes editing the
-// address editor fields.
-@property(nonatomic, weak) id<AddressEditViewControllerDelegate> delegate;
-
-@end
-
-#endif // IOS_CHROME_BROWSER_UI_PAYMENTS_ADDRESS_EDIT_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698