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. |
| 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 |