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

Unified Diff: ios/chrome/browser/ui/suggestions/suggestions_view_controller.h

Issue 2619963004: Suggestions UI - Add Data Source and Item (Closed)
Patch Set: Change to property Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/suggestions/suggestions_view_controller.h
diff --git a/ios/chrome/browser/ui/suggestions/suggestions_view_controller.h b/ios/chrome/browser/ui/suggestions/suggestions_view_controller.h
index 05c227f11d8adcb2e882b07648319e0ca9dcdb1e..b058da84e443245e512e618b0c90daa93cedb559 100644
--- a/ios/chrome/browser/ui/suggestions/suggestions_view_controller.h
+++ b/ios/chrome/browser/ui/suggestions/suggestions_view_controller.h
@@ -17,6 +17,13 @@
// Handler for the commands sent by the SuggestionsViewController.
@property(nonatomic, weak) id<SuggestionsCommands> suggestionCommandHandler;
+// Adds a text item with a |title| and a |subtitle| in the section numbered
+// |section|. If |section| is greater than the current number of section, it
+// will add a new section at the end.
+- (void)addTextItem:(NSString*)title
+ subtitle:(NSString*)subtitle
+ toSection:(NSInteger)inputSection;
+
@end
#endif // IOS_CHROME_BROWSER_UI_SUGGESTIONS_SUGGESTIONS_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698