OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_BROWSER_CONTAINER_VIEW_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_BROWSER_CONTAINER_VIEW_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 // UIView which allows displaing and removing a content view. |
| 11 @interface BrowserContainerView : UIView |
| 12 |
| 13 // Adds the given |contentView| as a subview and removes the previously added |
| 14 // |contentView| if any. If |contentView| is nil then only old content view is |
| 15 // removed. |
| 16 - (void)displayContentView:(UIView*)contentView; |
| 17 |
| 18 @end |
| 19 |
| 20 #endif // IOS_CHROME_BROWSER_UI_BROWSER_CONTAINER_VIEW_H_ |
OLD | NEW |