Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: ios/web_view/public/criwv_web_view.h

Issue 2650323002: Cleanup ios/web_view. (Closed)
Patch Set: Respond to comments. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #ifndef IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_H_ 4 #ifndef IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_H_
5 #define IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_H_ 5 #define IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_H_
6 6
7 #import <UIKit/UIKit.h> 7 #import <UIKit/UIKit.h>
8 8
9 @protocol CRIWVWebViewDelegate; 9 @protocol CRIWVWebViewDelegate;
10 10
11 // Primary objective-c interface for web/. Just like a UIWebView, but better. 11 // Primary objective-c interface for web/. Just like a WKWebView, but better.
12 // Concrete instances can be created through CRIWV. 12 // Concrete instances can be created through CRIWV.
13 @protocol CRIWVWebView<NSObject> 13 @protocol CRIWVWebView<NSObject>
14 14
15 // The view used to display web content. 15 // The view used to display web content.
16 @property(nonatomic, readonly) UIView* view; 16 @property(nonatomic, readonly) UIView* view;
17 17
18 // This web view's delegate. 18 // This web view's delegate.
19 @property(nonatomic, readwrite, assign) id<CRIWVWebViewDelegate> delegate; 19 @property(nonatomic, readwrite, assign) id<CRIWVWebViewDelegate> delegate;
20 20
21 // Whether or not this web view can go backwards or forwards. 21 // Whether or not this web view can go backwards or forwards.
(...skipping 28 matching lines...) Expand all
50 - (void)loadURL:(NSURL*)url; 50 - (void)loadURL:(NSURL*)url;
51 51
52 // Evaluates a JavaScript string. 52 // Evaluates a JavaScript string.
53 // The completion handler is invoked when script evaluation completes. 53 // The completion handler is invoked when script evaluation completes.
54 - (void)evaluateJavaScript:(NSString*)javaScriptString 54 - (void)evaluateJavaScript:(NSString*)javaScriptString
55 completionHandler:(void (^)(id, NSError*))completionHandler; 55 completionHandler:(void (^)(id, NSError*))completionHandler;
56 56
57 @end 57 @end
58 58
59 #endif // IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_H_ 59 #endif // IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_H_
OLDNEW
« no previous file with comments | « ios/web_view/internal/translate/criwv_translate_manager_impl.mm ('k') | ios/web_view/shell/shell_app_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698