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

Unified Diff: remoting/ios/app/panel_view_controller.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
Index: remoting/ios/app/panel_view_controller.h
diff --git a/remoting/ios/app/panel_view_controller.h b/remoting/ios/app/panel_view_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..b24ab540d9d8c9e44bee2604ab74b8ff4bc14188
--- /dev/null
+++ b/remoting/ios/app/panel_view_controller.h
@@ -0,0 +1,28 @@
+// 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_PANEL_VIEW_CONTROLLER_H_
+#define REMOTING_IOS_APP_PANEL_VIEW_CONTROLLER_H_
+
+#import <UIKit/UIKit.h>
+
+// Interface for a view controller to open the side menu on top of the main view
+// controller. Implementation should be subclass of UIViewController.
+@protocol PanelViewController<NSObject>
+
+- (void)setPanelHidden:(BOOL)hidden animated:(BOOL)animated;
+
+@property(nonatomic) UIViewController* mainViewController;
+
+@end
+
+@interface PanelViewControllerFactory : NSObject
+
++ (UIViewController<PanelViewController>*)createController;
+
+@property(class, nonatomic) Class controllerClass;
+
+@end
+
+#endif // REMOTING_IOS_APP_PANEL_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698