Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: ios/clean/chrome/browser/ui/tab/tab_container_view_controller.h

Issue 2592983003: [Clean Skeleton] Migrate code to clean/ (Closed)
Patch Set: Rebased Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_TAB_TAB_CONTAINER_VIEW_CONTROLLER_H_ 9 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TAB_TAB_CONTAINER_VIEW_CONTROLLER_H_
10 #define IOS_CHROME_BROWSER_UI_TAB_TAB_CONTAINER_VIEW_CONTROLLER_H_ 10 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_TAB_CONTAINER_VIEW_CONTROLLER_H_
11 11
12 #import <UIKit/UIKit.h> 12 #import <UIKit/UIKit.h>
13 13
14 #import "ios/chrome/browser/ui/presenters/menu_presentation_delegate.h" 14 #import "ios/clean/chrome/browser/ui/presenters/menu_presentation_delegate.h"
15 15
16 // Base class for a view controller that contains a content view (generally 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 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. 18 // view, each managed by their own view controllers.
19 // Subclasses manage the specific layout of these view controllers. 19 // Subclasses manage the specific layout of these view controllers.
20 @interface TabContainerViewController 20 @interface TabContainerViewController
21 : UIViewController<MenuPresentationDelegate> 21 : UIViewController<MenuPresentationDelegate>
22 22
23 // View controller showing the main content for the tab. If there is no 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 24 // toolbar view controller set, the contents of this view controller will
25 // fill all of the tab container's view. 25 // fill all of the tab container's view.
26 @property(nonatomic, strong) UIViewController* contentViewController; 26 @property(nonatomic, strong) UIViewController* contentViewController;
27 27
28 // View controller showing the toolbar for the tab. It will be of a fixed 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 29 // height (determined internally by the tab container), but will span the
30 // width of the tab. 30 // width of the tab.
31 @property(nonatomic, strong) UIViewController* toolbarViewController; 31 @property(nonatomic, strong) UIViewController* toolbarViewController;
32 32
33 @end 33 @end
34 34
35 // Tab container which positions the toolbar at the top. 35 // Tab container which positions the toolbar at the top.
36 @interface TopToolbarTabViewController : TabContainerViewController 36 @interface TopToolbarTabViewController : TabContainerViewController
37 @end 37 @end
38 38
39 // Tab container which positions the toolbar at the bottom. 39 // Tab container which positions the toolbar at the bottom.
40 @interface BottomToolbarTabViewController : TabContainerViewController 40 @interface BottomToolbarTabViewController : TabContainerViewController
41 @end 41 @end
42 42
43 #endif // IOS_CHROME_BROWSER_UI_TAB_TAB_CONTAINER_VIEW_CONTROLLER_H_ 43 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_TAB_CONTAINER_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/clean/chrome/browser/ui/tab/README.md ('k') | ios/clean/chrome/browser/ui/tab/tab_container_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698