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/suggestions/sc_suggestions_coordinator.h" | 5 #import "ios/showcase/suggestions/sc_suggestions_coordinator.h" |
6 | 6 |
7 #import "ios/chrome/browser/ui/suggestions/suggestions_commands.h" | 7 #import "ios/chrome/browser/ui/suggestions/suggestions_commands.h" |
8 #import "ios/chrome/browser/ui/suggestions/suggestions_view_controller.h" | 8 #import "ios/chrome/browser/ui/suggestions/suggestions_view_controller.h" |
9 #import "ios/showcase/common/protocol_alerter.h" | 9 #import "ios/showcase/common/protocol_alerter.h" |
10 | 10 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 - (void)openReadingList { | 53 - (void)openReadingList { |
54 [static_cast<id<SuggestionsCommands>>(self.alerter) openReadingList]; | 54 [static_cast<id<SuggestionsCommands>>(self.alerter) openReadingList]; |
55 } | 55 } |
56 | 56 |
57 - (void)openFirstPageOfReadingList { | 57 - (void)openFirstPageOfReadingList { |
58 [static_cast<id<SuggestionsCommands>>(self.alerter) | 58 [static_cast<id<SuggestionsCommands>>(self.alerter) |
59 openFirstPageOfReadingList]; | 59 openFirstPageOfReadingList]; |
60 } | 60 } |
61 | 61 |
| 62 - (void)openFaviconAtIndexPath:(NSIndexPath*)indexPath { |
| 63 [static_cast<id<SuggestionsCommands>>(self.alerter) |
| 64 openFaviconAtIndexPath:indexPath]; |
| 65 } |
| 66 |
62 @end | 67 @end |
OLD | NEW |