| 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 #import "ios/showcase/tab_grid/sc_tab_grid_coordinator.h" | 5 #import "ios/showcase/tab_grid/sc_tab_grid_coordinator.h" |
| 6 | 6 |
| 7 #import "base/format_macros.h" | 7 #import "base/format_macros.h" |
| 8 #import "ios/clean/chrome/browser/ui/commands/settings_commands.h" |
| 8 #import "ios/clean/chrome/browser/ui/commands/tab_grid_commands.h" | 9 #import "ios/clean/chrome/browser/ui/commands/tab_grid_commands.h" |
| 9 #import "ios/clean/chrome/browser/ui/tab_collection/tab_collection_data_source.h
" | 10 #import "ios/clean/chrome/browser/ui/tab_collection/tab_collection_data_source.h
" |
| 10 #import "ios/clean/chrome/browser/ui/tab_grid/tab_grid_view_controller.h" | 11 #import "ios/clean/chrome/browser/ui/tab_grid/tab_grid_view_controller.h" |
| 11 #import "ios/showcase/common/protocol_alerter.h" | 12 #import "ios/showcase/common/protocol_alerter.h" |
| 12 | 13 |
| 13 #if !defined(__has_feature) || !__has_feature(objc_arc) | 14 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 14 #error "This file requires ARC support." | 15 #error "This file requires ARC support." |
| 15 #endif | 16 #endif |
| 16 | 17 |
| 17 @interface SCTabGridCoordinator ()<TabCollectionDataSource> | 18 @interface SCTabGridCoordinator ()<TabCollectionDataSource> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 48 | 49 |
| 49 - (NSString*)titleAtIndex:(int)index { | 50 - (NSString*)titleAtIndex:(int)index { |
| 50 return [NSString stringWithFormat:@"Tab %d", index]; | 51 return [NSString stringWithFormat:@"Tab %d", index]; |
| 51 } | 52 } |
| 52 | 53 |
| 53 - (int)indexOfActiveTab { | 54 - (int)indexOfActiveTab { |
| 54 return kTabCollectionDataSourceInvalidIndex; | 55 return kTabCollectionDataSourceInvalidIndex; |
| 55 } | 56 } |
| 56 | 57 |
| 57 @end | 58 @end |
| OLD | NEW |