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

Unified Diff: ios/web_view/internal/criwv_web_view_internal.h

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/criwv_web_view_impl.mm ('k') | ios/web_view/public/criwv.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/criwv_web_view_internal.h
diff --git a/ios/web_view/internal/criwv_web_view_impl.h b/ios/web_view/internal/criwv_web_view_internal.h
similarity index 67%
rename from ios/web_view/internal/criwv_web_view_impl.h
rename to ios/web_view/internal/criwv_web_view_internal.h
index fbd9170e9ab082c8b473e93215212f296da232d6..6fe403d4bd3dbab3a2a2ad237be2b5a3ed4a146e 100644
--- a/ios/web_view/internal/criwv_web_view_impl.h
+++ b/ios/web_view/internal/criwv_web_view_internal.h
@@ -11,12 +11,12 @@ namespace ios_web_view {
class CRIWVBrowserState;
}
-@interface CRIWVWebViewImpl : NSObject<CRIWVWebView>
+@interface CRIWVWebView ()
-- (instancetype)init NS_UNAVAILABLE;
-
-- (instancetype)initWithBrowserState:
- (ios_web_view::CRIWVBrowserState*)browserState NS_DESIGNATED_INITIALIZER;
+// |browserState| cannot be nil.
+- (instancetype)initWithFrame:(CGRect)frame
+ browserState:(ios_web_view::CRIWVBrowserState*)browserState
+ NS_DESIGNATED_INITIALIZER;
@end
« no previous file with comments | « ios/web_view/internal/criwv_web_view_impl.mm ('k') | ios/web_view/public/criwv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698