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)openFaviconAtIndex:(NSInteger)index { | |
63 [static_cast<id<SuggestionsCommands>>(self.alerter) openFaviconAtIndex:index]; | |
marq (ping after 24h)
2017/01/19 16:20:26
I'm going to again suggest you just directly assig
marq (ping after 24h)
2017/01/19 16:20:26
Oh, and a minor nit: my current understanding is t
gambard
2017/01/19 17:37:32
Done.
gambard
2017/01/19 17:37:32
Done.
| |
64 } | |
65 | |
62 @end | 66 @end |
OLD | NEW |