OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_TAB_STRIP_TAB_STRIP_VIEW_CONTROLLER_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TAB_STRIP_TAB_STRIP_VIEW_CONTROLLER_H_ |
6 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_STRIP_TAB_STRIP_VIEW_CONTROLLER_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_STRIP_TAB_STRIP_VIEW_CONTROLLER_H_ |
7 | 7 |
8 #import "ios/clean/chrome/browser/ui/tab_collection/tab_collection_view_controll
er.h" | 8 #import "ios/clean/chrome/browser/ui/tab_collection/tab_collection_view_controll
er.h" |
9 | 9 |
| 10 @protocol TabStripCommands; |
| 11 |
10 // Controller for a scrolling view displaying square cells that represent | 12 // Controller for a scrolling view displaying square cells that represent |
11 // the user's open tabs. | 13 // the user's open tabs. |
12 @interface TabStripViewController : TabCollectionViewController | 14 @interface TabStripViewController : TabCollectionViewController |
| 15 // Dispatcher to handle commands to open/close tabs. |
| 16 @property(nonatomic, weak) id<TabStripCommands> dispatcher; |
13 @end | 17 @end |
14 | 18 |
15 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_STRIP_TAB_STRIP_VIEW_CONTROLLER_H_ | 19 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_STRIP_TAB_STRIP_VIEW_CONTROLLER_H_ |
OLD | NEW |