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_WEB_STATE_UI_CRW_WEB_CONTROLLER_CONTAINER_VIEW_H_
6 #define IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_CONTAINER_VIEW_H_
8 #import <UIKit/UIKit.h>
10 // Container view class that manages the display of content within
12 @interface CRWWebControllerContainerView
: UIView
14 // |toolbar| will be resized to the container width, bottom-aligned, and added
15 // as the topmost subview.
16 - (void)addToolbar
:(UIView
*)toolbar
;
18 // Adds each toolbar in |toolbars|.
19 - (void)addToolbars
:(NSArray
*)toolbars
;
21 // Removes |toolbar| as a subview.
22 - (void)removeToolbar
:(UIView
*)toolbar
;
24 // Removes all toolbars added via |-addToolbar:|.
25 - (void)removeAllToolbars
;
29 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_CONTAINER_VIEW_H_