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

Unified Diff: ios/web_view/internal/criwv.mm

Issue 2691883003: Rename ios/web_view public delegates from CRIWV to CWV prefix. (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 | « no previous file | ios/web_view/internal/criwv_web_client.h » ('j') | ios/web_view/public/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/criwv.mm
diff --git a/ios/web_view/internal/criwv.mm b/ios/web_view/internal/criwv.mm
index 178e8dcadf0fa71ca987f55486c219deb41b0008..825c8292d42bf376b0cbdb779d41d2cbb5115c5b 100644
--- a/ios/web_view/internal/criwv.mm
+++ b/ios/web_view/internal/criwv.mm
@@ -12,7 +12,7 @@
#include "ios/web/public/app/web_main.h"
#include "ios/web/public/web_thread.h"
#import "ios/web_view/internal/criwv_web_main_delegate.h"
-#import "ios/web_view/public/criwv_delegate.h"
+#import "ios/web_view/public/cwv_delegate.h"
#import "ios/web_view/public/cwv_web_view.h"
#import "ios/web_view/public/cwv_web_view_configuration.h"
#import "ios/web_view/public/cwv_website_data_store.h"
@@ -30,16 +30,16 @@ CRIWV* g_criwv = nil;
std::unique_ptr<web::WebMain> _webMain;
}
-@property(nonatomic, weak) id<CRIWVDelegate> delegate;
+@property(nonatomic, weak) id<CWVDelegate> delegate;
-- (instancetype)initWithDelegate:(id<CRIWVDelegate>)delegate;
+- (instancetype)initWithDelegate:(id<CWVDelegate>)delegate;
@end
@implementation CRIWV
@synthesize delegate = _delegate;
-+ (void)configureWithDelegate:(id<CRIWVDelegate>)delegate {
++ (void)configureWithDelegate:(id<CWVDelegate>)delegate {
g_criwv = [[CRIWV alloc] initWithDelegate:delegate];
}
@@ -55,7 +55,7 @@ CRIWV* g_criwv = nil;
return [[CWVWebView alloc] initWithFrame:frame configuration:configuration];
}
-- (instancetype)initWithDelegate:(id<CRIWVDelegate>)delegate {
+- (instancetype)initWithDelegate:(id<CWVDelegate>)delegate {
self = [super init];
if (self) {
_delegate = delegate;
« no previous file with comments | « no previous file | ios/web_view/internal/criwv_web_client.h » ('j') | ios/web_view/public/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698