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

Side by Side Diff: ios/chrome/browser/ui/settings/material_cell_catalog_view_controller.mm

Issue 2761753002: Cleanup ContentSuggestions cells (Closed)
Patch Set: Fix tests Created 3 years, 9 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
« no previous file with comments | « ios/chrome/browser/ui/settings/BUILD.gn ('k') | ios/chrome/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/chrome/browser/ui/settings/material_cell_catalog_view_controller.h" 5 #import "ios/chrome/browser/ui/settings/material_cell_catalog_view_controller.h"
6 6
7 #import <UIKit/UIKit.h> 7 #import <UIKit/UIKit.h>
8 8
9 #import "base/mac/foundation_util.h" 9 #import "base/mac/foundation_util.h"
10 #include "components/autofill/core/browser/autofill_data_util.h" 10 #include "components/autofill/core/browser/autofill_data_util.h"
11 #include "components/autofill/core/browser/credit_card.h" 11 #include "components/autofill/core/browser/credit_card.h"
12 #include "components/grit/components_scaled_resources.h" 12 #include "components/grit/components_scaled_resources.h"
13 #import "ios/chrome/browser/payments/cells/autofill_profile_item.h" 13 #import "ios/chrome/browser/payments/cells/autofill_profile_item.h"
14 #import "ios/chrome/browser/payments/cells/payments_text_item.h" 14 #import "ios/chrome/browser/payments/cells/payments_text_item.h"
15 #import "ios/chrome/browser/payments/cells/price_item.h" 15 #import "ios/chrome/browser/payments/cells/price_item.h"
16 #import "ios/chrome/browser/ui/authentication/account_control_item.h" 16 #import "ios/chrome/browser/ui/authentication/account_control_item.h"
17 #import "ios/chrome/browser/ui/autofill/cells/cvc_item.h" 17 #import "ios/chrome/browser/ui/autofill/cells/cvc_item.h"
18 #import "ios/chrome/browser/ui/autofill/cells/status_item.h" 18 #import "ios/chrome/browser/ui/autofill/cells/status_item.h"
19 #import "ios/chrome/browser/ui/autofill/cells/storage_switch_item.h" 19 #import "ios/chrome/browser/ui/autofill/cells/storage_switch_item.h"
20 #import "ios/chrome/browser/ui/collection_view/cells/MDCCollectionViewCell+Chrom e.h" 20 #import "ios/chrome/browser/ui/collection_view/cells/MDCCollectionViewCell+Chrom e.h"
21 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_account_ite m.h" 21 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_account_ite m.h"
22 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_detail_item .h" 22 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_detail_item .h"
23 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_footer_item .h" 23 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_footer_item .h"
24 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_switch_item .h" 24 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_switch_item .h"
25 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_text_item.h " 25 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_text_item.h "
26 #import "ios/chrome/browser/ui/collection_view/collection_view_model.h" 26 #import "ios/chrome/browser/ui/collection_view/collection_view_model.h"
27 #import "ios/chrome/browser/ui/content_suggestions/content_suggestions_article_i tem.h" 27 #import "ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_art icle_item.h"
28 #import "ios/chrome/browser/ui/content_suggestions/content_suggestions_footer_it em.h" 28 #import "ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_foo ter_item.h"
29 #import "ios/chrome/browser/ui/icons/chrome_icon.h" 29 #import "ios/chrome/browser/ui/icons/chrome_icon.h"
30 #import "ios/chrome/browser/ui/settings/cells/account_signin_item.h" 30 #import "ios/chrome/browser/ui/settings/cells/account_signin_item.h"
31 #import "ios/chrome/browser/ui/settings/cells/autofill_data_item.h" 31 #import "ios/chrome/browser/ui/settings/cells/autofill_data_item.h"
32 #import "ios/chrome/browser/ui/settings/cells/autofill_edit_item.h" 32 #import "ios/chrome/browser/ui/settings/cells/autofill_edit_item.h"
33 #import "ios/chrome/browser/ui/settings/cells/native_app_item.h" 33 #import "ios/chrome/browser/ui/settings/cells/native_app_item.h"
34 #import "ios/chrome/browser/ui/settings/cells/signin_promo_item.h" 34 #import "ios/chrome/browser/ui/settings/cells/signin_promo_item.h"
35 #import "ios/chrome/browser/ui/settings/cells/sync_switch_item.h" 35 #import "ios/chrome/browser/ui/settings/cells/sync_switch_item.h"
36 #import "ios/chrome/browser/ui/settings/cells/text_and_error_item.h" 36 #import "ios/chrome/browser/ui/settings/cells/text_and_error_item.h"
37 #import "ios/chrome/browser/ui/uikit_ui_util.h" 37 #import "ios/chrome/browser/ui/uikit_ui_util.h"
38 #import "ios/public/provider/chrome/browser/chrome_browser_provider.h" 38 #import "ios/public/provider/chrome/browser/chrome_browser_provider.h"
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 - (ContentSuggestionsFooterItem*)contentSuggestionsFooterItem { 697 - (ContentSuggestionsFooterItem*)contentSuggestionsFooterItem {
698 ContentSuggestionsFooterItem* footerItem = 698 ContentSuggestionsFooterItem* footerItem =
699 [[ContentSuggestionsFooterItem alloc] 699 [[ContentSuggestionsFooterItem alloc]
700 initWithType:ItemTypeContentSuggestions 700 initWithType:ItemTypeContentSuggestions
701 title:@"Footer title" 701 title:@"Footer title"
702 block:nil]; 702 block:nil];
703 return footerItem; 703 return footerItem;
704 } 704 }
705 705
706 @end 706 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/settings/BUILD.gn ('k') | ios/chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698