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