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_BROWSER_UI_FIRST_RUN_WELCOME_TO_CHROME_VIEW_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_FIRST_RUN_WELCOME_TO_CHROME_VIEW_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 @class WelcomeToChromeView; |
| 11 |
| 12 // Delegate for WelcomeToChromeViews. |
| 13 @protocol WelcomeToChromeViewDelegate<NSObject> |
| 14 |
| 15 // Called when the user taps on the "Terms of Service" link. |
| 16 - (void)welcomeToChromeViewDidTapTOSLink:(WelcomeToChromeView*)view; |
| 17 |
| 18 // Called when the user taps the "Accept & Continue" button. |
| 19 - (void)welcomeToChromeViewDidTapOKButton:(WelcomeToChromeView*)view; |
| 20 |
| 21 @end |
| 22 |
| 23 // The first view shown to the user after fresh installs. |
| 24 @interface WelcomeToChromeView : UIView |
| 25 |
| 26 @property(nonatomic, assign) id<WelcomeToChromeViewDelegate> delegate; |
| 27 |
| 28 // Whether the stats reporting check box is selected. |
| 29 @property(nonatomic, assign, getter=isCheckBoxSelected) BOOL checkBoxSelected; |
| 30 |
| 31 // Runs the transition animation from Launch Screen to the Welcome to Chrome |
| 32 // View. This method must be called after the view is added to a superview and |
| 33 // the view's subviews have been laid out. |
| 34 - (void)runLaunchAnimation; |
| 35 |
| 36 @end |
| 37 |
| 38 #endif // IOS_CHROME_BROWSER_UI_FIRST_RUN_WELCOME_TO_CHROME_VIEW_H_ |
OLD | NEW |