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

Unified Diff: remoting/ios/app/app_view_controller.h

Issue 2937733003: [CRD iOS] Branching internal and external implementations (Closed)
Patch Set: Add the requestSignIn method 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
Index: remoting/ios/app/app_view_controller.h
diff --git a/remoting/ios/app/app_view_controller.h b/remoting/ios/app/app_view_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..d382aa1c1c43044478e13e9a0c1c5bf2e575fdd3
--- /dev/null
+++ b/remoting/ios/app/app_view_controller.h
@@ -0,0 +1,29 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_IOS_APP_APP_VIEW_CONTROLLER_H_
+#define REMOTING_IOS_APP_APP_VIEW_CONTROLLER_H_
+
+#import <UIKit/UIKit.h>
+
+// The root view controller of the app. It acts as a container controller for
+// |mainViewController|, which will be shown as the primary content of the view.
+// Implementation can add drawer or modal for things like the side menu or help
+// and feedback.
+@interface AppViewController : UIViewController
+
+// 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.
+// on both ios_internal and Chromium before adding the method to the interface
+// and hooking it up to the caller. For deletion, just reverse the procedure.
+// This is to prevent build break in internal buildbot.
+
+- (void)setMenuVisible:(BOOL)visible animated:(BOOL)animated;
+
+- (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.
+
+@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
+
+@end
+
+#endif // REMOTING_IOS_APP_APP_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698