OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_IOS_APP_APP_VIEW_CONTROLLER_H_ | |
6 #define REMOTING_IOS_APP_APP_VIEW_CONTROLLER_H_ | |
7 | |
8 #import <UIKit/UIKit.h> | |
9 | |
10 // The root view controller of the app. It acts as a container controller for | |
11 // |mainViewController|, which will be shown as the primary content of the view. | |
12 // Implementation can add drawer or modal for things like the side menu or help | |
13 // and feedback. | |
14 @interface AppViewController : UIViewController | |
15 | |
16 // For adding new method, please make sure the method is implemented privatel | |
nicholss
2017/06/19 16:32:09
Fix typos: "methods" or "a new method", "privately
Yuwei
2017/06/19 19:17:26
Done.
| |
17 // on both ios_internal and Chromium before adding the method to the interface | |
18 // and hooking it up to the caller. For deletion, just reverse the procedure. | |
19 // This is to prevent build break in internal buildbot. | |
20 | |
21 - (void)setMenuVisible:(BOOL)visible animated:(BOOL)animated; | |
22 | |
23 - (void)requestSignIn; | |
nicholss
2017/06/19 16:32:10
I don't think you mean request, this implies that
Yuwei
2017/06/19 19:17:26
Done.
| |
24 | |
25 @property(nonatomic) UIViewController* mainViewController; | |
nicholss
2017/06/19 16:32:10
mainViewController should be readonly, but I don't
Yuwei
2017/06/19 19:17:26
This is used to set the main VC to be shown on App
| |
26 | |
27 @end | |
28 | |
29 #endif // REMOTING_IOS_APP_APP_VIEW_CONTROLLER_H_ | |
OLD | NEW |