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

Unified Diff: ios/clean/chrome/browser/ui/tab_grid/tab_grid_view_controller.h

Issue 2786893002: [ios] Dispatcher for tab_strip and tab_grid. (Closed)
Patch Set: Update showcase. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ios/clean/chrome/browser/ui/tab_grid/tab_grid_view_controller.h
diff --git a/ios/clean/chrome/browser/ui/tab_grid/tab_grid_view_controller.h b/ios/clean/chrome/browser/ui/tab_grid/tab_grid_view_controller.h
index 58a86d7b2ad692671fe753ef7ac096bd670467fe..c155c0aba343846d40525628382828961eb485d4 100644
--- a/ios/clean/chrome/browser/ui/tab_grid/tab_grid_view_controller.h
+++ b/ios/clean/chrome/browser/ui/tab_grid/tab_grid_view_controller.h
@@ -13,11 +13,11 @@
@protocol SettingsCommands;
@protocol TabGridCommands;
+// View controller with a grid of tabs.
@interface TabGridViewController
: TabCollectionViewController<TabGridConsumer, ZoomTransitionDelegate>
-// Command handlers.
-@property(nonatomic, weak) id<SettingsCommands> settingsCommandHandler;
-@property(nonatomic, weak) id<TabGridCommands> tabGridCommandHandler;
+// Dispatcher to handle commands.
+@property(nonatomic, weak) id<SettingsCommands, TabGridCommands> dispatcher;
@end
#endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698