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

Side by Side Diff: ios/chrome/browser/ui/first_run/welcome_to_chrome_view_controller.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 2013 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_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_FIRST_RUN_WELCOME_TO_CHROME_VIEW_CONTROLLER_H_
7
8 #import <UIKit/UIKit.h>
9
10 extern NSString* const kUMAMetricsButtonAccessibilityIdentifier;
11
12 @class TabModel;
13
14 namespace ios {
15 class ChromeBrowserState;
16 }
17
18 // The first screen displayed to the user on First Run. User must agree to the
19 // Chrome Terms of Service before proceeding to use Chrome.
20 //
21 // Note: On iPhone, this controller supports portrait orientation only. It
22 // should always be presented in an |OrientationLimitingNavigationController|.
23 @interface WelcomeToChromeViewController : UIViewController
24
25 // True when the stats checkbox should be checked by default.
26 + (BOOL)defaultStatsCheckboxValue;
27
28 // Initializes with the given browser state object and tab model, neither of
29 // which can be nil.
30 - (instancetype)initWithBrowserState:(ios::ChromeBrowserState*)browserState
31 tabModel:(TabModel*)tabModel
32 NS_DESIGNATED_INITIALIZER;
33
34 - (instancetype)initWithNibName:(NSString*)nibNameOrNil
35 bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE;
36 - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE;
37
38 @end
39
40 #endif // IOS_CHROME_BROWSER_UI_FIRST_RUN_WELCOME_TO_CHROME_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698