Chromium Code Reviews| Index: ios/chrome/browser/ui/settings/autofill_edit_collection_view_controller+protected.h |
| diff --git a/ios/chrome/browser/ui/settings/autofill_edit_collection_view_controller+protected.h b/ios/chrome/browser/ui/settings/autofill_edit_collection_view_controller+protected.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..89b8ed833117dac1a3a0f8ce7f8fbb721784474d |
| --- /dev/null |
| +++ b/ios/chrome/browser/ui/settings/autofill_edit_collection_view_controller+protected.h |
| @@ -0,0 +1,18 @@ |
| +// 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_SETTINGS_AUTOFILL_EDIT_COLLECTION_VIEW_CONTROLLER_PROTECTED_H_ |
| +#define IOS_CHROME_BROWSER_UI_SETTINGS_AUTOFILL_EDIT_COLLECTION_VIEW_CONTROLLER_PROTECTED_H_ |
| + |
| +#import "ios/chrome/browser/ui/settings/autofill_edit_collection_view_controller.h" |
| + |
| +// The collection view for an Autofill edit entry menu. |
| +@interface AutofillEditCollectionViewController (Protected) |
| + |
| +// Returns the indexPath for the currently focused text field when in edit mode. |
| +- (NSIndexPath*)indexPathForCurrentTextField; |
|
lpromero
2017/03/06 16:18:16
Why not making it a public API instead?
Moe
2017/03/06 16:29:52
This method seems more like a utility method rathe
lpromero
2017/03/06 16:36:00
We sometimes make a "Subclassing" category instead
|
| + |
| +@end |
| + |
| +#endif // IOS_CHROME_BROWSER_UI_SETTINGS_AUTOFILL_EDIT_COLLECTION_VIEW_CONTROLLER_PROTECTED_H_ |