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

Side by Side Diff: ios/chrome/app/steps/launch_to_foreground.h

Issue 2580363002: Upstream Chrome on iOS source code [1/11]. (Closed)
Patch Set: Created 4 years 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/chrome/app/steps/launch_to_basic.mm ('k') | ios/chrome/app/steps/launch_to_foreground.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_LAUNCH_TO_FOREGROUND_H_
10 #define IOS_CHROME_APP_STEPS_LAUNCH_TO_FOREGROUND_H_
11
12 #import <Foundation/Foundation.h>
13
14 #include "ios/chrome/app/application_step.h"
15
16 // This file includes ApplicationStep objects that perform the very first steps
17 // of application launch.
18
19 // Signals to the application context that the app is entering the foreground.
20 // Pre: Application phase is APPLICATION_BACKGROUNDED.
21 // Post: Application phase is (still) APPLICATION_BACKGROUNDED.
22 @interface BeginForegrounding : NSObject<ApplicationStep>
23 @end
24
25 // Initializes the browser state held by the application state, setting its
26 // initial cookie policies and any other pre-foreground inialization.
27 // Pre: Application phase is APPLICATION_BACKGROUNDED and the application
28 // state has a non-null browser state.
29 // Post: Application phase is (still) APPLICATION_BACKGROUNDED.
30 @interface BrowserStateInitializer : NSObject<ApplicationStep>
31 @end
32
33 // Creates the main window and makes it key, but doesn't make it visible yet.
34 // Pre: Application phase is APPLICATION_BACKGROUNDED.
35 // Post: Application phase is (still) APPLICATION_BACKGROUNDED.
36 @interface PrepareForUI : NSObject<ApplicationStep>
37 @end
38
39 // Performs final foregrounding tasks.
40 // Creates the main window and makes it key, but doesn't make it visible yet.
41 // Pre: Application phase is APPLICATION_BACKGROUNDED and the main window is
42 // key.
43 // Post: Application phase is APPLICATION_FOREGROUNDED.
44 @interface CompleteForegrounding : NSObject<ApplicationStep>
45 @end
46 #endif // IOS_CHROME_APP_STEPS_LAUNCH_TO_FOREGROUND_H_
OLDNEW
« no previous file with comments | « ios/chrome/app/steps/launch_to_basic.mm ('k') | ios/chrome/app/steps/launch_to_foreground.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698