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_ |