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 { |