blob: 03340bb64e24d649093dbb4c0ee45afc2cf7bafe [file] [log] [blame]
// Copyright 2018 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_AUTOFILL_MANUAL_FILL_ADDRESS_COORDINATOR_H_
#define IOS_CHROME_BROWSER_UI_AUTOFILL_MANUAL_FILL_ADDRESS_COORDINATOR_H_
#import "ios/chrome/browser/ui/autofill/manual_fill/fallback_coordinator.h"
// Delegate for the coordinator actions.
// TODO(crbug.com/845472): revise delegate method names.
@protocol AddressCoordinatorDelegate<FallbackCoordinatorDelegate>
// Opens the address settings.
- (void)openAddressSettings;
@end
// Creates and manages a view controller to present addresses to the user.
// Any selected address field will be sent to the current field in the active
// web state.
@interface AddressCoordinator : FallbackCoordinator
// The delegate for this coordinator. Delegate class extends
// FallbackCoordinatorDelegate, and replaces super class delegate.
@property(nonatomic, weak) id<AddressCoordinatorDelegate> delegate;
@end
#endif // IOS_CHROME_BROWSER_UI_AUTOFILL_MANUAL_FILL_ADDRESS_COORDINATOR_H_