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

Side by Side Diff: ios/clean/chrome/app/app_delegate.mm

Issue 2800313002: [ios] RootCoordinator and view controller. (Closed)
Patch Set: Unittests, showcase, and clean up. Created 3 years, 8 months 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ios/clean/chrome/app/app_delegate.h" 5 #import "ios/clean/chrome/app/app_delegate.h"
6 6
7 #import "ios/clean/chrome/app/application_state.h" 7 #import "ios/clean/chrome/app/application_state.h"
8 #import "ios/clean/chrome/app/steps/launch_to_background.h" 8 #import "ios/clean/chrome/app/steps/launch_to_background.h"
9 #import "ios/clean/chrome/app/steps/launch_to_basic.h" 9 #import "ios/clean/chrome/app/steps/launch_to_basic.h"
10 #import "ios/clean/chrome/app/steps/launch_to_foreground.h" 10 #import "ios/clean/chrome/app/steps/launch_to_foreground.h"
11 #import "ios/clean/chrome/app/steps/tab_grid_coordinator+application_step.h" 11 #import "ios/clean/chrome/app/steps/root_coordinator+application_step.h"
12 12
13 #if !defined(__has_feature) || !__has_feature(objc_arc) 13 #if !defined(__has_feature) || !__has_feature(objc_arc)
14 #error "This file requires ARC support." 14 #error "This file requires ARC support."
15 #endif 15 #endif
16 16
17 @interface AppDelegate () 17 @interface AppDelegate ()
18 @property(nonatomic, strong) ApplicationState* applicationState; 18 @property(nonatomic, strong) ApplicationState* applicationState;
19 @end 19 @end
20 20
21 @implementation AppDelegate 21 @implementation AppDelegate
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // needed. 102 // needed.
103 - (void)configureApplicationState { 103 - (void)configureApplicationState {
104 [self.applicationState.launchSteps addObjectsFromArray:@[ 104 [self.applicationState.launchSteps addObjectsFromArray:@[
105 [[ProviderInitializer alloc] init], 105 [[ProviderInitializer alloc] init],
106 [[SetupBundleAndUserDefaults alloc] init], 106 [[SetupBundleAndUserDefaults alloc] init],
107 [[StartChromeMain alloc] init], 107 [[StartChromeMain alloc] init],
108 [[SetBrowserState alloc] init], 108 [[SetBrowserState alloc] init],
109 [[BeginForegrounding alloc] init], 109 [[BeginForegrounding alloc] init],
110 [[PrepareForUI alloc] init], 110 [[PrepareForUI alloc] init],
111 [[CompleteForegrounding alloc] init], 111 [[CompleteForegrounding alloc] init],
112 [[TabGridCoordinator alloc] init], 112 [[RootCoordinator alloc] init],
113 ]]; 113 ]];
114 } 114 }
115 115
116 @end 116 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698