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

Side by Side Diff: ios/clean/chrome/app/application_phase.h

Issue 2592983003: [Clean Skeleton] Migrate code to clean/ (Closed)
Patch Set: Rebased Created 3 years, 11 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
« no previous file with comments | « ios/clean/chrome/app/app_delegate.mm ('k') | ios/clean/chrome/app/application_state.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // ====== New Architecture ===== 5 // ====== New Architecture =====
6 // = This code is only used in the new iOS Chrome architecture. = 6 // = This code is only used in the new iOS Chrome architecture. =
7 // ============================================================================ 7 // ============================================================================
8 8
9 #ifndef IOS_CHROME_APP_APPLICATION_PHASE_H_ 9 #ifndef IOS_CLEAN_CHROME_APP_APPLICATION_PHASE_H_
10 #define IOS_CHROME_APP_APPLICATION_PHASE_H_ 10 #define IOS_CLEAN_CHROME_APP_APPLICATION_PHASE_H_
11 11
12 // The phases that the application moves through as it transitions between 12 // The phases that the application moves through as it transitions between
13 // states. 13 // states.
14 typedef NS_ENUM(NSUInteger, ApplicationPhase) { 14 typedef NS_ENUM(NSUInteger, ApplicationPhase) {
15 // The initial state of the application performing a cold launch. 15 // The initial state of the application performing a cold launch.
16 APPLICATION_COLD, 16 APPLICATION_COLD,
17 // The minimal initialization that must be completed before any further 17 // The minimal initialization that must be completed before any further
18 // startup can happen. |applicationDidFinishLaunching:withOptions:| must 18 // startup can happen. |applicationDidFinishLaunching:withOptions:| must
19 // bring the appication to at least this phase before returning. 19 // bring the appication to at least this phase before returning.
20 APPLICATION_BASIC, 20 APPLICATION_BASIC,
21 // The phase required for any background handling. 21 // The phase required for any background handling.
22 APPLICATION_BACKGROUNDED, 22 APPLICATION_BACKGROUNDED,
23 // The phase where the app is foregrounded but Safe Mode has been started. 23 // The phase where the app is foregrounded but Safe Mode has been started.
24 APPLICATION_SAFE_MODE, 24 APPLICATION_SAFE_MODE,
25 // The phase where the app is fully foregrounded and the regular UI has 25 // The phase where the app is fully foregrounded and the regular UI has
26 // started. 26 // started.
27 APPLICATION_FOREGROUNDED, 27 APPLICATION_FOREGROUNDED,
28 // The phase where the application has started to terminate. 28 // The phase where the application has started to terminate.
29 APPLICATION_TERMINATING 29 APPLICATION_TERMINATING
30 }; 30 };
31 31
32 #endif // IOS_CHROME_APP_APPLICATION_PHASE_H_ 32 #endif // IOS_CLEAN_CHROME_APP_APPLICATION_PHASE_H_
OLDNEW
« no previous file with comments | « ios/clean/chrome/app/app_delegate.mm ('k') | ios/clean/chrome/app/application_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698