summaryrefslogtreecommitdiffstats
path: root/ios/chrome/browser/infobars/infobar_container_view.h
blob: 4d14f871d6134ace86cbd36675ea885a8bc5d003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_VIEW_H_
#define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_VIEW_H_

#import <UIKit/UIKit.h>

class InfoBarIOS;

@interface InfoBarContainerView : UIView {
}

// Add a new infobar to the container view at position |position|.
- (void)addInfoBar:(InfoBarIOS*)infoBarIOS position:(NSInteger)position;

// Height of the frontmost infobar that is not hidden.
- (CGFloat)topmostVisibleInfoBarHeight;

@end

#endif  // IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_VIEW_H_