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

Unified Diff: ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.mm

Issue 2629723002: Fix the layout of the append button on Answers in Suggest. (Closed)
Patch Set: 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
« no previous file with comments | « ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.mm
diff --git a/ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.mm b/ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.mm
index f408e9c29008b6fc9236d68f4d10b93c30ff5745..732a94f363737eb2dd96929afa90a2f269fd3281 100644
--- a/ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.mm
+++ b/ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.mm
@@ -370,11 +370,12 @@ UIColor* BackgroundColorIncognito() {
}
[textLabel setNeedsDisplay];
- // The left image (e.g. magnifying glass, star, clock) is only shown on iPad.
+ // The leading image (e.g. magnifying glass, star, clock) is only shown on
+ // iPad.
if (IsIPadIdiom()) {
int imageId = GetIconForAutocompleteMatchType(
match.type, _popupView->IsStarredMatch(match), _incognito);
- [row updateLeftImage:imageId];
+ [row updateLeadingImage:imageId];
}
// Show append button for search history/search suggestions/voice search as
« no previous file with comments | « ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698