| 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_TAB_TAB_CONTAINER_VIEW_CONTROLLER_H_ |  | 
|  10 #define IOS_CHROME_BROWSER_UI_TAB_TAB_CONTAINER_VIEW_CONTROLLER_H_ |  | 
|  11  |  | 
|  12 #import <UIKit/UIKit.h> |  | 
|  13  |  | 
|  14 #import "ios/chrome/browser/ui/presenters/menu_presentation_delegate.h" |  | 
|  15  |  | 
|  16 // Base class for a view controller that contains a content view (generally |  | 
|  17 // some kind of web view, but nothing in this class assumes that) and a toolbar |  | 
|  18 // view, each managed by their own view controllers. |  | 
|  19 // Subclasses manage the specific layout of these view controllers. |  | 
|  20 @interface TabContainerViewController |  | 
|  21     : UIViewController<MenuPresentationDelegate> |  | 
|  22  |  | 
|  23 // View controller showing the main content for the tab. If there is no |  | 
|  24 // toolbar view controller set, the contents of this view controller will |  | 
|  25 // fill all of the tab container's view. |  | 
|  26 @property(nonatomic, strong) UIViewController* contentViewController; |  | 
|  27  |  | 
|  28 // View controller showing the toolbar for the tab. It will be of a fixed |  | 
|  29 // height (determined internally by the tab container), but will span the |  | 
|  30 // width of the tab. |  | 
|  31 @property(nonatomic, strong) UIViewController* toolbarViewController; |  | 
|  32  |  | 
|  33 @end |  | 
|  34  |  | 
|  35 // Tab container which positions the toolbar at the top. |  | 
|  36 @interface TopToolbarTabViewController : TabContainerViewController |  | 
|  37 @end |  | 
|  38  |  | 
|  39 // Tab container which positions the toolbar at the bottom. |  | 
|  40 @interface BottomToolbarTabViewController : TabContainerViewController |  | 
|  41 @end |  | 
|  42  |  | 
|  43 #endif  // IOS_CHROME_BROWSER_UI_TAB_TAB_CONTAINER_VIEW_CONTROLLER_H_ |  | 
| OLD | NEW |