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

Side by Side Diff: ios/showcase/tab_grid/sc_tab_grid_coordinator.mm

Issue 2712743005: Add NTPViewController to Showcase. (Closed)
Patch Set: Improve NTP in 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
« no previous file with comments | « ios/showcase/ntp/sc_ntp_coordinator.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
lpromero 2017/04/13 17:04:57 I am moving this in its own CL as this fixes a Sho
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
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
OLDNEW
« no previous file with comments | « ios/showcase/ntp/sc_ntp_coordinator.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698