| Index: ios/web_view/public/criwv.h
|
| diff --git a/ios/web_view/public/criwv.h b/ios/web_view/public/criwv.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a858af24f72cdf585475360a30be072cd3af2c2d
|
| --- /dev/null
|
| +++ b/ios/web_view/public/criwv.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2014 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 IOS_WEB_VIEW_PUBLIC_CRIWV_H_
|
| +#define IOS_WEB_VIEW_PUBLIC_CRIWV_H_
|
| +
|
| +#import <Foundation/Foundation.h>
|
| +
|
| +@protocol CRIWVDelegate;
|
| +@protocol CRIWVWebView;
|
| +
|
| +// Main interface for the CRIWV library.
|
| +@interface CRIWV : NSObject
|
| +
|
| +// Initializes the CRIWV library. This function should be called from
|
| +// |application:didFinishLaunchingWithOptions:|.
|
| ++ (void)configureWithDelegate:(id<CRIWVDelegate>)delegate;
|
| +
|
| +// Shuts down the CRIWV library. This function should be called from
|
| +// |applicationwillTerminate:|.
|
| ++ (void)shutDown;
|
| +
|
| +// Creates and returns a web view.
|
| ++ (id<CRIWVWebView>)webView;
|
| +
|
| +@end
|
| +
|
| +#endif // IOS_WEB_VIEW_PUBLIC_CRIWV_H_
|
|
|