Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_data_sink.h

Issue 2887433002: Move the ContentSuggestions items to a new target (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 class GURL;
10 11
11 // Data sink for the ContentSuggestions. It will be notified when new data needs 12 // Data sink for the ContentSuggestions. It will be notified when new data needs
12 // to be pulled. 13 // to be pulled.
13 @protocol ContentSuggestionsDataSink 14 @protocol ContentSuggestionsDataSink
14 15
15 // Notifies the Data Sink that new data is available for the section identified 16 // Notifies the Data Sink that new data is available for the section identified
16 // by |sectionInfo|. 17 // by |sectionInfo|.
17 - (void)dataAvailableForSection: 18 - (void)dataAvailableForSection:
18 (ContentSuggestionsSectionInformation*)sectionInfo; 19 (ContentSuggestionsSectionInformation*)sectionInfo;
19 20
(...skipping 14 matching lines...) Expand all
34 // The content of the section corresponding to |sectionInfo| must be reloaded 35 // The content of the section corresponding to |sectionInfo| must be reloaded
35 // now, removing the current content. 36 // now, removing the current content.
36 - (void)reloadSection:(ContentSuggestionsSectionInformation*)sectionInfo; 37 - (void)reloadSection:(ContentSuggestionsSectionInformation*)sectionInfo;
37 38
38 // Notifies the Data Sink that a new favicon is available for the |URL|. 39 // Notifies the Data Sink that a new favicon is available for the |URL|.
39 - (void)faviconAvailableForURL:(const GURL&)URL; 40 - (void)faviconAvailableForURL:(const GURL&)URL;
40 41
41 @end 42 @end
42 43
43 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SI NK_H_ 44 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SI NK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698