|
Allow CollectionViewModel/Controller queries without SectionIdentifier
This CL replace the method to get the indexPath of an item knowing its section
identifier in the CollectionViewModel by a method returning the indexPath of an
item even if its section identifier is unknown.
It adds a method to know if an item is present in a CollectionViewModel.
It also replace the reconfigure method of CollectionViewController to allow reconfiguring
without knowing the section identifier of the items.
BUG= 703652
Review-Url: https://codereview.chromium.org/2761263003
Cr-Commit-Position: refs/heads/master@{#468964}
Committed: https://chromium.googlesource.com/chromium/src/+/61dc89e9c94a7d2874e05c1ac9b0a02cf6d3bb7b
Total comments: 1
Total comments: 6
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+121 lines, -212 lines) |
Patch |
 |
M |
ios/chrome/browser/ui/authentication/signed_in_accounts_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/authentication/signin_account_selector_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/autofill/card_unmask_prompt_view_bridge.mm
|
View
|
1
2
3
|
4 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/collection_view/collection_view_controller.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/collection_view/collection_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/collection_view/collection_view_controller_unittest.mm
|
View
|
1
2
3
4
|
3 chunks |
+21 lines, -27 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/collection_view/collection_view_model.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -2 lines |
3 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/collection_view/collection_view_model.mm
|
View
|
1
2
3
|
1 chunk |
+16 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/collection_view/collection_view_model_unittest.mm
|
View
|
1
2
3
|
1 chunk |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm
|
View
|
1
2
3
4
|
6 chunks |
+6 lines, -26 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/history/history_collection_view_controller.mm
|
View
|
1
2
3
|
3 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/payments/credit_card_edit_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/payments/payment_request_selector_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/payments/payment_request_view_controller.mm
|
View
|
1
2
3
|
4 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm
|
View
|
1
2
3
4
|
5 chunks |
+9 lines, -25 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/autofill_credit_card_edit_collection_view_controller.mm
|
View
|
1
2
3
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/autofill_profile_edit_collection_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/bandwidth_management_collection_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/block_popups_collection_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller.mm
|
View
|
1
2
3
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/content_settings_collection_view_controller.mm
|
View
|
1
2
3
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/dataplan_usage_collection_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/import_data_collection_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/password_details_collection_view_controller.mm
|
View
|
1
2
3
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/privacy_collection_view_controller.mm
|
View
|
1
2
3
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/save_passwords_collection_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/search_engine_settings_collection_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/settings_collection_view_controller.mm
|
View
|
1
2
3
|
7 chunks |
+7 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/sync_settings_collection_view_controller.mm
|
View
|
1
2
3
|
6 chunks |
+6 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/time_range_selector_collection_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/translate_collection_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/settings/voicesearch_collection_view_controller.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
Total messages: 32 (6 generated)
|