OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_TODAY_EXTENSION_PHYSICAL_WEB_OPTIN_FOOTER_H_ |
| 6 #define IOS_CHROME_TODAY_EXTENSION_PHYSICAL_WEB_OPTIN_FOOTER_H_ |
| 7 |
| 8 #import <Foundation/Foundation.h> |
| 9 #import <UIKit/UIKit.h> |
| 10 |
| 11 #import "ios/chrome/common/physical_web/physical_web_types.h" |
| 12 #import "ios/chrome/today_extension/footer_label.h" |
| 13 |
| 14 // Opt-in dialog shown the first time a physical web beacon is discovered. |
| 15 // Contains a learn more link, a button to opt in and a button to opt out. |
| 16 @interface PhysicalWebOptInFooter : NSObject<FooterLabel> |
| 17 |
| 18 - (id)initWithLeftInset:(CGFloat)leftInset |
| 19 learnMoreBlock:(LearnMoreBlock)learnMoreBlock |
| 20 optinAction:(EnableDisableBlock)optinAction |
| 21 dismissAction:(EnableDisableBlock)dismissAction; |
| 22 |
| 23 @end |
| 24 |
| 25 #endif // IOS_CHROME_TODAY_EXTENSION_PHYSICAL_WEB_OPTIN_FOOTER_H_ |
OLD | NEW |