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

Side by Side Diff: ios/chrome/today_extension/physical_web_optin_footer.h

Issue 2586713002: Upstream code and resources for Chrome on iOS extensions. (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « ios/chrome/today_extension/notification_center_url_button.mm ('k') | ios/chrome/today_extension/physical_web_optin_footer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698