OLD | NEW |
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 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_VIEW_CONTROLLER_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_VIEW_CONTROLLER_H_ |
6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_VIEW_CONTROLLER_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_VIEW_CONTROLLER_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 #import "ios/clean/chrome/browser/ui/animators/zoom_transition_delegate.h" | 10 #import "ios/clean/chrome/browser/ui/animators/zoom_transition_delegate.h" |
11 #import "ios/clean/chrome/browser/ui/toolbar/toolbar_consumer.h" | 11 #import "ios/clean/chrome/browser/ui/toolbar/toolbar_consumer.h" |
12 | 12 |
13 @protocol NavigationCommands; | 13 @protocol NavigationCommands; |
14 @protocol TabGridCommands; | 14 @protocol TabGridCommands; |
| 15 @protocol TabStripCommands; |
15 @protocol ToolsMenuCommands; | 16 @protocol ToolsMenuCommands; |
16 | 17 |
17 // View controller for a toolbar, which will show a horizontal row of | 18 // View controller for a toolbar, which will show a horizontal row of |
18 // controls and/or labels. | 19 // controls and/or labels. |
19 // This view controller will fill its container; it is up to the containing | 20 // This view controller will fill its container; it is up to the containing |
20 // view controller or presentation controller to configure an appropriate | 21 // view controller or presentation controller to configure an appropriate |
21 // height for it. | 22 // height for it. |
22 @interface ToolbarViewController | 23 @interface ToolbarViewController |
23 : UIViewController<ZoomTransitionDelegate, ToolbarConsumer> | 24 : UIViewController<ZoomTransitionDelegate, ToolbarConsumer> |
24 | 25 |
25 // The dispatcher for this view controller | 26 // The dispatcher for this view controller |
26 @property(nonatomic, weak) | 27 @property(nonatomic, weak) |
27 id<NavigationCommands, TabGridCommands, ToolsMenuCommands> | 28 id<NavigationCommands, TabGridCommands, TabStripCommands, ToolsMenuCommands> |
28 dispatcher; | 29 dispatcher; |
29 | 30 |
30 @property(nonatomic, strong) UIViewController* locationBarViewController; | 31 @property(nonatomic, strong) UIViewController* locationBarViewController; |
31 | 32 |
32 @end | 33 @end |
33 | 34 |
34 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_VIEW_CONTROLLER_H_ | 35 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_VIEW_CONTROLLER_H_ |
OLD | NEW |