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

Unified Diff: ios/web/web_state/ui/crw_wk_simple_web_view_controller.h

Issue 1048613002: Upstream ios/web/web_state/ui support classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
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_

Powered by Google App Engine
This is Rietveld 408576698