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/chrome/browser/ui/commands/tab_commands.h" | 8 #import "ios/clean/chrome/browser/ui/commands/tab_commands.h" |
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 #if !defined(__has_feature) || !__has_feature(objc_arc) | 11 #if !defined(__has_feature) || !__has_feature(objc_arc) |
12 #error "This file requires ARC support." | 12 #error "This file requires ARC support." |
13 #endif | 13 #endif |
14 | 14 |
15 @interface SCTabGridCoordinator ()<TabGridDataSource, TabCommands> | 15 @interface SCTabGridCoordinator ()<TabGridDataSource, TabCommands> |
16 @property(nonatomic, strong) TabGridViewController* viewController; | 16 @property(nonatomic, strong) TabGridViewController* viewController; |
17 @end | 17 @end |
18 | 18 |
19 @implementation SCTabGridCoordinator | 19 @implementation SCTabGridCoordinator |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 [UIAlertAction actionWithTitle:@"Done" | 61 [UIAlertAction actionWithTitle:@"Done" |
62 style:UIAlertActionStyleCancel | 62 style:UIAlertActionStyleCancel |
63 handler:nil]; | 63 handler:nil]; |
64 [alertController addAction:action]; | 64 [alertController addAction:action]; |
65 [self.baseViewController presentViewController:alertController | 65 [self.baseViewController presentViewController:alertController |
66 animated:YES | 66 animated:YES |
67 completion:nil]; | 67 completion:nil]; |
68 } | 68 } |
69 | 69 |
70 @end | 70 @end |
OLD | NEW |