OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 // ====== New Architecture ===== | |
6 // = This code is only used in the new iOS Chrome architecture. = | |
7 // ============================================================================ | |
8 | |
9 #ifndef IOS_CHROME_APP_STEPS_TAB_GRID_COORDINATOR_APPLICATION_STEP_H_ | |
10 #define IOS_CHROME_APP_STEPS_TAB_GRID_COORDINATOR_APPLICATION_STEP_H_ | |
11 | |
12 #import <UIKit/UIKit.h> | |
13 | |
14 #include "ios/chrome/app/application_step.h" | |
15 #import "ios/chrome/browser/ui/tab_grid/tab_grid_coordinator.h" | |
16 | |
17 // Category on TabGridCoordinator to allow it to act as an application step | |
18 // and control the root UI for the application when is starts. | |
19 // Creates the main window and makes it key, but doesn't make it visible yet. | |
20 // Pre: Application phase is APPLICATION_FOREGROUNDED and the main window is | |
21 // key. | |
22 // Post: Application phase is (still) APPLICATION_FOREGROUNDED, the main window | |
23 // is visible and has a root view controller set. | |
24 @interface TabGridCoordinator (ApplicationStep)<ApplicationStep> | |
25 @end | |
26 | |
27 #endif // IOS_CHROME_APP_STEPS_TAB_GRID_COORDINATOR_APPLICATION_STEP_H_ | |
OLD | NEW |