| Index: ios/web_view/public/criwv_web_view.h
|
| diff --git a/ios/web_view/public/criwv_web_view.h b/ios/web_view/public/criwv_web_view.h
|
| index 5d2aeb40c8d23a2b966d557e8457885401ee639b..1bc56978383acf4cd9acfac6a27c0da72701078d 100644
|
| --- a/ios/web_view/public/criwv_web_view.h
|
| +++ b/ios/web_view/public/criwv_web_view.h
|
| @@ -8,9 +8,14 @@
|
|
|
| @protocol CRIWVWebViewDelegate;
|
|
|
| -// Primary objective-c interface for web/. Just like a WKWebView, but better.
|
| +// A web view component (like WKWebView) which uses iOS Chromium's web view
|
| +// implementation.
|
| +//
|
| +// In addition to WKWebView features, it allows Translate, Find In Page,
|
| +// Customizable Context Menus, and maybe more.
|
| +//
|
| // Concrete instances can be created through CRIWV.
|
| -@protocol CRIWVWebView<NSObject>
|
| +@interface CRIWVWebView : UIView
|
|
|
| // The view used to display web content.
|
| @property(nonatomic, readonly) UIView* view;
|
| @@ -35,6 +40,9 @@
|
| // undefined if the web view is not currently loading.
|
| @property(nonatomic, readonly) CGFloat loadProgress;
|
|
|
| +- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
|
| +- (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE;
|
| +
|
| // Navigates backwards or forwards by one page. Does nothing if the
|
| // corresponding |canGoBack| or |canGoForward| method returns NO.
|
| - (void)goBack;
|
|
|