Chromium Code Reviews| Index: ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_controller.mm |
| diff --git a/ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_controller.mm b/ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_controller.mm |
| index da2519be894d603afb72fa4253c554b113ffc214..6c5e0a6255bf88ebf1bb29a66ae5e98fb5a8d39b 100644 |
| --- a/ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_controller.mm |
| +++ b/ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_controller.mm |
| @@ -268,6 +268,14 @@ void FillVectorWithHashesUsingDistantSession( |
| nil); |
| } |
| +#pragma mark - UICollectionViewDelegate methods |
| + |
| +- (BOOL)collectionView:(UICollectionView*)collectionView |
|
marq (ping after 24h)
2017/02/23 11:04:30
Definitely not worth adding this code just to keep
edchin
2017/02/23 17:41:54
Agreed! Your suggestion is very elegant.
|
| + shouldSelectItemAtIndexPath:(NSIndexPath*)indexPath { |
| + // Prevent user selection of items. |
| + return NO; |
| +} |
| + |
| #pragma mark - SessionCellDelegate |
| - (TabSwitcherCache*)tabSwitcherCache { |