Chromium Code Reviews| 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_REMOTING_RESOURCE_FACTORY_H_ | |
| 6 #define REMOTING_IOS_APP_REMOTING_RESOURCE_FACTORY_H_ | |
| 7 | |
| 8 #import <UIKit/UIKit.h> | |
| 9 | |
| 10 // The base class for holding resources that have different internal and | |
| 11 // external implementation. | |
| 12 @interface RemotingResourceFactory : NSObject | |
|
nicholss
2017/06/14 15:37:59
A resource in iOS is an image or other static cont
Yuwei
2017/06/15 07:02:08
Obsolete.
| |
| 13 | |
| 14 // Used by AppDelegate to wrap the root view controller. Implementation can wrap | |
| 15 // the root view controller into a PanelViewController. | |
| 16 - (UIViewController*)wrapRootViewController:(UIViewController*)controller; | |
| 17 | |
| 18 // Presents the side menu on the host list view. | |
| 19 - (void)presentMenuOnController:(UIViewController*)controller; | |
| 20 | |
| 21 // The default factory must be set right after the app is loaded. | |
| 22 @property(class, strong, nonatomic) RemotingResourceFactory* defaultFactory; | |
| 23 | |
| 24 @end | |
| 25 | |
| 26 #endif // REMOTING_IOS_APP_REMOTING_RESOURCE_FACTORY_H_ | |
| OLD | NEW |