| Index: ios/chrome/browser/ui/browser_container_view.h
|
| diff --git a/ios/chrome/browser/ui/browser_container_view.h b/ios/chrome/browser/ui/browser_container_view.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6faddea976f43d403c932cfe12232868876dcb76
|
| --- /dev/null
|
| +++ b/ios/chrome/browser/ui/browser_container_view.h
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2015 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_UI_BROWSER_CONTAINER_VIEW_H_
|
| +#define IOS_CHROME_BROWSER_UI_BROWSER_CONTAINER_VIEW_H_
|
| +
|
| +#import <UIKit/UIKit.h>
|
| +
|
| +// UIView which allows displaing and removing a content view.
|
| +@interface BrowserContainerView : UIView
|
| +
|
| +// Adds the given |contentView| as a subview and removes the previously added
|
| +// |contentView| if any. If |contentView| is nil then only old content view is
|
| +// removed.
|
| +- (void)displayContentView:(UIView*)contentView;
|
| +
|
| +@end
|
| +
|
| +#endif // IOS_CHROME_BROWSER_UI_BROWSER_CONTAINER_VIEW_H_
|
|
|