OLD | NEW |
| (Empty) |
1 // Copyright 2016 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 // ====== New Architecture ===== | |
6 // = This code is only used in the new iOS Chrome architecture. = | |
7 // ============================================================================ | |
8 | |
9 #ifndef IOS_CHROME_BROWSER_UI_STRIP_STRIP_CONTAINER_VIEW_CONTROLLER_H_ | |
10 #define IOS_CHROME_BROWSER_UI_STRIP_STRIP_CONTAINER_VIEW_CONTROLLER_H_ | |
11 | |
12 #import <UIKit/UIKit.h> | |
13 | |
14 // Base class for a view controller that contains a content view (generally a | |
15 // web view with toolbar, but nothing in this class assumes that) and a strip | |
16 // view, each managed by their own view controllers. | |
17 @interface StripContainerViewController : UIViewController | |
18 | |
19 // View controller showing the main content. If there is no strip view | |
20 // controller set, the contents of this view controller will fill all of the | |
21 // strip container's view. | |
22 @property(nonatomic, strong) UIViewController* contentViewController; | |
23 | |
24 // View controller showing the strip. It will be of a fixed | |
25 // height (determined internally by the strip container), but will span the | |
26 // width of the tab. | |
27 @property(nonatomic, strong) UIViewController* stripViewController; | |
28 | |
29 @end | |
30 | |
31 #endif // IOS_CHROME_BROWSER_UI_STRIP_STRIP_CONTAINER_VIEW_CONTROLLER_H_ | |
OLD | NEW |