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

Side by Side Diff: ios/web/public/web_state/ui/crw_web_view_content_view.h

Issue 2916473002: [ObjC ARC] Converts ios/web:web to ARC. (Closed)
Patch Set: Fixing silly mistake Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_VIEW_CONTENT_VIEW_H_ 5 #ifndef IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_VIEW_CONTENT_VIEW_H_
6 #define IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_VIEW_CONTENT_VIEW_H_ 6 #define IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_VIEW_CONTENT_VIEW_H_
7 7
8 #import "ios/web/public/web_state/ui/crw_content_view.h" 8 #import "ios/web/public/web_state/ui/crw_content_view.h"
9 9
10 // Wraps a web vew in a CRWContentView. 10 // Wraps a web vew in a CRWContentView.
11 @interface CRWWebViewContentView : CRWContentView 11 @interface CRWWebViewContentView : CRWContentView
12 12
13 // The webView passed to |-initWithWebView|. 13 // The webView passed to |-initWithWebView|.
14 @property(nonatomic, retain, readonly) UIView* webView; 14 @property(nonatomic, strong, readonly) UIView* webView;
15 15
16 // Initializes the CRWWebViewContentView to display |webView|. 16 // Initializes the CRWWebViewContentView to display |webView|.
17 - (instancetype)initWithWebView:(UIView*)webView 17 - (instancetype)initWithWebView:(UIView*)webView
18 scrollView:(UIScrollView*)scrollView 18 scrollView:(UIScrollView*)scrollView
19 NS_DESIGNATED_INITIALIZER; 19 NS_DESIGNATED_INITIALIZER;
20 20
21 // Available only for testing. 21 // Available only for testing.
22 - (instancetype)initForTesting NS_DESIGNATED_INITIALIZER; 22 - (instancetype)initForTesting NS_DESIGNATED_INITIALIZER;
23 23
24 // CRWWebViewContentViews should be initialized via |-initWithWebView: 24 // CRWWebViewContentViews should be initialized via |-initWithWebView:
25 // scrollView:|. 25 // scrollView:|.
26 - (instancetype)initWithCoder:(NSCoder*)decoder NS_UNAVAILABLE; 26 - (instancetype)initWithCoder:(NSCoder*)decoder NS_UNAVAILABLE;
27 - (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE; 27 - (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
28 28
29 @end 29 @end
30 30
31 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_VIEW_CONTENT_VIEW_H_ 31 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_VIEW_CONTENT_VIEW_H_
OLDNEW
« no previous file with comments | « ios/web/public/web_state/ui/crw_content_view.h ('k') | ios/web/web_state/ui/crw_web_controller_container_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698