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

Side by Side Diff: remoting/ios/app/app_delegate.h

Issue 2937733003: [CRD iOS] Branching internal and external implementations (Closed)
Patch Set: Move some initialization code to AppDelegate Created 3 years, 6 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 | « remoting/ios/app/BUILD.gn ('k') | remoting/ios/app/app_delegate.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 REMOTING_IOS_APP_APP_DELEGATE_H_ 5 #ifndef REMOTING_IOS_APP_APP_DELEGATE_H_
6 #define REMOTING_IOS_APP_APP_DELEGATE_H_ 6 #define REMOTING_IOS_APP_APP_DELEGATE_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import "remoting/ios/app/panel_view_controller.h"
11
10 // Default created delegate class for the entire application. 12 // Default created delegate class for the entire application.
11 @interface AppDelegate : UIResponder<UIApplicationDelegate> 13 @interface AppDelegate : UIResponder<UIApplicationDelegate>
12 14
13 @property(strong, nonatomic) UIWindow* window; 15 @property(strong, nonatomic) UIWindow* window;
16 @property(strong, nonatomic, readonly)
17 UIViewController<PanelViewController>* rootViewController;
18 @property(class, strong, nonatomic, readonly) AppDelegate* currentDelegate;
nicholss 2017/06/15 15:15:16 I see this pattern naming would called "instance"
Yuwei 2017/06/15 21:22:17 Renamed to `instance`. I added this to simplify c
14 19
15 @end 20 @end
16 21
17 #endif // REMOTING_IOS_APP_APP_DELEGATE_H_ 22 #endif // REMOTING_IOS_APP_APP_DELEGATE_H_
18 23
OLDNEW
« no previous file with comments | « remoting/ios/app/BUILD.gn ('k') | remoting/ios/app/app_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698