| 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 // ====== New Architecture ===== | 5 // ====== New Architecture ===== |
| 6 // = This code is only used in the new iOS Chrome architecture. = | 6 // = This code is only used in the new iOS Chrome architecture. = |
| 7 // ============================================================================ | 7 // ============================================================================ |
| 8 | 8 |
| 9 #import "ios/chrome/browser/ui/tab_grid/tab_grid_view_controller.h" | 9 #import "ios/clean/chrome/browser/ui/tab_grid/tab_grid_view_controller.h" |
| 10 | 10 |
| 11 #include "base/mac/foundation_util.h" | 11 #include "base/mac/foundation_util.h" |
| 12 #import "ios/chrome/browser/ui/actions/settings_actions.h" | 12 #import "ios/clean/chrome/browser/ui/actions/settings_actions.h" |
| 13 #import "ios/chrome/browser/ui/actions/tab_grid_actions.h" | 13 #import "ios/clean/chrome/browser/ui/actions/tab_grid_actions.h" |
| 14 #import "ios/chrome/browser/ui/tab_grid/tab_grid_tab_cell.h" | 14 #import "ios/clean/chrome/browser/ui/commands/settings_commands.h" |
| 15 #import "ios/chrome/browser/ui/commands/settings_commands.h" | 15 #import "ios/clean/chrome/browser/ui/commands/tab_commands.h" |
| 16 #import "ios/chrome/browser/ui/commands/tab_commands.h" | 16 #import "ios/clean/chrome/browser/ui/commands/tab_grid_commands.h" |
| 17 #import "ios/chrome/browser/ui/commands/tab_grid_commands.h" | 17 #import "ios/clean/chrome/browser/ui/tab_grid/tab_grid_tab_cell.h" |
| 18 | 18 |
| 19 #if !defined(__has_feature) || !__has_feature(objc_arc) | 19 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 20 #error "This file requires ARC support." | 20 #error "This file requires ARC support." |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 namespace { | 23 namespace { |
| 24 NSString* const kTabGridCellIdentifier = @"tabGridCell"; | 24 NSString* const kTabGridCellIdentifier = @"tabGridCell"; |
| 25 const CGFloat kSpace = 20; | 25 const CGFloat kSpace = 20; |
| 26 const CGFloat kTabSize = 150; | 26 const CGFloat kTabSize = 150; |
| 27 } | 27 } |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 [self.settingsCommandHandler showSettings]; | 146 [self.settingsCommandHandler showSettings]; |
| 147 } | 147 } |
| 148 | 148 |
| 149 #pragma mark - TabGridActions | 149 #pragma mark - TabGridActions |
| 150 | 150 |
| 151 - (void)showTabGrid:(id)sender { | 151 - (void)showTabGrid:(id)sender { |
| 152 [self.tabGridCommandHandler showTabGrid]; | 152 [self.tabGridCommandHandler showTabGrid]; |
| 153 } | 153 } |
| 154 | 154 |
| 155 @end | 155 @end |
| OLD | NEW |