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..17b6693a537cb22aa996f4139287ba1e038906e0 |
--- /dev/null |
+++ b/ios/chrome/browser/ui/strip/strip_container_view_controller.h |
@@ -0,0 +1,31 @@ |
+// 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. |
+@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_ |