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 // ====== 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_GRID_TAB_GRID_VIEW_CONTROLLER_H_ | 9 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_VIEW_CONTROLLER_H_ |
10 #define IOS_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_VIEW_CONTROLLER_H_ | 10 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_VIEW_CONTROLLER_H_ |
11 | 11 |
12 #import <UIKit/UIKit.h> | 12 #import <UIKit/UIKit.h> |
13 | 13 |
14 #import "ios/chrome/browser/ui/animators/zoom_transition_delegate.h" | 14 #import "ios/clean/chrome/browser/ui/animators/zoom_transition_delegate.h" |
15 | 15 |
16 @protocol SettingsCommands; | 16 @protocol SettingsCommands; |
17 @protocol TabCommands; | 17 @protocol TabCommands; |
18 @protocol TabGridCommands; | 18 @protocol TabGridCommands; |
19 | 19 |
20 // The data source for tab grid UI. | 20 // The data source for tab grid UI. |
21 // Conceptually the tab grid represents a group of WebState objects (which | 21 // Conceptually the tab grid represents a group of WebState objects (which |
22 // are ultimately the model-layer representation of a browser tab). The data | 22 // are ultimately the model-layer representation of a browser tab). The data |
23 // source must be able to map between indices and WebStates. | 23 // source must be able to map between indices and WebStates. |
24 @protocol TabGridDataSource<NSObject> | 24 @protocol TabGridDataSource<NSObject> |
(...skipping 11 matching lines...) Expand all Loading... |
36 @interface TabGridViewController : UIViewController<ZoomTransitionDelegate> | 36 @interface TabGridViewController : UIViewController<ZoomTransitionDelegate> |
37 | 37 |
38 // Data source for the tabs to be displayed. | 38 // Data source for the tabs to be displayed. |
39 @property(nonatomic, weak) id<TabGridDataSource> dataSource; | 39 @property(nonatomic, weak) id<TabGridDataSource> dataSource; |
40 // Command handlers. | 40 // Command handlers. |
41 @property(nonatomic, weak) id<SettingsCommands> settingsCommandHandler; | 41 @property(nonatomic, weak) id<SettingsCommands> settingsCommandHandler; |
42 @property(nonatomic, weak) id<TabCommands> tabCommandHandler; | 42 @property(nonatomic, weak) id<TabCommands> tabCommandHandler; |
43 @property(nonatomic, weak) id<TabGridCommands> tabGridCommandHandler; | 43 @property(nonatomic, weak) id<TabGridCommands> tabGridCommandHandler; |
44 @end | 44 @end |
45 | 45 |
46 #endif // IOS_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_VIEW_CONTROLLER_H_ | 46 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_VIEW_CONTROLLER_H_ |
OLD | NEW |