OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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_CLEAN_CHROME_APP_STEPS_ROOT_COORDINATOR_APPLICATION_STEP_H_ | |
6 #define IOS_CLEAN_CHROME_APP_STEPS_ROOT_COORDINATOR_APPLICATION_STEP_H_ | |
7 | |
8 #import "ios/clean/chrome/app/application_step.h" | |
9 #import "ios/clean/chrome/browser/ui/root/root_coordinator.h" | |
10 | |
11 // Category on RootCoordinator to allow it to act as an application | |
12 // step and control the root UI for the application when is starts. | |
13 // Creates the main window and makes it key, but doesn't make it visible yet. | |
lpromero
2017/04/12 08:58:49
Maybe this is an assumption that could be unit-tes
edchin
2017/04/13 07:39:15
Additional tests are added, but this whole assumpt
| |
14 // Pre: Application phase is APPLICATION_FOREGROUNDED and the main window is | |
15 // key. | |
16 // Post: Application phase is (still) APPLICATION_FOREGROUNDED, the main window | |
17 // is visible and has a root view controller set. | |
18 @interface RootCoordinator (ApplicationStep)<ApplicationStep> | |
19 @end | |
20 | |
21 #endif // IOS_CLEAN_CHROME_APP_STEPS_ROOT_COORDINATOR_APPLICATION_STEP_H_ | |
OLD | NEW |