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

Side by Side Diff: ios/chrome/browser/ui/strip/strip_container_view_controller.h

Issue 2594023002: Simple strip container that can reveal/hide tab strip. (Closed)
Patch Set: Remove unncessary dependency. Created 4 years 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
(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_STRIP_STRIP_CONTAINER_VIEW_CONTROLLER_H_
10 #define IOS_CHROME_BROWSER_UI_STRIP_STRIP_CONTAINER_VIEW_CONTROLLER_H_
11
12 #import <UIKit/UIKit.h>
13
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
16 // view, each managed by their own view controllers.
17 // 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.
18 @interface StripContainerViewController : UIViewController
19
20 // View controller showing the main content. If there is no strip view
21 // controller set, the contents of this view controller will fill all of the
22 // strip container's view.
23 @property(nonatomic, strong) UIViewController* contentViewController;
24
25 // View controller showing the strip. It will be of a fixed
26 // height (determined internally by the strip container), but will span the
27 // width of the tab.
28 @property(nonatomic, strong) UIViewController* stripViewController;
29
30 @end
31
32 #endif // IOS_CHROME_BROWSER_UI_STRIP_STRIP_CONTAINER_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698