Prevent app list doodle from being pinch-to-zoomed.
[chromium-blink-merge.git] / ios / web / web_state / ui / crw_web_controller_container_view.h
blob7eb61f12702a8af96bff0f2ac35ced3335dda849
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
11 // CRWWebController.
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;
27 @end
29 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_CONTAINER_VIEW_H_