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

Unified Diff: ios/web_view/shell/shell_view_controller.m

Issue 2690163003: Rename CRIWVWebView to CWVWebView. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web_view/public/cwv_web_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/shell/shell_view_controller.m
diff --git a/ios/web_view/shell/shell_view_controller.m b/ios/web_view/shell/shell_view_controller.m
index 60c0bba119ea92bcc58821d7a1e12fdca40b7e09..bc04126ab84f99dd6febe2bd567cd7e52a7af2e1 100644
--- a/ios/web_view/shell/shell_view_controller.m
+++ b/ios/web_view/shell/shell_view_controller.m
@@ -5,7 +5,7 @@
#import "ios/web_view/shell/shell_view_controller.h"
#import "ios/web_view/public/criwv.h"
-#import "ios/web_view/public/criwv_web_view.h"
+#import "ios/web_view/public/cwv_web_view.h"
#import "ios/web_view/shell/translate_controller.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
@@ -20,7 +20,7 @@
// Toolbar containing navigation buttons and |field|.
@property(nonatomic, strong) UIToolbar* toolbar;
// CRIWV view which renders the web page.
-@property(nonatomic, strong) CRIWVWebView* webView;
+@property(nonatomic, strong) CWVWebView* webView;
// Handles the translation of the content displayed in |webView|.
@property(nonatomic, strong) TranslateController* translateController;
@@ -174,7 +174,7 @@
#pragma mark CRIWVWebViewDelegate methods
-- (void)webView:(CRIWVWebView*)webView
+- (void)webView:(CWVWebView*)webView
didFinishLoadingWithURL:(NSURL*)url
loadSuccess:(BOOL)loadSuccess {
// TODO(crbug.com/679895): Add some visual indication that the page load has
@@ -182,7 +182,7 @@
[self updateToolbar];
}
-- (void)webView:(CRIWVWebView*)webView
+- (void)webView:(CWVWebView*)webView
didUpdateWithChanges:(CRIWVWebViewUpdateType)changes {
if (changes & CRIWVWebViewUpdateTypeProgress) {
// TODO(crbug.com/679895): Add a progress indicator.
« no previous file with comments | « ios/web_view/public/cwv_web_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698