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

Side by Side Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_utils.mm

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 #import "ios/chrome/browser/ui/content_suggestions/content_suggestions_collectio n_utils.h" 5 #import "ios/chrome/browser/ui/content_suggestions/content_suggestions_collectio n_utils.h"
6 6
7 #include "base/i18n/rtl.h" 7 #include "base/i18n/rtl.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "components/strings/grit/components_strings.h" 9 #include "components/strings/grit/components_strings.h"
10 #include "ios/chrome/browser/ui/commands/ios_command_ids.h" 10 #include "ios/chrome/browser/ui/commands/ios_command_ids.h"
11 #import "ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_mos t_visited_item.h" 11 #import "ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_mos t_visited_cell.h"
12 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h" 12 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h"
13 #include "ios/chrome/browser/ui/ui_util.h" 13 #include "ios/chrome/browser/ui/ui_util.h"
14 #include "ios/chrome/grit/ios_strings.h" 14 #include "ios/chrome/grit/ios_strings.h"
15 #import "ios/third_party/material_components_ios/src/components/Typography/src/M aterialTypography.h" 15 #import "ios/third_party/material_components_ios/src/components/Typography/src/M aterialTypography.h"
16 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
17 17
18 #if !defined(__has_feature) || !__has_feature(objc_arc) 18 #if !defined(__has_feature) || !__has_feature(objc_arc)
19 #error "This file requires ARC support." 19 #error "This file requires ARC support."
20 #endif 20 #endif
21 21
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 [voiceSearchButton setAdjustsImageWhenHighlighted:NO]; 189 [voiceSearchButton setAdjustsImageWhenHighlighted:NO];
190 [voiceSearchButton setImage:micImage forState:UIControlStateNormal]; 190 [voiceSearchButton setImage:micImage forState:UIControlStateNormal];
191 [voiceSearchButton setTag:IDC_VOICE_SEARCH]; 191 [voiceSearchButton setTag:IDC_VOICE_SEARCH];
192 [voiceSearchButton setAccessibilityLabel:l10n_util::GetNSString( 192 [voiceSearchButton setAccessibilityLabel:l10n_util::GetNSString(
193 IDS_IOS_ACCNAME_VOICE_SEARCH)]; 193 IDS_IOS_ACCNAME_VOICE_SEARCH)];
194 [voiceSearchButton setAccessibilityIdentifier:@"Voice Search"]; 194 [voiceSearchButton setAccessibilityIdentifier:@"Voice Search"];
195 } 195 }
196 196
197 } // namespace content_suggestions 197 } // namespace content_suggestions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698