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

Side by Side Diff: ios/chrome/browser/root_coordinator.h

Issue 2566993002: [ObjC ARC] Converts ios/chrome/browser:browser to ARC. (Closed)
Patch Set: comments 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/browser/open_url_util.mm ('k') | ios/chrome/browser/root_coordinator.mm » ('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 #ifndef IOS_CHROME_BROWSER_ROOT_COORDINATOR_H_ 5 #ifndef IOS_CHROME_BROWSER_ROOT_COORDINATOR_H_
6 #define IOS_CHROME_BROWSER_ROOT_COORDINATOR_H_ 6 #define IOS_CHROME_BROWSER_ROOT_COORDINATOR_H_
7 7
8 #include <UIKit/UIKit.h> 8 #include <UIKit/UIKit.h>
9 9
10 #import "ios/chrome/browser/chrome_coordinator.h" 10 #import "ios/chrome/browser/chrome_coordinator.h"
11 11
12 // A coordinator specialization for the case where the coordinator is 12 // A coordinator specialization for the case where the coordinator is
13 // creating and managing the root view controller for a UIWindow. 13 // creating and managing the root view controller for a UIWindow.
14 14
15 @interface RootCoordinator : ChromeCoordinator 15 @interface RootCoordinator : ChromeCoordinator
16 16
17 - (nullable instancetype)initWithWindow:(nullable UIWindow*)window 17 - (nullable instancetype)initWithWindow:(nullable UIWindow*)window
18 NS_DESIGNATED_INITIALIZER; 18 NS_DESIGNATED_INITIALIZER;
19 19
20 - (nullable instancetype)initWithBaseViewController: 20 - (nullable instancetype)initWithBaseViewController:
21 (nullable UIViewController*)viewController NS_UNAVAILABLE; 21 (nullable UIViewController*)viewController NS_UNAVAILABLE;
22 22
23 @property(nonatomic, readonly, nullable) UIWindow* window; 23 @property(weak, nonatomic, readonly, nullable) UIWindow* window;
24 24
25 @end 25 @end
26 26
27 #endif // IOS_CHROME_BROWSER_ROOT_COORDINATOR_H_ 27 #endif // IOS_CHROME_BROWSER_ROOT_COORDINATOR_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/open_url_util.mm ('k') | ios/chrome/browser/root_coordinator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698