Commit 18fa5550 authored by Troy Hildebrandt's avatar Troy Hildebrandt Committed by Commit Bot

Update query in omnibox search icon.

Uses an updated asset for the query in omnibox magnifying glass to match
the size of the security icon.

Bug:836043

Change-Id: Ia84817af01373fbcfc3f07656ce0ee77a0f553e0
Reviewed-on: https://chromium-review.googlesource.com/1040534
Commit-Queue: Troy Hildebrandt <thildebr@chromium.org>
Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Reviewed-by: default avatarMaria Khomenko <mariakhomenko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556583}
parent 8856c278
......@@ -337,7 +337,7 @@ public class ToolbarModel implements ToolbarDataProvider {
// If we're showing a query in the omnibox, and the security level is high enough to show
// the search icon, return that instead of the security icon.
if (shouldDisplaySearchTerms()) {
return R.drawable.ic_search;
return R.drawable.omnibox_search;
}
return getSecurityIconResource(getSecurityLevel(), !isTablet, isOfflinePage());
}
......
......@@ -52,7 +52,7 @@ public class LocationBarLayoutTest {
@Rule
public TestRule mProcessor = new Features.InstrumentationProcessor();
private static final int SEARCH_ICON_RESOURCE = R.drawable.ic_search;
private static final int SEARCH_ICON_RESOURCE = R.drawable.omnibox_search;
private static final String SEARCH_TERMS = "machine learning";
private static final String GOOGLE_SRP_URL = "https://www.google.com/search?q=machine+learning";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment