Chromium Code Reviews| Index: remoting/ios/app/remoting_resource_factory.h |
| diff --git a/remoting/ios/app/remoting_resource_factory.h b/remoting/ios/app/remoting_resource_factory.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..37e27fa31c46c0e4d32a1dc42e95c852d238c63c |
| --- /dev/null |
| +++ b/remoting/ios/app/remoting_resource_factory.h |
| @@ -0,0 +1,26 @@ |
| +// 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_REMOTING_RESOURCE_FACTORY_H_ |
| +#define REMOTING_IOS_APP_REMOTING_RESOURCE_FACTORY_H_ |
| + |
| +#import <UIKit/UIKit.h> |
| + |
| +// The base class for holding resources that have different internal and |
| +// external implementation. |
| +@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.
|
| + |
| +// Used by AppDelegate to wrap the root view controller. Implementation can wrap |
| +// the root view controller into a PanelViewController. |
| +- (UIViewController*)wrapRootViewController:(UIViewController*)controller; |
| + |
| +// Presents the side menu on the host list view. |
| +- (void)presentMenuOnController:(UIViewController*)controller; |
| + |
| +// The default factory must be set right after the app is loaded. |
| +@property(class, strong, nonatomic) RemotingResourceFactory* defaultFactory; |
| + |
| +@end |
| + |
| +#endif // REMOTING_IOS_APP_REMOTING_RESOURCE_FACTORY_H_ |