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

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

Issue 2675633002: Let CRIWVWebView inherit UIView instead of NSObject. (Closed)
Patch Set: Fix format. Created 3 years, 11 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/BUILD.gn ('k') | ios/web_view/internal/criwv_web_view.mm » ('j') | no next file with comments »
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 f4a4093349eaffea38ee265eb964db4bf6ce1d9d..0877ffbd87626063890c3332b28cdb617ed3c0ba 100644
--- a/ios/web_view/internal/criwv.mm
+++ b/ios/web_view/internal/criwv.mm
@@ -14,7 +14,7 @@
#include "ios/web_view/internal/criwv_browser_state.h"
#import "ios/web_view/internal/criwv_web_client.h"
#import "ios/web_view/internal/criwv_web_main_delegate.h"
-#import "ios/web_view/internal/criwv_web_view_impl.h"
+#import "ios/web_view/internal/criwv_web_view_internal.h"
#import "ios/web_view/public/criwv_delegate.h"
namespace {
@@ -42,9 +42,10 @@ CRIWV* g_criwv = nil;
g_criwv = nil;
}
-+ (id<CRIWVWebView>)webView {
- return [[[CRIWVWebViewImpl alloc] initWithBrowserState:[g_criwv browserState]]
- autorelease];
++ (CRIWVWebView*)webViewWithFrame:(CGRect)frame {
+ return
+ [[[CRIWVWebView alloc] initWithFrame:frame
+ browserState:[g_criwv browserState]] autorelease];
}
- (instancetype)initWithDelegate:(id<CRIWVDelegate>)delegate {
« no previous file with comments | « ios/web_view/internal/BUILD.gn ('k') | ios/web_view/internal/criwv_web_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698