Add ICU message format support
[chromium-blink-merge.git] / ios / web / public / web_state / ui / crw_generic_content_view.h
blob531e543e8f0232181785b26beb8256c2ea9463f2
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
3 // found in the LICENSE file.
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_
8 #include "ios/web/public/web_state/ui/crw_content_view.h"
10 // Wraps an arbitrary native UIView in a CRWContentView.
11 @interface CRWGenericContentView : CRWContentView
13 // The view that was passed to |-initWithContentView:|. This is the view that
14 // is displayed in |self.scrollView|.
15 @property(nonatomic, retain, readonly) UIView* view;
17 // Initializes the CRWNativeContentContainerView to display |view|, which
18 // will be added to the scroll view.
19 - (instancetype)initWithView:(UIView*)view NS_DESIGNATED_INITIALIZER;
21 // CRWGenericContentViews should be initialized via |-initWithView:|.
22 - (instancetype)initWithCoder:(NSCoder*)decoder NS_UNAVAILABLE;
23 - (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
25 @end
27 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_GENERIC_CONTENT_VIEW_H_