| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SINK_
H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SINK_
H_ |
| 6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SINK_
H_ | 6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SINK_
H_ |
| 7 | 7 |
| 8 @class ContentSuggestionIdentifier; | 8 @class ContentSuggestionIdentifier; |
| 9 @class ContentSuggestionsSectionInformation; | 9 @class ContentSuggestionsSectionInformation; |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 // Notifies the Data Sink that it must remove all current data and reload new | 25 // Notifies the Data Sink that it must remove all current data and reload new |
| 26 // ones. | 26 // ones. |
| 27 - (void)reloadAllData; | 27 - (void)reloadAllData; |
| 28 | 28 |
| 29 // The section corresponding to |sectionInfo| has been invalidated and must be | 29 // The section corresponding to |sectionInfo| has been invalidated and must be |
| 30 // cleared now. This is why this method is about the data source pushing | 30 // cleared now. This is why this method is about the data source pushing |
| 31 // something to the data sink. | 31 // something to the data sink. |
| 32 - (void)clearSection:(ContentSuggestionsSectionInformation*)sectionInfo; | 32 - (void)clearSection:(ContentSuggestionsSectionInformation*)sectionInfo; |
| 33 | 33 |
| 34 // The content of the section corresponding to |sectionInfo| must be reloaded |
| 35 // now, removing the current content. |
| 36 - (void)reloadSection:(ContentSuggestionsSectionInformation*)sectionInfo; |
| 37 |
| 38 // Notifies the Data Sink that a new favicon is available for the |URL|. |
| 39 - (void)faviconAvailableForURL:(const GURL&)URL; |
| 40 |
| 34 @end | 41 @end |
| 35 | 42 |
| 36 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SI
NK_H_ | 43 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SI
NK_H_ |
| OLD | NEW |