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

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

Issue 2396553002: [ARC] Converts part of ios/web/ui to ARC.
Patch Set: co Created 4 years, 2 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_GENERIC_CONTENT_VIEW_H_ 5 #ifndef IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_GENERIC_CONTENT_VIEW_H_
6 #define IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_GENERIC_CONTENT_VIEW_H_ 6 #define IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_GENERIC_CONTENT_VIEW_H_
7 7
8 #include "ios/web/public/web_state/ui/crw_content_view.h" 8 #include "ios/web/public/web_state/ui/crw_content_view.h"
9 9
10 // Wraps an arbitrary native UIView in a CRWContentView. 10 // Wraps an arbitrary native UIView in a CRWContentView.
11 @interface CRWGenericContentView : CRWContentView 11 @interface CRWGenericContentView : CRWContentView
12 12
13 // The view that was passed to |-initWithContentView:|. This is the view that 13 // The view that was passed to |-initWithContentView:|. This is the view that
14 // is displayed in |self.scrollView|. 14 // is displayed in |self.scrollView|.
15 @property(nonatomic, retain, readonly) UIView* view; 15 @property(nonatomic, strong, readonly) UIView* view;
16 16
17 // Initializes the CRWNativeContentContainerView to display |view|, which 17 // Initializes the CRWNativeContentContainerView to display |view|, which
18 // will be added to the scroll view. 18 // will be added to the scroll view.
19 - (instancetype)initWithView:(UIView*)view NS_DESIGNATED_INITIALIZER; 19 - (instancetype)initWithView:(UIView*)view NS_DESIGNATED_INITIALIZER;
20 20
21 // CRWGenericContentViews should be initialized via |-initWithView:|. 21 // CRWGenericContentViews should be initialized via |-initWithView:|.
22 - (instancetype)initWithCoder:(NSCoder*)decoder NS_UNAVAILABLE; 22 - (instancetype)initWithCoder:(NSCoder*)decoder NS_UNAVAILABLE;
23 - (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE; 23 - (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
24 24
25 @end 25 @end
26 26
27 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_GENERIC_CONTENT_VIEW_H_ 27 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_GENERIC_CONTENT_VIEW_H_
OLDNEW
« no previous file with comments | « ios/web/public/web_state/page_display_state.mm ('k') | ios/web/public/web_state/ui/crw_web_view_content_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698