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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/app/app_delegate.h
diff --git a/remoting/ios/app/app_delegate.h b/remoting/ios/app/app_delegate.h
index 2e5bfff39e9ae9544923279084dee888151190a7..a214ff158319d1d250d989f6b9d9f8d969af9ee3 100644
--- a/remoting/ios/app/app_delegate.h
+++ b/remoting/ios/app/app_delegate.h
@@ -7,10 +7,15 @@
#import <UIKit/UIKit.h>
+#import "remoting/ios/app/panel_view_controller.h"
+
// Default created delegate class for the entire application.
@interface AppDelegate : UIResponder<UIApplicationDelegate>
@property(strong, nonatomic) UIWindow* window;
+@property(strong, nonatomic, readonly)
+ UIViewController<PanelViewController>* rootViewController;
+@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
@end
« 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