Chromium Code Reviews| Index: ios/chrome/browser/payments/cells/payments_has_accessory_type.h |
| diff --git a/ios/chrome/browser/payments/cells/payments_has_accessory_type.h b/ios/chrome/browser/payments/cells/payments_has_accessory_type.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8ca597cc5420fe8bc4cd7d47c6d045bb02db9d55 |
| --- /dev/null |
| +++ b/ios/chrome/browser/payments/cells/payments_has_accessory_type.h |
| @@ -0,0 +1,19 @@ |
| +// 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_PAYMENTS_CELLS_PAYMENTS_HAS_ACCESSORY_TYPE_H_ |
| +#define IOS_CHROME_BROWSER_PAYMENTS_CELLS_PAYMENTS_HAS_ACCESSORY_TYPE_H_ |
| + |
| +#import "ios/third_party/material_components_ios/src/components/CollectionCells/src/MaterialCollectionCells.h" |
| + |
| +// Protocol adopted by the payments collection view items that set the accessory |
| +// view type on their represented cells. |
| +@protocol PaymentsHasAccessoryType |
|
Justin Donnelly
2017/04/17 15:21:58
Does this name conform to some existing pattern? L
Moe
2017/04/17 15:45:30
I'm not following any convention in naming nor my
|
| + |
| +// The accessory view type for the represented cell. |
| +@property(nonatomic) MDCCollectionViewCellAccessoryType accessoryType; |
| + |
| +@end |
| + |
| +#endif // IOS_CHROME_BROWSER_PAYMENTS_CELLS_PAYMENTS_HAS_ACCESSORY_TYPE_H_ |