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

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

Issue 2703413004: Rename CRIWV class to CWV. (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/internal/criwv_web_main_parts.h ('k') | ios/web_view/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/cwv.mm
diff --git a/ios/web_view/internal/criwv.mm b/ios/web_view/internal/cwv.mm
similarity index 91%
rename from ios/web_view/internal/criwv.mm
rename to ios/web_view/internal/cwv.mm
index 825c8292d42bf376b0cbdb779d41d2cbb5115c5b..62248ace37298e01e6068d78ec4a50dd31ddf518 100644
--- a/ios/web_view/internal/criwv.mm
+++ b/ios/web_view/internal/cwv.mm
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import "ios/web_view/public/criwv.h"
+#import "ios/web_view/public/cwv.h"
#include <memory>
@@ -22,10 +22,10 @@
#endif
namespace {
-CRIWV* g_criwv = nil;
+CWV* g_criwv = nil;
}
-@interface CRIWV () {
+@interface CWV () {
std::unique_ptr<ios_web_view::CRIWVWebMainDelegate> _webMainDelegate;
std::unique_ptr<web::WebMain> _webMain;
}
@@ -35,12 +35,12 @@ CRIWV* g_criwv = nil;
- (instancetype)initWithDelegate:(id<CWVDelegate>)delegate;
@end
-@implementation CRIWV
+@implementation CWV
@synthesize delegate = _delegate;
+ (void)configureWithDelegate:(id<CWVDelegate>)delegate {
- g_criwv = [[CRIWV alloc] initWithDelegate:delegate];
+ g_criwv = [[CWV alloc] initWithDelegate:delegate];
}
+ (void)shutDown {
« no previous file with comments | « ios/web_view/internal/criwv_web_main_parts.h ('k') | ios/web_view/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698