Index: ios/web/web_state/ui/crw_wk_simple_web_view_controller.h |
diff --git a/ios/web/web_state/ui/crw_wk_simple_web_view_controller.h b/ios/web/web_state/ui/crw_wk_simple_web_view_controller.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a4c81953c8989369f7c81a40413fe4785eda02aa |
--- /dev/null |
+++ b/ios/web/web_state/ui/crw_wk_simple_web_view_controller.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef IOS_WEB_WEB_STATE_UI_CRW_WK_SIMPLE_WEB_VIEW_CONTROLLER_H_ |
+#define IOS_WEB_WEB_STATE_UI_CRW_WK_SIMPLE_WEB_VIEW_CONTROLLER_H_ |
+ |
+#import <WebKit/WebKit.h> |
+ |
+#import "ios/web/web_state/ui/crw_simple_web_view_controller.h" |
+ |
+// A CRWSimpleWebViewController implentation backed by a WKWebView. |
+// TODO(shreyasv): Make this subscribe to CRWSimpleWebView and implement |
Eugene But (OOO till 7-30)
2015/03/30 05:03:58
NIT: I think this comment is not valid anymore.
stuartmorgan
2015/03/30 14:17:57
Removed.
|
+// it. |
+@interface CRWWKSimpleWebViewController : NSObject<CRWSimpleWebViewController> |
+ |
+// Creates a new view controller backed by a WKWebView. |
+- (instancetype)initWithWKWebView:(WKWebView*)webView; |
+ |
+@end |
+ |
+#endif // IOS_WEB_WEB_STATE_UI_CRW_WK_SIMPLE_WEB_VIEW_CONTROLLER_H_ |