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

Side by Side Diff: ios/clean/chrome/browser/ui/tab_collection/tab_collection_view_controller.h

Issue 2786893002: [ios] Dispatcher for tab_strip and tab_grid. (Closed)
Patch Set: Update showcase. Created 3 years, 8 months 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
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_COLLECTION_TAB_COLLECTION_VIEW_CONTROLLE R_H_ 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_VIEW_CONTROLLE R_H_
6 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_VIEW_CONTROLLE R_H_ 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_VIEW_CONTROLLE R_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import "ios/clean/chrome/browser/ui/tab_collection/tab_collection_consumer.h" 10 #import "ios/clean/chrome/browser/ui/tab_collection/tab_collection_consumer.h"
11 11
12 @protocol TabCommands;
13 @protocol TabCollectionDataSource; 12 @protocol TabCollectionDataSource;
14 13
15 // Controller for a scrolling view displaying square cells that represent 14 // Controller for a scrolling view displaying square cells that represent
16 // the user's open tabs. 15 // the user's open tabs.
17 @interface TabCollectionViewController : UIViewController<TabCollectionConsumer> 16 @interface TabCollectionViewController : UIViewController<TabCollectionConsumer>
18 // A collection view of tabs. 17 // A collection view of tabs.
19 @property(nonatomic, weak, readonly) UICollectionView* tabs; 18 @property(nonatomic, weak, readonly) UICollectionView* tabs;
20 // Data source for the tabs to be displayed. 19 // Data source for the tabs to be displayed.
21 @property(nonatomic, weak) id<TabCollectionDataSource> dataSource; 20 @property(nonatomic, weak) id<TabCollectionDataSource> dataSource;
22 // Command handler to show, close, or create tabs.
23 @property(nonatomic, weak) id<TabCommands> tabCommandHandler;
24 @end 21 @end
25 22
26 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_VIEW_CONTRO LLER_H_ 23 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_VIEW_CONTRO LLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698