| 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_TAB_GRID_TAB_GRID_VIEW_CONTROLLER_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_VIEW_CONTROLLER_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_VIEW_CONTROLLER_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_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 #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/tab_grid/tab_grid_consumer.h" | 11 #import "ios/clean/chrome/browser/ui/tab_grid/tab_grid_consumer.h" |
| 12 | 12 |
| 13 @protocol SettingsCommands; | 13 @protocol SettingsCommands; |
| 14 @protocol TabGridCommands; | 14 @protocol TabGridCommands; |
| 15 | 15 |
| 16 // View controller with a grid of tabs. |
| 16 @interface TabGridViewController | 17 @interface TabGridViewController |
| 17 : TabCollectionViewController<TabGridConsumer, ZoomTransitionDelegate> | 18 : TabCollectionViewController<TabGridConsumer, ZoomTransitionDelegate> |
| 18 // Command handlers. | 19 // Dispatcher to handle commands. |
| 19 @property(nonatomic, weak) id<SettingsCommands> settingsCommandHandler; | 20 @property(nonatomic, weak) id<SettingsCommands, TabGridCommands> dispatcher; |
| 20 @property(nonatomic, weak) id<TabGridCommands> tabGridCommandHandler; | |
| 21 @end | 21 @end |
| 22 | 22 |
| 23 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_VIEW_CONTROLLER_H_ | 23 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_VIEW_CONTROLLER_H_ |
| OLD | NEW |