Index: ios/clean/chrome/browser/ui/web_contents/web_contents_view_controller.h |
diff --git a/ios/clean/chrome/browser/ui/web_contents/web_contents_view_controller.h b/ios/clean/chrome/browser/ui/web_contents/web_contents_view_controller.h |
index 7faed63fefbafd29ebe23943b09cf9ec0e7c80af..110b385bd800a489a489f58ecefd28ca89fa229e 100644 |
--- a/ios/clean/chrome/browser/ui/web_contents/web_contents_view_controller.h |
+++ b/ios/clean/chrome/browser/ui/web_contents/web_contents_view_controller.h |
@@ -11,28 +11,11 @@ |
#import <UIKit/UIKit.h> |
-namespace web { |
-class WebState; |
-} |
+#import "ios/clean/chrome/browser/ui/web_contents/web_contents_consumer.h" |
// A view controller for displaying a web view with no other controls or |
// decoration. |
-@interface WebContentsViewController : UIViewController |
- |
-// Designated initializer. |webState| must not be null. |
-- (instancetype)initWithWebState:(web::WebState*)webState |
- NS_DESIGNATED_INITIALIZER; |
- |
-- (instancetype)init NS_UNAVAILABLE; |
- |
-- (instancetype)initWithCoder:(NSCoder*)aCoder NS_UNAVAILABLE; |
- |
-- (instancetype)initWithNibName:(NSString*)nibNameOrNil |
- bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE; |
- |
-// The webState the receiver was initialized with. |
-@property(nonatomic, readonly) web::WebState* webState; |
- |
+@interface WebContentsViewController : UIViewController<WebContentsConsumer> |
@end |
#endif // IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTENTS_WEB_CONTENTS_VIEW_CONTROLLER_H_ |