Chromium Code Reviews| Index: ios/chrome/browser/ui/strip/strip_container_view_controller.h |
| diff --git a/ios/chrome/browser/ui/strip/strip_container_view_controller.h b/ios/chrome/browser/ui/strip/strip_container_view_controller.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3efc8023770ca20e7fd0f5d77b5790b0fbf3d988 |
| --- /dev/null |
| +++ b/ios/chrome/browser/ui/strip/strip_container_view_controller.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2016 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. |
| + |
| +// ====== New Architecture ===== |
| +// = This code is only used in the new iOS Chrome architecture. = |
| +// ============================================================================ |
| + |
| +#ifndef IOS_CHROME_BROWSER_UI_STRIP_STRIP_CONTAINER_VIEW_CONTROLLER_H_ |
| +#define IOS_CHROME_BROWSER_UI_STRIP_STRIP_CONTAINER_VIEW_CONTROLLER_H_ |
| + |
| +#import <UIKit/UIKit.h> |
| + |
| +// Base class for a view controller that contains a content view (generally a |
| +// web view with toolbar, but nothing in this class assumes that) and a strip |
| +// view, each managed by their own view controllers. |
| +// Subclasses manage the specific layout of these view controllers. |
|
marq (ping after 24h)
2016/12/21 17:26:14
Is the sentence about subclasses true in this case
edchin
2016/12/22 10:17:17
Removed.
|
| +@interface StripContainerViewController : UIViewController |
| + |
| +// View controller showing the main content. If there is no strip view |
| +// controller set, the contents of this view controller will fill all of the |
| +// strip container's view. |
| +@property(nonatomic, strong) UIViewController* contentViewController; |
| + |
| +// View controller showing the strip. It will be of a fixed |
| +// height (determined internally by the strip container), but will span the |
| +// width of the tab. |
| +@property(nonatomic, strong) UIViewController* stripViewController; |
| + |
| +@end |
| + |
| +#endif // IOS_CHROME_BROWSER_UI_STRIP_STRIP_CONTAINER_VIEW_CONTROLLER_H_ |