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

Side by Side Diff: ios/chrome/browser/ui/first_run/welcome_to_chrome_view.h

Issue 2590473002: Upstream Chrome on iOS source code [5/11]. (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_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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698