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_PANEL_VIEW_CONTROLLER_H_ |
| 6 #define REMOTING_IOS_APP_PANEL_VIEW_CONTROLLER_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 // Interface for a view controller to open the side menu on top of the main view |
| 11 // controller. Implementation should be subclass of UIViewController. |
| 12 @protocol PanelViewController<NSObject> |
| 13 |
| 14 - (void)setPanelHidden:(BOOL)hidden animated:(BOOL)animated; |
| 15 |
| 16 @property(nonatomic) UIViewController* mainViewController; |
| 17 |
| 18 @end |
| 19 |
| 20 @interface PanelViewControllerFactory : NSObject |
| 21 |
| 22 + (UIViewController<PanelViewController>*)createController; |
| 23 |
| 24 @property(class, nonatomic) Class controllerClass; |
| 25 |
| 26 @end |
| 27 |
| 28 #endif // REMOTING_IOS_APP_PANEL_VIEW_CONTROLLER_H_ |
OLD | NEW |