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

Side by Side Diff: ios/chrome/app/application_delegate/app_state.h

Issue 2621943002: [ObjC ARC] Converts ios/chrome/app/application_delegate:application_delegate_internal to ARC. (Closed)
Patch Set: comment 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
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 #ifndef IOS_CHROME_APP_APPLICATION_DELEGATE_APP_STATE_H_ 5 #ifndef IOS_CHROME_APP_APPLICATION_DELEGATE_APP_STATE_H_
6 #define IOS_CHROME_APP_APPLICATION_DELEGATE_APP_STATE_H_ 6 #define IOS_CHROME_APP_APPLICATION_DELEGATE_APP_STATE_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 @protocol AppNavigation; 10 @protocol AppNavigation;
(...skipping 19 matching lines...) Expand all
30 startupInformation:(id<StartupInformation>)startupInformation 30 startupInformation:(id<StartupInformation>)startupInformation
31 applicationDelegate:(MainApplicationDelegate*)applicationDelegate 31 applicationDelegate:(MainApplicationDelegate*)applicationDelegate
32 NS_DESIGNATED_INITIALIZER; 32 NS_DESIGNATED_INITIALIZER;
33 33
34 // YES if the user has ever interacted with the application. May be NO if the 34 // YES if the user has ever interacted with the application. May be NO if the
35 // application has been woken up by the system for background work. 35 // application has been woken up by the system for background work.
36 @property(nonatomic, readonly) BOOL userInteracted; 36 @property(nonatomic, readonly) BOOL userInteracted;
37 37
38 // Window for the application, it is not set during the initialization method. 38 // Window for the application, it is not set during the initialization method.
39 // Set the property before calling methods related to it. 39 // Set the property before calling methods related to it.
40 @property(nonatomic, assign) UIWindow* window; 40 @property(nonatomic, weak) UIWindow* window;
41 41
42 // Saves the launchOptions to be used from -newTabFromLaunchOptions. If the 42 // Saves the launchOptions to be used from -newTabFromLaunchOptions. If the
43 // application is in background, initialize the browser to basic. If not, launch 43 // application is in background, initialize the browser to basic. If not, launch
44 // the browser. 44 // the browser.
45 // Returns whether additional delegate handling should be performed (call to 45 // Returns whether additional delegate handling should be performed (call to
46 // -performActionForShortcutItem or -openURL by the system for example) 46 // -performActionForShortcutItem or -openURL by the system for example)
47 - (BOOL)requiresHandlingAfterLaunchWithOptions:(NSDictionary*)launchOptions 47 - (BOOL)requiresHandlingAfterLaunchWithOptions:(NSDictionary*)launchOptions
48 stateBackground:(BOOL)stateBackground; 48 stateBackground:(BOOL)stateBackground;
49 49
50 // Whether the application is in Safe Mode. 50 // Whether the application is in Safe Mode.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 appNavigation:(id<AppNavigation>)appNavigation; 82 appNavigation:(id<AppNavigation>)appNavigation;
83 83
84 // Sets the return value for -didFinishLaunchingWithOptions that determines if 84 // Sets the return value for -didFinishLaunchingWithOptions that determines if
85 // UIKit should make followup delegate calls such as 85 // UIKit should make followup delegate calls such as
86 // -performActionForShortcutItem or -openURL. 86 // -performActionForShortcutItem or -openURL.
87 - (void)launchFromURLHandled:(BOOL)URLHandled; 87 - (void)launchFromURLHandled:(BOOL)URLHandled;
88 88
89 @end 89 @end
90 90
91 #endif // IOS_CHROME_APP_APPLICATION_DELEGATE_APP_STATE_H_ 91 #endif // IOS_CHROME_APP_APPLICATION_DELEGATE_APP_STATE_H_
OLDNEW
« no previous file with comments | « ios/chrome/app/application_delegate/BUILD.gn ('k') | ios/chrome/app/application_delegate/app_state.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698