Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ios / chrome / browser / infobars / infobar_container_view.h
blob4d14f871d6134ace86cbd36675ea885a8bc5d003
1 // Copyright 2012 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_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_VIEW_H_
6 #define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_VIEW_H_
8 #import <UIKit/UIKit.h>
10 class InfoBarIOS;
12 @interface InfoBarContainerView : UIView {
15 // Add a new infobar to the container view at position |position|.
16 - (void)addInfoBar:(InfoBarIOS*)infoBarIOS position:(NSInteger)position;
18 // Height of the frontmost infobar that is not hidden.
19 - (CGFloat)topmostVisibleInfoBarHeight;
21 @end
23 #endif // IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_VIEW_H_